Class that holds all parameters for customizing RadDesktopAlert.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class DesktopAlertParameters
Inheritance: objectDesktopAlertParameters
Constructors
public DesktopAlertParameters()
Properties
Gets or sets the value that indicates whether the RadDesktopAlert will automatically close after the ShowDuration time elapses. This is a dependency property.
public bool? CanAutoClose { get; set; }
Indicates whether RadDesktopAlert will automatically close.
Gets or sets a boolean value determining whether the RadDesktopAlert can be moved by dragging.
public bool? CanMove { get; set; }
Indicates whether RadDesktopAlert can be moved by dragging.
Gets or sets the method that will be called when the Click event of the RadDesktopAlert is fired.
public RadRoutedEventHandler Click { get; set; }
The method that will be called when the Click event of the RadDesktopAlert is fired.
Gets or sets the method that will be called when the Closed event of the RadDesktopAlert is fired.
public RadRoutedEventHandler Closed { get; set; }
The method that will be called when the Closed event of the RadDesktopAlert is fired.
Gets or sets the command that will be executed when the command source of RadDesktopAlert is invoked.
public ICommand Command { get; set; }
Represents a user defined data value that can be passed to the command of RadDesktopAlert when it is executed.
public object CommandParameter { get; set; }
Gets or sets the content to be displayed.
public object Content { get; set; }
The content to be displayed.
DesktopAlertStyle
Style
The style to be applied to the RadDesktopAlert.
public Style DesktopAlertStyle { get; set; }
Gets or sets the object to appear in the title part.
public object Header { get; set; }
The object to appear in the title part.
Gets or sets the content of the icon area.
public object Icon { get; set; }
The content of the icon area.
Gets or sets the width of the column that contains the icon.
public double? IconColumnWidth { get; set; }
The width of the column that contains the icon.
IconMargin
Thickness?
Gets or sets the margin of the icon area.
public Thickness? IconMargin { get; set; }
The margin of the icon area.
Gets or sets the Style that is applied to the container element generated for each item of RadDesktopAlert drop-down menu.
public Style MenuItemContainerStyle { get; set; }
Gets or sets a collection used to generate the content of RadDesktopAlert drop-down menu.
public IEnumerable MenuItemsSource { get; set; }
Gets or sets a boolean value determining whether the Close button of RadDesktopAlert will be visible.
public bool? ShowCloseButton { get; set; }
Gets or sets the amount of time in milliseconds after which RadDesktopAlert will be automatically closed.
public int? ShowDuration { get; set; }
The amount of time in milliseconds after which the alert will be automatically closed.
Gets or sets a boolean value determining whether the Menu button of RadDesktopAlert will be visible.
public bool? ShowMenuButton { get; set; }
Sound
SystemSound
Gets or sets the sound to be played when RadDesktopAlert is shown.
public SystemSound Sound { get; set; }