Show / Hide Table of Contents

    Class Icon

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll
    API Level:
    preview

    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.

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

    API Level: preview

    Properties

    View Source

    IconLookupOrder

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

    Declaration
    public IconLookupOrder IconLookupOrder { get; set; }
    Property Value
    Type Description
    IconLookupOrder
    API Level: preview
    View Source

    StandardIconName

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

    Declaration
    public string StandardIconName { get; set; }
    Property Value
    Type Description
    String
    API Level: preview

    Methods

    View Source

    CreateHandle(EvasObject)

    Adds a new icon object to the parent.

    Declaration
    protected override IntPtr CreateHandle(EvasObject parent)
    Parameters
    Type Name Description
    EvasObject parent

    EvasObject

    Returns
    Type Description
    IntPtr

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

    Overrides
    Image.CreateHandle(EvasObject)
    API Level: preview
    View Source

    SetThumb(String, String)

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

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

    API Level: preview

    Implements

    IAccessibleObject

    Extension Methods

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