Method ReserveSpaceEvenIfHidden
ReserveSpaceEvenIfHidden()
Set the ReserveSpaceEvenIfHidden flag. Makes the item ignore control's visibility status.
ISizerFlags ReserveSpaceEvenIfHidden()
Returns
- ISizerFlags
This ISizerFlags instance allowing chaining multiple methods calls.
Remarks
Normally sizers don't allocate space for hidden controls or other items. This flag overrides this behaviour so that sufficient space is allocated for the control even if it isn't visible. This makes it possible to dynamically show and hide controls without resizing parent dialog, for example.