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