Struct Strikethrough
Definition
- Assembly:
- Tizen.NUI.dll
A struct to pass data of Strikethrough PropertyMap.
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 SourceColor
The color of the strikethrough (if not provided then the color of the text is used).
Declaration
public Color Color { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
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().
Enable
Whether the strikethrough is enabled (the default value is false).
Declaration
public bool Enable { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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().
Height
The height in pixels of the strikethrough (if null, the default value is 1.0f).
Declaration
public float? Height { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
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().
Methods
View SourceEquals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if equal Strikethrough, else false. |
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().
Equals(Strikethrough)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(Strikethrough other)
Parameters
| Type | Name | Description |
|---|---|---|
| Strikethrough | other | The Strikethrough to compare with the current Strikethrough. |
Returns
| Type | Description |
|---|---|
| bool | true if equal Strikethrough, else false. |
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().
GetHashCode()
Gets the hash code of this Strikethrough.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code. |
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().
Operators
View Sourceoperator ==(Strikethrough, Strikethrough)
The == operator.
Declaration
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 |
|---|---|
| bool | true if Strikethroughs are equal |
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().
operator !=(Strikethrough, Strikethrough)
The != operator.
Declaration
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 |
|---|---|
| bool | true if Strikethroughs are not equal |
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().