Class
HorizontalDataAxisLabelsPanel

The panel that will layout the HorizontalDataAxisLabels.

Definition

Namespace:Telerik.Windows.Controls.DataBars

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public sealed class HorizontalDataAxisLabelsPanel : HorizontalDataAxisItemsPanelBase

Inheritance: objectHorizontalDataAxisItemsPanelBaseHorizontalDataAxisLabelsPanel

Constructors

HorizontalDataAxisLabelsPanel()

Declaration

cs-api-definition
public HorizontalDataAxisLabelsPanel()

Methods

CalculateLeftPixels(UIElement, double)

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

Declaration

cs-api-definition
protected override double CalculateLeftPixels(UIElement child, double availableWidth)

Parameters

child

UIElement

The label.

availableWidth

double

The available width.

Returns

double

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

Overrides HorizontalDataAxisItemsPanelBase.CalculateLeftPixels(UIElement, double)