492 references to DispatcherPriority
PresentationCore (61)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
218DispatcherPriority.Send,
Core\CSharp\MS\Internal\Automation\EventMap.cs (1)
282source.Dispatcher.BeginInvoke(DispatcherPriority.Normal,
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
315Dispatcher.BeginInvoke(DispatcherPriority.Background, _updatePeer, this);
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (1)
903_requerySuggestedOperation = dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(RaiseRequerySuggested), null);
Core\CSharp\System\Windows\Input\InputManager.cs (8)
201_inputTimer = new DispatcherTimer(DispatcherPriority.Background); 584_hitTestInvalidatedAsyncOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, 588else if (_hitTestInvalidatedAsyncOperation.Priority == DispatcherPriority.Inactive) 640_hitTestInvalidatedAsyncOperation = Dispatcher.BeginInvoke(DispatcherPriority.Inactive, 664_hitTestInvalidatedAsyncOperation.Priority = DispatcherPriority.Input; 985DispatcherPriority.Background); 1027DispatcherPriority.Background); 1135Dispatcher.BeginInvoke(DispatcherPriority.Input, _continueProcessingStagingAreaCallback, null);
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (1)
632_reevaluateFocusOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, _reevaluateFocusCallback, null);
Core\CSharp\System\Windows\Input\MouseDevice.cs (2)
717_reevaluateMouseOverOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, _reevaluateMouseOverDelegate, null); 768_reevaluateCaptureOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input, _reevaluateCaptureDelegate, null);
Core\CSharp\System\Windows\Input\TouchDevice.cs (3)
545_reevaluateCapture = Dispatcher.BeginInvoke(DispatcherPriority.Input, 636_reevaluateCapture = Dispatcher.BeginInvoke(DispatcherPriority.Input, 914_reevaluateOver = Dispatcher.BeginInvoke(DispatcherPriority.Input,
Core\CSharp\System\Windows\Interop\D3DImage.cs (1)
844DispatcherPriority.Normal,
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
271DispatcherOperation restoreCharMessages = Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(HwndSource.RestoreCharMessages), null);
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (1)
864_queryCursorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Input,
Core\CSharp\System\Windows\Interop\HwndPanningFeedback.cs (1)
104_updatePanningOperation = _hwndSource.Dispatcher.BeginInvoke(DispatcherPriority.Background,
Core\CSharp\System\Windows\Interop\HwndSource.cs (7)
529this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(SetLayoutSize)); 533this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(FireContentRendered), this); 588this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(SetLayoutSize)); 592this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(FireContentRendered), this); 711this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(FireContentRendered), this); 2009DispatcherPriority.Send, 2065DispatcherOperation restoreCharMessages = Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(RestoreCharMessages), null);
Core\CSharp\System\Windows\LayoutManager.cs (4)
240Dispatcher.BeginInvoke(DispatcherPriority.Background, _updateLayoutBackground, this); 302Dispatcher.BeginInvoke(DispatcherPriority.Background, _updateLayoutBackground, this); 370Dispatcher.BeginInvoke(DispatcherPriority.Background, _updateLayoutBackground, this); 453Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, _updateLayoutBackground, this);
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (1)
243DispatcherPriority.Normal,
Core\CSharp\System\Windows\Media\HostVisual.cs (3)
177DispatcherPriority.Normal, 294DispatcherPriority.Normal, 350DispatcherPriority.Normal,
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (1)
475dispatcher.BeginInvoke(DispatcherPriority.Normal, doc, arg);
Core\CSharp\System\Windows\Media\MediaContext.cs (14)
264_promoteRenderOpToInput = new DispatcherTimer(DispatcherPriority.Render); 266_promoteRenderOpToRender = new DispatcherTimer(DispatcherPriority.Render); 268_estimatedNextVSyncTimer = new DispatcherTimer(DispatcherPriority.Render); 371Dispatcher.BeginInvoke(DispatcherPriority.Normal, _renderModeMessage, null); 623_currentRenderOp = Dispatcher.BeginInvoke(DispatcherPriority.Inactive, _animRenderMessage, null); 636_currentRenderOp = Dispatcher.BeginInvoke(DispatcherPriority.Inactive, _animRenderMessage, null); 650DispatcherPriority priority = DispatcherPriority.Render; 661_inputMarkerOp = Dispatcher.BeginInvoke(DispatcherPriority.Input, _inputMarkerMessage, null); 666priority = DispatcherPriority.Input; 1732_currentRenderOp.Priority = DispatcherPriority.Render; 1738_currentRenderOp = Dispatcher.BeginInvoke(DispatcherPriority.Render, _renderMessage, null); 2599_currentRenderOp.Priority = DispatcherPriority.Input; 2609_currentRenderOp.Priority = DispatcherPriority.Render;
Core\CSharp\System\Windows\Media\MediaEventsHelper.cs (8)
237DispatcherPriority.Normal, 290_dispatcher.BeginInvoke(DispatcherPriority.Normal, DispatcherMediaOpened, null); 303_dispatcher.BeginInvoke(DispatcherPriority.Normal, DispatcherBufferingStarted, null); 311_dispatcher.BeginInvoke(DispatcherPriority.Normal, DispatcherBufferingEnded, null); 319_dispatcher.BeginInvoke(DispatcherPriority.Normal, DispatcherMediaEnded, null); 327_dispatcher.BeginInvoke(DispatcherPriority.Normal, DispatcherMediaPrerolled, null); 344_dispatcher.BeginInvoke(DispatcherPriority.Background, DispatcherMediaNewFrame, null); 381DispatcherPriority.Normal,
Core\CSharp\System\Windows\Media\VisualBrush.cs (1)
225DispatcherPriority.Normal,
PresentationFramework (193)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (12)
159DispatcherPriority.Send, 267DispatcherPriority.Send, 329DispatcherPriority.Send, 352DispatcherPriority.Normal, 394DispatcherPriority.Send, 452app.Dispatcher.Invoke(DispatcherPriority.Normal, 467DispatcherPriority.Send, 496DispatcherPriority.Send, 682DispatcherPriority.Send, 719DispatcherPriority.Send, 907DispatcherPriority.Normal, new DispatcherOperationCallback(ReleaseBrowserCallback), bcs); 1038DispatcherPriority.Send,
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (2)
104DispatcherPriority.Send, new DispatcherOperationCallback(QueryEnabled), command); 141DispatcherPriority.Send,
src\Framework\MS\Internal\AppModel\XappLauncher.cs (10)
214DispatcherPriority.Input, 237Dispatcher.BeginInvoke(DispatcherPriority.Normal, new SendOrPostCallback(delegate 418Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(DoGetManifestCompleted), e); 499Dispatcher.BeginInvoke(DispatcherPriority.Input, 551Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback( 577Dispatcher.BeginInvoke(DispatcherPriority.Send, new DispatcherOperationCallback( 837DispatcherPriority.Background, 886Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(DoDownloadApplicationCompleted), e); 938Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback( 1257Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(RunApplicationAsyncCallback), null);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (1)
1431Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(DispatchBringIntoView), new object []{target, rect});
src\Framework\MS\Internal\Controls\WebBrowserSite.cs (1)
272DispatcherPriority.Send, new SendOrPostCallback(MoveFocusCallback), direction);
src\Framework\MS\Internal\Data\AccessorTable.cs (1)
110Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.ContextIdle, new DispatcherOperationCallback(CleanupOperation), null);
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (1)
627DispatcherPriority.ContextIdle);
src\Framework\MS\Internal\Data\DataBindEngine.cs (5)
448Dispatcher.BeginInvoke(DispatcherPriority.ContextIdle, new DispatcherOperationCallback(CleanupOperation), null); 513DispatcherPriority.ContextIdle, 576DispatcherPriority.ContextIdle, 598Dispatcher.BeginInvoke(DispatcherPriority.DataBind, new DispatcherOperationCallback(Run), false); 603Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(Run), true);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (5)
1607_makeVisibleDispatcher.Priority = DispatcherPriority.Background; 1790Dispatcher.BeginInvoke(DispatcherPriority.Background, 1831_makeVisibleDispatcher = Dispatcher.BeginInvoke(DispatcherPriority.Inactive, 1977_setScaleOperation = Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Input, 2080Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Input,
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (1)
633_backgroundPaginationOperation = _document.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundPagination), this);
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (5)
370Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), value); 389Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(SetTextSelection), value); 521Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(RaisePropertyChangedAsync), null); 720Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), value); 739Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(SetTextSelection), value);
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
77_renderScope.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(OnUpdatedWorker), EventArgs.Empty);
src\Framework\MS\Internal\Documents\PageCache.cs (4)
332Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, 461Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, 500Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, 582Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
1142_throttleBackgroundTimer = new DispatcherTimer(DispatcherPriority.Background); 2290this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnBackgroundMeasure), null);
src\Framework\MS\Internal\Ink\HighContrastHelper.cs (1)
167highContrastCallback.Dispatcher.BeginInvoke(DispatcherPriority.Background,
src\Framework\MS\Internal\Navigation\BindStream.cs (2)
72DispatcherPriority.Send, 207DispatcherPriority.Send,
src\Framework\MS\Internal\PtsHost\BackgroundFormatInfo.cs (1)
98_throttleBackgroundTimer = new DispatcherTimer(DispatcherPriority.Background);
src\Framework\MS\Internal\PtsHost\PtsCache.cs (1)
266ptsContext.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnPtsContextReleased), null);
src\Framework\MS\Internal\PtsHost\PtsContext.cs (2)
337this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnDestroyPage), ptsPage); 382this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnDestroyBreakRecord), br);
src\Framework\MS\Internal\PtsHost\PtsPage.cs (1)
290_backgroundFormatOperation = Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, BackgroundUpdateCallback, this);
src\Framework\System\Windows\Annotations\AnnotationService.cs (2)
203_asyncLoadOperation = _root.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(LoadAnnotationsAsync), this); 856_asyncLoadFromListOperation = _root.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(LoadAnnotationsFromListAsync), leftover);
src\Framework\System\Windows\Application.cs (8)
160DispatcherPriority.Send, 177DispatcherPriority.Send, 355Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(ShutdownCallback), null); 1258DispatcherPriority.Send, 1269DispatcherPriority.Send, 1828DispatcherPriority.Send, 2443DispatcherPriority.Send, 2546Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Automation\Peers\ButtonAutomationPeer.cs (1)
54Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (1)
134Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(owner.OnBringItemIntoView), item);
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (1)
857Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
227System.Windows.Threading.DispatcherPriority.Loaded,
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
717Dispatcher.BeginInvoke(DispatcherPriority.Loaded,
src\Framework\System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (1)
329Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(parent.OnBringItemIntoView), Item);
src\Framework\System\Windows\BroadcastEventHelper.cs (2)
32DispatcherOperation operation = d.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, loadedCallback, d); 80DispatcherOperation operation = d.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, unloadedCallback, d);
src\Framework\System\Windows\Controls\ComboBox.cs (5)
190Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 244DispatcherPriority.Loaded, 270DispatcherPriority.Send, 742_updateTextBoxOperation = Dispatcher.BeginInvoke(DispatcherPriority.Normal, 1218_autoScrollTimer = new DispatcherTimer(DispatcherPriority.SystemIdle);
src\Framework\System\Windows\Controls\ContextMenu.cs (2)
563Dispatcher.BeginInvoke(DispatcherPriority.Normal, 587Dispatcher.BeginInvoke(DispatcherPriority.Send,
src\Framework\System\Windows\Controls\Control.cs (1)
501plainText = (string)Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o) {
src\Framework\System\Windows\Controls\DataGrid.cs (8)
1158Dispatcher.CurrentDispatcher.BeginInvoke(new DispatcherOperationCallback(DelayedOnLoadingRowDetails), DispatcherPriority.Loaded, row); 1561Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(OnBringItemIntoView), info); 1606Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(OnScrollIntoView), new object[] { info, column }); 1721_autoScrollTimer = new DispatcherTimer(DispatcherPriority.SystemIdle); 1989Dispatcher.BeginInvoke(new DispatcherOperationCallback(OnDelayedViewportWidthChanged), DispatcherPriority.Loaded, this); 2391Dispatcher.Invoke(new DispatcherOperationCallback(DoNothing), DispatcherPriority.DataBind, bindingGroup); 4113DispatcherPriority.Input); 8531Dispatcher.BeginInvoke(new DispatcherOperationCallback(InvalidateCellsPanelHorizontalOffset), DispatcherPriority.Loaded, this);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (4)
2163Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action<int>)RetryBringIndexIntoView, index); 2208DispatcherPriority priority = wasMeasureDirty ? DispatcherPriority.Background : DispatcherPriority.Loaded;
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
1129DataGridOwner.Dispatcher.BeginInvoke(new DispatcherOperationCallback(ComputeColumnWidths), DispatcherPriority.Render, this);
src\Framework\System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
307Dispatcher.Invoke((Action)delegate(){}, System.Windows.Threading.DispatcherPriority.Background);
src\Framework\System\Windows\Controls\DataGridRow.cs (4)
477Dispatcher.BeginInvoke(new DispatcherOperationCallback(DelayedValidateWithoutUpdate), DispatcherPriority.DataBind, BindingGroup); 810Dispatcher.CurrentDispatcher.BeginInvoke(new DispatcherOperationCallback(DataGrid.DelayedOnLoadingRowDetails), DispatcherPriority.Loaded, row); 820Dispatcher.CurrentDispatcher.BeginInvoke(new DispatcherOperationCallback(DelayedRowDetailsVisibilityChanged), DispatcherPriority.Loaded, row); 929Dispatcher.BeginInvoke(new DispatcherOperationCallback(DelayedValidateWithoutUpdate), DispatcherPriority.DataBind, e.NewValue);
src\Framework\System\Windows\Controls\DataGridTextColumn.cs (1)
285Dispatcher.Invoke((Action)delegate(){}, System.Windows.Threading.DispatcherPriority.Background);
src\Framework\System\Windows\Controls\DatePicker.cs (1)
354dp.Dispatcher.BeginInvoke(DispatcherPriority.Input, (Action)delegate()
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
868Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(BringContentPositionIntoView), contentPosition); 1983Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), contentPosition);
src\Framework\System\Windows\Controls\Frame.cs (1)
639_contentRenderedCallback = Dispatcher.BeginInvoke(DispatcherPriority.Input,
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (1)
407Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (1)
351Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\ListBox.cs (2)
132Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(OnBringItemIntoView), item); 581_autoScrollTimer = new DispatcherTimer(DispatcherPriority.SystemIdle);
src\Framework\System\Windows\Controls\MenuItem.cs (7)
581Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 647menuItem.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(delegate(object param) 1212Dispatcher.BeginInvoke(DispatcherPriority.Input, 1406Dispatcher.BeginInvoke(DispatcherPriority.Render, new DispatcherOperationCallback(InvokeClickAfterRender), userInitiated); 2053parent.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(delegate(object param) 2600_openHierarchyTimer = new DispatcherTimer(DispatcherPriority.Normal); 2619_closeHierarchyTimer = new DispatcherTimer(DispatcherPriority.Normal);
src\Framework\System\Windows\Controls\PopupControlService.cs (4)
330ToolTipTimer = new DispatcherTimer(DispatcherPriority.Normal); 524ToolTipTimer = new DispatcherTimer(DispatcherPriority.Normal); 586_forceCloseTimer = new DispatcherTimer(DispatcherPriority.Normal); 594ToolTipTimer = new DispatcherTimer(DispatcherPriority.Normal);
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
773Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (1)
320Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\Primitives\Popup.cs (5)
335Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 1500_asyncCreate = Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(AsyncCreateWindow), this); 1674_asyncDestroy = new DispatcherTimer(DispatcherPriority.Input); 1762Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(HandleDeactivateApp), null); 1936Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (1)
395Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (1)
314Dispatcher.Invoke(DispatcherPriority.Send, new TimeSpan(0, 0, 0, 0, 20), new DispatcherOperationCallback(delegate(object o)
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
1575Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(BringContentPositionIntoView), contentPosition);
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
200Dispatcher.BeginInvoke(DispatcherPriority.Normal, loadStreamCompletedCaller, asyncResult);
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1356this.Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(AsyncTakeFocus), null);
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1556Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Controls\TextSearch.cs (1)
559_timeoutTimer = new DispatcherTimer(DispatcherPriority.Normal);
src\Framework\System\Windows\Controls\ToolBar.cs (2)
244Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param) 282Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\ToolTip.cs (1)
555Dispatcher.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(delegate(object param)
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
788Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(BringItemIntoView), null);
src\Framework\System\Windows\Controls\Validation.cs (1)
444adornerSite.Dispatcher.BeginInvoke(DispatcherPriority.Loaded,
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (10)
801DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)OnAnchorOperation); 870DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, (Action)OnAnchorOperation); 1035DispatcherOperation anchorOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)OnAnchorOperation); 1377anchoredInvalidateMeasureOperation = Dispatcher.BeginInvoke(DispatcherPriority.Render, 1678Dispatcher.BeginInvoke(DispatcherPriority.Loaded, (Action)delegate() 4341Dispatcher.BeginInvoke(DispatcherPriority.Background, measureCachesAction)); 4370clearIsScrollActiveOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, 4378measureCachesOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, 4389clearIsScrollActiveOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, 8730_cleanupOperation = Dispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(OnCleanUp), null);
src\Framework\System\Windows\Data\BindingExpressionBase.cs (2)
1046DispatcherPriority.Loaded, 1335DispatcherOperation op = Dispatcher.BeginInvoke(DispatcherPriority.Send,
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2443Dispatcher.BeginInvoke(DispatcherPriority.DataBind, (Action)RestoreLiveShaping);
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
3287Dispatcher.BeginInvoke(DispatcherPriority.DataBind, (Action)RestoreLiveShaping);
src\Framework\System\Windows\Documents\Adorner.cs (1)
61Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(CreateFlowDirectionBinding), this);
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
329Dispatcher.BeginInvoke(DispatcherPriority.Background, queueTask, asyncRequest);
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
410Dispatcher.BeginInvoke(DispatcherPriority.Background, queueTask, asyncRequest);
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
957Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
627dObj.Dispatcher.BeginInvoke(DispatcherPriority.Send,
src\Framework\System\Windows\Documents\PageContent.cs (1)
152_asyncOp.DispatcherOperation = dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(_asyncOp.Dispatch), null);
src\Framework\System\Windows\Documents\Speller.cs (1)
541Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new DispatcherOperationCallback(OnIdle), null);
src\Framework\System\windows\Documents\TextEditor.cs (3)
535_mouseSelectionState.Timer = new DispatcherTimer(DispatcherPriority.Normal); 1635this.UiScope.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(OnTextViewUpdatedWorker), EventArgs.Empty); 1639Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(InitTextStore), null);
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
682Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(ReleaseCandidateList), null);
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1625Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(BackgroundInputCallback), This);
src\Framework\System\windows\Documents\TextSelection.cs (1)
762Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Loaded, new DispatcherOperationCallback(UpdateCaretStateWorker), null);
src\Framework\System\Windows\Documents\TextServicesHost.cs (1)
106Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(OnUnregisterTextStore), textstore);
src\Framework\System\Windows\Documents\TextStore.cs (2)
191Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(GrantLockHandler), null); 1773Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(CompleteCompositionHandler), null);
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (3)
148if (BeginInvokeOnUIThread((Action<bool>)Dispose, DispatcherPriority.Normal, disposing) == null) 755if (BeginInvokeOnUIThread((Action<bool>)ClearDictionaries, DispatcherPriority.Normal, disposing) == null) 835private DispatcherOperation BeginInvokeOnUIThread(Delegate method, DispatcherPriority priority, params object[] args)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
3712Dispatcher.BeginInvoke(DispatcherPriority.ContextIdle,
src\Framework\System\Windows\Interop\HwndHost.cs (1)
1322Dispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(AsyncDestroyWindow), null);
src\Framework\System\Windows\Markup\XamlReader.cs (3)
458Post(DispatcherPriority.Background); 464internal void Post(DispatcherPriority priority) 599DispatcherPriority.Normal,
src\Framework\System\Windows\Navigation\NavigationService.cs (6)
208DispatcherPriority.Send, 657DispatcherPriority.Send, 1216Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, new DispatcherOperationCallback(disposeItem.Dispatch), null); 3024DispatcherPriority.Normal, 3042DispatcherPriority.Send, 4689_postedOp = Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(this.Dispatch), null);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (2)
311_window.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, (_Action)_FixupTemplateIssues); 370_window.Dispatcher.BeginInvoke(DispatcherPriority.Render, (_Action)_FixupTemplateIssues);
src\Framework\System\Windows\Standard\MessageWindow.cs (2)
158_dispatcher.BeginInvoke(DispatcherPriority.Normal, (DispatcherOperationCallback)_DestroyWindowCallback, new object [] { IntPtr.Zero, className }); 168_dispatcher.BeginInvoke(DispatcherPriority.Normal, (DispatcherOperationCallback)_DestroyWindowCallback, new object [] { hwnd, className });
src\Framework\System\Windows\SystemResources.cs (1)
1403source.Dispatcher.BeginInvoke(DispatcherPriority.Normal,
src\Framework\System\Windows\Window.cs (2)
3614_contentRenderedCallback = Dispatcher.BeginInvoke(DispatcherPriority.Input, 5618DispatcherPriority.Normal,
System.Activities.Core.Presentation (18)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
136this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 141this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System\Activities\Core\Presentation\FlowchartDesigner.Container.cs (1)
382DispatcherPriority.ApplicationIdle
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (1)
509this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(() =>
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
1722this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System\Activities\Core\Presentation\InteropDesigner.xaml.cs (2)
79this.Dispatcher.BeginInvoke(DispatcherPriority.SystemIdle, (Action)(() => 83this.Dispatcher.BeginInvoke(DispatcherPriority.SystemIdle, (Action)(() =>
System\Activities\Core\Presentation\StateContainerEditor.CompositeView.cs (1)
414DispatcherPriority.ApplicationIdle
System\Activities\Core\Presentation\StateContainerEditor.ModelChangeReactions.cs (3)
172this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(() => 189this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(() => 234this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(() =>
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (2)
622this.Dispatcher.BeginInvoke(DispatcherPriority.Loaded, new Action(() => 2020DispatcherPriority.ApplicationIdle);
System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
275this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() =>
System\Activities\Core\Presentation\TryCatchDesigner.xaml.cs (3)
304this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() => 423this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() => 433this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() =>
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
252control.Dispatcher.BeginInvoke(new Action(() => { control.OnTypesToExpandChanged(); }), DispatcherPriority.Render);
System.Activities.Presentation (75)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
249this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\Annotations\NotifyArgumentVariableAnnotationTextChanged.cs (1)
33Windows.Threading.DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (1)
690DispatcherPriority.Loaded,
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (1)
107((DispatcherObject)sender).Dispatcher.BeginInvoke(DispatcherPriority.Input, new MethodInvoker(delegate()
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
99this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UIThreadDispatcher.cs (6)
51public virtual void BeginInvoke(DispatcherPriority priority, Delegate method) 59public virtual void BeginInvoke(DispatcherPriority priority, Delegate method, object arg) 67public virtual void BeginInvoke(DispatcherPriority priority, Delegate method, object arg, params object[] args) 75public virtual void Invoke(DispatcherPriority priority, Delegate method) 83public virtual void Invoke(DispatcherPriority priority, Delegate method, object arg) 91public virtual void Invoke(DispatcherPriority priority, Delegate method, object arg, params object[] args)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
174UIThreadDispatcher.Instance.BeginInvoke(DispatcherPriority.Normal, new DispatcherOperationCallback(delegate
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
373UIThreadDispatcher.Instance.BeginInvoke(DispatcherPriority.Input, new DispatcherOperationCallback(this.SetFocus), null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (5)
347Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new MethodInvoker(SelectPropertyByPathOnIdle)); 355Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new MethodInvoker(SelectPropertyByPathOnIdle)); 485Dispatcher.BeginInvoke(DispatcherPriority.Render, new UpdateSelectedPropertyInvoker(UpdateSelectedProperty), _lastNotifiedSelection); 510Dispatcher.BeginInvoke(DispatcherPriority.Background, new MethodInvoker(OnSelectionChangedIdle)); 622Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new MethodInvoker(OnParentChangedIdle));
System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (1)
158DispatcherPriority.Background,
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
359Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
384this.Dispatcher.BeginInvoke(DispatcherPriority.Input, MeasureConnectors);
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (2)
272this.contentGrid.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, 279this.contentGrid.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (1)
62Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (10)
719Dispatcher.CurrentDispatcher.BeginInvoke(new Action<ModelItemFocusHelper>((p) => { p.Focus(); }), DispatcherPriority.ContextIdle, focusTicket); 739Dispatcher.CurrentDispatcher.BeginInvoke(this.onSetDesignerContentVisibilityDelegate, DispatcherPriority.ApplicationIdle, Visibility.Visible); 813Dispatcher.CurrentDispatcher.BeginInvoke(new Action(() => { this.Expand(null); }), enqueueFirstExpand ? DispatcherPriority.ContextIdle : DispatcherPriority.Send); 887Dispatcher.CurrentDispatcher.BeginInvoke(this.onElementFocusingDelegate, DispatcherPriority.ContextIdle, currentItem); 889Dispatcher.CurrentDispatcher.BeginInvoke(this.onForceElementFocusDelegate, DispatcherPriority.ContextIdle); 918DispatcherPriority priority = DispatcherPriority.Send; 922priority = DispatcherPriority.ContextIdle; 1011Dispatcher.CurrentDispatcher.BeginInvoke(this.onElementFocusingDelegate, DispatcherPriority.ContextIdle, item);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
694}), DispatcherPriority.ApplicationIdle);
System.Activities.Presentation\System\Activities\Presentation\TaskDispatcher.cs (1)
24internal virtual void DispatchWorkOnUIThread(DispatcherPriority priority, Delegate method)
System.Activities.Presentation\System\Activities\Presentation\Validation\BackgroundValidationSynchronizer.cs (1)
154this.dispatcher.DispatchWorkOnUIThread(DispatcherPriority.ApplicationIdle, new Action(() => { this.updateWork(result); }));
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (2)
364this.validationTaskDispatcher.DispatchWorkOnUIThread(DispatcherPriority.ApplicationIdle, new Action(() => 861this.validationTaskDispatcher.DispatchWorkOnUIThread(DispatcherPriority.ApplicationIdle, new Action(
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (1)
93this.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (1)
228}), DispatcherPriority.ApplicationIdle);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (4)
1532var dt = new DispatcherTimer(TimeSpan.FromSeconds(6), DispatcherPriority.ApplicationIdle, (sender, e) => { tip.IsOpen = false; }, r.Dispatcher); 1533}), DispatcherPriority.ApplicationIdle, errorTip, row); 1554}), DispatcherPriority.ApplicationIdle, entry.GetValidationErrors(invalidProperties)); 1566}), DispatcherPriority.ApplicationIdle, entry);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (5)
543this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, contextMenuLoaded, this.contextMenuTarget, this); 595this.Dispatcher.BeginInvoke(DispatcherPriority.DataBind, action, sender); 1304this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => { this.variables1.CreateNewVariableWrapper(); })); 1319this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => { this.arguments1.CreateNewArgumentWrapper(); })); 1395}), DispatcherPriority.ApplicationIdle, toFocus);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (3)
678}), DispatcherPriority.Input); 1197Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => this.imports1.OnReferenceUpdated(updatedReference, isAdded))); 1393Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() =>
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
728this.Dispatcher.BeginInvoke(new Action(() => { this.OnReferenceUpdated(args.LoadedAssembly, true); }), DispatcherPriority.Send);
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeView.xaml.cs (1)
62this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() =>
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (2)
178this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, new Action(() => { this.perfEventProvider.TypeBrowserApplicationIdleAfterShowDialog(); })); 714this.dispatcherOperation = Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Input, new Func<TypeNode>(this.OnRun));
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (2)
233this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 240this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
297}), DispatcherPriority.ApplicationIdle); 358}), DispatcherPriority.ApplicationIdle);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (4)
144Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() => 176Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Loaded, (Action)(() => 357this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() => 430this.Dispatcher.BeginInvoke(DispatcherPriority.Render, (Action)(() =>
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
548this.view.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (4)
260this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 447this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 645this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() => 1055this.wfItemPresenter.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() =>
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (3)
257this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() => 527this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, (Action)(() => 881Windows.Threading.DispatcherPriority.ApplicationIdle,
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (2)
845this.Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() => 1020this.Dispatcher.BeginInvoke(DispatcherPriority.ApplicationIdle, (Action)(() =>
WindowsBase (145)
Base\MS\Internal\PriorityChain.cs (3)
8public PriorityChain(DispatcherPriority priority) // NOTE: should be Priority 13public DispatcherPriority Priority {get{return _priority;} set{_priority = value;}} // NOTE: should be Priority 20private DispatcherPriority _priority;
Base\MS\Internal\PriorityQueue.cs (12)
22public DispatcherPriority MaxPriority // NOTE: should be Priority 30return (DispatcherPriority) _priorityChains.Keys[count - 1]; 34return DispatcherPriority.Invalid; // NOTE: should be Priority.Invalid; 39public PriorityItem<T> Enqueue(DispatcherPriority priority, T data) // NOTE: should be Priority 117public void ChangeItemPriority(PriorityItem<T> item, DispatcherPriority priority) // NOTE: should be Priority 133private PriorityChain<T> GetChain(DispatcherPriority priority) // NOTE: should be Priority 140if(priority == (DispatcherPriority) _priorityChains.Keys[0]) 144else if(priority == (DispatcherPriority) _priorityChains.Keys[count - 1]) 148else if((priority > (DispatcherPriority) _priorityChains.Keys[0]) && 149(priority < (DispatcherPriority) _priorityChains.Keys[count - 1])) 289if(item.Chain.Priority == (DispatcherPriority) _priorityChains.Keys[_priorityChains.Count - 1]) 300item.Chain.Priority = DispatcherPriority.Invalid; // NOTE: should be Priority.Invalid
Base\MS\Internal\WeakEventTable.cs (2)
208Dispatcher.BeginInvoke(DispatcherPriority.ContextIdle, new DispatcherOperationCallback(CleanupOperation), null); 424Dispatcher.Invoke((Action)OnShutDown, DispatcherPriority.Send, CancellationToken.None, TimeSpan.FromMilliseconds(300));
Base\System\Windows\Data\DataSourceProvider.cs (1)
298DispatcherPriority.Normal, UpdateWithNewResultCallback,
Base\System\Windows\SplashScreen.cs (2)
122DispatcherPriority.Loaded, 266result = _dispatcher.Invoke(DispatcherPriority.Normal, (DispatcherOperationCallback)CloseInternal, fadeoutDuration);
Base\System\Windows\Threading\Dispatcher.cs (63)
243public void BeginInvokeShutdown(DispatcherPriority priority) // NOTE: should be Priority 277Invoke(DispatcherPriority.Send, new ShutdownCallback(ShutdownCallbackInternal)); // NOTE: should be Priority.Max 396dispatcher.BeginInvoke(DispatcherPriority.Send, (Action) delegate {}); 406return Yield(DispatcherPriority.Background); 413public static DispatcherPriorityAwaitable Yield(DispatcherPriority priority) 442public DispatcherOperation BeginInvoke(DispatcherPriority priority, Delegate method) // NOTE: should be Priority 469public DispatcherOperation BeginInvoke(DispatcherPriority priority, Delegate method, object arg) // NOTE: should be Priority 499public DispatcherOperation BeginInvoke(DispatcherPriority priority, Delegate method, object arg, params object[] args) 522return LegacyBeginInvokeImpl(DispatcherPriority.Normal, method, args, -1); 545public DispatcherOperation BeginInvoke(Delegate method, DispatcherPriority priority, params object[] args) 562Invoke(callback, DispatcherPriority.Send, CancellationToken.None, TimeSpan.FromMilliseconds(-1)); 577public void Invoke(Action callback, DispatcherPriority priority) 600public void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) 635public void Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) 652if(!cancellationToken.IsCancellationRequested && priority == DispatcherPriority.Send && CheckAccess()) 671newSynchronizationContext = new DispatcherSynchronizationContext(this, DispatcherPriority.Normal); 711return Invoke(callback, DispatcherPriority.Send, CancellationToken.None, TimeSpan.FromMilliseconds(-1)); 735public TResult Invoke<TResult>(Func<TResult> callback, DispatcherPriority priority) 767public TResult Invoke<TResult>(Func<TResult> callback, DispatcherPriority priority, CancellationToken cancellationToken) 805public TResult Invoke<TResult>(Func<TResult> callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) 822if(!cancellationToken.IsCancellationRequested && priority == DispatcherPriority.Send && CheckAccess()) 841newSynchronizationContext = new DispatcherSynchronizationContext(this, DispatcherPriority.Normal); 874return InvokeAsync(callback, DispatcherPriority.Normal, CancellationToken.None); 895public DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority) 926public DispatcherOperation InvokeAsync(Action callback, DispatcherPriority priority, CancellationToken cancellationToken) 955return InvokeAsync(callback, DispatcherPriority.Normal, CancellationToken.None); 973public DispatcherOperation<TResult> InvokeAsync<TResult>(Func<TResult> callback, DispatcherPriority priority) 1006public DispatcherOperation<TResult> InvokeAsync<TResult>(Func<TResult> callback, DispatcherPriority priority, CancellationToken cancellationToken) 1027private DispatcherOperation LegacyBeginInvokeImpl(DispatcherPriority priority, Delegate method, object args, int numArgs) 1131public object Invoke(DispatcherPriority priority, Delegate method) 1157public object Invoke(DispatcherPriority priority, Delegate method, object arg) 1185public object Invoke(DispatcherPriority priority, Delegate method, object arg, params object[] args) 1211public object Invoke(DispatcherPriority priority, TimeSpan timeout, Delegate method) 1242public object Invoke(DispatcherPriority priority, TimeSpan timeout, Delegate method, object arg) 1275public object Invoke(DispatcherPriority priority, TimeSpan timeout, Delegate method, object arg, params object[] args) 1298return LegacyInvokeImpl(DispatcherPriority.Normal, TimeSpan.FromMilliseconds(-1), method, args, -1); 1321public object Invoke(Delegate method, DispatcherPriority priority, params object[] args) 1349return LegacyInvokeImpl(DispatcherPriority.Normal, timeout, method, args, -1); 1377public object Invoke(Delegate method, TimeSpan timeout, DispatcherPriority priority, params object[] args) 1389internal object LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, object args, int numArgs) 1392if(priority == DispatcherPriority.Inactive) 1423if(priority == DispatcherPriority.Send && CheckAccess()) 1442newSynchronizationContext = new DispatcherSynchronizationContext(this, DispatcherPriority.Normal); 1469Debug.Assert(operation.Priority != DispatcherPriority.Send || !CheckAccess()); // should be handled by caller 1684public static void ValidatePriority(DispatcherPriority priority, string parameterName) // NOTE: should be Priority 1694DispatcherPriority.Inactive != priority) // NOTE: should be Priority.Min 1697throw new System.ComponentModel.InvalidEnumArgumentException(parameterName, (int)priority, typeof(DispatcherPriority)); 2084if(_queue.MaxPriority != DispatcherPriority.Invalid) 2133internal bool SetPriority(DispatcherOperation operation, DispatcherPriority priority) // NOTE: should be Priority 2220DispatcherPriority maxPriority = DispatcherPriority.Invalid; // NOTE: should be Priority.Invalid 2236if(maxPriority != DispatcherPriority.Invalid && // Nothing. NOTE: should be Priority.Invalid 2237maxPriority != DispatcherPriority.Inactive) // Not processed. // NOTE: should be Priority.Min 2633DispatcherPriority priority = _queue.MaxPriority; 2635if (priority != DispatcherPriority.Invalid && 2636priority != DispatcherPriority.Inactive) 2911BeginInvoke(DispatcherPriority.Send, 3174private static PriorityRange _foregroundPriorityRange = new PriorityRange(DispatcherPriority.Loaded, true, DispatcherPriority.Send, true); 3175private static PriorityRange _backgroundPriorityRange = new PriorityRange(DispatcherPriority.Background, true, DispatcherPriority.Input, true); 3176private static PriorityRange _idlePriorityRange = new PriorityRange(DispatcherPriority.SystemIdle, true, DispatcherPriority.ContextIdle, true);
Base\System\Windows\Threading\DispatcherFrame.cs (1)
98Dispatcher.BeginInvoke(DispatcherPriority.Send, (DispatcherOperationCallback) delegate(object unused) {return null;}, null);
Base\System\Windows\Threading\DispatcherOperation.cs (9)
38DispatcherPriority priority, 65DispatcherPriority priority, 84DispatcherPriority priority, 102DispatcherPriority priority, 130public DispatcherPriority Priority // NOTE: should be Priority 332fixed (DispatcherPriority* pb = &this._priority) 557newSynchronizationContext = new DispatcherSynchronizationContext(_dispatcher, DispatcherPriority.Normal); 745private DispatcherPriority _priority; 775DispatcherPriority priority,
Base\System\Windows\Threading\DispatcherPriorityAwaitable.cs (2)
20internal DispatcherPriorityAwaitable(Dispatcher dispatcher, DispatcherPriority priority) 36private readonly DispatcherPriority _priority;
Base\System\Windows\Threading\DispatcherPriorityAwaiter.cs (2)
23internal DispatcherPriorityAwaiter(Dispatcher dispatcher, DispatcherPriority priority) 64private readonly DispatcherPriority _priority;
Base\System\Windows\Threading\DispatcherSynchronizationContext.cs (6)
21public DispatcherSynchronizationContext(): this(Dispatcher.CurrentDispatcher, DispatcherPriority.Normal) 29public DispatcherSynchronizationContext(Dispatcher dispatcher): this(dispatcher, DispatcherPriority.Normal) 37public DispatcherSynchronizationContext(Dispatcher dispatcher, DispatcherPriority priority) 64_dispatcher.Invoke(DispatcherPriority.Send, d, state); 131copy = new DispatcherSynchronizationContext(_dispatcher, DispatcherPriority.Normal); 140private DispatcherPriority _priority;
Base\System\Windows\Threading\DispatcherTimer.cs (8)
20public DispatcherTimer() : this(DispatcherPriority.Background) // NOTE: should be Priority Dispatcher.BackgroundPriority 31public DispatcherTimer(DispatcherPriority priority) // NOTE: should be Priority 46public DispatcherTimer(DispatcherPriority priority, Dispatcher dispatcher) // NOTE: should be Priority 73public DispatcherTimer(TimeSpan interval, DispatcherPriority priority, EventHandler callback, Dispatcher dispatcher) // NOTE: should be Priority 247private void Initialize(Dispatcher dispatcher, DispatcherPriority priority, TimeSpan interval) 251if(priority == DispatcherPriority.Inactive) 273DispatcherPriority.Inactive, 335private DispatcherPriority _priority; // NOTE: should be Priority
Base\System\Windows\Threading\PriorityRange.cs (31)
14public static readonly PriorityRange All = new PriorityRange(DispatcherPriority.Inactive, DispatcherPriority.Send, true); // NOTE: should be Priority 19public static readonly PriorityRange None = new PriorityRange(DispatcherPriority.Invalid, DispatcherPriority.Invalid, true); // NOTE: should be Priority 24public PriorityRange(DispatcherPriority min, DispatcherPriority max) : this() // NOTE: should be Priority 32public PriorityRange(DispatcherPriority min, bool isMinInclusive, DispatcherPriority max, bool isMaxInclusive) : this() // NOTE: should be Priority 40public DispatcherPriority Min // NOTE: should be Priority 51public DispatcherPriority Max // NOTE: should be Priority 89return (_min > DispatcherPriority.Invalid && _min <= DispatcherPriority.Send && 90_max > DispatcherPriority.Invalid && _max <= DispatcherPriority.Send); 98public bool Contains(DispatcherPriority priority) // NOTE: should be Priority 106if(priority <= DispatcherPriority.Invalid || priority > DispatcherPriority.Send) 240private void Initialize(DispatcherPriority min, bool isMinInclusive, DispatcherPriority max, bool isMaxInclusive) // NOTE: should be Priority 253if(min < DispatcherPriority.Invalid || min > DispatcherPriority.Send) 256throw new System.ComponentModel.InvalidEnumArgumentException("min", (int)min, typeof(DispatcherPriority)); 258if(min == DispatcherPriority.Inactive) 274if(max < DispatcherPriority.Invalid || max > DispatcherPriority.Send) 277throw new System.ComponentModel.InvalidEnumArgumentException("max", (int)max, typeof(DispatcherPriority)); 279if(max == DispatcherPriority.Inactive) 296private PriorityRange(DispatcherPriority min, DispatcherPriority max, bool ignored) // NOTE: should be Priority 304private DispatcherPriority _min; // NOTE: should be Priority 306private DispatcherPriority _max; // NOTE: should be Priority
Shared\MS\Win32\HwndSubclass.cs (1)
393DispatcherPriority.Send,
Shared\MS\Win32\HwndWrapper.cs (2)
237Dispatcher.BeginInvoke(DispatcherPriority.Normal, (DispatcherOperationCallback)UnregisterClass, _classAtom); 255DispatcherPriority.Normal,