Method SetVisibility
SetVisibility<T>(T, Boolean)
Set if the control is visible.
Declaration
public static T SetVisibility<T>(this T control, bool visible)
where T : SimpleControl
Parameters
| Type | Name | Description |
|---|---|---|
| T | control | The control this extension method is used on. |
| Boolean | visible | If the control is visible. |
Returns
| Type | Description |
|---|---|
| T | The control modified. |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the control. Has to be child of SimpleControl. |