Back to Devexpress

DiagramDataBindingBehaviorBase.ItemContainerStyle Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramdatabindingbehaviorbase-64114065.md

latest1.8 KB
Original Source

DiagramDataBindingBehaviorBase.ItemContainerStyle Property

Specifies the style that is applied to the container element generated for each item. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public Style ItemContainerStyle { get; set; }
vb
Public Property ItemContainerStyle As Style

Property Value

TypeDescription
Style

A System.Windows.Style object.

|

Remarks

By default, the automatic layout specified by the DiagramDataBindingBehavior.LayoutKind property is applied to the generated items. To change this behavior, handle the DiagramDataBindingBehaviorBase.CustomLayoutItems event and set the e.Handled property to true to disable the default layout algorithm and create a setter for the DiagramItem.Position property in the style’s definition.

See Also

DiagramDataBindingBehaviorBase Class

DiagramDataBindingBehaviorBase Members

DevExpress.Xpf.Diagram Namespace