Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public Style ItemContainerStyle { get; set; }

Property Value

Type Description
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