Class ContextMenu

Definition

Namespace:
Tizen.WebView
Assembly:
Tizen.WebView.dll
API Level:
6

This class provides the properties of Context Menu.

C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public class ContextMenu
Inheritance
System.Object
ContextMenu

Properties

View Source

ItemCount

Gets the context menu items count.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public int ItemCount { get; }
Property Value
Type Description
Int32
API Level: 6

Methods

View Source

AppendItem(ContextMenuItemTag, String, String, Boolean)

Appends item to the context menu.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public ContextMenuItem AppendItem(ContextMenuItemTag tag, string title, string iconPath, bool enabled)
Parameters
Type Name Description
ContextMenuItemTag tag

The tag of context menu item.

System.String title

The title of context menu item.

System.String iconPath

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

Boolean enabled

if true the context menu item is enabled else false.

Returns
Type Description
ContextMenuItem

Appended context menu item.

API Level: 6
View Source

GetItemAtIndex(Int32)

Gets Nth item of the context menu.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public ContextMenuItem GetItemAtIndex(int n)
Parameters
Type Name Description
Int32 n

To get item at index n.

Returns
Type Description
ContextMenuItem

The context menu item.

API Level: 6
View Source

RemoveItem(ContextMenuItem)

Removes item from the context menu.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void RemoveItem(ContextMenuItem item)
Parameters
Type Name Description
ContextMenuItem item

The context menu item to be removed.

API Level: 6