Back to Devexpress

PieTotalLabel Class

wpf-devexpress-dot-xpf-dot-charts-c460f09b.md

latest2.8 KB
Original Source

PieTotalLabel Class

The pie’s total labels settings storage.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public class PieTotalLabel :
    ChartElement,
    ICloneable,
    ISupportFlowDirection,
    IBindingPropertiesSource,
    IHitTestableElement,
    IInteractiveElement
vb
Public Class PieTotalLabel
    Inherits ChartElement
    Implements ICloneable,
               ISupportFlowDirection,
               IBindingPropertiesSource,
               IHitTestableElement,
               IInteractiveElement

The following members return PieTotalLabel objects:

Remarks

The instance of the class configures pie’s total labels’ appearance and content.

Note

If the PieTotalLabel.TextPattern and PieTotalLabel.Content properties are specified simultaneously, the value of the Content property is used.

Example

Use the PieSeries2D.TotalLabel property to configure a Pie’s total labels.

xaml
<dxc:PieSeries2D.TotalLabel>
    <dxc:PieTotalLabel TextPattern="Total area&#x0a;{TV:F2} km&#xb2;"/>
</dxc:PieSeries2D.TotalLabel>

Inheritance

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ChartElementBase ChartElement PieTotalLabel

See Also

PieTotalLabel Members

DevExpress.Xpf.Charts Namespace