[]
        
(Showing Draft Content)

C1.Win.C1Command.RadialMenuItem

RadialMenuItem Class

Represents a radial menu item, possibly with a sub-menu.

Implements
Namespace: C1.Win.C1Command
Assembly: C1.Win.C1Command.4.8.dll
Syntax
[C1Description("RadialMenuItem", "Creates a radial menu item, possibly with a submenu.")]
public class RadialMenuItem : RadialMenuItemBase, IComponent, IDisposable

Constructors

Name Description
RadialMenuItem()

Initializes a new instance of the RadialMenuItem class.

Properties

Name Description
BackColor

Gets or sets the background color of this menu item. Empty (default) means that item background specified for the whole menu is used.

BorderColor

Gets or sets the non-expandable border color of this menu item. Empty (default) means that item non-expandable border color specified for the whole menu is used.

CheckColor

Gets or sets the check mark color of this menu item. Empty (default) means that item check mark color specified for the whole menu is used.

Checked

Gets or sets a value indicating whether the menu item is checked.

Enabled

Gets or sets a value indicating whether the menu item is enabled.

HighlightColor

Gets or sets the highlight color of this menu item. Empty (default) means that item highlight color specified for the whole menu is used.

HotExpandableBorderColor

Gets or sets the hot expandable border color of this menu item. Empty (default) means that style specified for the whole menu is used.

Image

Gets or sets the image associated with the menu item.

Items

Gets or sets the collection of items contained in this menu item.

Name

Gets or sets the name used to identify the item.

Parent

Gets the parent of this menu item (which may be either a C1RadialMenu, or another RadialMenuItem).

Sector

Gets or sets a value indicating the sector index for the item. A value of -1 means that the item is unordered using this property.

SectorCount

Gets or sets a value indicating the number of sectors in the item. If sector count is greater then menu items count, remaining sectors are shown as an empty space. If the number of sectors is less than the number of menu items, then only as many items as specified in this property are shown A value of -1 means that the number of sectors is equal to the number of items.

SectorSpan

Gets or sets a value indicating the number of sectors the item occupies.

State

Gets a value indicating the state of a radial menu item.

Text

Gets or sets the text associated with the menu item.

ToolTip

Gets or sets the tooltip associated with the menu item.

UserData

Gets or sets an arbitrary object that can be associated with this menu item.

Methods

Name Description
OnCheck(EventArgs)

Invokes the Check event.

OnClick(EventArgs)

Invokes the Click event.

OnClosed(EventArgs)

Invokes the Closed event.

OnClosing(CancelEventArgs)

Invokes the Closing event.

OnOpened(EventArgs)

Invokes the Opened event.

OnOpening(CancelEventArgs)

Invokes the Opening event.

OnUncheck(EventArgs)

Invokes the Uncheck event.

ResetChecked()

This method is for internal use only.

ResetEnabled()

This method is for internal use only.

ResetImage()

This method is for internal use only.

ResetName()

This method is for internal use only.

ResetText()

This method is for internal use only.

ResetToolTip()

This method is for internal use only.

ShouldSerializeChecked()

This method is for internal use only.

ShouldSerializeEnabled()

This method is for internal use only.

ShouldSerializeImage()

This method is for internal use only.

ShouldSerializeName()

This method is for internal use only.

ShouldSerializeText()

This method is for internal use only.

ShouldSerializeToolTip()

This method is for internal use only.

Events

Name Description
Check

Occurs when the menu item is checked.

Click

Occurs when the menu item is clicked.

Closed

Occurs when the menu item is closed.

Closing

Occurs when the menu item is closing.

Opened

Occurs when the menu item is opened.

Opening

Occurs when the menu item is opening.

Uncheck

Occurs when the menu item is unchecked.