Class GenItem
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
It inherits ItemObject. A base class for GenGridItem and GenListItem. It contains the GenItem class and data to display the data.
C#Copypublic abstract class GenItem : ItemObject
- Inheritance
- Derived
Properties
Declaration
C#Copypublic abstract string Cursor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: preview
Declaration
C#Copypublic abstract string CursorStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: preview
View Source
Data
Gets the item data that is added through calling Append(GenItemClass, Object), Prepend(GenItemClass, Object), or InsertBefore(GenItemClass, Object, GenGridItem) methods.
Declaration
C#Copypublic object Data { get; protected set; }
Property Value
Type | Description |
---|---|
System.Object |
API Level: preview
Declaration
C#Copypublic abstract bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
Declaration
C#Copypublic abstract bool IsUseEngineCursor { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
View Source
ItemClass
Gets the item class that defines how to display data. It returns GenItemClass type.
Declaration
C#Copypublic GenItemClass ItemClass { get; protected set; }
Property Value
Type | Description |
---|---|
GenItemClass |
API Level: preview
Declaration
C#Copypublic abstract GenItemSelectionMode SelectionMode { get; set; }
Property Value
Type | Description |
---|---|
GenItemSelectionMode |
API Level: preview
Declaration
C#Copypublic GenItem.GetTooltipContentDelegate TooltipContentDelegate { get; set; }
Property Value
Type | Description |
---|---|
GenItem.GetTooltipContentDelegate |
API Level: preview
View Source
TooltipStyle
It's an abstract property. It's implemented by TooltipStyle and TooltipStyle.
Declaration
C#Copypublic abstract string TooltipStyle { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: preview
Methods
View Source
OnInvalidate()
The override method for deleting the item class and item data. It's called when the item is deleted.
Declaration
C#Copyprotected override void OnInvalidate()
Overrides
API Level: preview
Declaration
C#Copypublic abstract void SetTooltipText(string tooltip)
Parameters
Type | Name | Description |
---|---|---|
System.String | tooltip | The text to set. |
API Level: preview
Declaration
C#Copypublic abstract void UnsetTooltip()
API Level: preview
Declaration
C#Copypublic abstract void Update()
API Level: preview
Declaration
C#Copyprotected abstract void UpdateTooltipDelegate()