DiagramClientView.EnsureVisiblePreferences Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Preferences for the EnsureVisible method.
This enumeration supports a bitwise combination of its member values.
public: enum class DiagramClientView::EnsureVisiblePreferences
[System.Flags]
public enum DiagramClientView.EnsureVisiblePreferences
[<System.Flags>]
type DiagramClientView.EnsureVisiblePreferences =
Public Enum DiagramClientView.EnsureVisiblePreferences
- Inheritance
-
DiagramClientView.EnsureVisiblePreferences
- Attributes
Fields
Name | Value | Description |
---|---|---|
ScrollHorizontally | 1 | Scrolls the view horizontally first; if the rectangle is still not visible, the view will be scrolled vertically. |
ScrollVertically | 2 | Scrolls the view vertically first; if the rectangle is still not visible, the view will be scrolled horizontally. |
ScrollIntoViewCenter | 3 | Scrolls the view both vertically and horizontally such that the rectangle is centered in the view. |
MinimalScrollWithNoZoom | 4 | Minimal scroll required to get the rectangle in view without zooming out, if the rectangle doesn't fit. |