Struct Placeholder

    Definition

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

    A struct to pass data of Placeholder PropertyMap.

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    Properties

    View Source

    Color

    The color of the placeholder text.

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    Ellipsis

    The ellipsis of the placeholder text (the default value is false).

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    FontFamily

    The FontFamily of the placeholder text.

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    FontStyle

    The FontStyle of the placeholder text (if null, the text control FontStyle is used).

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    PixelSize

    The PiexSize of the placeholder text. Not required if PointSize provided.
    If both provided or neither provided then the text control point size is used.

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    PointSize

    The PointSize of the placeholder text.
    Not required if PixelSize provided.
    If both provided or neither provided then the text control point size is used.

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    Text

    The text to display when the TextField is empty and inactive.

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    TextFocused

    The text to display when the placeholder has focus.

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

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

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

    Remarks

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    Equals(Placeholder)

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

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

    The Placeholder to compare with the current Placeholder.

    Returns
    Type Description
    bool

    true if equal Placeholder, else false.

    Remarks

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    GetHashCode()

    Gets the hash code of this Placeholder.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    The hash code.

    Remarks

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    Operators

    View Source

    operator ==(Placeholder, Placeholder)

    The == operator.

    Declaration
    public static bool operator ==(Placeholder lhsPlaceholder, Placeholder rhsPlaceholder)
    Parameters
    Type Name Description
    Placeholder lhsPlaceholder

    Placeholder to compare

    Placeholder rhsPlaceholder

    Placeholder to be compared

    Returns
    Type Description
    bool

    true if Placeholders are equal

    Remarks

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    View Source

    operator !=(Placeholder, Placeholder)

    The != operator.

    Declaration
    public static bool operator !=(Placeholder lhsPlaceholder, Placeholder rhsPlaceholder)
    Parameters
    Type Name Description
    Placeholder lhsPlaceholder

    Placeholder to compare

    Placeholder rhsPlaceholder

    Placeholder to be compared

    Returns
    Type Description
    bool

    true if Placeholders are not equal

    Remarks

    The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
    See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).

    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