Class DigitalCharactersPanel
The digital characters are arranged in this panel
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Gauges
Assembly: Syncfusion.SfGauge.UWP.dll
Syntax
public class DigitalCharactersPanel : Panel, IDisposable
Remarks
It also supports right-to-left format.
Constructors
DigitalCharactersPanel()
Initializes a new instance of the DigitalCharactersPanel class.
Declaration
public DigitalCharactersPanel()
Fields
CharacterHeightProperty
Declaration
public static readonly DependencyProperty CharacterHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CharacterSpacingProperty
Declaration
public static readonly DependencyProperty CharacterSpacingProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CharacterStrokeProperty
Declaration
public static readonly DependencyProperty CharacterStrokeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CharacterTypeProperty
Declaration
public static readonly DependencyProperty CharacterTypeProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
CharacterWidthProperty
Declaration
public static readonly DependencyProperty CharacterWidthProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DimmedBrushOpacityProperty
Declaration
public static readonly DependencyProperty DimmedBrushOpacityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DimmedBrushProperty
Declaration
public static readonly DependencyProperty DimmedBrushProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EnableRTLFormatProperty
Declaration
public static readonly DependencyProperty EnableRTLFormatProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SegmentThicknessProperty
Declaration
public static readonly DependencyProperty SegmentThicknessProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SkewAngleXProperty
Declaration
public static readonly DependencyProperty SkewAngleXProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
SkewAngleYProperty
Declaration
public static readonly DependencyProperty SkewAngleYProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
ValuesProperty
Declaration
public static readonly DependencyProperty ValuesProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
CharacterHeight
Gets or sets the height of the characters. This is a dependency property.
Declaration
public double CharacterHeight { get; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 30. |
Remarks
The Value Should be in Positive.
CharacterSpacing
Gets or sets the distance between characters. This is a dependency property.
Declaration
public double CharacterSpacing { get; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 10. |
Remarks
The Character Spacing Should be in Positive else it act as RTLFormat
CharacterStroke
Gets or sets the brush used to color the bright segments.This is a dependency property.
Declaration
public Brush CharacterStroke { get; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | Type: Windows.UI.Xaml.Media.Brush Default value is Red |
CharacterType
Gets or sets the value indicating whether character should contain seven or fourteen segments or sixteen segment or in Eight cross Eight Matrix. This is a dependency property.
Declaration
public CharacterType CharacterType { get; }
Property Value
Type | Description |
---|---|
CharacterType | Type: CharacterType Default value is CharacterType.SegmentSeven. |
CharacterWidth
Gets or sets the width of the characters. This is a dependency property.
Declaration
public double CharacterWidth { get; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 30. |
Remarks
The Value Should be in Positive.
DimmedBrush
Gets or sets the brush used to color the dimmed segments.This is a dependency property.
Declaration
public Brush DimmedBrush { get; }
Property Value
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | Type: Windows.UI.Xaml.Media.Brush Default value is Transparent |
DimmedBrushOpacity
Gets or sets the opacity for the dimmed segments. This is a dependency property.
Declaration
public double DimmedBrushOpacity { get; }
Property Value
Type | Description |
---|---|
System.Double | Type : System.Double Default value is 50 |
Remarks
The property gets and sets the percentage of opacity to be set in the dimmed segments.
EnableRTLFormat
Gets or sets a value indicating whether the control should enable Right To Left support or not. This is a dependency Property.
Declaration
public bool EnableRTLFormat { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if ; otherwise, false. |
Remarks
Default value for EnableRTLFormat is False
SegmentThickness
Gets or sets the thickness of character segments. This is a dependency property.
Declaration
public double SegmentThickness { get; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 2. |
Remarks
It does not supports for Eight Cross Eight Segment. If the Segment thickness is negative then it will set the value as 2, if 0 the character is not visible. It also depends on CharacterHeight and CharacterWidth Properties.
SkewAngleX
Gets or sets the angle to skew the characters along the x-axis. This is a dependency property.
Declaration
public double SkewAngleX { get; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 0. |
SkewAngleY
Gets or sets the angle to skew the characters along the y-axis. This is a dependency property.
Declaration
public double SkewAngleY { get; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double Default value is 0. |
Values
Gets or sets the value that digital gauge should display. This is a dependency property.
Declaration
public string Values { get; }
Property Value
Type |
---|
System.String |
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | finalSize |
Returns
Type |
---|
Windows.Foundation.Size |
Dispose()
Method to release allocated resources of DigitalCharactersPanel.
Declaration
public void Dispose()
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize |
Returns
Type |
---|
Windows.Foundation.Size |