Class
DesktopAlertParameters

Class that holds all parameters for customizing RadDesktopAlert.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class DesktopAlertParameters

Inheritance: objectDesktopAlertParameters

Constructors

DesktopAlertParameters()

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public RadRoutedEventHandler Click { get; set; }

Property Value

RadRoutedEventHandler

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

cs-api-definition
public RadRoutedEventHandler Closed { get; set; }

Property Value

RadRoutedEventHandler

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.

Declaration

cs-api-definition
public ICommand Command { get; set; }

Property Value

ICommand

CommandParameter

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

Declaration

cs-api-definition
public object CommandParameter { get; set; }

Property Value

object

Content

Gets or sets the content to be displayed.

Declaration

cs-api-definition
public object Content { get; set; }

Property Value

object

The content to be displayed.

DesktopAlertStyle

The style to be applied to the RadDesktopAlert.

Declaration

cs-api-definition
public Style DesktopAlertStyle { get; set; }

Property Value

Style

Header

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

Declaration

cs-api-definition
public object Header { get; set; }

Property Value

object

The object to appear in the title part.

Icon

Gets or sets the content of the icon area.

Declaration

cs-api-definition
public object Icon { get; set; }

Property Value

object

The content of the icon area.

IconColumnWidth

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

Declaration

cs-api-definition
public double? IconColumnWidth { get; set; }

Property Value

double?

The width of the column that contains the icon.

IconMargin

Gets or sets the margin of the icon area.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public IEnumerable MenuItemsSource { get; set; }

Property Value

IEnumerable

ShowCloseButton

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

Declaration

cs-api-definition
public bool? ShowCloseButton { get; set; }

Property Value

bool?

ShowDuration

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

Declaration

cs-api-definition
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.

Declaration

cs-api-definition
public bool? ShowMenuButton { get; set; }

Property Value

bool?

Sound

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

Declaration

cs-api-definition
public SystemSound Sound { get; set; }

Property Value

SystemSound