Method HideWhenSiblingHidden
HideWhenSiblingHidden(AbstractControl)
Determines whether the current control should be hidden when a specified sibling control is hidden. HideOnSiblingHide must be set to true for this method to be called.
protected override bool HideWhenSiblingHidden(AbstractControl sibling)
Parameters
siblingAbstractControlThe sibling control to evaluate. This parameter represents the control whose visibility state may influence the current control.
Returns
- bool
true if the current control should be hidden when the specified sibling is hidden; otherwise, false.
Remarks
This method provides a mechanism for customizing visibility behavior based on the state of sibling controls. Override this method in a derived class to implement specific logic for determining visibility.