Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramControl.BringItemsIntoView(IEnumerable<DiagramItem>, BringIntoViewMode) Method

Scrolls the diagram and changes its zoom factor to bring the specified diagram items into view.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

#Declaration

public void BringItemsIntoView(
    IEnumerable<DiagramItem> items,
    BringIntoViewMode viewMode = BringIntoViewMode.ShowAll
)

#Parameters

Name Type Description
items IEnumerable<DiagramItem>

The diagram items to be brought into view.

#Optional Parameters

Name Type Default Description
viewMode BringIntoViewMode ShowAll

A BringIntoViewMode enumeration value that specifies whether all items should be brought into view when other items are partially visible.

See Also