protected virtual void OnCommandStateChanged(CommandStateEventArgs e) { if (this.CommandStateChanged != null) { this.CommandStateChanged(this, e); } }