Class Icon

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    The Icon is a widget that displays the standard icon images ("delete", "edit", "arrows", etc.) or images coming from a custom file (PNG, JPG, EDJE, etc.), on the icon context. Inherits Image.

    [Obsolete("This has been deprecated in API12")]
    public class Icon : Image, IAccessibleObject
    Inheritance
    object
    EvasObject
    AccessibleObject
    Widget
    Image
    Icon
    Implements
    IAccessibleObject

    Constructors

    View Source

    Icon(EvasObject)

    Creates and initializes a new instance of the Icon class.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public Icon(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    The parent is a given container, which will be attached by Icon as a child. It's EvasObject type.

    Properties

    View Source

    IconLookupOrder

    Sets or gets the icon lookup order of a given Icon widget.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public IconLookupOrder IconLookupOrder { get; set; }
    Property Value
    Type Description
    IconLookupOrder
    View Source

    StandardIconName

    Sets or gets the standard icon name of a given Icon widget.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public string StandardIconName { get; set; }
    Property Value
    Type Description
    string

    Methods

    View Source

    CreateHandle(EvasObject)

    Adds a new icon object to the parent.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    protected override IntPtr CreateHandle(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    EvasObject

    Returns
    Type Description
    System.IntPtr

    The new object, otherwise null if it cannot be created.

    Overrides
    Image.CreateHandle(EvasObject)
    View Source

    SetThumb(string, string)

    Sets the file that is used, but uses a generated thumbnail.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void SetThumb(string file, string group)
    Parameters
    Type Name Description
    string file

    The path to the file that is used as an icon image.

    string group

    The group that the icon belongs to.

    Implements

    IAccessibleObject

    Extension Methods

    RotaryEventExtensions.Activate(EvasObject)
    RotaryEventExtensions.AddRotaryEventHandler(EvasObject, RotaryEventHandler)
    RotaryEventExtensions.Deactivate(EvasObject)
    RotaryEventExtensions.RemoveRotaryEventHandler(EvasObject, RotaryEventHandler)
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX