ToolZone.Visible Property
Definition
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 or sets a value that indicates whether a server control is rendered as a user interface (UI) element on the page.
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
Property Value
true
if the control is visible on the page; otherwise, false
.
- Attributes
Exceptions
The caller attempts to set the property at run time.
Remarks
The ToolZone class overrides the base Visible property to consider both the value of the base property and the value of the Display property. If both property values are set to true
, then the Visible property returns a value of true
, and the control is visible on the page. If either property value is false
, the Visible property returns a value of false
, and the control is not visible.
Important
The Visible property can only be assigned at design time in a designer, such as the Microsoft Visual Studio designer. If you attempt to set the property programmatically, an exception is thrown.
This property is not bindable in visual designers, but is bindable at runtime. For more information, see BindableAttribute.
Applies to
See also
Atsauksmes
https://aka.ms/ContentUserFeedback.
Drīzumā: 2024. gada laikā mēs pakāpeniski pārtrauksim izmantot “GitHub problēmas” kā atsauksmju par saturu mehānismu un aizstāsim to ar jaunu atsauksmju sistēmu. Papildinformāciju skatiet:Iesniegt un skatīt atsauksmes par