public MainPage() { this.InitializeComponent(); mpd = (MainPageData)this.DataContext; boldButton.IsEnabled = false; underlineButton.IsEnabled = false; italicButton.IsEnabled = false; }
public DeleteCommand(MainPageData inMpd) { mpd = inMpd; }
public SaveCommand(MainPageData inMpd) { mpd = inMpd; }
public AddCommand(MainPageData inMpd) { mpd = inMpd; }
public EditCommand(MainPageData inMpd) { mpd = inMpd; }
//public bool enableEditbtn { get; set; } public CheckCommand(MainPageData mpd) { this.mpd = mpd; }