Class WebContextMenu
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
It is a class for context menu of web view.
C#Copypublic class WebContextMenu : Disposable
- Inheritance
Properties
Declaration
C#Copypublic uint ItemCount { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Methods
View Source
AppendItem(WebContextMenuItem.ItemTag, String, Boolean)
Adds the item with a title to the context menu.
Declaration
C#Copypublic 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 |
Boolean | enabled | Whether context menu item is enabled or not |
Returns
Type | Description |
---|---|
Boolean |
View Source
AppendItem(WebContextMenuItem.ItemTag, String, String, Boolean)
Adds the item with a title and an icon to the context menu.
Declaration
C#Copypublic 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 |
Boolean | enabled | Whether context menu item is enabled or not |
Returns
Type | Description |
---|---|
Boolean |
Declaration
C#Copypublic WebContextMenuItem GetItemAtIndex(uint index)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | index | The position of the item |
Returns
Type | Description |
---|---|
WebContextMenuItem |
Declaration
C#Copypublic bool Hide()
Returns
Type | Description |
---|---|
Boolean |
Declaration
C#Copyprotected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |
Overrides
Declaration
C#Copypublic bool RemoveItem(WebContextMenuItem item)
Parameters
Type | Name | Description |
---|---|---|
WebContextMenuItem | item | The item to be removed |
Returns
Type | Description |
---|---|
Boolean |
Declaration
C#Copypublic bool SelectItem(WebContextMenuItem item)
Parameters
Type | Name | Description |
---|---|---|
WebContextMenuItem | item | The item to be selected |
Returns
Type | Description |
---|---|
Boolean |