Method Show
Show(Control, bool, bool)
Shows or hides item with the attached control.
bool Show(Control control, bool show, bool recursive)
Parameters
controlControlAffected control.
showbooltrueto show item;falseto hide it.recursiveboolUse to show or hide elements found in subitems.
Returns
- bool
trueif the child item was found,falseotherwise.
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
sizerISizerAffected sizer.
showbooltrueto show item;falseto hide it.recursiveboolUse to show or hide elements found in subsizers.
Returns
- bool
trueif the child item was found,falseotherwise.
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
trueif the child item was found,falseotherwise.
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
showbooltrueto show items;falseto hide them.