Class GenItemClass
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
It represents the GenGrid or GenList item class definition field details. It has some display styles, such as "default", "full", and "group_index".
C#Copypublic class GenItemClass : IDisposable
- Inheritance
-
System.ObjectGenItemClass
- Derived
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic GenItemClass(string style)
Parameters
Type | Name | Description |
---|---|---|
System.String | style | The item display style. |
API Level: preview
Properties
DeleteHandler
Gets or sets the callback that defines how to delete the item text and content. If get, return GenItemClass.DeleteDelegate.
Declaration
C#Copypublic GenItemClass.DeleteDelegate DeleteHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.DeleteDelegate |
API Level: preview
GetContentHandler
Gets or sets the callback that defines how to display the item content. If get, return GenItemClass.GetContentDelegate.
Declaration
C#Copypublic GenItemClass.GetContentDelegate GetContentHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.GetContentDelegate |
API Level: preview
GetTextHandler
Gets or sets the callback that defines how to display the item text. If get, return GenItemClass.GetTextDelegate.
Declaration
C#Copypublic GenItemClass.GetTextDelegate GetTextHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.GetTextDelegate |
API Level: preview
Declaration
C#Copypublic string ItemStyle { get; }
Property Value
Type | Description |
---|---|
System.String |
API Level: preview
ReusableContentHandler
Gets or sets the callback that defines how to reuse the item content. If get, return GenItemClass.GetReusableContentDelegate.
Declaration
C#Copypublic GenItemClass.GetReusableContentDelegate ReusableContentHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.GetReusableContentDelegate |
API Level: preview
Methods
Declaration
C#Copyprotected virtual IntPtr CreateItemClass()
Returns
Type | Description |
---|---|
System.IntPtr | The new item class object. |
API Level: preview
Declaration
C#Copypublic void Dispose()
API Level: preview
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true if the managed resources should be disposed, otherwise false. |
API Level: preview
Declaration
C#Copyprotected void Finalize()
Declaration
C#Copyprotected virtual void ReleaseItemClass(IntPtr unmanagedPtr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | unmanagedPtr | The object to be removed. |