Udostępnij za pośrednictwem


CheckBox.Visible Property (2007 System)

Gets or sets a value that represents whether the CheckBox is visible.

Namespace:  Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Property Visible As Boolean
'Usage
Dim instance As CheckBox 
Dim value As Boolean 

value = instance.Visible

instance.Visible = value
public bool Visible { get; set; }
public:
property bool Visible {
    bool get ();
    void set (bool value);
}
public function get Visible () : boolean 
public function set Visible (value : boolean)

Property Value

Type: System.Boolean
true if the CheckBox is visible; otherwise, false.

Examples

For a code example that demonstrates how to use this property, see Button.Visible. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Visible property.

.NET Framework Security

See Also

Reference

CheckBox Class

CheckBox Members

Microsoft.Office.Tools.Excel.Controls Namespace