WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DigitalGauge - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DigitalGauge

    Digital Gauge class

    Inheritance
    System.Object
    DigitalGauge
    Implements
    IVisualStyle
    Namespace: Syncfusion.Windows.Forms.Gauge
    Assembly: Syncfusion.Gauge.Windows.dll
    Syntax
    public class DigitalGauge : Control, IVisualStyle

    Constructors

    DigitalGauge()

    Initializes a new instance of DigitalGauge class

    Declaration
    public DigitalGauge()

    Properties

    BackColor

    Gets or sets the background color.

    Declaration
    public override Color BackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    BackgroundGradientEndColor

    Gets or sets the gradient end color for the background.

    Declaration
    public Color BackgroundGradientEndColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    BackgroundGradientStartColor

    Gets or sets the gradient start color for the background.

    Declaration
    public Color BackgroundGradientStartColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    BackgroundImage

    Specifies the background image for the control

    Declaration
    public override Image BackgroundImage { get; }
    Property Value
    Type Description
    System.Drawing.Image

    BackgroundImageLayout

    Specifies the image layout for the background image.

    Declaration
    public override ImageLayout BackgroundImageLayout { get; }
    Property Value
    Type Description
    System.Windows.Forms.ImageLayout

    CharacterCount

    Gets or sets the number of characters to be displayed.

    Declaration
    public int CharacterCount { get; set; }
    Property Value
    Type Description
    System.Int32

    CharacterType

    Gets or sets the value to choose the segment type.

    Declaration
    public CharacterType CharacterType { get; set; }
    Property Value
    Type Description
    CharacterType

    DataManager

    Gets the CurrencyManager of the bound list.

    Declaration
    protected CurrencyManager DataManager { get; }
    Property Value
    Type Description
    System.Windows.Forms.CurrencyManager

    DataMember

    Specifies the secondary list of Datasource, to display it

    Declaration
    public string DataMember { get; set; }
    Property Value
    Type Description
    System.String

    DataSource

    Specifies the data source for the control.

    Declaration
    public object DataSource { get; set; }
    Property Value
    Type Description
    System.Object

    Depth

    Declaration
    public int Depth { get; set; }
    Property Value
    Type Description
    System.Int32

    DisplayMember

    Declaration
    public string DisplayMember { get; set; }
    Property Value
    Type Description
    System.String

    DisplayRecordIndex

    Gets or sets the display record index

    Declaration
    public int DisplayRecordIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    ForeColor

    Gets or sets the foreground color which used to display the text.

    Declaration
    public override Color ForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    FrameBorderColor

    Gets or sets the Frame Border color.

    Declaration
    public Color FrameBorderColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    OuterFrameGradientEndColor

    Gets or sets the gradient end color for the outer frame.

    Declaration
    public Color OuterFrameGradientEndColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    OuterFrameGradientStartColor

    Gets or sets the gradient start color for the outer frame.

    Declaration
    public Color OuterFrameGradientStartColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    OverrideFontSize

    Gets or sets the value to override control's font size.

    Declaration
    public bool OverrideFontSize { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Size mentioned in the Control's Font will be applied only when this is disabled, else the font size will be assigned based on control's size

    RoundCornerRadius

    Gets or sets the value for the rounded corner radius.

    Declaration
    public int RoundCornerRadius { get; set; }
    Property Value
    Type Description
    System.Int32

    SegmentSpacing

    Gets or sets the value for spacing between each string being displayed in the Gauge.

    Declaration
    public float SegmentSpacing { get; set; }
    Property Value
    Type Description
    System.Single

    ShowInvisibleSegments

    Show or hide the disabled segments.

    Declaration
    public bool ShowInvisibleSegments { get; set; }
    Property Value
    Type Description
    System.Boolean

    Text

    Override text

    Declaration
    public override string Text { get; }
    Property Value
    Type Description
    System.String

    ThemeBrush

    Gets the ThemeBrush ColorTable for DigitalGauge control

    Declaration
    public BindingList<DigitalGaugeThemeBrush> ThemeBrush { get; }
    Property Value
    Type Description
    System.ComponentModel.BindingList<DigitalGaugeThemeBrush>

    Value

    Gets or sets the value to be displayed.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    System.String

    VisualStyle

    Specifies the visual style.

    Declaration
    public ThemeStyle VisualStyle { get; set; }
    Property Value
    Type Description
    ThemeStyle

    Methods

    CreateAccessibilityInstance()

    Declaration
    protected override AccessibleObject CreateAccessibilityInstance()
    Returns
    Type Description
    System.Windows.Forms.AccessibleObject

    Dispose(Boolean)

    Dispose function overrides

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    GetRoundPath(Rectangle, Int32)

    Returns the rounded rectangle for control's region.

    Declaration
    public static GraphicsPath GetRoundPath(Rectangle r, int depth)
    Parameters
    Type Name Description
    System.Drawing.Rectangle r

    rectangle

    System.Int32 depth

    value to draw inner frame

    Returns
    Type Description
    System.Drawing.Drawing2D.GraphicsPath

    graphics path

    OnBindingContextChanged(EventArgs)

    Overrides base.OnBindingContextChanged

    Declaration
    protected override void OnBindingContextChanged(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnPaint(PaintEventArgs)

    Overrides the base.Paint

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    PaintEventArgs which contains the EventData

    OnPaintBackground(PaintEventArgs)

    Overrides base.OnPaintBackground to paint the background region of the control

    Declaration
    protected override void OnPaintBackground(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    ResetBackgroundGradientEndColor()

    Resets the BackgroundGradientEndColor property to it's default value.

    Declaration
    protected void ResetBackgroundGradientEndColor()

    ResetBackgroundGradientStartColor()

    Resets the BackgroundGradientStartColor property to it's default value.

    Declaration
    protected void ResetBackgroundGradientStartColor()

    ResetCharacterCount()

    Resets the property to it's default value.

    Declaration
    protected void ResetCharacterCount()

    ResetCharacterType()

    Resets the property to it's default value.

    Declaration
    protected void ResetCharacterType()

    ResetDepth()

    Resets the property to it's default value.

    Declaration
    protected void ResetDepth()

    ResetFrameBorderColor()

    Resets the property to it's default value.

    Declaration
    protected void ResetFrameBorderColor()

    ResetOuterFrameGradientEndColor()

    Resets the OuterFrameGradientEndColor property to it's default value.

    Declaration
    protected void ResetOuterFrameGradientEndColor()

    ResetOuterFrameGradientStartColor()

    Resets the OuterFrameGradientStartColor property to it's default value.

    Declaration
    protected void ResetOuterFrameGradientStartColor()

    ResetOverrideFontSize()

    Resets the property to it's default value.

    Declaration
    protected void ResetOverrideFontSize()

    ResetRoundCornerRadius()

    Resets the property to it's default value.

    Declaration
    protected void ResetRoundCornerRadius()

    ResetSegmentSpacing()

    Resets the property to it's default value.

    Declaration
    protected void ResetSegmentSpacing()

    ResetShowInvisibleSegments()

    Resets the property to it's default value.

    Declaration
    protected void ResetShowInvisibleSegments()

    ResetValue()

    Resets the Value property to it's default value.

    Declaration
    protected void ResetValue()

    ResetVisualStyle()

    Resets the VisualStyle property to it's default value.

    Declaration
    protected void ResetVisualStyle()

    ShouldSerializeBackColor()

    Indicates whether the current value of the BackColor property is to be serialized.

    Declaration
    protected bool ShouldSerializeBackColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeBackgroundGradientEndColor()

    Indicates whether the current value of the BackgroundGradientEndColor property is to be serialized.

    Declaration
    protected bool ShouldSerializeBackgroundGradientEndColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeBackgroundGradientStartColor()

    Indicates whether the current value of the BackgroundGradientStartColor property is to be serialized.

    Declaration
    protected bool ShouldSerializeBackgroundGradientStartColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeCharacterCount()

    Indicates whether the current value of the CharacterCount property is to be serialized.

    Declaration
    protected bool ShouldSerializeCharacterCount()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeCharacterType()

    Indicates whether the current value of the CharacterType property is to be serialized.

    Declaration
    protected bool ShouldSerializeCharacterType()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeDepth()

    Indicates whether the current value of the Depth property is to be serialized.

    Declaration
    protected bool ShouldSerializeDepth()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeFrameBorderColor()

    Indicates whether the current value of the FrameBorderColor property is to be serialized.

    Declaration
    protected bool ShouldSerializeFrameBorderColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeOuterFrameGradientEndColor()

    Indicates whether the current value of the OuterFrameGradientEndColor property is to be serialized.

    Declaration
    protected bool ShouldSerializeOuterFrameGradientEndColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeOuterFrameGradientStartColor()

    Indicates whether the current value of the OuterFrameGradientStartColor property is to be serialized.

    Declaration
    protected bool ShouldSerializeOuterFrameGradientStartColor()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeOverrideFontSize()

    Indicates whether the current value of the OverrideFontSize property is to be serialized.

    Declaration
    protected bool ShouldSerializeOverrideFontSize()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeRoundCornerRadius()

    Indicates whether the current value of the RoundCornerRadius property is to be serialized.

    Declaration
    protected bool ShouldSerializeRoundCornerRadius()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeSegmentSpacing()

    Indicates whether the current value of the SegmentSpacing property is to be serialized.

    Declaration
    protected bool ShouldSerializeSegmentSpacing()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeShowInvisibleSegments()

    Indicates whether the current value of the ShowInvisibleSegments property is to be serialized.

    Declaration
    protected bool ShouldSerializeShowInvisibleSegments()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeValue()

    Indicates whether the current value of the Value property is to be serialized.

    Declaration
    protected bool ShouldSerializeValue()
    Returns
    Type Description
    System.Boolean

    ShouldSerializeVisualStyle()

    Indicates whether the current value of the VisualStyle property is to be serialized.

    Declaration
    protected bool ShouldSerializeVisualStyle()
    Returns
    Type Description
    System.Boolean

    Explicit Interface Implementations

    IVisualStyle.VisualTheme

    Declaration
    string IVisualStyle.VisualTheme { get; set; }
    Returns
    Type Description
    System.String

    Implements

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