Table of Contents

Method Show

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Show(Control, bool, bool)

Shows or hides item with the attached control.

bool Show(Control control, bool show, bool recursive)

Parameters

control Control

Affected control.

show bool

true to show item; false to hide it.

recursive bool

Use to show or hide elements found in subitems.

Returns

bool

true if the child item was found, false otherwise.

Remarks

To make an item disappear or reappear, use Show(Control, bool, bool) followed by Layout().

Show(ISizer, bool, bool)

Shows or hides item with the attached sizer.

bool Show(ISizer sizer, bool show, bool recursive)

Parameters

sizer ISizer

Affected sizer.

show bool

true to show item; false to hide it.

recursive bool

Use to show or hide elements found in subsizers.

Returns

bool

true if the child item was found, false otherwise.

Remarks

To make a sizer item disappear or reappear, use Show(ISizer, bool, bool) followed by Layout().

Show(int, bool)

Shows the item at the specified index.

bool Show(int index, bool show)

Parameters

index int

Item index.

show bool

true to show item; false to hide it.

Returns

bool

true if the child item was found, false otherwise.

Remarks

To make an item disappear or reappear, use Show(int, bool) followed by Layout().

Show(bool)

Show or hide all items managed by the sizer.

void Show(bool show = true)

Parameters

show bool

true to show items; false to hide them.