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