Struct Underline

    Definition

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

    A struct to pass data of Underline PropertyMap.

    public struct Underline : IEquatable<Underline>
    Implements
    IEquatable<><Underline>
    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    Properties

    View Source

    Color

    The color of the underline (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 Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    DashGap

    The gap between the dashes of the dashed underline (if null, the default value is 1.0f).
    Only valid when "UnderlineType.Dashed" type is used.

    Declaration
    public float? DashGap { readonly get; set; }
    Property Value
    Type Description
    float?
    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    DashWidth

    The width of the dashes of the dashed underline (if null, the default value is 2.0f).
    Only valid when "UnderlineType.Dashed" type is used.

    Declaration
    public float? DashWidth { readonly get; set; }
    Property Value
    Type Description
    float?
    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    Enable

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

    Declaration
    public bool Enable { readonly get; set; }
    Property Value
    Type Description
    bool
    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    Height

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

    Declaration
    public float? Height { readonly get; set; }
    Property Value
    Type Description
    float?
    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    Type

    The type of the underline (the default type is Solid).

    Declaration
    public UnderlineType Type { readonly get; set; }
    Property Value
    Type Description
    UnderlineType
    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    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 Underline, else false.

    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    Equals(Underline)

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

    Declaration
    public bool Equals(Underline other)
    Parameters
    Type Name Description
    Underline other

    The Underline to compare with the current Underline.

    Returns
    Type Description
    bool

    true if equal Underline, else false.

    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    GetHashCode()

    Gets the hash code of this Underline.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code.

    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    Operators

    View Source

    operator ==(Underline, Underline)

    The == operator.

    Declaration
    public static bool operator ==(Underline lhsUnderline, Underline rhsUnderline)
    Parameters
    Type Name Description
    Underline lhsUnderline

    Underline to compare

    Underline rhsUnderline

    Underline to be compared

    Returns
    Type Description
    bool

    true if Underlines are equal

    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    View Source

    operator !=(Underline, Underline)

    The != operator.

    Declaration
    public static bool operator !=(Underline lhsUnderline, Underline rhsUnderline)
    Parameters
    Type Name Description
    Underline lhsUnderline

    Underline to compare

    Underline rhsUnderline

    Underline to be compared

    Returns
    Type Description
    bool

    true if Underlines are not equal

    Remarks

    The Underline struct is used as an argument to SetUnderline and GetUnderline methods.
    See SetUnderline(Underline), GetUnderline(), SetUnderline(Underline), GetUnderline(), SetUnderline(Underline) and GetUnderline().

    Implements

    IEquatable<>

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    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