Method DeRegister
DeRegister(IPopoverView?)
De-registers popover with the application. Use this to remove the popover and it's
keyboard bindings from the application.
public bool DeRegister(IPopoverView? popover)
Parameters
popoverIPopoverView
Returns
Remarks
When a popover is registered, the View instance lifetime is managed by the application. Call
DeRegister(IPopoverView?)
to manage the lifetime of the popover directly.
If popover is the active popover, it is removed from the registry first, then hidden so the
region it covered is invalidated. Unregistering before Hide(IPopoverView?) prevents a
VisibleChanged handler from calling Show(IPopoverView?) during hide.