C# 클래스 GW2PAO.Infrastructure.ViewModels.CheckableMenuItem

상속: BindableBase, IMenuItem
파일 보기 프로젝트 열기: SamHurne/gw2pao

공개 메소드들

메소드 설명
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