BindableApplicationBar.BindableApplicationBarButton.CommandCanExecuteChanged C# (CSharp) Method

CommandCanExecuteChanged() private method

private CommandCanExecuteChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void CommandCanExecuteChanged(object sender, EventArgs e)
        {
            if (this.Command != null)
            {
                this.IsEnabled =
                    this.Command.CanExecute(this.CommandParameter);
            }
        }
        #endregion