menu

WPF

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

    Show / Hide Table of Contents

    Class ScalesLayoutPanel

    Represents layout panel for the CircularGauge.

    Inheritance
    System.Object
    ScalesLayoutPanel
    Namespace: Syncfusion.Windows.Gauge
    Assembly: Syncfusion.Gauge.WPF.dll
    Syntax
    public class ScalesLayoutPanel : Panel
    Remarks

    All the elements of the CircularGauge are arranged at the center of the Panel and then transformed to their respective positions.

    Constructors

    ScalesLayoutPanel()

    Initializes a new instance of the ScalesLayoutPanel class.

    Declaration
    public ScalesLayoutPanel()

    Fields

    PanelSizeProperty

    Identifies the PanelSize dependency property.

    Declaration
    public static readonly DependencyProperty PanelSizeProperty
    Field Value
    Type
    System.Windows.DependencyProperty

    Properties

    PanelSize

    Gets or sets the size of the panel.

    Declaration
    public double PanelSize { get; set; }
    Property Value
    Type Description
    System.Double

    Type: System.Double

    Methods

    ArrangeOverride(Size)

    Positions child elements and determines a size for the element.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    System.Windows.Size finalSize

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

    Returns
    Type Description
    System.Windows.Size

    The actual size used.

    MeasureOverride(Size)

    Measures the size in layout required for child elements and determines a size for the element.

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

    The available size that this element can give to child elements.

    Returns
    Type Description
    System.Windows.Size

    The size that this element determines it needs during layout.

    OnPanelSizeChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises PanelSizeChanged event.

    Declaration
    protected virtual void OnPanelSizeChanged(DependencyPropertyChangedEventArgs e)
    Parameters
    Type Name Description
    System.Windows.DependencyPropertyChangedEventArgs e

    Property change details, such as old value and new value.

    Events

    PanelSizeChanged

    Event that is raised when PanelSize property is changed.

    Declaration
    public event PropertyChangedCallback PanelSizeChanged
    Event Type
    Type
    System.Windows.PropertyChangedCallback
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved