[]
Arbitrary controls can be contained in toolbars. This functionality is provided by the class C1CommandControl, derived from C1Command.
[C1Description("C1CommandControl", "Represents a command that supports arbitrary controls in a menu or toolbar.")]
public class C1CommandControl : C1Command, IComponent, IDisposable
Name | Description |
---|---|
C1CommandControl() | Initializes a new instance of the C1CommandControl class. |
Name | Description |
---|---|
AcceptsReturn | Gets or sets the value indicating whether the embedded control receives the Return key. |
CommandActive | Gets or sets the value indicating whether the command link can be clicked. |
Control | Gets or sets the arbitrary control attached to the command. |
Enabled | Gets or sets whether the command is enabled. |
HasInputFocus | This method is for internal use only. |
HotFrame | Gets or sets the value indicating how the hot frame around the link is drawn. |
Name | Description |
---|---|
AddCommandLink(C1CommandLink) | This method is for internal use only. |
Invoke(ClickEventArgs) | Invokes the command. |
LinkReceiveFocus(C1CommandLink) | This method is for internal use only. |
OnBarPopDown() | This method is for internal use only. |
RemoveCommandLink(C1CommandLink) | This method is for internal use only. |
Name | Description |
---|---|
CommandActiveChanged | Event fired when the CommandActive property of command is changed. |
ControlChanged | Event fired when the Control property of command is changed. |