Back to Devexpress

SunburstControl.HoleRadiusPercent Property

wpf-devexpress-dot-xpf-dot-treemap-dot-sunburstcontrol-ab4cbece.md

latest1.8 KB
Original Source

SunburstControl.HoleRadiusPercent Property

Gets or sets the radius of the Sunburst chart’s hole as percentage.

Namespace : DevExpress.Xpf.TreeMap

Assembly : DevExpress.Xpf.TreeMap.v25.2.dll

NuGet Package : DevExpress.Wpf.TreeMap

Declaration

csharp
public double HoleRadiusPercent { get; set; }
vb
Public Property HoleRadiusPercent As Double

Property Value

TypeDescription
Double

An integer value that is the percentage of the inner radius to the outer radius. A value between 0 and 100. Default value is 20.

|

Remarks

The following code configures the content of the Sunburst chart’s center and specifies the radius of the inner circle:

xaml
<dxtm:SunburstControl HoleRadiusPercent="50"
    <dxtm:SunburstControl.HoleContent>
        <Viewbox>
            <TextBlock
                Padding="10"
                HorizontalAlignment="Center"
                VerticalAlignment="Center"
                Text="Periodic&#x0a;Table"
                TextAlignment="Center">
            </TextBlock>
        </Viewbox>
    </dxtm:SunburstControl.HoleContent>
    <!--...-->
</dxtm:SunburstControl>

See Also

SunburstControl Class

SunburstControl Members

DevExpress.Xpf.TreeMap Namespace