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.
public abstract class GenItem : ItemObject
- Inheritance
- Derived
Properties
View SourceCursor
Sets or gets the cursor to be shown when the mouse is over the gengrid item.
Declaration
public abstract string Cursor { get; set; }
Property Value
Type | Description |
---|---|
string |
CursorStyle
Sets or gets the style for this item cursor.
Declaration
public abstract string CursorStyle { get; set; }
Property Value
Type | Description |
---|---|
string |
Data
Gets the item data that is added through calling Append(GenItemClass, object), Prepend(GenItemClass, object), or InsertBefore(GenItemClass, object, GenGridItem) methods.
Declaration
public object Data { get; protected set; }
Property Value
Type | Description |
---|---|
object |
IsSelected
It's an abstract property. It's implemented by IsSelected and IsSelected.
Declaration
public abstract bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
bool |
IsUseEngineCursor
Sets or gets the cursor engine only usage for this item cursor.
Declaration
public abstract bool IsUseEngineCursor { get; set; }
Property Value
Type | Description |
---|---|
bool |
ItemClass
Gets the item class that defines how to display data. It returns GenItemClass type.
Declaration
public GenItemClass ItemClass { get; protected set; }
Property Value
Type | Description |
---|---|
GenItemClass |
SelectionMode
It's an abstract property.
Declaration
public abstract GenItemSelectionMode SelectionMode { get; set; }
Property Value
Type | Description |
---|---|
GenItemSelectionMode |
TooltipContentDelegate
Sets or gets the tooltip content delegate.
Declaration
public GenItem.GetTooltipContentDelegate TooltipContentDelegate { get; set; }
Property Value
Type | Description |
---|---|
GenItem.GetTooltipContentDelegate |
TooltipStyle
It's an abstract property. It's implemented by TooltipStyle and TooltipStyle.
Declaration
public abstract string TooltipStyle { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceOnInvalidate()
The override method for deleting the item class and item data. It's called when the item is deleted.
Declaration
protected override void OnInvalidate()
Overrides
View SourceSetTooltipText(string)
Sets the tooltip text.
Declaration
public abstract void SetTooltipText(string tooltip)
Parameters
Type | Name | Description |
---|---|---|
string | tooltip | The text to set. |
UnsetTooltip()
Unsets the tooltip.
Declaration
public abstract void UnsetTooltip()
Update()
Declaration
public abstract void Update()
UpdateTooltipDelegate()
Abstract method for updating the tooltip content.
Declaration
protected abstract void UpdateTooltipDelegate()