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

The base class for the data axis items panel.

Definition

Namespace:Telerik.Windows.Controls.DataBars

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public abstract class HorizontalDataAxisItemsPanelBase : Panel

Inheritance: objectHorizontalDataAxisItemsPanelBase

Derived Classes: HorizontalDataAxisLabelsPanelHorizontalDataAxisTicksPanel

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.

When overridden in a child class it should calculate on how many pixels from the left an item should be positioned.

C#
protected abstract double CalculateLeftPixels(UIElement axisItem, double availableWidth)
Parameters:axisItemUIElementavailableWidthdoubleReturns:

double

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

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

Size