共用方式為


ShapeElement.EnsureVisiblePreference Property

Preferences for the EnsureVisible method for this Shape. Default value is to return the VisiblePreference for the Diagram hosting this Shape.

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

Syntax

'Declaration
Public Overridable ReadOnly Property EnsureVisiblePreference As DiagramClientView.EnsureVisiblePreferences
public virtual DiagramClientView.EnsureVisiblePreferences EnsureVisiblePreference { get; }
public:
virtual property DiagramClientView::EnsureVisiblePreferences EnsureVisiblePreference {
    DiagramClientView::EnsureVisiblePreferences get ();
}
abstract EnsureVisiblePreference : DiagramClientView.EnsureVisiblePreferences with get 
override EnsureVisiblePreference : DiagramClientView.EnsureVisiblePreferences with get
function get EnsureVisiblePreference () : DiagramClientView.EnsureVisiblePreferences

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.EnsureVisiblePreferences

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace