wpf-devexpress-dot-xpf-dot-charts-dot-pieseries2d-d33a097a.md
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
public Pie2DModel Model { get; set; }
Public Property Model As Pie2DModel
| Type | Description |
|---|---|
| Pie2DModel |
A Pie2DModel class descendant.
|
The following example demonstrates how to modify the PieSeries2D.Model property in 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
<dxc:PieSeries2D LegendTextPattern="{}{A}: {VP:P0}">
<dxc:PieSeries2D.Model>
<dxc:BorderlessFlatPie2DModel/>
See Also