Back to Devexpress

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

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-dot-bringitemsintoview-x28-system-dot-collections-dot-generic-dot-ienumerable-devexpress-dot-xpf-dot-diagram-dot-diagramitem-devexpress-dot-diagram-dot-core-dot-bringintoviewmode-x29.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public void BringItemsIntoView(
    IEnumerable<DiagramItem> items,
    BringIntoViewMode viewMode = BringIntoViewMode.ShowAll
)
vb
Public Sub BringItemsIntoView(
    items As IEnumerable(Of DiagramItem),
    viewMode As BringIntoViewMode = BringIntoViewMode.ShowAll
)

Parameters

NameTypeDescription
itemsIEnumerable<DiagramItem>

The diagram items to be brought into view.

|

Optional Parameters

NameTypeDefaultDescription
viewModeBringIntoViewModeShowAll

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

|

See Also

BringSelectionIntoView(BringIntoViewMode)

FitToItems(IEnumerable<DiagramItem>)

BringIntoViewMargin

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace