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.
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 |
API Level: preview
View SourceCursorStyle
Sets or gets the style for this item cursor.
Declaration
public abstract string CursorStyle { get; set; }
Property Value
Type | Description |
---|---|
String |
API Level: preview
View SourceData
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 |
API Level: preview
View SourceIsSelected
It's an abstract property. It's implemented by IsSelected and IsSelected.
Declaration
public abstract bool IsSelected { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
View SourceIsUseEngineCursor
Sets or gets the cursor engine only usage for this item cursor.
Declaration
public abstract bool IsUseEngineCursor { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
View SourceItemClass
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 |
API Level: preview
View SourceSelectionMode
It's an abstract property.
Declaration
public abstract GenItemSelectionMode SelectionMode { get; set; }
Property Value
Type | Description |
---|---|
GenItemSelectionMode |
API Level: preview
View SourceTooltipContentDelegate
Sets or gets the tooltip content delegate.
Declaration
public GenItem.GetTooltipContentDelegate TooltipContentDelegate { get; set; }
Property Value
Type | Description |
---|---|
GenItem.GetTooltipContentDelegate |
API Level: preview
View SourceTooltipStyle
It's an abstract property. It's implemented by TooltipStyle and TooltipStyle.
Declaration
public abstract string TooltipStyle { get; set; }
Property Value
Type | Description |
---|---|
String |
API Level: preview
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
API Level: preview
View SourceSetTooltipText(String)
Sets the tooltip text.
Declaration
public abstract void SetTooltipText(string tooltip)
Parameters
Type | Name | Description |
---|---|---|
String | tooltip | The text to set. |
API Level: preview
View SourceUnsetTooltip()
Unsets the tooltip.
Declaration
public abstract void UnsetTooltip()
API Level: preview
View SourceUpdate()
Declaration
public abstract void Update()
API Level: preview
View SourceUpdateTooltipDelegate()
Abstract method for updating the tooltip content.
Declaration
protected abstract void UpdateTooltipDelegate()