Search
ButtonComponent Methods
 


 Public Methods

  Name Description

ArrangeComponents

ComponentBase.ArrangeComponents override. (Inherited from ContentComponent.)

Contains

Checks if the specified component is contained in the hierarchy defined by the current component. (Inherited from ComponentBase.)

Draw

ContentComponent.Draw override.

Find

Returns the component with the specified name within the hierarchy defined by the current component. (Inherited from ComponentBase.)

GetCursor

ComponentBase.GetCursor override.

GetDesiredSize

ContentComponent.GetDesiredSize override.

Invalidate

Invalidates the visual appearance of the component. (Inherited from ComponentBase.)

InvalidateLayout

Invalidates the layout of this component and all its children. (Inherited from ComponentBase.)

OnKeyDown

ComponentBase.OnKeyDown override.

OnKeyPress

Called when a character key is pressed when this component has the input focus. (Inherited from ComponentBase.)

OnKeyUp

Called when a key is released when this component has the input focus. (Inherited from ComponentBase.)

OnMouseDown

ComponentBase.OnMouseDown override.

OnMouseMove

ComponentBase.OnMouseMove override.

OnMouseUp

ComponentBase.OnMouseDown override.

ToDocument

Converts a point from local to document coordinates. (Inherited from ComponentBase.)

ToLocal

Converts a point from document to local coordinates. (Inherited from ComponentBase.)

ToParent

Converts a point from local coordinates to the specified parent's coordinates. (Inherited from ComponentBase.)

 Protected Methods

  Name Description

GetImage

Gets the image from the button's image list corresponding to the current state of the button.

GetThickness

Gets the space around the component's content. This space includes padding by default but can be subsequently adjusted as necessary by the deriving classes. (Inherited from ContentComponent.)

LoadFromJson

ContentComponent.LoadFromJson override.

LoadFromXml

ContentComponent.LoadFromXml override.

OnAddedToParent

Invoked when the component is added to a parent component. (Inherited from ComponentBase.)

OnClicked

Raises the Clicked event.

OnCustomDraw

Raises the CustomDraw event.

OnGotFocus

Invokes when the component gains the input focus. (Inherited from ComponentBase.)

OnGotFocus

Raises the GotFocus event. (Inherited from ComponentBase.)

OnLostFocus

Raises the LostFocus event. (Inherited from ComponentBase.)

OnLostFocus

Invokes when the component loses the input focus. (Inherited from ComponentBase.)

OnMouseMove

Raises the MouseMove event. (Inherited from ComponentBase.)

OnRemovedFromParent

Invoked when the component is removed from a parent component. (Inherited from ComponentBase.)

OnRepeatEnded

Raises the RepeatEnded event.

OnUnitChanged

Invoked when the measure unit of the document containing the component has changed. (Inherited from ComponentBase.)

OnValidated

Raises the Validated event. (Inherited from ComponentBase.)

OnValidating

Raises the Validating event. (Inherited from ComponentBase.)

OnZoomChanged

Invoked when the zoom factor of the document containing the component has changed. (Inherited from ComponentBase.)

SaveToJson

ContentComponent.SaveToJson override.

SaveToXml

ContentComponent.SaveToXml override.

SerializeSubcomponents

Invoked to query whether the underlying component structure should be automatically serialized or serialized by the user. (Inherited from ComponentBase.)

 See Also