Class AxisPanelBase
Represents the base class for axis panels.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class AxisPanelBase : Panel
Constructors
AxisPanelBase()
Declaration
protected AxisPanelBase()
Methods
ArrangeOverride(Size)
Provides the behavior for the "Arrange" pass of Silverlight layout. Classes can override this method to define their own arrange pass behavior.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The final area within the parent that this object should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size used. |
CalculateChildRect(UIElement, Int32, Int32, Double, Size)
Calculates the child System.Windows.Rect.
Declaration
protected abstract Rect CalculateChildRect(UIElement child, int index, int childrenCount, double stepSpan, Size finalSize)
Parameters
System.Windows.UIElement
child
The child. |
System.Int32
index
The index. |
System.Int32
childrenCount
The children count. |
System.Double
stepSpan
The number of steps within the chart range. |
System.Windows.Size
finalSize
The final size. |
Returns
System.Windows.Rect
|
CalculateMaxHeight(Size)
Calculates the max height of the items.
Declaration
protected abstract double CalculateMaxHeight(Size availableSize)
Parameters
System.Windows.Size
availableSize
Size of the available. |
Returns
System.Double
|
CalculateMaxWidth(Size)
Calculates the max width of the items.
Declaration
protected abstract double CalculateMaxWidth(Size availableSize)
Parameters
System.Windows.Size
availableSize
Size of the available. |
Returns
System.Double
|
MeasureOverride(Size)
Provides the behavior for the "measure" pass of Silverlight layout. Classes can override this method to define their own measure pass behavior.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available. |
Returns
System.Windows.Size
The size that this object determines it needs during layout, based on its calculations of child object allotted sizes. |