示例#1
0
        private async Task LoadTaskCombo()
        {
            TaskIncrementalLoad tasks = new TaskIncrementalLoad("", null, false);
            await tasks.LoadMoreItemsAsync();

            TaskBugPicker.ItemsSource = tasks;
        }
示例#2
0
        private async Task DoSearch()
        {
            TaskType?taskTypeFilter = ComboBoxTaskType.SelectedItem != null ?
                                      (TaskType)(ComboBoxTaskType.SelectedItem) :
                                      (TaskType?)null;

            TaskList = new TaskIncrementalLoad(
                TextBoxTaskTitleSearch.Text,
                taskTypeFilter,
                CheckBoxShowInactive.IsChecked.Value);

            await TaskList.LoadMoreItemsAsync();

            taskList.ItemsSource = TaskList;
        }