Class RadDesktopAlertManager
This class provides API for managing the Rad
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class RadDesktopAlertManager : Object
Constructors
RadDesktopAlertManager()
Initializes a new instance of the Rad
Declaration
public RadDesktopAlertManager()
RadDesktopAlertManager(AlertScreenPosition)
Initializes a new instance of the Rad
Declaration
public RadDesktopAlertManager(AlertScreenPosition screenPosition)
Parameters
Alert The position on the screen used to display the alerts on. |
RadDesktopAlertManager(AlertScreenPosition, Double)
Initializes a new instance of the Rad
Declaration
public RadDesktopAlertManager(AlertScreenPosition screenPosition, double alertsDistance)
Parameters
Alert The position on the screen used to display the alerts on. |
System. Distance between the opened alerts. |
RadDesktopAlertManager(AlertScreenPosition, Point)
Initializes a new instance of the Rad
Declaration
public RadDesktopAlertManager(AlertScreenPosition screenPosition, Point screenPositionOffset)
Parameters
Alert The position on the screen used to display the alerts on. |
System. Offset of the used screen position. |
RadDesktopAlertManager(AlertScreenPosition, Point, Double)
Initializes a new instance of the Rad
Declaration
public RadDesktopAlertManager(AlertScreenPosition screenPosition, Point screenPositionOffset, double alertsDistance)
Parameters
Alert The position on the screen used to display the alerts on. |
System. Offset of the used screen position. |
System. Distance between the opened alerts. |
Properties
AlertsDistance
Gets or sets the distance between the opened alerts.
Declaration
public double AlertsDistance { get; set; }
Property Value
System.
|
AlertsReorderAnimationDuration
Gets or sets duration in milliseconds of the animation used for updating the order of all instances of Rad
Declaration
public int AlertsReorderAnimationDuration { get; set; }
Property Value
System.
|
HideAnimation
Gets or sets the animation used for hiding all instances of Rad
Declaration
public RadAnimation HideAnimation { get; set; }
Property Value
ScreenPosition
Gets the position on the screen used to display all instances of Rad
Declaration
public AlertScreenPosition ScreenPosition { get; }
Property Value
ShowAnimation
Gets or sets the animation used for showing all instances of Rad
Declaration
public RadAnimation ShowAnimation { get; set; }
Property Value
Methods
Attach(DependencyObject)
Attaches the current instance of Rad
Declaration
public void Attach(DependencyObject element)
Parameters
System.
|
CloseAlert(RadDesktopAlert, Boolean)
Unregisters a desktop alert from the manager and close it.
Declaration
public void CloseAlert(RadDesktopAlert alert, bool useAnimations = true)
Parameters
Rad The alert to close. |
System. Indicates whether the Close animation should be used. By default is True. |
CloseAllAlerts(Boolean)
Unregisters all desktop alerts from the manager and close them.
Declaration
public void CloseAllAlerts(bool useAnimations = true)
Parameters
System. Indicates whether the Close animation should be used. By default is True. |
ContainsAlert(RadDesktopAlert)
Evaluates whether a given Rad
Declaration
public bool ContainsAlert(RadDesktopAlert alert)
Parameters
Rad The Rad |
Returns
System. True if Rad |
Detach()
Detaches the current instance of Rad
Declaration
public void Detach()
GetAllAlerts()
Gets a collection of all registered Rad
Declaration
public IEnumerable<RadDesktopAlert> GetAllAlerts()
Returns
System.
|
ShowAlert(DesktopAlertParameters, Boolean)
Registers an instance of the Rad
Declaration
public void ShowAlert(DesktopAlertParameters parameters, bool useAnimations = true)
Parameters
Desktop The alert to show. |
System. Indicates whether the Show animation should be used. By default is True. |
ShowAlert(RadDesktopAlert, Boolean)
Registers an instance of the Rad
Declaration
public void ShowAlert(RadDesktopAlert alert, bool useAnimations = true)
Parameters
Rad The alert to show. |
System. Indicates whether the Show animation should be used. By default is True. |