114 references to Invoke
PresentationCore (114)
Core\CSharp\MS\Internal\Automation\DockProviderWrapper.cs (2)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetDockPosition ), dockPosition ); 74return (DockPosition)ElementUtil.Invoke(_peer, new DispatcherOperationCallback( GetDockPosition ), null);
Core\CSharp\MS\Internal\Automation\ElementProxy.cs (11)
102return ElementUtil.Invoke(peer, new DispatcherOperationCallback( InContextGetPatternProvider ), pattern); 112return ElementUtil.Invoke(peer, new DispatcherOperationCallback(InContextGetPropertyValue), property); 124return (ProviderOptions)ElementUtil.Invoke(peer, new DispatcherOperationCallback( InContextGetProviderOptions ), null); 139hwndWrapper = (HostedWindowWrapper)ElementUtil.Invoke( 170return (IRawElementProviderFragment)ElementUtil.Invoke(peer, new DispatcherOperationCallback(InContextNavigate), direction); 180return (int []) ElementUtil.Invoke( peer, new DispatcherOperationCallback( InContextGetRuntimeId ), null ); 192return (Rect)ElementUtil.Invoke(peer, new DispatcherOperationCallback(InContextBoundingRectangle), null); 208ElementUtil.Invoke(peer, new DispatcherOperationCallback( InContextSetFocus ), null); 220return (IRawElementProviderFragmentRoot) ElementUtil.Invoke( peer, new DispatcherOperationCallback( InContextFragmentRoot ), null ); 232return (IRawElementProviderFragment) ElementUtil.Invoke( peer, new DispatcherOperationCallback( InContextElementProviderFromPoint ), new Point( x, y ) ); 242return (IRawElementProviderFragment) ElementUtil.Invoke( peer, new DispatcherOperationCallback( InContextGetFocus ), null );
Core\CSharp\MS\Internal\Automation\ExpandCollapseProviderWrapper.cs (3)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Expand ), null ); 72ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Collapse ), null ); 79return (ExpandCollapseState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetExpandCollapseState ), null );
Core\CSharp\MS\Internal\Automation\GridItemProviderWrapper.cs (5)
69return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRow ), null ); 77return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumn ), null ); 85return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowSpan ), null ); 93return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnSpan ), null ); 101return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetContainingGrid ), null );
Core\CSharp\MS\Internal\Automation\GridProviderWrapper.cs (3)
67return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetItem ), new int [ ] { row, column } ); 74return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowCount ), null ); 82return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnCount ), null );
Core\CSharp\MS\Internal\Automation\InvokeProviderWrapper.cs (1)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Invoke ), null );
Core\CSharp\MS\Internal\Automation\ItemContainerProviderWrapper.cs (1)
68return (IRawElementProviderSimple)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(FindItemByProperty), args);
Core\CSharp\MS\Internal\Automation\MultipleViewProviderWrapper.cs (4)
67return (string) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetViewName ), viewID ); 72ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetCurrentView ), viewID ); 79return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCurrentView ), null ); 85return (int []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSupportedViews ), null );
Core\CSharp\MS\Internal\Automation\RangeValueProviderWrapper.cs (7)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetValueInternal ), val ); 74return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetValue ), null ); 82return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsReadOnly ), null ); 90return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMaximum ), null ); 98return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMinimum ), null ); 106return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetLargeChange ), null ); 114return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSmallChange ), null );
Core\CSharp\MS\Internal\Automation\ScrollItemProviderWrapper.cs (1)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( ScrollIntoView ), null );
Core\CSharp\MS\Internal\Automation\ScrollProviderWrapper.cs (8)
70ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Scroll ), new ScrollAmount [ ] { horizontalAmount, verticalAmount } ); 75ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetScrollPercent ), new double [ ] { horizontalPercent, verticalPercent } ); 82return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetHorizontalScrollPercent ), null ); 90return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVerticalScrollPercent ), null ); 98return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetHorizontalViewSize ), null ); 106return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVerticalViewSize ), null ); 114return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetHorizontallyScrollable ), null ); 122return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVerticallyScrollable ), null );
Core\CSharp\MS\Internal\Automation\SelectionItemProviderWrapper.cs (5)
69ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Select ), null ); 74ElementUtil.Invoke( _peer, new DispatcherOperationCallback( AddToSelection ), null ); 79ElementUtil.Invoke( _peer, new DispatcherOperationCallback( RemoveFromSelection ), null ); 86return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsSelected ), null ); 94return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSelectionContainer ), null );
Core\CSharp\MS\Internal\Automation\SelectionProviderWrapper.cs (3)
69return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSelection ), null ); 76return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanSelectMultiple ), null ); 84return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsSelectionRequired ), null );
Core\CSharp\MS\Internal\Automation\SynchronizedInputProviderWrapper.cs (2)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( StartListening ), inputType ); 73ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Cancel ), null );
Core\CSharp\MS\Internal\Automation\TableItemProviderWrapper.cs (7)
69return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRow ), null ); 77return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumn ), null ); 85return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowSpan ), null ); 93return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnSpan ), null ); 101return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetContainingGrid ), null ); 107return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowHeaderItems ), null ); 112return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnHeaderItems ), null );
Core\CSharp\MS\Internal\Automation\TableProviderWrapper.cs (6)
67return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetItem ), new int [ ] { row, column } ); 74return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowCount ), null ); 82return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnCount ), null ); 88return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowHeaders ), null ); 93return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnHeaders ), null ); 100return (RowOrColumnMajor) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowOrColumnMajor ), null );
Core\CSharp\MS\Internal\Automation\TextProviderWrapper.cs (6)
58return (ITextRangeProvider [])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetSelection), null); 63return (ITextRangeProvider[])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetVisibleRanges), null); 73return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(RangeFromChild), childElement); 78return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(RangeFromPoint), screenLocation); 85return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetDocumentRange), null); 93return (SupportedTextSelection)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetSupportedTextSelection), null);
Core\CSharp\MS\Internal\Automation\TextRangeProviderWrapper.cs (18)
59return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Clone), null); 69return (bool)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Compare), range); 80return (int)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(CompareEndpoints), args); 86ElementUtil.Invoke(_peer, new DispatcherOperationCallback(ExpandToEnclosingUnit), args); 92return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(FindAttribute), args); 98return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(FindText), args); 104return ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetAttributeValue), args); 109return (double [])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetBoundingRectangles), null); 114return (IRawElementProviderSimple)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetEnclosingElement), null); 120return (string)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetText), args); 126return (int)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Move), args); 132return (int)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(MoveEndpointByUnit), args); 143ElementUtil.Invoke(_peer, new DispatcherOperationCallback(MoveEndpointByRange), args); 148ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Select), null); 153ElementUtil.Invoke(_peer, new DispatcherOperationCallback(AddToSelection), null); 158ElementUtil.Invoke(_peer, new DispatcherOperationCallback(RemoveFromSelection), null); 163ElementUtil.Invoke(_peer, new DispatcherOperationCallback(ScrollIntoView), alignToTop); 168return (IRawElementProviderSimple[])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetChildren), null);
Core\CSharp\MS\Internal\Automation\ToggleProviderWrapper.cs (2)
66ElementUtil.Invoke( _peer, new DispatcherOperationCallback( ToggleInternal ), null ); 73return (ToggleState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetToggleState ), null );
Core\CSharp\MS\Internal\Automation\TransformProviderWrapper.cs (6)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Move ), new double [ ] { x, y } ); 72ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Resize ), new double [ ] { width, height } ); 77ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Rotate ), degrees ); 84return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanMove ), null ); 92return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanResize ), null ); 100return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanRotate ), null );
Core\CSharp\MS\Internal\Automation\ValueProviderWrapper.cs (3)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetValueInternal ), val ); 74return (string) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetValue ), null ); 82return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsReadOnly ), null );
Core\CSharp\MS\Internal\Automation\VirtualizedItemProviderWrapper.cs (1)
67ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Realize), null);
Core\CSharp\MS\Internal\Automation\WindowProviderWrapper.cs (9)
67ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetVisualState ), state ); 72ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Close ), null ); 77return (bool)ElementUtil.Invoke( _peer, new DispatcherOperationCallback( WaitForInputIdle ), milliseconds ); 84return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMaximizable ), null ); 92return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMinimizable ), null ); 100return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsModal ), null ); 108return (WindowVisualState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVisualState ), null ); 116return (WindowInteractionState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetInteractionState ), null ); 124return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsTopmost ), null );