Show / Hide Table of Contents

    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".

    public class GenItemClass : IDisposable
    Inheritance
    Object
    GenItemClass
    Derived
    GenGridItemClass
    Implements
    IDisposable

    Constructors

    View Source

    GenItemClass(String)

    Creates and initializes a new instance of the GenItemClass.

    Declaration
    public GenItemClass(string style)
    Parameters
    Type Name Description
    String style

    The item display style.

    API Level: preview

    Properties

    View Source

    DeleteHandler

    Gets or sets the callback that defines how to delete the item text and content. If get, return GenItemClass.DeleteDelegate.

    Declaration
    public GenItemClass.DeleteDelegate DeleteHandler { get; set; }
    Property Value
    Type Description
    GenItemClass.DeleteDelegate
    API Level: preview
    View Source

    GetContentHandler

    Gets or sets the callback that defines how to display the item content. If get, return GenItemClass.GetContentDelegate.

    Declaration
    public GenItemClass.GetContentDelegate GetContentHandler { get; set; }
    Property Value
    Type Description
    GenItemClass.GetContentDelegate
    API Level: preview
    View Source

    GetTextHandler

    Gets or sets the callback that defines how to display the item text. If get, return GenItemClass.GetTextDelegate.

    Declaration
    public GenItemClass.GetTextDelegate GetTextHandler { get; set; }
    Property Value
    Type Description
    GenItemClass.GetTextDelegate
    API Level: preview
    View Source

    ItemStyle

    Gets the item style.

    Declaration
    public string ItemStyle { get; }
    Property Value
    Type Description
    String
    API Level: preview
    View Source

    ReusableContentHandler

    Gets or sets the callback that defines how to reuse the item content. If get, return GenItemClass.GetReusableContentDelegate.

    Declaration
    public GenItemClass.GetReusableContentDelegate ReusableContentHandler { get; set; }
    Property Value
    Type Description
    GenItemClass.GetReusableContentDelegate
    API Level: preview

    Methods

    View Source

    CreateItemClass()

    Creates a new GenList item class in a given GenList widget.

    Declaration
    protected virtual IntPtr CreateItemClass()
    Returns
    Type Description
    IntPtr

    The new item class object.

    API Level: preview
    View Source

    Dispose()

    Destroys the current object.

    Declaration
    public void Dispose()
    API Level: preview
    View Source

    Dispose(Boolean)

    Releases all the resources currently used by this instance.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    true if the managed resources should be disposed, otherwise false.

    API Level: preview
    View Source

    Finalize()

    Destroys the GenItemClass object.

    Declaration
    protected void Finalize()
    View Source

    ReleaseItemClass(IntPtr)

    Removes an item class in a given GenList widget.

    Declaration
    protected virtual void ReleaseItemClass(IntPtr unmanagedPtr)
    Parameters
    Type Name Description
    IntPtr unmanagedPtr

    The object to be removed.

    API Level: preview

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX