WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DigitalGaugeLayoutPanel

    Show / Hide Table of Contents

    Class DigitalGaugeLayoutPanel

    Represents layout panel for digital gauge child elements.

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

    Constructors

    DigitalGaugeLayoutPanel()

    Initializes a new instance of the DigitalGaugeLayoutPanel class.

    Declaration
    public DigitalGaugeLayoutPanel()

    Fields

    GaugeParentProperty

    Identifies the GaugeParent dependency property.

    Declaration
    public static readonly DependencyProperty GaugeParentProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    PanelHeightProperty

    Identifies the PanelHeight dependency property.

    Declaration
    public static readonly DependencyProperty PanelHeightProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    PanelWidthProperty

    Identifies the PanelWidth dependency property.

    Declaration
    public static readonly DependencyProperty PanelWidthProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    GaugeParent

    Gets or sets the parent of the panel.

    Declaration
    public GaugeBase GaugeParent { get; set; }
    Property Value
    Type Description
    GaugeBase

    Type: System.Double Default value is null.

    PanelHeight

    Gets or sets the height of the panel.

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

    Type: System.Double Default value is 0.

    PanelWidth

    Gets or sets the width of the panel.

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

    Type: System.Double Default value is 0.

    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.

    OnGaugeParentChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises GaugeParentChanged event.

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

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

    OnPanelHeightChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises PanelHeightChanged event.

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

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

    OnPanelWidthChanged(DependencyPropertyChangedEventArgs)

    Updates property value cache and raises PanelWidthChanged event.

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

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

    Events

    GaugeParentChanged

    Event that is raised when GaugeParent property is changed.

    Declaration
    public event PropertyChangedCallback GaugeParentChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback

    PanelHeightChanged

    Event that is raised when PanelHeight property is changed.

    Declaration
    public event PropertyChangedCallback PanelHeightChanged
    Event Type
    Type Description
    System.Windows.PropertyChangedCallback

    PanelWidthChanged

    Event that is raised when PanelWidth property is changed.

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