Class ContextMenuGroup
Collection of context menu items.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.RichTextBoxUI.Menus
Assembly: Telerik.Windows.Controls.RichTextBoxUI.dll
Syntax
public class ContextMenuGroup : 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
|
Implements
Item[Int32]
Declaration
public RadMenuItem this[int index] { get; set; }
Parameters
System.Int32
index
|
Property Value
RadMenuItem
|
Implements
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)
Declaration
public void Add(RadMenuItem item)
Parameters
RadMenuItem
item
|
Implements
Clear()
Declaration
public void Clear()
Implements
Contains(RadMenuItem)
Declaration
public bool Contains(RadMenuItem item)
Parameters
RadMenuItem
item
|
Returns
System.Boolean
|
Implements
CopyTo(RadMenuItem[], Int32)
Declaration
public void CopyTo(RadMenuItem[] array, int arrayIndex)
Parameters
RadMenuItem[]
array
|
System.Int32
arrayIndex
|
Implements
GetEnumerator()
Declaration
public IEnumerator<RadMenuItem> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<RadMenuItem>
|
Implements
IndexOf(RadMenuItem)
Declaration
public int IndexOf(RadMenuItem item)
Parameters
RadMenuItem
item
|
Returns
System.Int32
|
Implements
Insert(Int32, RadMenuItem)
Declaration
public void Insert(int index, RadMenuItem item)
Parameters
System.Int32
index
|
RadMenuItem
item
|
Implements
Remove(RadMenuItem)
Declaration
public bool Remove(RadMenuItem item)
Parameters
RadMenuItem
item
|
Returns
System.Boolean
|
Implements
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
index
|
Implements
Explicit Interface Implementations
ICollection<RadMenuItem>.IsReadOnly
Declaration
bool ICollection<RadMenuItem>.IsReadOnly { get; }
Returns
System.Boolean
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|