Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / GaugePortion Class
Members


In This Topic
    GaugePortion Class
    In This Topic

    Represents the data used by a portion of a Gauge. A portion is a part of the RadialGauge that can have custom color and margin.

    Shown here is a RadialGauge with two portions.

    Syntax
    'Declaration
     
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public Class GaugePortion 
       Inherits System.Windows.DependencyObject
    'Usage
     
    Dim instance As GaugePortion
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public class GaugePortion : System.Windows.DependencyObject 
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             Xceed.Wpf.Toolkit.GaugePortion
                Xceed.Wpf.Toolkit.BorderGaugePortion

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the GaugePortion class.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets or sets the GaugePortion's margin from the Border of the RadialGauge.  
    Public PropertyGets or sets the GaugePortion's fill color.  
    Public PropertyGets or sets the percentage of the RadialGauge covered by the GaugePortion. For example, if the first GaugePortion's PortionSize is set to 30, it will cover (and let you customize the margin and color of) the first 30% of the gauge's displayed range of values. If a second GaugePortion is 70, the second portion will cover the 30% to 100% displayed range of values.    
    Top
    Public Methods
    Protected Methods
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also