Class SquaredPanel
SquaredPanel is used to arrange SfCircularGauge. To arrange the squared panel, create an instance of SquaredPanel, and set required properties.
Inheritance
System.Object
SquaredPanel
Namespace: Syncfusion.UI.Xaml.Gauges
Assembly: Syncfusion.SfGauge.WPF.dll
Syntax
public class SquaredPanel : Panel
Constructors
SquaredPanel()
Initializes a new instance of the SquaredPanel class.
Declaration
public SquaredPanel()
Fields
SpacingProperty
Declaration
public static readonly DependencyProperty SpacingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize |
Returns
Type |
---|
System.Windows.Size |
GetSpacing(DependencyObject)
Returns the SpacingProperty value of the DependencyObject that used to arrange and position the DependencyObject
Declaration
public static double GetSpacing(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj |
Returns
Type | Description |
---|---|
System.Double | Type: double It returns the SpacingProperty value of the DependencyObject. |
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize |
Returns
Type |
---|
System.Windows.Size |
SetSpacing(DependencyObject, Double)
Sets the value of a SpacingProperty, specified by its SpacingProperty identifier.
Declaration
public static void SetSpacing(DependencyObject obj, double value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.Double | value |