New to Telerik UI for WPFStart a free 30-day trial

Class that holds all parameters for customizing RadDesktopAlert.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class DesktopAlertParameters

Inheritance: objectDesktopAlertParameters

Constructors

C#
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.

C#
public bool? CanAutoClose { get; set; }
Property Value:

Indicates whether RadDesktopAlert will automatically close.

Gets or sets a boolean value determining whether the RadDesktopAlert can be moved by dragging.

C#
public bool? CanMove { get; set; }
Property Value:

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.

C#
public RadRoutedEventHandler Click { get; set; }
Property Value:

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.

C#
public RadRoutedEventHandler Closed { get; set; }
Property Value:

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.

C#
public ICommand Command { get; set; }

Represents a user defined data value that can be passed to the command of RadDesktopAlert when it is executed.

C#
public object CommandParameter { get; set; }

Gets or sets the content to be displayed.

C#
public object Content { get; set; }
Property Value:

The content to be displayed.

The style to be applied to the RadDesktopAlert.

C#
public Style DesktopAlertStyle { get; set; }

Gets or sets the object to appear in the title part.

C#
public object Header { get; set; }
Property Value:

The object to appear in the title part.

Gets or sets the content of the icon area.

C#
public object Icon { get; set; }
Property Value:

The content of the icon area.

Gets or sets the width of the column that contains the icon.

C#
public double? IconColumnWidth { get; set; }
Property Value:

The width of the column that contains the icon.

IconMargin

Thickness?

Gets or sets the margin of the icon area.

C#
public Thickness? IconMargin { get; set; }
Property Value:

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.

C#
public Style MenuItemContainerStyle { get; set; }

Gets or sets a collection used to generate the content of RadDesktopAlert drop-down menu.

C#
public IEnumerable MenuItemsSource { get; set; }

Gets or sets a boolean value determining whether the Close button of RadDesktopAlert will be visible.

C#
public bool? ShowCloseButton { get; set; }

Gets or sets the amount of time in milliseconds after which RadDesktopAlert will be automatically closed.

C#
public int? ShowDuration { get; set; }
Property Value:

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.

C#
public bool? ShowMenuButton { get; set; }

Sound

SystemSound

Gets or sets the sound to be played when RadDesktopAlert is shown.

C#
public SystemSound Sound { get; set; }