Class
DesktopAlertMenuItem

Represents an item inside of the MenuItemsSource.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class DesktopAlertMenuItem

Inheritance: objectDesktopAlertMenuItem

Constructors

DesktopAlertMenuItem()

Initializes a new instance of the DesktopAlertMenuItem class.

Declaration

cs-api-definition
public DesktopAlertMenuItem()

Properties

Command

Gets or sets the command that will be executed when the command source 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 when it is executed.

Declaration

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

Property Value

object

Header

Gets or sets a string value that represents the header of the menu item.

Declaration

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

Property Value

string

IconUrl

Gets or sets a path to the icon image of the menu item.

Declaration

cs-api-definition
public Uri IconUrl { get; set; }

Property Value

Uri

IsCheckable

Gets or sets a value that indicates whether the menu item can be checked.

Declaration

cs-api-definition
public bool IsCheckable { get; set; }

Property Value

bool

IsChecked

Gets or sets a value that indicates whether the menu item a checked.

Declaration

cs-api-definition
public bool IsChecked { get; set; }

Property Value

bool

IsSeparator

Gets or sets a value indicating whether the menu item is a separator.

Declaration

cs-api-definition
public bool IsSeparator { get; set; }

Property Value

bool

ItemsSource

Represents a collection of sub DesktopAlertMenuItem objects.

Declaration

cs-api-definition
public IEnumerable<DesktopAlertMenuItem> ItemsSource { get; set; }

Property Value

IEnumerable<DesktopAlertMenuItem>