Visual Basic (Declaration) | |
---|---|
<DefaultValueAttribute()> <DescriptionAttribute("When set to false, the control is rendered, but hidden.")> <CategoryAttribute("Behavior")> Public Overrides Property Visible As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LiveImage Dim value As Boolean instance.Visible = value value = instance.Visible |
C# | |
---|---|
[DefaultValueAttribute()] [DescriptionAttribute("When set to false, the control is rendered, but hidden.")] [CategoryAttribute("Behavior")] public override bool Visible {get; set;} |
C++/CLI | |
---|---|
[DefaultValueAttribute()] [DescriptionAttribute("When set to false, the control is rendered, but hidden.")] [CategoryAttribute("Behavior")] 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