Share via


ModelingWindowPane.HasSelectableObjects Property

Returns whether this window pane has objects that can be selected.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property HasSelectableObjects As Boolean
'Usage
Dim value As Boolean 

value = Me.HasSelectableObjects
protected virtual bool HasSelectableObjects { get; }
protected:
virtual property bool HasSelectableObjects {
    bool get ();
}
protected function get HasSelectableObjects () : boolean

Property Value

Type: System.Boolean
true if the window pane contains objects that can be selected; otherwise, false.

Remarks

By default, the return value is true.

If the return value is false, objects are not exposed through the ISelectionContainer interface and are not passed to the property browser.

You can return false when a tool window or document window is closed.

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace