Class DesktopAlertManager
This class provides API for managing Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class DesktopAlertManager
Properties
ActiveScreen
Gets an instance of the System.
Declaration
public Screen ActiveScreen { get; }
Property Value
System.
|
Instance
Gets the only instance of the Desktop
Declaration
public static DesktopAlertManager Instance { get; }
Property Value
Methods
AddAlert(RadDesktopAlert)
Registers an instance of the Rad
Declaration
public void AddAlert(RadDesktopAlert alert)
Parameters
Rad
|
ContainsAlert(RadDesktopAlert)
Evaluates whether a given Rad
Declaration
public bool ContainsAlert(RadDesktopAlert alert)
Parameters
Rad The Rad |
Returns
System.
|
GetAlertPopupLocation(RadDesktopAlert)
Gets an instance of the System.
Declaration
public Point GetAlertPopupLocation(RadDesktopAlert alert)
Parameters
Rad An instance of the Rad |
Returns
System. The evaluated position in screen coordinates. |
GetRegisteredAlerts()
Gets an enumerator for the currently shown dekstop alerts.
Declaration
public IEnumerator<RadDesktopAlert> GetRegisteredAlerts()
Returns
System.
|
RemoveAlert(RadDesktopAlert)
Unregisters a desktop alert from the manager.
Declaration
public void RemoveAlert(RadDesktopAlert alert)
Parameters
Rad The alert to unregister. |
SetActiveScreen(Screen)
Sets the active screen. The active screen is used to calculate the positioning of all desktop alerts.
Declaration
public void SetActiveScreen(Screen activeScreen)
Parameters
System. An instance of the System. |
UpdateAlertsOrder()
Recalculates the location of all opened alerts based on their screen position.
Declaration
public void UpdateAlertsOrder()
Events
AlertAdded
Fires when an instance of the Rad
Declaration
public event DesktopAlertManagerEventHandler AlertAdded
Event Type
AlertRemoved
Fires when an instance of the Rad
Declaration
public event DesktopAlertManagerEventHandler AlertRemoved