ApplicationSettings.AddSettingsScenario.onSettingsCommand C# (CSharp) Method

onSettingsCommand() private method

private onSettingsCommand ( IUICommand command ) : void
command IUICommand
return void
        void onSettingsCommand(IUICommand command)
        {
            // TODO 2.3: execute the corresponding setting
            //           --> usually based on the SettingsCommand.Id value
            SettingsCommand settingsCommand = (SettingsCommand)command;
            rootPage.NotifyUser("You selected the " + settingsCommand.Label + " settings command", NotifyType.StatusMessage);
        }