Search
ComponentBase Methods
 


 Public Methods

  Name Description

ArrangeComponents

Recursively arranges the child components, within the specified space and using the specified graphics for measurement purposes.

Contains

Checks if the specified component is contained in the hierarchy defined by the current component.

Draw

Renders the component in the specified IGraphics.

Find

Returns the component with the specified name within the hierarchy defined by the current component.

GetCursor

Gets the cursor to display when the mouse is at the specified position.

GetDesiredSize

Gets the desired size of this component in case the Width and/or Height have not been explicitly specified.

Invalidate

Invalidates the visual appearance of the component.

InvalidateLayout

Invalidates the layout of this component and all its children.

OnKeyDown

Called when a key is pressed when this component has the input focus.

OnKeyPress

Called when a character key is pressed when this component has the input focus.

OnKeyUp

Called when a key is released when this component has the input focus.

OnMouseDown

Called when the left mouse button is pressed while the pointer is over this component.

OnMouseMove

Called when the mouse is moved while this component tracks the mouse events.

OnMouseUp

Called when the left mouse button is released while this component tracks the mouse events.

ToDocument

Converts a point from local to document coordinates.

ToLocal

Converts a point from document to local coordinates.

ToParent

Converts a point from local coordinates to the specified parent's coordinates.

 Protected Methods

  Name Description

LoadFromJson

Loads the component from a JSON object.

LoadFromXml

Deserializes the component from an XML element.

OnAddedToParent

Invoked when the component is added to a parent component.

OnGotFocus

Raises the GotFocus event.

OnGotFocus

Invokes when the component gains the input focus.

OnLostFocus

Raises the LostFocus event.

OnLostFocus

Invokes when the component loses the input focus.

OnMouseMove

Raises the MouseMove event.

OnRemovedFromParent

Invoked when the component is removed from a parent component.

OnUnitChanged

Invoked when the measure unit of the document containing the component has changed.

OnValidated

Raises the Validated event.

OnValidating

Raises the Validating event.

OnZoomChanged

Invoked when the zoom factor of the document containing the component has changed.

SaveToJson

Saves the component as a JSON object.

SaveToXml

Serializes the component into an XML element.

SerializeSubcomponents

Invoked to query whether the underlying component structure should be automatically serialized or serialized by the user.

 See Also