Skip to main content

Marker2DModel Class

Represents a base class for standard and custom 2D point marker models.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

public abstract class Marker2DModel :
    PointModel

#Remarks

The Marker2DModel class implements the basic functionality for all marker models, which are related to 2D series that implement the ISupportMarker2D interface.

Since the Marker2DModel class is abstract, you can't create an instance of it directly. Instead, assign one of its descendants to the ISupportMarker2D.MarkerModel property of a series.

  • To apply a pre-defined 2D marker model to a series, use the corresponding descendant of the PredefinedMarker2DModel class.
  • To provide a custom 2D marker model, create an instance of the CustomMarker2DModel class, and customize it's properties.

For more information, see Series and Marker Models.

See Also