DiagramClientView::EnsureVisiblePreferences Enumeration

 

Preferences for the EnsureVisible method.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

[FlagsAttribute]
public enum class EnsureVisiblePreferences

Member nameDescription
MinimalScrollWithNoZoom

Minimal scroll required to get the rectangle in view without zooming out, if the rectangle doesn't fit.

ScrollHorizontally

Scrolls the view horizontally first; if the rectangle is still not visible, the view will be scrolled vertically.

ScrollIntoViewCenter

Scrolls the view both vertically and horizontally such that the rectangle is centered in the view.

ScrollVertically

Scrolls the view vertically first; if the rectangle is still not visible, the view will be scrolled horizontally.

Return to top
Show: