PopupManager
This class manages all opened popups per UI thread.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public sealed class PopupManager : IMessageListener
Inheritance: objectPopupManager
Implements:
Properties
public bool ClosePopupOnMouseWheel { get; set; }
Gets the only instance of the PopupManager class. Other instances can not be created.
public static PopupManager Default { get; }
The popup which was last activated.
public IPopupControl LastActivatedPopup { get; set; }
Methods
Adds a popup form to the popups of the PopupManager and registers a message hook if the form provided is the first one.
Closes all popups managed by the PopupManager.
public void CloseAll(RadPopupCloseReason reason)
Clarification why all popups need to be closed.
Closes all popups from a leaf to the root.
public void CloseAllToRoot(RadPopupCloseReason reason, IPopupControl leaf)
The reason why popups are closed.
leafIPopupControlThe leaf popup from which to start closing the hierarchy.
Attempts to close an IPopupControl implementation.
public bool ClosePopup(IPopupControl popup)
The popup to close.
Returns:Checks if the PopupManager monitors the provided popup.
public bool ContainsPopup(IPopupControl form)
The popup to check for.
Returns:Removes the provided popup from the popups of the PopupManager and unregisters the message hook if there are no more popups.