Class RadialMenuItem
Class for RadialMenuItem
Inheritance
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class RadialMenuItem : Control, IRadialMenuItem
Constructors
RadialMenuItem()
Initializes new instance of RadialMenuItem class.
Declaration
public RadialMenuItem()
Properties
BackColor
Gets or sets the value associated with the RadialMenu BackColor.
Declaration
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BackgroundImage
Overrides BackgroundImage.
Declaration
public override Image BackgroundImage { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
BackgroundImageLayout
Overrides the BackgroundImageLayout.
Declaration
public override ImageLayout BackgroundImageLayout { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ImageLayout |
Checked
Gets or sets the value to item checked state.
Declaration
public bool Checked { get; set; }
Property Value
Type |
---|
System.Boolean |
CheckMode
Gets or sets the value to item CheckMode.
Declaration
public CheckMode CheckMode { get; set; }
Property Value
Type |
---|
CheckMode |
ContextMenu
Overrides ContextMenu.
Declaration
public override ContextMenu ContextMenu { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ContextMenu |
ContextMenuStrip
Overrides ContextMenuStrip.
Declaration
public override ContextMenuStrip ContextMenuStrip { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ContextMenuStrip |
Dock
Overrides the Dock.
Declaration
public override DockStyle Dock { get; set; }
Property Value
Type |
---|
System.Windows.Forms.DockStyle |
GroupName
Gets or sets the value to item GroupName.
Declaration
public string GroupName { get; set; }
Property Value
Type |
---|
System.String |
ImageIndex
Gets or sets the value associated with the ImageIndex.
Declaration
public int ImageIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
ImageSize
Gets or sets the image size of the RadialMenuItem.
Declaration
public Size ImageSize { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | The System.Drawing.Size that defines the height and width, in pixels, to draw the image in RadialMenuItem. The default size is 24 by 24. |
Remarks
If the ImageSize is defined, setting the
See Also
Index
Gets or sets the value associated with the Index.
Declaration
public int Index { get; set; }
Property Value
Type |
---|
System.Int32 |
Items
Gets or sets the value to the items of the the RadialMenu.
Declaration
public RadialMenuItemCollection Items { get; set; }
Property Value
Type |
---|
RadialMenuItemCollection |
MaximumSize
Overrides the MaximumSize.
Declaration
public override Size MaximumSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
MinimumSize
Overrides the MinimumSize.
Declaration
public override Size MinimumSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
RightToLeft
Overrides the RightToLeft.
Declaration
public override RightToLeft RightToLeft { get; set; }
Property Value
Type |
---|
System.Windows.Forms.RightToLeft |
Methods
DefaultProcessStart(Boolean)
Sets the value for DefaultProcessStart.
Declaration
public void DefaultProcessStart(bool DefaultProcessStart)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | DefaultProcessStart | boolean |
OnMouseDown(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseDown event.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | MouseEventArgs which contains EventData |
OnMouseUp(MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseUp event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | MouseEventArgs which contains EventData |
ResetCheckedGroupName()
Resets the GroupName value
Declaration
public void ResetCheckedGroupName()
ResetCheckedMode()
Reset the CheckMode value
Declaration
public void ResetCheckedMode()
ResetCheckedState()
Resets the Checked value.
Declaration
public void ResetCheckedState()
ResetImageIndex()
Resets the ImageIndex
Declaration
public void ResetImageIndex()
ResetIndex()
Resets the Index.
Declaration
public void ResetIndex()
ResetItemBackColor()
Resets the BackColor
Declaration
public void ResetItemBackColor()
ResetItems()
Resets the Items.
Declaration
public void ResetItems()
SetDisabledColor(Color)
Set the backcolor of the item for disable mode.
Declaration
public void SetDisabledColor(Color disabledColor)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | disabledColor | Color |
Events
NextMenuOpened
Occurs when next level is opened.
Declaration
public event RadialMenuItem.NextLevelOpened NextMenuOpened
Event Type
Type |
---|
RadialMenuItem.NextLevelOpened |
NextMenuOpening
Occurs when next level is opening.
Declaration
public event RadialMenuItem.NextLevelOpening NextMenuOpening
Event Type
Type |
---|
RadialMenuItem.NextLevelOpening |
PreviousMenuLevelOpened
Occurs when previous menu level is opened.
Declaration
public event RadialMenuItem.PreviousLevelOpened PreviousMenuLevelOpened
Event Type
Type |
---|
RadialMenuItem.PreviousLevelOpened |
PreviousMenuLevelOpening
Occurs when previous menu level is opening.
Declaration
public event RadialMenuItem.PreviousLevelOpening PreviousMenuLevelOpening
Event Type
Type |
---|
RadialMenuItem.PreviousLevelOpening |