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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaración
Protected Overridable ReadOnly Property HasSelectableObjects As Boolean
Get
protected virtual bool HasSelectableObjects { get; }
protected:
virtual property bool HasSelectableObjects {
bool get ();
}
abstract HasSelectableObjects : bool
override HasSelectableObjects : bool
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.