private void OnModelPropertyChanged() { if (_model != null) { _model.DetachView(this); } _model = Model; if (_model != null) { _model.AttachView(this); } NotifyRefresh(); }
public SelectionQuickCommand(IFastGridModel model, string text) { Text = text; Model = model; }