Struct Strikethrough

Definition

Namespace:
Tizen.NUI.Text
Assembly:
Tizen.NUI.dll

A struct to pass data of Strikethrough PropertyMap.

C#
Copy
public struct Strikethrough : IEquatable<Strikethrough>
Implements
IEquatable<Strikethrough>
Remarks

The Strikethrough struct is used as an argument to SetStrikethrough and GetStrikethrough methods.
See SetStrikethrough(Strikethrough), GetStrikethrough(), SetStrikethrough(Strikethrough), GetStrikethrough(), SetStrikethrough(Strikethrough) and GetStrikethrough().

Properties

View Source

Color

The color of the strikethrough (if not provided then the color of the text is used).

Declaration
C#
Copy
public Color Color { get; set; }
Property Value
Type Description
Color
View Source

Enable

Whether the strikethrough is enabled (the default value is false).

Declaration
C#
Copy
public bool Enable { get; set; }
Property Value
Type Description
Boolean
View Source

Height

The height in pixels of the strikethrough (if null, the default value is 1.0f).

Declaration
C#
Copy
public float? Height { get; set; }
Property Value
Type Description
Nullable<Single>

Methods

View Source

Equals(Object)

Determines whether the specified object is equal to the current object.

Declaration
C#
Copy
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj

The object to compare with the current object.

Returns
Type Description
Boolean

true if equal Strikethrough, else false.

View Source

Equals(Strikethrough)

Determines whether the specified object is equal to the current object.

Declaration
C#
Copy
public bool Equals(Strikethrough other)
Parameters
Type Name Description
Strikethrough other

The Strikethrough to compare with the current Strikethrough.

Returns
Type Description
Boolean

true if equal Strikethrough, else false.

View Source

GetHashCode()

Gets the hash code of this Strikethrough.

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
Int32

The hash code.

Operators

View Source

Equality(Strikethrough, Strikethrough)

The == operator.

Declaration
C#
Copy
public static bool operator ==(Strikethrough lhsStrikethrough, Strikethrough rhsStrikethrough)
Parameters
Type Name Description
Strikethrough lhsStrikethrough

Strikethrough to compare

Strikethrough rhsStrikethrough

Strikethrough to be compared

Returns
Type Description
Boolean

true if Strikethroughs are equal

View Source

Inequality(Strikethrough, Strikethrough)

The != operator.

Declaration
C#
Copy
public static bool operator !=(Strikethrough lhsStrikethrough, Strikethrough rhsStrikethrough)
Parameters
Type Name Description
Strikethrough lhsStrikethrough

Strikethrough to compare

Strikethrough rhsStrikethrough

Strikethrough to be compared

Returns
Type Description
Boolean

true if Strikethroughs are not equal

Implements

IEquatable<>

Extension Methods