Class IndexItem

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    The IndexItem is used to manage the index item. Inherits ItemObject.

    public class IndexItem : ItemObject
    Inheritance
    object
    ItemObject
    IndexItem

    Constructors

    View Source

    IndexItem(string)

    Creates and initializes a new instance of the IndexItem class.

    Declaration
    public IndexItem(string text)
    Parameters
    Type Name Description
    string text

    The text is set to the Text. It's the 'string' type.

    Properties

    View Source

    Text

    Gets the text.

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

    Methods

    View Source

    Select(bool)

    Sets the selected state of an item.

    Declaration
    public void Select(bool selected)
    Parameters
    Type Name Description
    bool selected

    The selected state.

    Events

    View Source

    Selected

    Selected will be triggered when the index item is selected.

    Declaration
    public event EventHandler Selected
    Event Type
    Type Description
    System.EventHandler

    Extension Methods

    ItemObjectExtension.ClearHighlight(ItemObject)
    ItemObjectExtension.GrabHighlight(ItemObject)
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX