Class GenItem
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
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 |
|---|---|
| string |
Declaration
C#Copypublic abstract string CursorStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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 |
|---|---|
| object |
Declaration
C#Copypublic abstract bool IsSelected { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Declaration
C#Copypublic abstract bool IsUseEngineCursor { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
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 |
Declaration
C#Copypublic abstract GenItemSelectionMode SelectionMode { get; set; }
Property Value
| Type | Description |
|---|---|
| GenItemSelectionMode |
Declaration
C#Copypublic GenItem.GetTooltipContentDelegate TooltipContentDelegate { get; set; }
Property Value
| Type | Description |
|---|---|
| GenItem.GetTooltipContentDelegate |
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 |
|---|---|
| string |
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
Declaration
C#Copypublic abstract void SetTooltipText(string tooltip)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tooltip | The text to set. |
Declaration
C#Copypublic abstract void UnsetTooltip()
Declaration
C#Copypublic abstract void Update()
Declaration
C#Copyprotected abstract void UpdateTooltipDelegate()