Class ContextMenu

    Definition

    Namespace:
    Tizen.WebView
    Assembly:
    Tizen.WebView.dll

    This class provides the properties of Context Menu.

    public class ContextMenu
    Inheritance
    object
    ContextMenu

    Properties

    View Source

    ItemCount

    Gets the context menu items count.

    Declaration
    public int ItemCount { get; }
    Property Value
    Type Description
    int

    Methods

    View Source

    AppendItem(ContextMenuItemTag, string, string, bool)

    Appends item to the context menu.

    Declaration
    public ContextMenuItem AppendItem(ContextMenuItemTag tag, string title, string iconPath, bool enabled)
    Parameters
    Type Name Description
    ContextMenuItemTag tag

    The tag of context menu item.

    string title

    The title of context menu item.

    string iconPath

    The path of icon to be set on context menu item.

    bool enabled

    if true the context menu item is enabled else false.

    Returns
    Type Description
    ContextMenuItem

    Appended context menu item.

    View Source

    GetItemAtIndex(int)

    Gets Nth item of the context menu.

    Declaration
    public ContextMenuItem GetItemAtIndex(int n)
    Parameters
    Type Name Description
    int n

    To get item at index n.

    Returns
    Type Description
    ContextMenuItem

    The context menu item.

    View Source

    RemoveItem(ContextMenuItem)

    Removes item from the context menu.

    Declaration
    public void RemoveItem(ContextMenuItem item)
    Parameters
    Type Name Description
    ContextMenuItem item

    The context menu item to be removed.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX