Back to Devexpress

PieSeries2D.Model Property

wpf-devexpress-dot-xpf-dot-charts-dot-pieseries2d-d33a097a.md

latest2.3 KB
Original Source

PieSeries2D.Model Property

Gets or sets the model used to draw elements of a 2D Pie (Donut) series.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public Pie2DModel Model { get; set; }
vb
Public Property Model As Pie2DModel

Property Value

TypeDescription
Pie2DModel

A Pie2DModel class descendant.

|

Example

The following example demonstrates how to modify the PieSeries2D.Model property in XAML.

View Example

xaml
<dxc:PieSeries2D.Model>
    <dxc:GlarePie2DModel />
</dxc:PieSeries2D.Model>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Model property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-charts-add-custom-legend-item-to-legend/CS/CustomLegendItemSample/MainWindow.xaml#L35

xml
<dxc:PieSeries2D LegendTextPattern="{}{A}: {VP:P0}">
    <dxc:PieSeries2D.Model>
        <dxc:BorderlessFlatPie2DModel/>

See Also

PieSeries2D Class

PieSeries2D Members

DevExpress.Xpf.Charts Namespace