DiagramClientView.EnsureVisiblePreferences Enumeration
Preferences for the EnsureVisible method.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
<FlagsAttribute> _
Public Enumeration EnsureVisiblePreferences
[FlagsAttribute]
public enum EnsureVisiblePreferences
[FlagsAttribute]
public enum class EnsureVisiblePreferences
[<FlagsAttribute>]
type EnsureVisiblePreferences
public enum EnsureVisiblePreferences
Members
Member name | Description | |
---|---|---|
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. |