Dela via


DocumentProperties.Visible Property

Determines if the DocumentProperties object is visible in the Properties window.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property Visible As Boolean
'Usage
Dim instance As DocumentProperties 
Dim value As Boolean 

value = instance.Visible

instance.Visible = value
[BrowsableAttribute(false)]
public bool Visible { get; set; }
[BrowsableAttribute(false)]
public:
property bool Visible {
    bool get ();
    void set (bool value);
}
public function get Visible () : boolean 
public function set Visible (value : boolean)

Property Value

Type: System.Boolean
If the DocumentProperties object is visible, returns true; otherwise, returns false.

Remarks

The DocumentProperties class uses an internal flag to track visibility and this flag is set in the DocumentProperties class constructor. If the internal flag is changed by the Visible property, the Properties window is refreshed but only if the internal flag differs from the new flag.

.NET Framework Security

See Also

Reference

DocumentProperties Class

DocumentProperties Members

Microsoft.VisualStudio.Package Namespace