[]
C1CommandLink serves as a link to a C1Command component. C1CommandLink can be added to menu/tool bars and customized as needed. The actual action is performed by the C1Command proxy points to.
public class C1CommandLink : Component, IComponent, IDisposable
| Name | Description |
|---|---|
| C1CommandLink() | Initializes a new instance of the C1CommandLink class. |
| C1CommandLink(C1Command) | Initializes a new instance of the C1CommandLink class. |
| Name | Description |
|---|---|
| AccessibilityObject | Gets the AccessibleObject. |
| AlwaysRecent | Gets or sets the value indicating whether the item is always recent (is never hidden when hiding non-recent links is on) |
| Bounds | This property is for internal use only. |
| ButtonLook | Gets or sets a value controlling how to show the item. |
| CheckRect | This property is for internal use only. |
| Command | Gets or sets the linked command. |
| DefaultItem | Gets or sets a value indicating whether this item is default in a dropdown or context menu. |
| Delimiter | Gets or sets a value indicating whether a delimiter should be drawn before this item. |
| Enabled | Shortcut to linked command's Enabled property. |
| ImageRect | This property is for internal use only. |
| Index | Gets the current index in CommandLinks collection for recent links. |
| IsEnabledParent | Returns true if the linked command is enabled and contains a submenu. |
| IsMoreLink | Indicates whether this link is a More link. |
| IsServiceLink | Indicates whether this link is a service link (more, customize, scroll button). |
| MergeOrder | Gets or sets a value indicating the relative position of the menu item when it is merged with another. |
| MergeType | Gets or sets a value indicating the behavior of this menu item when its menu is merged with another. |
| NewColumn | Gets or sets the value indicating whether this link starts a new column in the menu. |
| Owner | Gets the object (menu, toolbar etc.) containing this command link. |
| OwnerDraw | Gets or sets a value indicating whether this item is owner-drawn. |
| Padding | Gets or sets the thickness of the padding between the element edges and its content. |
| SortOrder | Gets or sets a value determining the relative position of the item. |
| State | Gets the current state of the command link (normal, hot, pressed, open). |
| Text | If set, overrides the Command text. |
| TextRect | This property is for internal use only. |
| ToolTipText | If set, overrides the Command tooltip text. |
| Visible | Shortcut to linked command's Visible property. |
| Name | Description |
|---|---|
| CloseSubmenu() | Closes a submenu for linked C1CommandMenu. |
| CreateAccessibilityInstance() | Gets the C1CommandLink accessibility object instance. |
| Dispose(bool) | Releases the resources used by the C1CommandLink. |
| OnAlwaysRecentChanged(EventArgs) | This method is for internal use only. |
| OnButtonLookChanged(EventArgs) | This method is for internal use only. |
| OnCommandChanged(EventArgs) | This method is for internal use only. |
| OnDelimiterChanged(EventArgs) | This method is for internal use only. |
| OnInvoke(EventArgs) | This method is for internal use only. |
| OnMergeOrderChanged(EventArgs) | This method is for internal use only. |
| OnMergeTypeChanged(EventArgs) | This method is for internal use only. |
| OnNewColumnChanged(EventArgs) | This method is for internal use only. |
| OnTextChanged(EventArgs) | This method is for internal use only. |
| OnToolTipChanged(EventArgs) | This method is for internal use only. |
| OpenSubmenu(bool) | Opens a submenu for linked C1CommandMenu. |
| ResetCommand() | Restore the Command property to its default value. |
| ResetPadding() | Resets the Padding property to its default value. |
| ResetText() | This method is for internal use only. |
| ResetToolTipText() | This method is for internal use only. |
| ShouldSerializeCommand() | Indicates whether the Command has a default value. |
| ShouldSerializePadding() | Returns true if the Padding has changed; otherwise, returns false. The designer writes code to the form only if true is returned. |
| ShouldSerializeText() | This method is for internal use only. |
| ShouldSerializeToolTipText() | This method is for internal use only. |
| Name | Description |
|---|---|
| AlwaysRecentChanged | Event fired when the AlwaysRecent property of commandlink is changed. |
| ButtonLookChanged | Event fired when the ButtonLook property of commandlink is changed. |
| CommandChanged | Occurs when the value of the Command property of the command link changes. |
| DelimiterChanged | Event fired when the Delimiter property of commandlink is changed. |
| MergeOrderChanged | Event fired when the MergeOrder property of commandlink is changed. |
| MergeTypeChanged | Event fired when the MergeType property of commandlink is changed. |
| NewColumnChanged | Event fired when the NewColumn property of commandlink is changed. |
| TextChanged | Event fired when the Text property of commandlink is changed. |
| ToolTipChanged | Event fired when the ToolTip property of commandlink is changed. |