menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class HorizontalLabelLayout - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class HorizontalLabelLayout

    Represents a axis layout in chart control that indicates the layout orientation as horizontal.

    Inheritance
    System.Object
    AxisLabelLayout
    HorizontalLabelLayout
    Inherited Members
    AxisLabelLayout.AngleForAutoRotate
    AxisLabelLayout.Axis
    AxisLabelLayout.BorderPadding
    AxisLabelLayout.CheckCartesianSeries()
    AxisLabelLayout.CheckLabelPlacement(Boolean)
    AxisLabelLayout.Children
    AxisLabelLayout.ComputedSizes
    AxisLabelLayout.CreateAxisLayout(ChartAxis, List<UIElement>)
    AxisLabelLayout.DesiredSizes
    AxisLabelLayout.InsertToRowOrColumn(Int32, Int32, Rect)
    AxisLabelLayout.IntersectsWith(Rect, Rect, Int32, Int32)
    AxisLabelLayout.IsOpposed(ChartAxis, Boolean)
    AxisLabelLayout.Margin
    AxisLabelLayout.RectssByRowsAndCols
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Charts
    Assembly: Syncfusion.SfChart.WPF.dll
    Syntax
    public class HorizontalLabelLayout : AxisLabelLayout

    Constructors

    HorizontalLabelLayout(ChartAxis, List<UIElement>)

    Initializes a new instance of the HorizontalLabelLayout class.

    Declaration
    public HorizontalLabelLayout(ChartAxis axis, List<UIElement> elements)
    Parameters
    Type Name Description
    ChartAxis axis

    The Axis

    System.Collections.Generic.List<System.Windows.UIElement> elements

    The Elements

    Methods

    Arrange(Size)

    Arranges the labels in the HorizontalLabelLayout

    Declaration
    public override void Arrange(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize
    Overrides
    AxisLabelLayout.Arrange(Size)

    CalcBounds(Double)

    Calculates the bounds.

    Declaration
    protected override void CalcBounds(double availableWidth)
    Parameters
    Type Name Description
    System.Double availableWidth

    The Available Width

    Overrides
    AxisLabelLayout.CalcBounds(Double)

    CalculateActualPlotOffset(Size)

    Calculates the actual plot offset.

    Declaration
    protected override void CalculateActualPlotOffset(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize

    The Available Size

    Overrides
    AxisLabelLayout.CalculateActualPlotOffset(Size)

    LayoutElements()

    Layouts the elements

    Declaration
    protected override double LayoutElements()
    Returns
    Type Description
    System.Double

    Returns the desired height.

    Overrides
    AxisLabelLayout.LayoutElements()

    Measure(Size)

    Measures the labels in the HorizontalLabelLayout.

    Declaration
    public override Size Measure(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize

    The Available Size

    Returns
    Type Description
    System.Windows.Size

    Returns the size required to arrange the elements

    Overrides
    AxisLabelLayout.Measure(Size)

    See Also

    AxisLabelLayout
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved