Class GenItemClass
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
It represents the GenGrid or GenList item class definition field details. It has some display styles, such as "default", "full", and "group_index".
[Obsolete("This has been deprecated in API12")]
public class GenItemClass : IDisposable
- Inheritance
-
objectGenItemClass
- Derived
- Implements
-
System.IDisposable
Constructors
View SourceGenItemClass(string)
Creates and initializes a new instance of the GenItemClass.
Declaration
[Obsolete("This has been deprecated in API12")]
public GenItemClass(string style)
Parameters
Type | Name | Description |
---|---|---|
string | style | The item display style. |
Properties
View SourceDeleteHandler
Gets or sets the callback that defines how to delete the item text and content. If get, return GenItemClass.DeleteDelegate.
Declaration
[Obsolete("This has been deprecated in API12")]
public GenItemClass.DeleteDelegate DeleteHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.DeleteDelegate |
GetContentHandler
Gets or sets the callback that defines how to display the item content. If get, return GenItemClass.GetContentDelegate.
Declaration
[Obsolete("This has been deprecated in API12")]
public GenItemClass.GetContentDelegate GetContentHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.GetContentDelegate |
GetTextHandler
Gets or sets the callback that defines how to display the item text. If get, return GenItemClass.GetTextDelegate.
Declaration
[Obsolete("This has been deprecated in API12")]
public GenItemClass.GetTextDelegate GetTextHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.GetTextDelegate |
ItemStyle
Gets the item style.
Declaration
[Obsolete("This has been deprecated in API12")]
public string ItemStyle { get; }
Property Value
Type | Description |
---|---|
string |
ReusableContentHandler
Gets or sets the callback that defines how to reuse the item content. If get, return GenItemClass.GetReusableContentDelegate.
Declaration
[Obsolete("This has been deprecated in API12")]
public GenItemClass.GetReusableContentDelegate ReusableContentHandler { get; set; }
Property Value
Type | Description |
---|---|
GenItemClass.GetReusableContentDelegate |
Methods
View SourceCreateItemClass()
Creates a new GenList item class in a given GenList widget.
Declaration
[Obsolete("This has been deprecated in API12")]
protected virtual IntPtr CreateItemClass()
Returns
Type | Description |
---|---|
System.IntPtr | The new item class object. |
Dispose()
Destroys the current object.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Dispose()
Dispose(bool)
Releases all the resources currently used by this instance.
Declaration
[Obsolete("This has been deprecated in API12")]
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true if the managed resources should be disposed, otherwise false. |
~GenItemClass()
Destroys the GenItemClass object.
Declaration
protected ~GenItemClass()
ReleaseItemClass(IntPtr)
Removes an item class in a given GenList widget.
Declaration
[Obsolete("This has been deprecated in API12")]
protected virtual void ReleaseItemClass(IntPtr unmanagedPtr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | unmanagedPtr | The object to be removed. |