[]
        
(Showing Draft Content)

C1.Win.Command.C1CommandLink

C1CommandLink Class

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.

Inheritance
C1CommandLink
Implements
Namespace: C1.Win.Command
Assembly: C1.Win.Command.8.dll
public class C1CommandLink : Component, IComponent, IDisposable

Constructors

Name Description

Initializes a new instance of the C1CommandLink class.

Initializes a new instance of the C1CommandLink class.

Properties

Name Description

Gets the AccessibleObject.

Gets or sets the value indicating whether the item is always recent (is never hidden when hiding non-recent links is on)

This property is for internal use only.

Gets or sets a value controlling how to show the item.

This property is for internal use only.

Gets or sets the linked command.

Gets or sets a value indicating whether this item is default in a dropdown or context menu.

Gets or sets a value indicating whether a delimiter should be drawn before this item.

Shortcut to linked command's Enabled property.

This property is for internal use only.

Gets the current index in CommandLinks collection for recent links.

Returns true if the linked command is enabled and contains a submenu.

Indicates whether this link is a More link.

Indicates whether this link is a service link (more, customize, scroll button).

Gets or sets a value indicating the relative position of the menu item when it is merged with another.

Gets or sets a value indicating the behavior of this menu item when its menu is merged with another.

Gets or sets the value indicating whether this link starts a new column in the menu.

Gets the object (menu, toolbar etc.) containing this command link.

Gets or sets a value indicating whether this item is owner-drawn.

Gets or sets the thickness of the padding between the element edges and its content.

Gets or sets a value determining the relative position of the item.

Gets the current state of the command link (normal, hot, pressed, open).

If set, overrides the Command text.

This property is for internal use only.

If set, overrides the Command tooltip text.

Shortcut to linked command's Visible property.

Methods

Name Description

Closes a submenu for linked C1CommandMenu.

Gets the C1CommandLink accessibility object instance.

Releases the resources used by the C1CommandLink.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

This method is for internal use only.

Opens a submenu for linked C1CommandMenu.

Restore the Command property to its default value.

Resets the Padding property to its default value.

This method is for internal use only.

This method is for internal use only.

Indicates whether the Command has a default value.

Returns true if the Padding has changed; otherwise, returns false. The designer writes code to the form only if true is returned.

This method is for internal use only.

This method is for internal use only.

Events

Name Description

Event fired when the AlwaysRecent property of commandlink is changed.

Event fired when the ButtonLook property of commandlink is changed.

Occurs when the value of the Command property of the command link changes.

Event fired when the Delimiter property of commandlink is changed.

Event fired when the MergeOrder property of commandlink is changed.

Event fired when the MergeType property of commandlink is changed.

Event fired when the NewColumn property of commandlink is changed.

Event fired when the Text property of commandlink is changed.

Event fired when the ToolTip property of commandlink is changed.