C# Класс GW2PAO.Infrastructure.ViewModels.CheckableMenuItem

Наследование: BindableBase, IMenuItem
Показать файл Открыть проект

Открытые методы

Метод Описание
CheckableMenuItem ( string header, bool staysOpen, Action setter = null, Func getter = null, INotifyPropertyChanged propertyOwner = null, Expression isCheckedProperty = null ) : System

Alternate constructor

CheckableMenuItem ( string header, bool staysOpen, Expression isCheckedProperty, INotifyPropertyChanged propertyOwner ) : System

Default constructor

Описание методов

CheckableMenuItem() публичный Метод

Alternate constructor
public CheckableMenuItem ( string header, bool staysOpen, Action setter = null, Func getter = null, INotifyPropertyChanged propertyOwner = null, Expression isCheckedProperty = null ) : System
header string Header text to use for the menu item
staysOpen bool Configures whether or not clicking the item closes the menu
setter Action Getter for the IsChecked information
getter Func Setter for the IsChecked information
propertyOwner INotifyPropertyChanged Owner of the IsChecked PropertyChanged event
isCheckedProperty Expression Lambda containing the property name for use with the PropertyChanged event
Результат System

CheckableMenuItem() публичный Метод

Default constructor
public CheckableMenuItem ( string header, bool staysOpen, Expression isCheckedProperty, INotifyPropertyChanged propertyOwner ) : System
header string Header text to use for the menu item
staysOpen bool Configures whether or not clicking the item closes the menu
isCheckedProperty Expression The property to bind IsChecked to
propertyOwner INotifyPropertyChanged Owner of the isCheckedProperty
Результат System