Method Show
Show(Control, bool, bool)
Shows or hides item with the attached control.
bool Show(Control control, bool show, bool recursive)
Parameters
control
ControlAffected control.
show
booltrue
to show item;false
to hide it.recursive
boolUse 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
ISizerAffected sizer.
show
booltrue
to show item;false
to hide it.recursive
boolUse 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
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
booltrue
to show items;false
to hide them.