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#
Copy
public abstract class GenItem : ItemObject
Inheritance
GenItem
Derived

Properties

View Source

Cursor

Sets or gets the cursor to be shown when the mouse is over the gengrid item.

Declaration
C#
Copy
public abstract string Cursor { get; set; }
Property Value
Type Description
System.String
API Level: preview
View Source

CursorStyle

Sets or gets the style for this item cursor.

Declaration
C#
Copy
public abstract string CursorStyle { get; set; }
Property Value
Type Description
System.String
API Level: preview
Declaration
C#
Copy
public object Data { get; protected set; }
Property Value
Type Description
Object
API Level: preview
View Source

IsSelected

It's an abstract property. It's implemented by IsSelected and IsSelected.

Declaration
C#
Copy
public abstract bool IsSelected { get; set; }
Property Value
Type Description
Boolean
API Level: preview
View Source

IsUseEngineCursor

Sets or gets the cursor engine only usage for this item cursor.

Declaration
C#
Copy
public 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#
Copy
public GenItemClass ItemClass { get; protected set; }
Property Value
Type Description
GenItemClass
API Level: preview
View Source

SelectionMode

It's an abstract property.

Declaration
C#
Copy
public abstract GenItemSelectionMode SelectionMode { get; set; }
Property Value
Type Description
GenItemSelectionMode
API Level: preview
View Source

TooltipContentDelegate

Sets or gets the tooltip content delegate.

Declaration
C#
Copy
public 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#
Copy
public 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#
Copy
protected override void OnInvalidate()
Overrides
API Level: preview
View Source

SetTooltipText(String)

Sets the tooltip text.

Declaration
C#
Copy
public abstract void SetTooltipText(string tooltip)
Parameters
Type Name Description
System.String tooltip

The text to set.

API Level: preview
View Source

UnsetTooltip()

Unsets the tooltip.

Declaration
C#
Copy
public abstract void UnsetTooltip()
API Level: preview
View Source

Update()

It's an abstract method. It's implemented by Update() and Update().

Declaration
C#
Copy
public abstract void Update()
API Level: preview
View Source

UpdateTooltipDelegate()

Abstract method for updating the tooltip content.

Declaration
C#
Copy
protected abstract void UpdateTooltipDelegate()
API Level: preview

Extension Methods