| Visual Basic (Declaration) | |
|---|---|
<DescriptionAttribute("When set to false, the control is rendered, but hidden.")> <CategoryAttribute("Behavior")> <DefaultValueAttribute()> Public Overrides Property Visible As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As LiveRadioButton Dim value As Boolean instance.Visible = value value = instance.Visible | |
| C# | |
|---|---|
[DescriptionAttribute("When set to false, the control is rendered, but hidden.")] [CategoryAttribute("Behavior")] [DefaultValueAttribute()] public override bool Visible {get; set;} | |
| C++/CLI | |
|---|---|
[DescriptionAttribute("When set to false, the control is rendered, but hidden.")] [CategoryAttribute("Behavior")] [DefaultValueAttribute()] public: property bool Visible { bool get() override; void set ( bool value) override; } | |
Property Value
true if the control is visible on the page; otherwise false. The default is true.Use the Visible property to specify or determine whether a control is visible. When set to false, the control is rendered, but is hidden.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code