Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit Namespace / GaugePortion Class / PortionSize Property


In This Topic
    PortionSize Property
    In This Topic
    Gets 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.  
    Syntax
    'Declaration
     
    <DisplayNameAttribute("PortionSize (0 to 100 %)")>
    Public Property PortionSize As Double
    'Usage
     
    Dim instance As GaugePortion
    Dim value As Double
     
    instance.PortionSize = value
     
    value = instance.PortionSize
    [DisplayName("PortionSize (0 to 100 %)")]
    public double PortionSize {get; set;}

    Property Value

    A number from 0 to 100 representing a percentage.
    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