Method OnLayerCoveredChanged
OnLayerCoveredChanged(object?, bool)
Called when a layer (the root view or a dialog) becomes covered by a child dialog, or is uncovered again when the child dialog closes. Implementations can use this to adjust how the layer is presented while it is covered (e.g. to avoid showing it as disabled underneath the child dialog while it is busy, since the child dialog is what blocks interaction with it). The default implementation does nothing.
Declaration
protected virtual void OnLayerCoveredChanged(object? dialog, bool isCovered)
Parameters
| Type | Name | Description |
|---|---|---|
| object | dialog | The framework-specific dialog object that was covered or uncovered, or null for the root view. |
| bool | isCovered | true if the layer is now covered by a child dialog; otherwise false. |