Click or drag to resize

ButtonController Methods

The ButtonController type exposes the following members.

Methods
 NameDescription
Public methodClearDragRect Reset the dragging rect to prevent any dragging starting.
Public methodDoubleClick Left mouse button double click.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGotFocus Source control has lost the focus.
Public methodKeyDown Key has been pressed down.
Public methodKeyPress Key has been pressed.
Public methodKeyUp Key has been released.
Public methodLostFocus Source control has lost the focus.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMouseDown Mouse button has been pressed in the view.
Public methodMouseEnter Mouse has entered the view.
Public methodMouseLeave Mouse has left the view.
Public methodMouseMove Mouse has moved inside the view.
Public methodMouseUp Mouse button has been released in the view.
Protected methodOnButtonDragOffset Raises the ButtonDragOffset event.
Protected methodOnButtonDragRectangle Raises the ButtonDragRectangle event.
Protected methodOnClick Raises the Click event.
Protected methodOnDragEnd Raises the DragEnd event.
Protected methodOnDragMove Raises the DragMove event.
Protected methodOnDragQuit Raises the DragQuit event.
Protected methodOnDragStart Raises the DragStart event.
Protected methodOnMiddleClick Raises the MiddleClick event.
Protected methodOnMouseSelect Raises the MouseSelect event.
Protected methodOnNeedPaint Raises the NeedPaint event.
Protected methodOnRightClick Raises the RightClick event.
Public methodPerformNeedPaint Fires the NeedPaint event.
Public methodPerformNeedPaint(Boolean) Fires the NeedPaint event.
Public methodRemoveFixed Remove the fixed pressed mode.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodUpdateTargetState(Control) Set the correct visual state of the target.
Protected methodUpdateTargetState(Point) Set the correct visual state of the target.
Protected methodViewIsPartOfButton Discovers if the provided view is part of the button.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also