FormDataObject.visible Method
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.
Overloads
visible() |
Sets or returns a value that indicates whether the control is visible. |
visible(Boolean) |
visible()
Sets or returns a value that indicates whether the control is visible.
public:
virtual bool visible();
public virtual bool visible ();
abstract member visible : unit -> bool
override this.visible : unit -> bool
Public Overridable Function visible () As Boolean
Returns
true if the control is visible; otherwise, false. The default is true.
Remarks
Controls that refer to a data source field are visible only when the visible property is set to true on both the control and the underlying data source field. If you set the property on the data source field instead of on the control, you guarantee that the field is handled consistently throughout the form. This makes upgrades easier.
Applies to
visible(Boolean)
public:
virtual bool visible(bool _value);
public virtual bool visible (bool _value);
abstract member visible : bool -> bool
override this.visible : bool -> bool
Public Overridable Function visible (_value As Boolean) As Boolean
Parameters
- _value
- Boolean
The value that is assigned to the visibility setting for the control.