Method HideWhenSiblingShown
HideWhenSiblingShown(AbstractControl)
Determines whether the current control should be hidden when a specified sibling control is shown. HideOnSiblingShow must be set to true for this method to be called.
protected override bool HideWhenSiblingShown(AbstractControl sibling)
Parameters
siblingAbstractControlThe sibling control to evaluate.
Returns
- bool
true if the current control should be hidden when the specified sibling is shown; otherwise, false.
Remarks
This method provides a default implementation that always returns true. Derived classes can override this method to implement custom logic for determining visibility behavior.