Table of Contents

Method HideWhenSiblingShown

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

sibling AbstractControl

The 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.