Skip to main content

DiagramControl.BringItemsToFront(IEnumerable<DiagramItem>) Method

Brings the specified diagram items to the front of the stack.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public void BringItemsToFront(
    IEnumerable<DiagramItem> items
)

Parameters

Name Type Description
items IEnumerable<DiagramItem>

The diagram items to be brought to the front of the stack.

Remarks

With any two diagram items in the canvas, one item always appears in front of the other. When a diagram item is added to the Canvas, it is automatically placed in front of other items. The BringItemsToFront method allows you to change the layering order by bringing the specified items all the way to the front of the stack.

See Also