Skip to main content
A newer version of this page is available. .

DiagramItem.DataContext Property

Gets or sets the data item bound to the diagram item.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll


public object DataContext { get; set; }

Property Value

Type Description

A data item.


The DataContext property is used when the diagram is generated based on a data source. To learn more, see Data Binding Functionality.

To store custom information about the diagram item, use the DiagramItem.Tag property.

See Also