MindFusion.Charting for JavaScript Programmer's Guide
Component Members
Constructors Properties Methods
 


Represents a user interface component.

The following tables list the members exposed by the Component type.

 Public Constructors

  Name Description

Component

Initializes a new instance of the Component class.

 Public Properties

  Name Description

actualHeight

Gets a number value specifying the component's assigned height. Valid only after calling arrange.

actualWidth

Gets a number value specifying the component's assigned width. Valid only after calling arrange.

desiredHeight

Gets a nullable number value specifying the component's desired height. Valid only after calling measure.

desiredWidth

Gets a nullable number value specifying the component's desired width. Valid only after calling measure.

gridColumn

Gets or sets the column index of this component when placed inside a GridPanel.

gridRow

Gets or sets the row index of this component when placed inside a GridPanel.

height

Gets or sets a fixed height for this component.

hitTestVisibility

Gets or sets the hit-test visibility of this component.

horizontalAlignment

Gets or sets the horizontal alignment of this component inside the layout rectangle allocated by its parent panel.

margin

Gets the margin space around this component relative to the layout rectangle allocated by its parent panel.

rectInParent

Gets the boundaries of this component relative to its parent.

toolTip

Gets or sets the component's tooltip text.

verticalAlignment

Gets or sets the vertical alignment of this component inside the layout rectangle allocated by its parent panel.

visibility

Gets or sets the visibility of this component.

width

Gets or sets a fixed width for this component.

xInParent

Gets a number value specifying the component's horizontal position relative to its parent.

yInParent

Gets a number value specifying the component's vertical position relative to its parent.

 Public Methods

  Name Description

add

Sums specified nullable number values.

arrange

Sets the location and size of this component relatively to its parent.

arrangeInRect

Arranges a child component in specified layout rectangle.

createController

Returns a ComponentController used to interact with this component.

draw

Draws this component in specified RenderContext.

getCursorHint

Invoked while the mouse is moved to let your application set the mouse cursor.

hitTest

Returns the component containing specified point.

invalidate

Invalidates the appearance of this component and calls its Draw method at next draw operation.

invalidateLayout

Invalidates the current layout and runs a new layout pass before next draw operation.

localToRoot

Transforms the specified point to the coordinate system of the root panel.

max

Returns the larger of specified values.

measure

Measures the desired size of this component.

rootToLocal

Transforms the specified point to the coordinate system of this component.

visit

Implements the visitor design pattern.

 See Also

Component Class
MindFusion.Charting.Components Namespace