Hello. i want to implement a custom panel, which has a property i called ShowChild. if set ShowChild false, panel's child controls are hidden, otherwise, child controls shows up.
For now, i accomplish this by setting all child controls' Visible property to false, but this seems not to be a perfect solution, because others may set some child control's Visible property to true after i set false.
Can anyone help me with my problem?
Thanks for any suggestion.