Class DesktopAlertParameters
Class that holds all parameters for customizing RadDesktopAlert.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class DesktopAlertParameters : Object
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 Nullable<bool> CanAutoClose { get; set; }
Property Value
System.Nullable<System.Boolean>
Indicates whether RadDesktopAlert will automatically close. |
CanMove
Gets or sets a boolean value determining whether the RadDesktopAlert can be moved by dragging.
Declaration
public Nullable<bool> CanMove { get; set; }
Property Value
System.Nullable<System.Boolean>
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
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
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
public ICommand Command { get; set; }
Property Value
System.Windows.Input.ICommand
|
CommandParameter
Represents a user defined data value that can be passed to the command of RadDesktopAlert when it is executed.
Declaration
public object CommandParameter { get; set; }
Property Value
System.Object
|
Content
Gets or sets the content to be displayed.
Declaration
public object Content { get; set; }
Property Value
System.Object
The content to be displayed. |
DesktopAlertStyle
The style to be applied to the RadDesktopAlert.
Declaration
public Style DesktopAlertStyle { get; set; }
Property Value
System.Windows.Style
|
Header
Gets or sets the object to appear in the title part.
Declaration
public object Header { get; set; }
Property Value
System.Object
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
System.Object
The content of the icon area. |
IconColumnWidth
Gets or sets the width of the column that contains the icon.
Declaration
public Nullable<double> IconColumnWidth { get; set; }
Property Value
System.Nullable<System.Double>
The width of the column that contains the icon. |
IconMargin
Gets or sets the margin of the icon area.
Declaration
public Nullable<Thickness> IconMargin { get; set; }
Property Value
System.Nullable<System.Windows.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
System.Windows.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
System.Collections.IEnumerable
|
ShowCloseButton
Gets or sets a boolean value determining whether the Close button of RadDesktopAlert will be visible.
Declaration
public Nullable<bool> ShowCloseButton { get; set; }
Property Value
System.Nullable<System.Boolean>
|
ShowDuration
Gets or sets the amount of time in milliseconds after which RadDesktopAlert will be automatically closed.
Declaration
public Nullable<int> ShowDuration { get; set; }
Property Value
System.Nullable<System.Int32>
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
public Nullable<bool> ShowMenuButton { get; set; }
Property Value
System.Nullable<System.Boolean>
|
Sound
Gets or sets the sound to be played when RadDesktopAlert is shown.
Declaration
public SystemSound Sound { get; set; }
Property Value
System.Media.SystemSound
|