Compartir a través de


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaración
<FlagsAttribute> _
Public Enumeration EnsureVisiblePreferences
[FlagsAttribute]
public enum EnsureVisiblePreferences
[FlagsAttribute]
public enum class EnsureVisiblePreferences
[<FlagsAttribute>]
type EnsureVisiblePreferences
public enum EnsureVisiblePreferences

Members

Member name Description
ScrollHorizontally Scrolls the view horizontally first; if the rectangle is still not visible, the view will be scrolled vertically.
ScrollVertically Scrolls the view vertically first; if the rectangle is still not visible, the view will be scrolled horizontally.
ScrollIntoViewCenter Scrolls the view both vertically and horizontally such that the rectangle is centered in the view.
MinimalScrollWithNoZoom Minimal scroll required to get the rectangle in view without zooming out, if the rectangle doesn't fit.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace