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