Class ContextMenuGroup
Collection of context menu items.
Inheritance
Namespace: Telerik.Windows.Controls.RichTextBoxUI.Menus
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ContextMenuGroup : Object, IList<RadMenuItem>, ICollection<RadMenuItem>, IEnumerable<RadMenuItem>, IEnumerable
Constructors
ContextMenuGroup()
ContextMenuGroup(String)
Initializes a new instance of the Context
Declaration
public ContextMenuGroup(string name)
Parameters
System. The name of the group. |
ContextMenuGroup(ContextMenuGroupType)
Initializes a new instance of the Context
Declaration
public ContextMenuGroup(ContextMenuGroupType type)
Parameters
Context The type of the group. |
ContextMenuGroup(ContextMenuGroupType, String)
Initializes a new instance of the Context
Declaration
public ContextMenuGroup(ContextMenuGroupType type, string name)
Parameters
Context The type of the group. |
System. The name of the group. |
Properties
Count
Declaration
public int Count { get; }
Property Value
System.
|
Item[Int32]
Declaration
public RadMenuItem this[int index] { get; set; }
Parameters
System.
|
Property Value
Name
Gets the name of the group.
Declaration
public string Name { get; }
Property Value
System. The name of the group. |
Type
Gets the type of the group.
Declaration
public ContextMenuGroupType Type { get; }
Property Value
Context The type of the group. |
Methods
Add(RadMenuItem)
Clear()
Declaration
public void Clear()
Contains(RadMenuItem)
Declaration
public bool Contains(RadMenuItem item)
Parameters
Rad
|
Returns
System.
|
CopyTo(RadMenuItem[], Int32)
Declaration
public void CopyTo(RadMenuItem[] array, int arrayIndex)
Parameters
Rad
|
System.
|
GetEnumerator()
Declaration
public IEnumerator<RadMenuItem> GetEnumerator()
Returns
System.
|
IndexOf(RadMenuItem)
Insert(Int32, RadMenuItem)
Declaration
public void Insert(int index, RadMenuItem item)
Parameters
System.
|
Rad
|
Remove(RadMenuItem)
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
System.
|