Class IndexItem
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The IndexItem is used to manage the index item. Inherits ItemObject.
public class IndexItem : ItemObject
- Inheritance
Constructors
View SourceIndexItem(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. |
API Level: preview
View SourceIndexItem(String, EvasObject)
Creates and initializes a new instance of the IndexItem class with parent
Declaration
public IndexItem(string text, EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
String | text | The text is set to the Text. It's the 'string' type. |
EvasObject | parent | Parent EvasObject |
API Level: preview
Properties
View SourceText
Gets the text.
Declaration
public string Text { get; }
Property Value
Type | Description |
---|---|
String |
API Level: preview
Methods
View SourceSelect(Boolean)
Sets the selected state of an item.
Declaration
public void Select(bool selected)
Parameters
Type | Name | Description |
---|---|---|
Boolean | selected | The selected state. |
API Level: preview
Events
View SourceSelected
Selected will be triggered when the index item is selected.
Declaration
public event EventHandler Selected
Event Type
Type | Description |
---|---|
EventHandler |