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