Back to Devexpress

Stock2DModel Class

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

latest2.9 KB
Original Source

Stock2DModel Class

Represents a base class for standard and custom Stock models.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

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

The following members return Stock2DModel objects:

Remarks

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

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

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

Inheritance

Show 13 items

Object DispatcherObject DependencyObject Freezable ChartDependencyObject DevExpress.Xpf.Charts.PointModel Stock2DModel CustomStock2DModel

PredefinedStock2DModel

FlatStock2DModel

ThinStock2DModel

DropsStock2DModel

ArrowsStock2DModel

See Also

Stock2DModel Members

Stock

Series and Marker Models

DevExpress.Xpf.Charts Namespace