DocumentProperties.Visible Property

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

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property Visible As Boolean
[BrowsableAttribute(false)]
public bool Visible { get; set; }
[BrowsableAttribute(false)]
public:
property bool Visible {
    bool get ();
    void set (bool value);
}
[<BrowsableAttribute(false)>]
member Visible : bool with get, set
function get Visible () : boolean 
function set Visible (value : boolean)

Property Value

Type: 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

Microsoft.VisualStudio.Package Namespace