WebPartManager.Visible Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that enables child controls to be visible.
public:
virtual property bool Visible { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public override bool Visible { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.Visible : bool with get, set
Public Overrides Property Visible As Boolean
A Boolean value that indicates whether a WebPartManager control and its child controls are visible. true
in all cases.
- Attributes
An attempt was made to assign a value to the property.
The WebPartManager control overrides the base Control.Visible property to always return a value of true
for the Visible property. Even though the WebPartManager control itself is not visible, the Visible property needs to be set to true
so that all its child controls are visible by default.
If you try to set the value of the Visible property, it always generates an error because the WebPartManager control has overridden the base property behavior and prevents assigning any value to the property.
This property is not bindable in visual designers, but is bindable at runtime. For more information, see BindableAttribute.
Продукт | Версії |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: