DiagramControl.BringItemsToFront(IEnumerable<DiagramItem>) Method

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll


public void BringItemsToFront(
    IEnumerable<DiagramItem> items
Public Sub BringItemsToFront(
    items As IEnumerable(Of DiagramItem)


Name Type Description
items IEnumerable<DiagramItem>

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


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