DiagramClientView.EnsureVisiblePreferences Enum

Definition

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

MinimalScrollWithNoZoom 4

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

ScrollHorizontally 1

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

ScrollIntoViewCenter 3

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

ScrollVertically 2

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

Applies to