Struct Strikethrough
Definition
- Namespace:
- Tizen.NUI.Text
- Assembly:
- Tizen.NUI.dll
A struct to pass data of Strikethrough PropertyMap.
C#Copypublic 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
Color
The color of the strikethrough (if not provided then the color of the text is used).
Declaration
C#Copypublic Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Declaration
C#Copypublic bool Enable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Declaration
C#Copypublic float? Height { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
Methods
Declaration
C#Copypublic 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. |
Equals(Strikethrough)
Determines whether the specified object is equal to the current object.
Declaration
C#Copypublic 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. |
Declaration
C#Copypublic override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code. |
Operators
Declaration
C#Copypublic 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 |
Declaration
C#Copypublic 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 |