Struct Strikethrough

    Definition

    Namespace:
    Tizen.NUI.Text
    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 Source

    Color

    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().

    View Source

    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().

    View Source

    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 Source

    Equals(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().

    View Source

    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().

    View Source

    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 Source

    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 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().

    View Source

    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().

    Implements

    IEquatable<>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX