DesktopAlertManager
This class provides API for managing RadDesktopAlertcomponents.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class DesktopAlertManager
Inheritance: objectDesktopAlertManager
Properties
Gets an instance of the Screenclass that represents the screen onto which the DesktopAlertManager positions the alert popups.
public Screen ActiveScreen { get; }
Gets the only instance of the DesktopAlertManager class.
public static DesktopAlertManager Instance { get; }
Methods
Registers an instance of the RadDesktopAlertand displays it on the screen according to its
Evaluates whether a given RadDesktopAlert is registered with the DesktopAlertManager.
public bool ContainsAlert(RadDesktopAlert alert)
The RadDesktopAlert to check.
Returns:Gets an instance of the Pointstruct that represents the location of the current alert according to its screen position setting and the currently opened alerts.
public Point GetAlertPopupLocation(RadDesktopAlert alert)
An instance of the RadDesktopAlert class that represents the alert which position to define.
Returns:The evaluated position in screen coordinates.
Gets an enumerator for the currently shown dekstop alerts.
Unregisters a desktop alert from the manager.
public void RemoveAlert(RadDesktopAlert alert)
The alert to unregister.
Recalculates the location of all opened alerts based on their screen position.
public void UpdateAlertsOrder()
Events
Fires when an instance of the RadDesktopAlert class is registered with this DesktopAlertManager.
public event DesktopAlertManagerEventHandler AlertAdded
Fires when an instance of the RadDesktopAlert class is removed from this DesktopAlertManager.
public event DesktopAlertManagerEventHandler AlertRemoved