Contains arguments that are available from the event object during the SettingsPane.CommandsRequested event.
예제 #1
0
        internal IList <SettingsCommand> OnCommandsRequested()
        {
            SettingsPaneCommandsRequestedEventArgs e = new SettingsPaneCommandsRequestedEventArgs();

            try
            {
                if (_commandsRequested != null)
                {
                    _commandsRequested(this, e);
                    return(e.Request.ApplicationCommands);
                }
            }
            catch { }

            return(null);
        }
예제 #2
0
        internal IList<SettingsCommand> OnCommandsRequested()
        {
            SettingsPaneCommandsRequestedEventArgs e = new SettingsPaneCommandsRequestedEventArgs();
            try
            {
                if (_commandsRequested != null)
                {
                    _commandsRequested(this, e);
                    return e.Request.ApplicationCommands;
                }
            }
            catch { }

            return null;
        }