Class WebContextMenu

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    It is a class for context menu of web view.

    public class WebContextMenu : Disposable
    Inheritance
    object
    Disposable
    WebContextMenu

    Properties

    View Source

    ItemCount

    Counts items of the context menu.

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

    Methods

    View Source

    AppendItem(ItemTag, string, bool)

    Adds the item with a title to the context menu.

    Declaration
    public bool AppendItem(WebContextMenuItem.ItemTag tag, string title, bool enabled)
    Parameters
    Type Name Description
    WebContextMenuItem.ItemTag tag

    The tag of context menu item

    string title

    The title of context menu item

    bool enabled

    Whether context menu item is enabled or not

    Returns
    Type Description
    bool
    View Source

    AppendItem(ItemTag, string, string, bool)

    Adds the item with a title and an icon to the context menu.

    Declaration
    public bool AppendItem(WebContextMenuItem.ItemTag tag, string title, string iconFile, bool enabled)
    Parameters
    Type Name Description
    WebContextMenuItem.ItemTag tag

    The tag of context menu item

    string title

    The title of context menu item

    string iconFile

    The path of icon to be set on context menu item

    bool enabled

    Whether context menu item is enabled or not

    Returns
    Type Description
    bool
    View Source

    GetItemAtIndex(uint)

    Returns the nth item in a context menu.

    Declaration
    public WebContextMenuItem GetItemAtIndex(uint index)
    Parameters
    Type Name Description
    uint index

    The position of the item

    Returns
    Type Description
    WebContextMenuItem
    View Source

    Hide()

    Hides the context menu.

    Declaration
    public bool Hide()
    Returns
    Type Description
    bool
    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    Disposable.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)
    View Source

    RemoveItem(WebContextMenuItem)

    Removes the item from the context menu.

    Declaration
    public bool RemoveItem(WebContextMenuItem item)
    Parameters
    Type Name Description
    WebContextMenuItem item

    The item to be removed

    Returns
    Type Description
    bool
    View Source

    SelectItem(WebContextMenuItem)

    Selects the item from the context menu.

    Declaration
    public bool SelectItem(WebContextMenuItem item)
    Parameters
    Type Name Description
    WebContextMenuItem item

    The item to be selected

    Returns
    Type Description
    bool

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX