menu

WinForms

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

    Show / Hide Table of Contents

    Class LinearGaugeVisualStyle

    Represents the class to define the style of LinearGauge control.

    Inheritance
    System.Object
    ShouldSerializeBasedPersisterType
    StyleInfoBase
    StyleInfoSubObjectBase
    VisualStyleBase
    LinearGaugeVisualStyle
    Implements
    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    ShouldSerializeBasedPersisterType.AddNewAttributes(PropertyDescriptor, Attribute[], Int32)
    ShouldSerializeBasedPersisterType.CheckAllProperties
    ShouldSerializeBasedPersisterType.GetCustomPDC(PropertyDescriptorCollection)
    ShouldSerializeBasedPersisterType.GetNewAttributesCount(PropertyDescriptor)
    StyleInfoBase.BeginInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.CacheValues
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    StyleInfoBase.ClearCache()
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.Dispose()
    StyleInfoBase.EndInit()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.InheritStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.IsChanged
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.Store
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.Updating
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Dispose(Boolean)
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.Owner
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.SubObjectIdentity
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    VisualStyleBase.UpdateStyles(IThemeProvider)
    Namespace: Syncfusion.Windows.Forms.Gauge
    Assembly: Syncfusion.Gauge.Windows.dll
    Syntax
    public class LinearGaugeVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    LinearGaugeVisualStyle()

    Initializes a new instance of the LinearGaugeVisualStyle class.

    Declaration
    public LinearGaugeVisualStyle()

    LinearGaugeVisualStyle(LinearGaugeStyleInfoIdentity)

    Initializes a new instance of the LinearGaugeVisualStyle class.

    Declaration
    public LinearGaugeVisualStyle(LinearGaugeStyleInfoIdentity identity)
    Parameters
    Type Name Description
    LinearGaugeStyleInfoIdentity identity

    A LinearGaugeStyleInfoIdentity that holds the identity for this LinearGaugeStyleInfoStore.

    LinearGaugeVisualStyle(LinearGaugeStyleInfoIdentity, StyleInfoStore)

    Initializes a new instance of the LinearGaugeVisualStyle class.

    Declaration
    public LinearGaugeVisualStyle(LinearGaugeStyleInfoIdentity identity, StyleInfoStore store)
    Parameters
    Type Name Description
    LinearGaugeStyleInfoIdentity identity

    A LinearGaugeStyleInfoIdentity that holds the identity for this LinearGaugeStyleInfoStore.

    StyleInfoStore store

    The store.

    Properties

    BackgroundGradientEndColor

    Declaration
    [ThemeStudio]
    public Color BackgroundGradientEndColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    BackgroundGradientStartColor

    Declaration
    [ThemeStudio]
    public Color BackgroundGradientStartColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ChannelHeight

    Gets or sets a value that specifies the thickness to draw the Scale in LinearGauge.

    Declaration
    [ThemeStudio]
    public int ChannelHeight { get; set; }
    Property Value
    Type
    System.Int32

    DefaultStyle

    Gets the default LinearGaugeStyleInfo value.

    Declaration
    public static LinearGaugeVisualStyle DefaultStyle { get; }
    Property Value
    Type
    LinearGaugeVisualStyle

    InnerFrameGradientEndColor

    Gets or sets the end color which is used to draw the InnerFrame of LinearGauge

    Declaration
    [ThemeStudio]
    public Color InnerFrameGradientEndColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    InnerFrameGradientStartColor

    Gets or sets the start color which is used to draw the InnerFrame of LinearGauge

    Declaration
    [ThemeStudio]
    public Color InnerFrameGradientStartColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    LabelFont

    Gets or sets System.Drawing.Font value of the LinearGauge control.

    Declaration
    [ThemeStudio]
    public Font LabelFont { get; set; }
    Property Value
    Type
    System.Drawing.Font

    LabelForeColor

    Gets or sets value of GaugeForeColor of the LinearGauge control.

    Declaration
    [ThemeStudio]
    public Color LabelForeColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    MajorTickMarkColor

    Gets or sets the MajorTickMarkColor of the LinearGauge control in the default state.

    Declaration
    [ThemeStudio]
    public Color MajorTickMarkColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    MinorTickMarkColor

    Gets or sets MinorTickMarkColor of the LinearGauge control in the default state.

    Declaration
    [ThemeStudio]
    public Color MinorTickMarkColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    NeedleColor

    Gets or sets the NeedleColor of the LinearGauge control.

    Declaration
    [ThemeStudio]
    public Color NeedleColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    OuterFrameGradientEndColor

    Gets or sets the end color which is used to draw the OuterFrame of LinearGauge

    Declaration
    [ThemeStudio]
    public Color OuterFrameGradientEndColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    OuterFrameGradientStartColor

    Gets or sets the start color which is used to draw the OuterFrame of LinearGauge

    Declaration
    [ThemeStudio]
    public Color OuterFrameGradientStartColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ScaleColor

    Gets or sets ScaleColor of the LinearGauge control.

    Declaration
    [ThemeStudio]
    public Color ScaleColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ShowBackgroundFrame

    Gets or sets a value that indicates whether the frame of LinearGauge should be visible.

    Declaration
    [ThemeStudio]
    public bool ShowBackgroundFrame { get; set; }
    Property Value
    Type
    System.Boolean

    ValueIndicatorColor

    Gets or sets the value indicator color of the LinearGauge control.

    Declaration
    [ThemeStudio]
    public Color ValueIndicatorColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ValueIndicatorHeight

    Gets or sets a value that specifies the thickness to draw the value pointer in LinearGauge.

    Declaration
    [ThemeStudio]
    public int ValueIndicatorHeight { get; set; }
    Property Value
    Type
    System.Int32

    Methods

    GetDefaultStyle()

    Gets the default style value of the LinearGaugeVisualStyle class.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    Returns the default style value.

    Overrides
    VisualStyleBase.GetDefaultStyle()

    Implements

    System.ComponentModel.ICustomTypeDescriptor
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved