Back to Devexpress

Pie2DModel Class

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

latest3.5 KB
Original Source

Pie2DModel Class

Represents a base class for standard and custom 2D Pie (Donut) models.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public abstract class Pie2DModel :
    PointModel
vb
Public MustInherit Class Pie2DModel
    Inherits PointModel

The following members return Pie2DModel objects:

Remarks

The Pie2DModel class implements the basic functionality for both the pre-defined and custom 2D Pie models.

Since the Pie2DModel class is abstract, you can’t create an instance of it directly. Instead, assign one of its descendants to the PieSeries2D.Model property.

  • To apply a pre-defined 2D Pie model in your chart, use the corresponding descendant of the PredefinedPie2DModel class.
  • To provide a custom 2D Pie model, create an instance of the CustomPie2DModel class, and customize its properties.

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>

Inheritance

Show 16 items

Object DispatcherObject DependencyObject Freezable ChartDependencyObject DevExpress.Xpf.Charts.PointModel Pie2DModel CustomPie2DModel

PredefinedPie2DModel

FlatPie2DModel

BorderlessFlatPie2DModel

GlarePie2DModel

GlassPie2DModel

GlossyPie2DModel

CupidPie2DModel

SimplePie2DModel

See Also

Pie2DModel Members

Pie and Donut

Series and Marker Models

DevExpress.Xpf.Charts Namespace