Class Hoversel

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    The hoversel is a button that pops up a list of items.

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

    Constructors

    View Source

    Hoversel(EvasObject)

    Creates and initializes a new instance of the Hoversel class.

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

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

    Properties

    View Source

    AutoUpdate

    Gets or sets the status of whether to update the icon and text of hoversel same to those of the selected item automatically.

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

    HoverParent

    Gets or sets the hover parent.

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

    IsExpanded

    Gets the flag of whether the hoversel is expanded.

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

    IsHorizontal

    Gets or sets the status to control whether the hoversel should expand horizontally.

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

    Methods

    View Source

    AddItem(string)

    Adds an item to the hoversel button. This adds an item to the hoversel to show when it is clicked.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public HoverselItem AddItem(string label)
    Parameters
    Type Name Description
    string label

    Item's label.

    Returns
    Type Description
    HoverselItem

    A handle to the added item.

    View Source

    Clear()

    This will remove all the children items from the hoversel.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void Clear()
    View Source

    CreateHandle(EvasObject)

    Creates a widget handle.

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

    Parent EvasObject.

    Returns
    Type Description
    System.IntPtr

    Handle IntPtr.

    Overrides
    Layout.CreateHandle(EvasObject)
    View Source

    HoverBegin()

    This triggers the hoversel popup from the code, the same as if the user had clicked the button.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void HoverBegin()
    View Source

    HoverEnd()

    This dismisses the hoversel popup as if the user had clicked outside the hover.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public void HoverEnd()

    Events

    View Source

    Clicked

    Clicked will be triggered when the hoversel is clicked.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public event EventHandler Clicked
    Event Type
    Type Description
    System.EventHandler
    View Source

    Dismissed

    Dismissed will be triggered when the hoversel is dismissed.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public event EventHandler Dismissed
    Event Type
    Type Description
    System.EventHandler
    View Source

    Expanded

    Expanded will be triggered when the hoversel is activated by clicking the hoversel, or by a function.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public event EventHandler Expanded
    Event Type
    Type Description
    System.EventHandler
    View Source

    ItemSelected

    ItemSelected will be triggered when the hoversel's item is selected.

    Declaration
    [Obsolete("This has been deprecated in API12")]
    public event EventHandler<HoverselItemEventArgs> ItemSelected
    Event Type
    Type Description
    System.EventHandler<TEventArgs><HoverselItemEventArgs>

    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