New to Telerik UI for WPFStart a free 30-day trial

The base class for the vertical panel that will layout data axis items.

Definition

Namespace:Telerik.Windows.Controls.DataBars

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public abstract class VerticalDataAxisItemsPanelBase : Panel

Inheritance: objectVerticalDataAxisItemsPanelBase

Derived Classes: VerticalDataAxisLabelsPanelVerticalDataAxisTicksPanel

Methods

Overrides the Arrange pass to define a specific behavior for arranging axis items.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final area within the parent that the panel should use to arrange itself and its children.

Returns:

Size

The actual size that is used after the element is arranged in layout.

Calculates on how many pixels from the top should the item be positioned.

C#
protected abstract double CalculateTopPixels(UIElement axisItem, double availableHeight)
Parameters:axisItemUIElement

The item.

availableHeightdouble

The available height.

Returns:

double

A number representing how many pixels from the top should the item be positioned.

Overrides the Measure pass to define a specific behavior for measuring.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSizeReturns:

Size