114 references to ElementUtil
PresentationCore (114)
MS\Internal\Automation\DockProviderWrapper.cs (2)
60ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetDockPosition ), dockPosition ); 67return (DockPosition)ElementUtil.Invoke(_peer, new DispatcherOperationCallback( GetDockPosition ), null);
MS\Internal\Automation\ElementProxy.cs (11)
82return ElementUtil.Invoke(peer, new DispatcherOperationCallback( InContextGetPatternProvider ), pattern); 92return ElementUtil.Invoke(peer, new DispatcherOperationCallback(InContextGetPropertyValue), property); 104return (ProviderOptions)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextGetProviderOptions(), this); 119hwndWrapper = (HostedWindowWrapper)ElementUtil.Invoke( 145return (IRawElementProviderFragment)ElementUtil.Invoke(peer, new DispatcherOperationCallback(InContextNavigate), direction); 155return (int []) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetRuntimeId(), this); 167return (Rect)ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextBoundingRectangle(), this); 183ElementUtil.Invoke(peer, state => ((ElementProxy)state).InContextSetFocus(), this); 195return (IRawElementProviderFragmentRoot) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextFragmentRoot(), this); 207return (IRawElementProviderFragment) ElementUtil.Invoke( peer, new DispatcherOperationCallback( InContextElementProviderFromPoint ), new Point( x, y ) ); 217return (IRawElementProviderFragment) ElementUtil.Invoke( peer, state => ((ElementProxy)state).InContextGetFocus(), this);
MS\Internal\Automation\ExpandCollapseProviderWrapper.cs (3)
60ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Expand ), null ); 65ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Collapse ), null ); 72return (ExpandCollapseState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetExpandCollapseState ), null );
MS\Internal\Automation\GridItemProviderWrapper.cs (5)
61return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRow ), null ); 69return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumn ), null ); 77return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowSpan ), null ); 85return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnSpan ), null ); 93return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetContainingGrid ), null );
MS\Internal\Automation\GridProviderWrapper.cs (3)
59return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetItem ), new int [ ] { row, column } ); 66return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowCount ), null ); 74return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnCount ), null );
MS\Internal\Automation\InvokeProviderWrapper.cs (1)
59ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Invoke ), null );
MS\Internal\Automation\ItemContainerProviderWrapper.cs (1)
60return (IRawElementProviderSimple)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(FindItemByProperty), args);
MS\Internal\Automation\MultipleViewProviderWrapper.cs (4)
59return (string) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetViewName ), viewID ); 64ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetCurrentView ), viewID ); 71return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCurrentView ), null ); 77return (int []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSupportedViews ), null );
MS\Internal\Automation\RangeValueProviderWrapper.cs (7)
59ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetValueInternal ), val ); 66return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetValue ), null ); 74return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsReadOnly ), null ); 82return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMaximum ), null ); 90return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMinimum ), null ); 98return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetLargeChange ), null ); 106return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSmallChange ), null );
MS\Internal\Automation\ScrollItemProviderWrapper.cs (1)
59ElementUtil.Invoke( _peer, new DispatcherOperationCallback( ScrollIntoView ), null );
MS\Internal\Automation\ScrollProviderWrapper.cs (8)
61ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Scroll ), new ScrollAmount [ ] { horizontalAmount, verticalAmount } ); 66ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetScrollPercent ), new double [ ] { horizontalPercent, verticalPercent } ); 73return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetHorizontalScrollPercent ), null ); 81return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVerticalScrollPercent ), null ); 89return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetHorizontalViewSize ), null ); 97return (double) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVerticalViewSize ), null ); 105return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetHorizontallyScrollable ), null ); 113return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVerticallyScrollable ), null );
MS\Internal\Automation\SelectionItemProviderWrapper.cs (5)
60ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Select ), null ); 65ElementUtil.Invoke( _peer, new DispatcherOperationCallback( AddToSelection ), null ); 70ElementUtil.Invoke( _peer, new DispatcherOperationCallback( RemoveFromSelection ), null ); 77return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsSelected ), null ); 85return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSelectionContainer ), null );
MS\Internal\Automation\SelectionProviderWrapper.cs (3)
59return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetSelection ), null ); 66return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanSelectMultiple ), null ); 74return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsSelectionRequired ), null );
MS\Internal\Automation\SynchronizedInputProviderWrapper.cs (2)
60ElementUtil.Invoke( _peer, new DispatcherOperationCallback( StartListening ), inputType ); 65ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Cancel ), null );
MS\Internal\Automation\TableItemProviderWrapper.cs (7)
61return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRow ), null ); 69return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumn ), null ); 77return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowSpan ), null ); 85return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnSpan ), null ); 93return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetContainingGrid ), null ); 99return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowHeaderItems ), null ); 104return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnHeaderItems ), null );
MS\Internal\Automation\TableProviderWrapper.cs (6)
60return (IRawElementProviderSimple) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetItem ), new int [ ] { row, column } ); 67return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowCount ), null ); 75return (int) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnCount ), null ); 81return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowHeaders ), null ); 86return (IRawElementProviderSimple []) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetColumnHeaders ), null ); 93return (RowOrColumnMajor) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetRowOrColumnMajor ), null );
MS\Internal\Automation\TextProviderWrapper.cs (6)
44return (ITextRangeProvider [])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetSelection), null); 49return (ITextRangeProvider[])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetVisibleRanges), null); 59return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(RangeFromChild), childElement); 64return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(RangeFromPoint), screenLocation); 71return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetDocumentRange), null); 79return (SupportedTextSelection)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetSupportedTextSelection), null);
MS\Internal\Automation\TextRangeProviderWrapper.cs (18)
43return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Clone), null); 53return (bool)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Compare), range); 64return (int)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(CompareEndpoints), args); 70ElementUtil.Invoke(_peer, new DispatcherOperationCallback(ExpandToEnclosingUnit), args); 76return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(FindAttribute), args); 82return (ITextRangeProvider)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(FindText), args); 88return ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetAttributeValue), args); 93return (double [])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetBoundingRectangles), null); 98return (IRawElementProviderSimple)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetEnclosingElement), null); 104return (string)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetText), args); 110return (int)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Move), args); 116return (int)ElementUtil.Invoke(_peer, new DispatcherOperationCallback(MoveEndpointByUnit), args); 127ElementUtil.Invoke(_peer, new DispatcherOperationCallback(MoveEndpointByRange), args); 132ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Select), null); 137ElementUtil.Invoke(_peer, new DispatcherOperationCallback(AddToSelection), null); 142ElementUtil.Invoke(_peer, new DispatcherOperationCallback(RemoveFromSelection), null); 147ElementUtil.Invoke(_peer, new DispatcherOperationCallback(ScrollIntoView), alignToTop); 152return (IRawElementProviderSimple[])ElementUtil.Invoke(_peer, new DispatcherOperationCallback(GetChildren), null);
MS\Internal\Automation\ToggleProviderWrapper.cs (2)
60ElementUtil.Invoke( _peer, new DispatcherOperationCallback( ToggleInternal ), null ); 67return (ToggleState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetToggleState ), null );
MS\Internal\Automation\TransformProviderWrapper.cs (6)
60ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Move ), new double [ ] { x, y } ); 65ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Resize ), new double [ ] { width, height } ); 70ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Rotate ), degrees ); 77return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanMove ), null ); 85return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanResize ), null ); 93return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetCanRotate ), null );
MS\Internal\Automation\ValueProviderWrapper.cs (3)
59ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetValueInternal ), val ); 66return (string) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetValue ), null ); 74return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsReadOnly ), null );
MS\Internal\Automation\VirtualizedItemProviderWrapper.cs (1)
59ElementUtil.Invoke(_peer, new DispatcherOperationCallback(Realize), null);
MS\Internal\Automation\WindowProviderWrapper.cs (9)
60ElementUtil.Invoke( _peer, new DispatcherOperationCallback( SetVisualState ), state ); 65ElementUtil.Invoke( _peer, new DispatcherOperationCallback( Close ), null ); 70return (bool)ElementUtil.Invoke( _peer, new DispatcherOperationCallback( WaitForInputIdle ), milliseconds ); 77return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMaximizable ), null ); 85return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetMinimizable ), null ); 93return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsModal ), null ); 101return (WindowVisualState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetVisualState ), null ); 109return (WindowInteractionState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetInteractionState ), null ); 117return (bool) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetIsTopmost ), null );