Class GenItem
Definition
- Namespace:
- Elm
Sharp
- Assembly:
- ElmSharp.dll
It inherits Item
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(Gen
Declaration
public object Data { get; protected set; }
Property Value
Type | Description |
---|---|
object |
IsSelected
It's an abstract property. It's implemented by Is
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 Gen
Declaration
public GenItemClass ItemClass { get; protected set; }
Property Value
Type | Description |
---|---|
Gen |
SelectionMode
It's an abstract property.
Declaration
public abstract GenItemSelectionMode SelectionMode { get; set; }
Property Value
Type | Description |
---|---|
Gen |
TooltipContentDelegate
Sets or gets the tooltip content delegate.
Declaration
public GenItem.GetTooltipContentDelegate TooltipContentDelegate { get; set; }
Property Value
Type | Description |
---|---|
Gen |
TooltipStyle
It's an abstract property. It's implemented by Tooltip
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()