Class IndexItem

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

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

C#
Copy
public class IndexItem : ItemObject
Inheritance
System.Object
IndexItem

Constructors

View Source

IndexItem(String)

Creates and initializes a new instance of the IndexItem class.

Declaration
C#
Copy
public IndexItem(string text)
Parameters
Type Name Description
System.String text

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

API Level: preview
View Source

IndexItem(String, EvasObject)

Creates and initializes a new instance of the IndexItem class with parent

Declaration
C#
Copy
public IndexItem(string text, EvasObject parent)
Parameters
Type Name Description
System.String text

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

EvasObject parent

Parent EvasObject

API Level: preview

Properties

View Source

Text

Gets the text.

Declaration
C#
Copy
public string Text { get; }
Property Value
Type Description
System.String
API Level: preview

Methods

View Source

Select(Boolean)

Sets the selected state of an item.

Declaration
C#
Copy
public void Select(bool selected)
Parameters
Type Name Description
System.Boolean selected

The selected state.

API Level: preview

Events

View Source

Selected

Selected will be triggered when the index item is selected.

Declaration
C#
Copy
public event EventHandler Selected
Event Type
Type Description
System.EventHandler
API Level: preview

Extension Methods