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

The panel that will layout the HorizontalDataAxisLabels.

Definition

Namespace:Telerik.Windows.Controls.DataBars

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public sealed class HorizontalDataAxisLabelsPanel : HorizontalDataAxisItemsPanelBase

Inheritance: objectHorizontalDataAxisItemsPanelBaseHorizontalDataAxisLabelsPanel

Constructors

C#
public HorizontalDataAxisLabelsPanel()

Methods

Calculates on how many pixels to the left the label should be positioned.

C#
protected override double CalculateLeftPixels(UIElement child, double availableWidth)
Parameters:childUIElement

The label.

availableWidthdouble

The available width.

Returns:

double

A number representing how many pixels to the left should the label be positioned.

Overrides: HorizontalDataAxisItemsPanelBase.CalculateLeftPixels(UIElement, double)