Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XYDiagram2D.SetElementType(UIElement, XYDiagram2DElementType) Method

In This Article

Sets the value of the XYDiagram2D.ElementType attached property to a specified UI element.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public static void SetElementType(
    UIElement element,
    XYDiagram2DElementType elementType
)

#Parameters

Name Type Description
element UIElement

The UI element to which the attached property is written.

elementType DevExpress.Xpf.Charts.XYDiagram2DElementType

The required DevExpress.Xpf.Charts.XYDiagram2DElementType value.

See Also