BCGSoft.Controls.Shared Namespace : CommandObject Class |
The following tables list the members exposed by CommandObject.
Name | Description | |
---|---|---|
![]() | CommandObject Constructor | Initializes a new instance of the CommandObject class. |
Name | Description | |
---|---|---|
![]() | m_handlers |
Name | Description | |
---|---|---|
![]() | AutoRepeatEnabled | Specifies if the timer for execution of autorepeat commands is enabled. |
![]() | Bounds | Specifies the boundaries of the command object. |
![]() | Checkable | Specifies if the command object can get a check state. |
![]() | Checked | Gets or sets a value indicating whether the command object is in the checked state. |
![]() | Container | (Inherited from System.ComponentModel.Component) |
![]() | CustomLayout | Specifies if the size and location of the command object is defined by user and this object will not be resized and moved on calling function AdjustLayout of the parent command panel. |
![]() | Enabled | Gets or sets a value indicating whether the command object can respond to user interaction. |
![]() | ExplicitDispose | This property has no default implementation. Override this property in the derived class to specify if the command object should be destroy on removing the parent command panel. In BCGControlBar.NET library this property is used in destructor of the PopupMenuBar class to specify if its child menu items should be removed. |
![]() | Hidden | |
![]() | Highlighted | Indicates a value if the command object is highlighted. |
![]() | ID | Gets or sets the ID value that uniquely identifies the command associated with the command object. |
![]() | IsDialogControl | Specifies if the command object should be redrawn as a dialog control. |
![]() | IsHorizontal | Specifies the orientation of the command object. |
![]() | IsSeparator | Indicates a value if the command object is a separator. |
![]() | Location | Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its parent command panel. |
![]() | Margin | Gets or sets the space between command objects on the command panel. |
![]() | Pressed | Gets a value indicating whether the state of the CommandObject is pressed. |
![]() | Site | (Inherited from System.ComponentModel.Component) |
![]() | Visible | Gets or sets a value indicating whether the command object is displayed. |
![]() | VisualStyle | Specifies the visual style of the command object. |
![]() | Width | Gets or sets the width of the command object. |
![]() | Wrap | Specifies if the command object should be located first at the row below. |
Name | Description | |
---|---|---|
![]() | CanRaiseEvents | (Inherited from System.ComponentModel.Component) |
![]() | DesignMode | (Inherited from System.ComponentModel.Component) |
![]() | Events | (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
![]() | CopyBaseHandlers | |
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) |
![]() | Dispose | Overloaded. Overridden. |
![]() | Fire_PropertyChanged | Raises PropertyChanged event which occurs when a property value changes. |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | GetSubItems | |
![]() | InitComplete | |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![]() | IsItemCollectionVisible | In default implementation the function returns false. You can override this function in the derived class to indicate a value if the command object has a popup menu items' collection and this items are visible. In BCGControlBar.NET library this function is overridden in class ToolBarMenuButton to specify the visibility of the related popup menu. |
![]() | OnCalculateSize | Called by the framework to calculate the size of the command object. In default implementation this function returns the value from parameter "sizeDefault". |
![]() | OnDraw | Draws a command object on the specified graphics with a specified boundaries. |
![]() | OnMouseDown | Raises the MouseDown event which occurs when the mouse pointer is over the command object and a mouse button is pressed. |
![]() | OnMouseUp | Raises the MouseUp event which occurs when the mouse pointer is over the ColorPanel and a mouse button is released. |
![]() | raise_DrawCommandObject | |
![]() | raise_PropertyChanged | |
![]() | raise_RedrawCommandObject | |
![]() | Redraw | This function has no default implementation. You can override this function in the derived class to redraw the object of this class. |
![]() | ToString | (Inherited from System.ComponentModel.Component) |
![]() | UpdateParentPanel | Redraws a part of the parent panel. |
Name | Description | |
---|---|---|
![]() | Finalize | (Inherited from System.ComponentModel.Component) |
![]() | GetService | (Inherited from System.ComponentModel.Component) |
![]() | MemberwiseClone | Overloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject) |
![]() | OnDrawCommandObject | |
![]() | OnPropertyChanged | |
![]() | OnRedraw |
Name | Description | |
---|---|---|
![]() | Disposed | (Inherited from System.ComponentModel.Component) |
![]() | DrawCommandObject | Occurs on redrawing of the command object. |
![]() | PropertyChanged | Occurs when a property value changes. |
![]() | RedrawCommandObject |