Button |
public class ButtonController : GlobalId, IMouseController, IKeyController, ISourceController
The ButtonController type exposes the following members.
| Name | Description | |
|---|---|---|
| ButtonController | Initialize a new instance of the ButtonController class. |
| Name | Description | |
|---|---|---|
| AllowDragging | Gets and sets if dragging is allowed. | |
| BecomesFixed | Gets and sets if the button becomes fixed in pressed appearance when pressed. | |
| BecomesRightFixed | Gets and sets if the button becomes fixed in pressed appearance when pressed. | |
| Captured | Gets a value indicating if mouse input is being captured. | |
| ClickOnDown | Gets and sets if the press down should cause the click. | |
| Id |
Gets the unique identifier of the object.
(Inherited from GlobalId) | |
| IgnoreVisualFormLeftButtonDown | Should the left mouse down be ignored when present on a visual form border area. | |
| IsOnlyPressedWhenOver | Gets a value indicating if the state is pressed only when over button. | |
| IsOperating | Get a value indicating if the controller is operating | |
| MousePoint | Gets the current tracking mouse point. | |
| NeedPaint | Gets and sets the need paint delegate for notifying paint requests. | |
| NonClientAsNormal | Gets and sets the drawing of a non client mouse position when pressed as normal. | |
| Repeat | Gets and sets the need for repeat clicks. | |
| SplitRectangle | Gets and sets the area of the button which is split. | |
| Tag | Gets and sets the user data associated with the controller. | |
| Target | Gets access to the associated target of the controller. |
| Name | Description | |
|---|---|---|
| ClearDragRect | Reset the dragging rect to prevent any dragging starting. | |
| DoubleClick | Left mouse button double click. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GotFocus | Source control has lost the focus. | |
| KeyDown | Key has been pressed down. | |
| KeyPress | Key has been pressed. | |
| KeyUp | Key has been released. | |
| LostFocus | Source control has lost the focus. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MouseDown | Mouse button has been pressed in the view. | |
| MouseEnter | Mouse has entered the view. | |
| MouseLeave | Mouse has left the view. | |
| MouseMove | Mouse has moved inside the view. | |
| MouseUp | Mouse button has been released in the view. | |
| OnButtonDragOffset | Raises the ButtonDragOffset event. | |
| OnButtonDragRectangle | Raises the ButtonDragRectangle event. | |
| OnClick | Raises the Click event. | |
| OnDragEnd | Raises the DragEnd event. | |
| OnDragMove | Raises the DragMove event. | |
| OnDragQuit | Raises the DragQuit event. | |
| OnDragStart | Raises the DragStart event. | |
| OnMiddleClick | Raises the MiddleClick event. | |
| OnMouseSelect | Raises the MouseSelect event. | |
| OnNeedPaint | Raises the NeedPaint event. | |
| OnRightClick | Raises the RightClick event. | |
| PerformNeedPaint | Fires the NeedPaint event. | |
| PerformNeedPaint(Boolean) | Fires the NeedPaint event. | |
| RemoveFixed | Remove the fixed pressed mode. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| UpdateTargetState(Control) | Set the correct visual state of the target. | |
| UpdateTargetState(Point) | Set the correct visual state of the target. | |
| ViewIsPartOfButton | Discovers if the provided view is part of the button. |
| Name | Description | |
|---|---|---|
| ButtonDragOffset | Occurs when the dragging inside the button drag rectangle. | |
| ButtonDragRectangle | Occurs when the drag rectangle for the button is required. | |
| Click | Occurs when the mouse is used to left click the target. | |
| DragEnd | Occurs when drag ends. | |
| DragMove | Occurs when drag moves. | |
| DragQuit | Occurs when drag quits. | |
| DragStart | Occurs when start of drag operation occurs. | |
| MiddleClick | Occurs when the mouse is used to right click the target. | |
| MouseSelect | Occurs when the mouse is used to left select the target. | |
| RightClick | Occurs when the mouse is used to right click the target. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |