2 types derived from UIElement
PresentationFramework (2)
System\windows\Documents\CaretElement.cs (1)
1203private class CaretSubElement : UIElement
System\Windows\FrameworkElement.cs (1)
112public partial class FrameworkElement : UIElement, IFrameworkInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
2 instantiations of UIElement
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10695bamlType.DefaultConstructor = delegate() { return new System.Windows.UIElement(); };
System\Windows\Markup\KnownTypes.cs (1)
1629case KnownElements.UIElement: o = new System.Windows.UIElement(); break;
2751 references to UIElement
Microsoft.CodeAnalysis.EditorFeatures.Wpf (18)
Adornments\BrushTag.cs (1)
16/// just a simple single <see cref="UIElement"/> should subclass <see cref="GraphicsTag"/>. In that case the <see
Adornments\GraphicsResult.cs (2)
13public UIElement VisualElement { get; } 16public GraphicsResult(UIElement visualElement, Action? dispose)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
179public static void UpdateColor(TextFormattingRunProperties format, UIElement adornment)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (7)
32private UIElement _focusedElement = null; 33private readonly List<UIElement> _tabNavigableChildren; 69((UIElement)_findAdornmentLayer).LayoutUpdated += FindAdornmentCanvas_LayoutUpdated; 132((UIElement)_textView.Caret).Visibility = Visibility.Visible; 135private void FocusElement(UIElement firstElement, Func<int, int> selector) 301var adornment = _findAdornmentLayer.Elements[0].Adornment; 366((UIElement)_findAdornmentLayer).LayoutUpdated -= FindAdornmentCanvas_LayoutUpdated;
QuickInfo\OnTheFlyDocsView.xaml.cs (5)
196public UIElement OnDemandLinkContent { get; } 198public UIElement LoadingContent { get; } 200public UIElement ResultsContent { get; } 235private UIElement ToUIElement(object model) 236=> _viewElementFactoryService.CreateViewElement<UIElement>(_textView, model);
QuickInfo\OnTheFlyDocsViewFactory.cs (2)
23[TypeConversion(from: typeof(QuickInfoOnTheFlyDocsElement), to: typeof(UIElement))] 44if (typeof(TView) != typeof(UIElement))
Microsoft.VisualStudio.LanguageServices (3)
DocumentOutline\DocumentOutlineView.xaml.cs (1)
330renderHeight = ((UIElement)border).RenderSize.Height;
InheritanceMargin\InheritanceGlyphFactory.cs (1)
59public UIElement? GenerateGlyph(IWpfTextViewLine line, IGlyphTag tag)
PreviewPane\PreviewPane.xaml.cs (1)
212var preview = grid.Children[0];
Microsoft.VisualStudio.LanguageServices.CSharp (1)
SemanticSearch\SemanticSearchToolWindowImpl.cs (1)
209image.SetBinding(CrispImage.GrayscaleProperty, new Binding(UIElement.IsEnabledProperty.Name)
PresentationCore (1191)
MS\Internal\Automation\ElementUtil.cs (6)
128internal static Rect GetLocalRect( UIElement element ) 143internal static Rect GetScreenRect( IntPtr hwnd, UIElement el ) 183UIElement el = visual as UIElement; 275if ( !(sibling is UIElement) || (((UIElement)sibling).Visibility == Visibility.Visible ) )
MS\Internal\Automation\SynchronizedInputAdaptor.cs (4)
52UIElement e = _owner as UIElement; 86UIElement e = _owner as UIElement;
MS\Internal\DeferredElementTreeState.cs (2)
94UIElement e = element as UIElement;
MS\Internal\DpiUtil\DpiUtil.cs (6)
180lock (UIElement.DpiLock) 184int sizeOfList = UIElement.DpiScaleXValues.Count; 188if (UIElement.DpiScaleXValues[index] == pixelsPerInchX / DpiUtil.DefaultPixelsPerInch && 189UIElement.DpiScaleYValues[index] == pixelsPerInchY / DpiUtil.DefaultPixelsPerInch) 198UIElement.DpiScaleXValues.Add(pixelsPerInchX / DpiUtil.DefaultPixelsPerInch); 199UIElement.DpiScaleYValues.Add(pixelsPerInchY / DpiUtil.DefaultPixelsPerInch);
MS\Internal\DpiUtil\DpiUtil+SystemDpiHelper.cs (6)
73lock (UIElement.DpiLock) 75return new DpiScale2(UIElement.DpiScaleXValues[0], UIElement.DpiScaleYValues[0]); 85lock(UIElement.DpiLock) 87UIElement.DpiScaleXValues.Insert(0, systemDpiScale.DpiScaleX); 88UIElement.DpiScaleYValues.Insert(0, systemDpiScale.DpiScaleY);
MS\Internal\Interop\TipTsfHelper.cs (2)
167UIElement uiElement; 172if ((uiElement = focusedObject as UIElement) != null)
MS\Internal\SynchronizedInputHelper.cs (5)
22UIElement e = o as UIElement; 138UIElement e = logicalParent as UIElement; 300if (InputManager.ListeningElement is UIElement e)
MS\Internal\UIElementHelper.cs (15)
21UIElement oAsUIElement = o as UIElement; 36UIElement oAsUIElement = o as UIElement; 51UIElement uie; 55if ((uie = o as UIElement) != null) 71internal static UIElement GetContainingUIElement2D(DependencyObject reference) 73UIElement element = null; 77element = reference as UIElement; 115UIElement childAsUIElement = child as UIElement; 135return (o is UIElement or UIElement3D); 140UIElement e = null; 181out UIElement e, 191e = o as UIElement;
System\Windows\Automation\AutomationProperties.cs (5)
346typeof(UIElement), 348new UIPropertyMetadata((UIElement)null)); 353public static void SetLabeledBy(DependencyObject element, UIElement value) 363public static UIElement GetLabeledBy(DependencyObject element) 367return ((UIElement)element.GetValue(LabeledByProperty));
System\Windows\Automation\Peers\AutomationPeer.cs (2)
421UIElement uie = focusedElement as UIElement;
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (1)
47/// <seealso cref="UIElement.OnCreateAutomationPeer"/> virtual callback. If FrameworkContentElement does not
System\Windows\Automation\Peers\GenericRootAutomationPeer.cs (1)
27public GenericRootAutomationPeer(UIElement owner): base(owner)
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (7)
101&& child is UIElement 102&& (peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)child)) != null ) 224UIElement containingUIElement = GetContainingUIElement(_owner); 246private static UIElement GetContainingUIElement(DependencyObject reference) 248UIElement element = null; 252element = reference as UIElement; 340UIElement element = AutomationProperties.GetLabeledBy(_owner);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (12)
25public UIElementAutomationPeer(UIElement owner) 32public UIElement Owner 47/// <seealso cref="UIElement.OnCreateAutomationPeer"/> virtual callback. If UIElement does not 51public static AutomationPeer CreatePeerForElement(UIElement element) 59public static AutomationPeer FromElement(UIElement element) 120&& child is UIElement 121&& (peer = CreatePeerForElement((UIElement)child)) != null ) 268internal static Rect CalculateVisibleBoundingRect(UIElement owner) 388UIElement element = AutomationProperties.GetLabeledBy(_owner); 429UIElement element = _owner.PositionAndSizeOfSetController; 464UIElement element = _owner.PositionAndSizeOfSetController; 533private UIElement _owner;
System\Windows\ContentElement.cs (15)
41UIElement.RegisterEvents(typeof(ContentElement)); 44UIElement.IsFocusedPropertyKey.OverrideMetadata( 560UIElement.IsFocusedProperty.AddOwner( 607UIElement.IsEnabledProperty.AddOwner( 629add { EventHandlersStoreAdd(UIElement.IsEnabledChangedKey, value); } 630remove { EventHandlersStoreRemove(UIElement.IsEnabledChangedKey, value); } 695ce.RaiseDependencyPropertyChanged(UIElement.IsEnabledChangedKey, e); 715UIElement.FocusableProperty.AddOwner( 735add {EventHandlersStoreAdd(UIElement.FocusableChangedKey, value);} 736remove {EventHandlersStoreRemove(UIElement.FocusableChangedKey, value);} 744ce.RaiseDependencyPropertyChanged(UIElement.FocusableChangedKey, e); 799UIElement.AllowDropProperty.AddOwner( 958internal static readonly UncommonField<EventHandlersStore> EventHandlersStoreField = UIElement.EventHandlersStoreField; 959internal static readonly UncommonField<InputBindingCollection> InputBindingCollectionField = UIElement.InputBindingCollectionField; 960internal static readonly UncommonField<CommandBindingCollection> CommandBindingCollectionField = UIElement.CommandBindingCollectionField;
System\Windows\dataobject.cs (6)
809UIElement.AddHandler(element, CopyingEvent, handler); 819UIElement.RemoveHandler(element, CopyingEvent, handler); 858UIElement.AddHandler(element, PastingEvent, handler); 868UIElement.RemoveHandler(element, PastingEvent, handler); 897UIElement.AddHandler(element, SettingDataEvent, handler); 907UIElement.RemoveHandler(element, SettingDataEvent, handler);
System\Windows\DpiScale.cs (1)
15/// or <see cref="System.Windows.UIElement"/> is rendered.
System\Windows\DragDrop.cs (42)
59UIElement.AddHandler(element, PreviewQueryContinueDragEvent, handler); 69UIElement.RemoveHandler(element, PreviewQueryContinueDragEvent, handler); 84UIElement.AddHandler(element, QueryContinueDragEvent, handler); 94UIElement.RemoveHandler(element, QueryContinueDragEvent, handler); 109UIElement.AddHandler(element, PreviewGiveFeedbackEvent, handler); 119UIElement.RemoveHandler(element, PreviewGiveFeedbackEvent, handler); 134UIElement.AddHandler(element, GiveFeedbackEvent, handler); 144UIElement.RemoveHandler(element, GiveFeedbackEvent, handler); 159UIElement.AddHandler(element, PreviewDragEnterEvent, handler); 169UIElement.RemoveHandler(element, PreviewDragEnterEvent, handler); 184UIElement.AddHandler(element, DragEnterEvent, handler); 194UIElement.RemoveHandler(element, DragEnterEvent, handler); 209UIElement.AddHandler(element, PreviewDragOverEvent, handler); 219UIElement.RemoveHandler(element, PreviewDragOverEvent, handler); 234UIElement.AddHandler(element, DragOverEvent, handler); 244UIElement.RemoveHandler(element, DragOverEvent, handler); 259UIElement.AddHandler(element, PreviewDragLeaveEvent, handler); 269UIElement.RemoveHandler(element, PreviewDragLeaveEvent, handler); 284UIElement.AddHandler(element, DragLeaveEvent, handler); 294UIElement.RemoveHandler(element, DragLeaveEvent, handler); 309UIElement.AddHandler(element, PreviewDropEvent, handler); 319UIElement.RemoveHandler(element, PreviewDropEvent, handler); 334UIElement.AddHandler(element, DropEvent, handler); 344UIElement.RemoveHandler(element, DropEvent, handler); 387if (dragSource is UIElement) 389((UIElement)dragSource).RaiseEvent(args); 418if (dragSource is UIElement) 420((UIElement)dragSource).RaiseEvent(args); 703if (_dragSource is UIElement) 705((UIElement)_dragSource).RaiseEvent(args); 726if (_dragSource is UIElement) 728((UIElement)_dragSource).RaiseEvent(args); 760if (_dragSource is UIElement) 762((UIElement)_dragSource).RaiseEvent(args); 783if (_dragSource is UIElement) 785((UIElement)_dragSource).RaiseEvent(args); 1162if (target is UIElement) 1164((UIElement)target).RaiseEvent(dragEventArgs); 1186if (target is UIElement) 1188((UIElement)target).RaiseEvent(dragEventArgs); 1312UIElement targetUIElement; 1319targetUIElement = target as UIElement;
System\Windows\EventManager.cs (2)
114/// <see cref="UIElement.AddHandler(RoutedEvent, Delegate)"/> <para/> 161if (!typeof(UIElement).IsAssignableFrom(classType) &&
System\Windows\FocusWithinProperty.cs (3)
18UIElement.IsKeyboardFocusWithinPropertyKey, 26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) 30UIElement.IsKeyboardFocusWithinProperty,
System\Windows\Generated\ContentElement.cs (80)
384UIElement.BuildRouteHelper(this, route, args); 407UIElement.RaiseEventImpl(this, e); 426UIElement.RaiseEventImpl(this, args); 439UIElement.RaiseEventImpl(this, args); 739UIElement.IsMouseDirectlyOverPropertyKey.OverrideMetadata( 745UIElement.IsMouseOverPropertyKey.OverrideMetadata( 750UIElement.IsStylusOverPropertyKey.OverrideMetadata( 755UIElement.IsKeyboardFocusWithinPropertyKey.OverrideMetadata( 760UIElement.IsMouseCapturedPropertyKey.OverrideMetadata( 766UIElement.IsMouseCaptureWithinPropertyKey.OverrideMetadata( 771UIElement.IsStylusDirectlyOverPropertyKey.OverrideMetadata( 777UIElement.IsStylusCapturedPropertyKey.OverrideMetadata( 783UIElement.IsStylusCaptureWithinPropertyKey.OverrideMetadata( 788UIElement.IsKeyboardFocusedPropertyKey.OverrideMetadata( 794UIElement.AreAnyTouchesDirectlyOverPropertyKey.OverrideMetadata( 799UIElement.AreAnyTouchesOverPropertyKey.OverrideMetadata( 804UIElement.AreAnyTouchesCapturedPropertyKey.OverrideMetadata( 809UIElement.AreAnyTouchesCapturedWithinPropertyKey.OverrideMetadata( 896public static readonly RoutedEvent PreviewMouseLeftButtonDownEvent = UIElement.PreviewMouseLeftButtonDownEvent.AddOwner(_typeofThis); 903add { AddHandler(UIElement.PreviewMouseLeftButtonDownEvent, value, false); } 904remove { RemoveHandler(UIElement.PreviewMouseLeftButtonDownEvent, value); } 915public static readonly RoutedEvent MouseLeftButtonDownEvent = UIElement.MouseLeftButtonDownEvent.AddOwner(_typeofThis); 922add { AddHandler(UIElement.MouseLeftButtonDownEvent, value, false); } 923remove { RemoveHandler(UIElement.MouseLeftButtonDownEvent, value); } 934public static readonly RoutedEvent PreviewMouseLeftButtonUpEvent = UIElement.PreviewMouseLeftButtonUpEvent.AddOwner(_typeofThis); 941add { AddHandler(UIElement.PreviewMouseLeftButtonUpEvent, value, false); } 942remove { RemoveHandler(UIElement.PreviewMouseLeftButtonUpEvent, value); } 953public static readonly RoutedEvent MouseLeftButtonUpEvent = UIElement.MouseLeftButtonUpEvent.AddOwner(_typeofThis); 960add { AddHandler(UIElement.MouseLeftButtonUpEvent, value, false); } 961remove { RemoveHandler(UIElement.MouseLeftButtonUpEvent, value); } 972public static readonly RoutedEvent PreviewMouseRightButtonDownEvent = UIElement.PreviewMouseRightButtonDownEvent.AddOwner(_typeofThis); 979add { AddHandler(UIElement.PreviewMouseRightButtonDownEvent, value, false); } 980remove { RemoveHandler(UIElement.PreviewMouseRightButtonDownEvent, value); } 991public static readonly RoutedEvent MouseRightButtonDownEvent = UIElement.MouseRightButtonDownEvent.AddOwner(_typeofThis); 998add { AddHandler(UIElement.MouseRightButtonDownEvent, value, false); } 999remove { RemoveHandler(UIElement.MouseRightButtonDownEvent, value); } 1010public static readonly RoutedEvent PreviewMouseRightButtonUpEvent = UIElement.PreviewMouseRightButtonUpEvent.AddOwner(_typeofThis); 1017add { AddHandler(UIElement.PreviewMouseRightButtonUpEvent, value, false); } 1018remove { RemoveHandler(UIElement.PreviewMouseRightButtonUpEvent, value); } 1029public static readonly RoutedEvent MouseRightButtonUpEvent = UIElement.MouseRightButtonUpEvent.AddOwner(_typeofThis); 1036add { AddHandler(UIElement.MouseRightButtonUpEvent, value, false); } 1037remove { RemoveHandler(UIElement.MouseRightButtonUpEvent, value); } 2255public static readonly DependencyProperty IsMouseDirectlyOverProperty = UIElement.IsMouseDirectlyOverProperty.AddOwner(_typeofThis); 2267add { EventHandlersStoreAdd(UIElement.IsMouseDirectlyOverChangedKey, value); } 2268remove { EventHandlersStoreRemove(UIElement.IsMouseDirectlyOverChangedKey, value); } 2284RaiseDependencyPropertyChanged(UIElement.IsMouseDirectlyOverChangedKey, args); 2290public static readonly DependencyProperty IsMouseOverProperty = UIElement.IsMouseOverProperty.AddOwner(_typeofThis); 2295public static readonly DependencyProperty IsStylusOverProperty = UIElement.IsStylusOverProperty.AddOwner(_typeofThis); 2300public static readonly DependencyProperty IsKeyboardFocusWithinProperty = UIElement.IsKeyboardFocusWithinProperty.AddOwner(_typeofThis); 2307add { EventHandlersStoreAdd(UIElement.IsKeyboardFocusWithinChangedKey, value); } 2308remove { EventHandlersStoreRemove(UIElement.IsKeyboardFocusWithinChangedKey, value); } 2324RaiseDependencyPropertyChanged(UIElement.IsKeyboardFocusWithinChangedKey, args); 2330public static readonly DependencyProperty IsMouseCapturedProperty = UIElement.IsMouseCapturedProperty.AddOwner(_typeofThis); 2342add { EventHandlersStoreAdd(UIElement.IsMouseCapturedChangedKey, value); } 2343remove { EventHandlersStoreRemove(UIElement.IsMouseCapturedChangedKey, value); } 2359RaiseDependencyPropertyChanged(UIElement.IsMouseCapturedChangedKey, args); 2365public static readonly DependencyProperty IsMouseCaptureWithinProperty = UIElement.IsMouseCaptureWithinProperty.AddOwner(_typeofThis); 2372add { EventHandlersStoreAdd(UIElement.IsMouseCaptureWithinChangedKey, value); } 2373remove { EventHandlersStoreRemove(UIElement.IsMouseCaptureWithinChangedKey, value); } 2389RaiseDependencyPropertyChanged(UIElement.IsMouseCaptureWithinChangedKey, args); 2395public static readonly DependencyProperty IsStylusDirectlyOverProperty = UIElement.IsStylusDirectlyOverProperty.AddOwner(_typeofThis); 2407add { EventHandlersStoreAdd(UIElement.IsStylusDirectlyOverChangedKey, value); } 2408remove { EventHandlersStoreRemove(UIElement.IsStylusDirectlyOverChangedKey, value); } 2424RaiseDependencyPropertyChanged(UIElement.IsStylusDirectlyOverChangedKey, args); 2430public static readonly DependencyProperty IsStylusCapturedProperty = UIElement.IsStylusCapturedProperty.AddOwner(_typeofThis); 2442add { EventHandlersStoreAdd(UIElement.IsStylusCapturedChangedKey, value); } 2443remove { EventHandlersStoreRemove(UIElement.IsStylusCapturedChangedKey, value); } 2459RaiseDependencyPropertyChanged(UIElement.IsStylusCapturedChangedKey, args); 2465public static readonly DependencyProperty IsStylusCaptureWithinProperty = UIElement.IsStylusCaptureWithinProperty.AddOwner(_typeofThis); 2472add { EventHandlersStoreAdd(UIElement.IsStylusCaptureWithinChangedKey, value); } 2473remove { EventHandlersStoreRemove(UIElement.IsStylusCaptureWithinChangedKey, value); } 2489RaiseDependencyPropertyChanged(UIElement.IsStylusCaptureWithinChangedKey, args); 2495public static readonly DependencyProperty IsKeyboardFocusedProperty = UIElement.IsKeyboardFocusedProperty.AddOwner(_typeofThis); 2507add { EventHandlersStoreAdd(UIElement.IsKeyboardFocusedChangedKey, value); } 2508remove { EventHandlersStoreRemove(UIElement.IsKeyboardFocusedChangedKey, value); } 2524RaiseDependencyPropertyChanged(UIElement.IsKeyboardFocusedChangedKey, args); 2530public static readonly DependencyProperty AreAnyTouchesDirectlyOverProperty = UIElement.AreAnyTouchesDirectlyOverProperty.AddOwner(_typeofThis); 2535public static readonly DependencyProperty AreAnyTouchesOverProperty = UIElement.AreAnyTouchesOverProperty.AddOwner(_typeofThis); 2540public static readonly DependencyProperty AreAnyTouchesCapturedProperty = UIElement.AreAnyTouchesCapturedProperty.AddOwner(_typeofThis); 2545public static readonly DependencyProperty AreAnyTouchesCapturedWithinProperty = UIElement.AreAnyTouchesCapturedWithinProperty.AddOwner(_typeofThis);
System\Windows\Generated\UIElement.cs (293)
30static private readonly Type _typeofThis = typeof(UIElement); 384UIElement.BuildRouteHelper(this, route, args); 393/// <see cref="UIElement.BuildRoute"/> and 407UIElement.RaiseEventImpl(this, e); 426UIElement.RaiseEventImpl(this, args); 439UIElement.RaiseEventImpl(this, args); 740EventManager.RegisterClassHandler(type, Mouse.PreviewMouseDownEvent, new MouseButtonEventHandler(UIElement.OnPreviewMouseDownThunk), true); 741EventManager.RegisterClassHandler(type, Mouse.MouseDownEvent, new MouseButtonEventHandler(UIElement.OnMouseDownThunk), true); 742EventManager.RegisterClassHandler(type, Mouse.PreviewMouseUpEvent, new MouseButtonEventHandler(UIElement.OnPreviewMouseUpThunk), true); 743EventManager.RegisterClassHandler(type, Mouse.MouseUpEvent, new MouseButtonEventHandler(UIElement.OnMouseUpThunk), true); 744EventManager.RegisterClassHandler(type, UIElement.PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(UIElement.OnPreviewMouseLeftButtonDownThunk), false); 745EventManager.RegisterClassHandler(type, UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(UIElement.OnMouseLeftButtonDownThunk), false); 746EventManager.RegisterClassHandler(type, UIElement.PreviewMouseLeftButtonUpEvent, new MouseButtonEventHandler(UIElement.OnPreviewMouseLeftButtonUpThunk), false); 747EventManager.RegisterClassHandler(type, UIElement.MouseLeftButtonUpEvent, new MouseButtonEventHandler(UIElement.OnMouseLeftButtonUpThunk), false); 748EventManager.RegisterClassHandler(type, UIElement.PreviewMouseRightButtonDownEvent, new MouseButtonEventHandler(UIElement.OnPreviewMouseRightButtonDownThunk), false); 749EventManager.RegisterClassHandler(type, UIElement.MouseRightButtonDownEvent, new MouseButtonEventHandler(UIElement.OnMouseRightButtonDownThunk), false); 750EventManager.RegisterClassHandler(type, UIElement.PreviewMouseRightButtonUpEvent, new MouseButtonEventHandler(UIElement.OnPreviewMouseRightButtonUpThunk), false); 751EventManager.RegisterClassHandler(type, UIElement.MouseRightButtonUpEvent, new MouseButtonEventHandler(UIElement.OnMouseRightButtonUpThunk), false); 752EventManager.RegisterClassHandler(type, Mouse.PreviewMouseMoveEvent, new MouseEventHandler(UIElement.OnPreviewMouseMoveThunk), false); 753EventManager.RegisterClassHandler(type, Mouse.MouseMoveEvent, new MouseEventHandler(UIElement.OnMouseMoveThunk), false); 754EventManager.RegisterClassHandler(type, Mouse.PreviewMouseWheelEvent, new MouseWheelEventHandler(UIElement.OnPreviewMouseWheelThunk), false); 755EventManager.RegisterClassHandler(type, Mouse.MouseWheelEvent, new MouseWheelEventHandler(UIElement.OnMouseWheelThunk), false); 756EventManager.RegisterClassHandler(type, Mouse.MouseEnterEvent, new MouseEventHandler(UIElement.OnMouseEnterThunk), false); 757EventManager.RegisterClassHandler(type, Mouse.MouseLeaveEvent, new MouseEventHandler(UIElement.OnMouseLeaveThunk), false); 758EventManager.RegisterClassHandler(type, Mouse.GotMouseCaptureEvent, new MouseEventHandler(UIElement.OnGotMouseCaptureThunk), false); 759EventManager.RegisterClassHandler(type, Mouse.LostMouseCaptureEvent, new MouseEventHandler(UIElement.OnLostMouseCaptureThunk), false); 760EventManager.RegisterClassHandler(type, Mouse.QueryCursorEvent, new QueryCursorEventHandler(UIElement.OnQueryCursorThunk), false); 761EventManager.RegisterClassHandler(type, Stylus.PreviewStylusDownEvent, new StylusDownEventHandler(UIElement.OnPreviewStylusDownThunk), false); 762EventManager.RegisterClassHandler(type, Stylus.StylusDownEvent, new StylusDownEventHandler(UIElement.OnStylusDownThunk), false); 763EventManager.RegisterClassHandler(type, Stylus.PreviewStylusUpEvent, new StylusEventHandler(UIElement.OnPreviewStylusUpThunk), false); 764EventManager.RegisterClassHandler(type, Stylus.StylusUpEvent, new StylusEventHandler(UIElement.OnStylusUpThunk), false); 765EventManager.RegisterClassHandler(type, Stylus.PreviewStylusMoveEvent, new StylusEventHandler(UIElement.OnPreviewStylusMoveThunk), false); 766EventManager.RegisterClassHandler(type, Stylus.StylusMoveEvent, new StylusEventHandler(UIElement.OnStylusMoveThunk), false); 767EventManager.RegisterClassHandler(type, Stylus.PreviewStylusInAirMoveEvent, new StylusEventHandler(UIElement.OnPreviewStylusInAirMoveThunk), false); 768EventManager.RegisterClassHandler(type, Stylus.StylusInAirMoveEvent, new StylusEventHandler(UIElement.OnStylusInAirMoveThunk), false); 769EventManager.RegisterClassHandler(type, Stylus.StylusEnterEvent, new StylusEventHandler(UIElement.OnStylusEnterThunk), false); 770EventManager.RegisterClassHandler(type, Stylus.StylusLeaveEvent, new StylusEventHandler(UIElement.OnStylusLeaveThunk), false); 771EventManager.RegisterClassHandler(type, Stylus.PreviewStylusInRangeEvent, new StylusEventHandler(UIElement.OnPreviewStylusInRangeThunk), false); 772EventManager.RegisterClassHandler(type, Stylus.StylusInRangeEvent, new StylusEventHandler(UIElement.OnStylusInRangeThunk), false); 773EventManager.RegisterClassHandler(type, Stylus.PreviewStylusOutOfRangeEvent, new StylusEventHandler(UIElement.OnPreviewStylusOutOfRangeThunk), false); 774EventManager.RegisterClassHandler(type, Stylus.StylusOutOfRangeEvent, new StylusEventHandler(UIElement.OnStylusOutOfRangeThunk), false); 775EventManager.RegisterClassHandler(type, Stylus.PreviewStylusSystemGestureEvent, new StylusSystemGestureEventHandler(UIElement.OnPreviewStylusSystemGestureThunk), false); 776EventManager.RegisterClassHandler(type, Stylus.StylusSystemGestureEvent, new StylusSystemGestureEventHandler(UIElement.OnStylusSystemGestureThunk), false); 777EventManager.RegisterClassHandler(type, Stylus.GotStylusCaptureEvent, new StylusEventHandler(UIElement.OnGotStylusCaptureThunk), false); 778EventManager.RegisterClassHandler(type, Stylus.LostStylusCaptureEvent, new StylusEventHandler(UIElement.OnLostStylusCaptureThunk), false); 779EventManager.RegisterClassHandler(type, Stylus.StylusButtonDownEvent, new StylusButtonEventHandler(UIElement.OnStylusButtonDownThunk), false); 780EventManager.RegisterClassHandler(type, Stylus.StylusButtonUpEvent, new StylusButtonEventHandler(UIElement.OnStylusButtonUpThunk), false); 781EventManager.RegisterClassHandler(type, Stylus.PreviewStylusButtonDownEvent, new StylusButtonEventHandler(UIElement.OnPreviewStylusButtonDownThunk), false); 782EventManager.RegisterClassHandler(type, Stylus.PreviewStylusButtonUpEvent, new StylusButtonEventHandler(UIElement.OnPreviewStylusButtonUpThunk), false); 783EventManager.RegisterClassHandler(type, Keyboard.PreviewKeyDownEvent, new KeyEventHandler(UIElement.OnPreviewKeyDownThunk), false); 784EventManager.RegisterClassHandler(type, Keyboard.KeyDownEvent, new KeyEventHandler(UIElement.OnKeyDownThunk), false); 785EventManager.RegisterClassHandler(type, Keyboard.PreviewKeyUpEvent, new KeyEventHandler(UIElement.OnPreviewKeyUpThunk), false); 786EventManager.RegisterClassHandler(type, Keyboard.KeyUpEvent, new KeyEventHandler(UIElement.OnKeyUpThunk), false); 787EventManager.RegisterClassHandler(type, Keyboard.PreviewGotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(UIElement.OnPreviewGotKeyboardFocusThunk), false); 788EventManager.RegisterClassHandler(type, Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(UIElement.OnGotKeyboardFocusThunk), false); 789EventManager.RegisterClassHandler(type, Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(UIElement.OnPreviewLostKeyboardFocusThunk), false); 790EventManager.RegisterClassHandler(type, Keyboard.LostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(UIElement.OnLostKeyboardFocusThunk), false); 791EventManager.RegisterClassHandler(type, TextCompositionManager.PreviewTextInputEvent, new TextCompositionEventHandler(UIElement.OnPreviewTextInputThunk), false); 792EventManager.RegisterClassHandler(type, TextCompositionManager.TextInputEvent, new TextCompositionEventHandler(UIElement.OnTextInputThunk), false); 793EventManager.RegisterClassHandler(type, CommandManager.PreviewExecutedEvent, new ExecutedRoutedEventHandler(UIElement.OnPreviewExecutedThunk), false); 794EventManager.RegisterClassHandler(type, CommandManager.ExecutedEvent, new ExecutedRoutedEventHandler(UIElement.OnExecutedThunk), false); 795EventManager.RegisterClassHandler(type, CommandManager.PreviewCanExecuteEvent, new CanExecuteRoutedEventHandler(UIElement.OnPreviewCanExecuteThunk), false); 796EventManager.RegisterClassHandler(type, CommandManager.CanExecuteEvent, new CanExecuteRoutedEventHandler(UIElement.OnCanExecuteThunk), false); 797EventManager.RegisterClassHandler(type, CommandDevice.CommandDeviceEvent, new CommandDeviceEventHandler(UIElement.OnCommandDeviceThunk), false); 798EventManager.RegisterClassHandler(type, DragDrop.PreviewQueryContinueDragEvent, new QueryContinueDragEventHandler(UIElement.OnPreviewQueryContinueDragThunk), false); 799EventManager.RegisterClassHandler(type, DragDrop.QueryContinueDragEvent, new QueryContinueDragEventHandler(UIElement.OnQueryContinueDragThunk), false); 800EventManager.RegisterClassHandler(type, DragDrop.PreviewGiveFeedbackEvent, new GiveFeedbackEventHandler(UIElement.OnPreviewGiveFeedbackThunk), false); 801EventManager.RegisterClassHandler(type, DragDrop.GiveFeedbackEvent, new GiveFeedbackEventHandler(UIElement.OnGiveFeedbackThunk), false); 802EventManager.RegisterClassHandler(type, DragDrop.PreviewDragEnterEvent, new DragEventHandler(UIElement.OnPreviewDragEnterThunk), false); 803EventManager.RegisterClassHandler(type, DragDrop.DragEnterEvent, new DragEventHandler(UIElement.OnDragEnterThunk), false); 804EventManager.RegisterClassHandler(type, DragDrop.PreviewDragOverEvent, new DragEventHandler(UIElement.OnPreviewDragOverThunk), false); 805EventManager.RegisterClassHandler(type, DragDrop.DragOverEvent, new DragEventHandler(UIElement.OnDragOverThunk), false); 806EventManager.RegisterClassHandler(type, DragDrop.PreviewDragLeaveEvent, new DragEventHandler(UIElement.OnPreviewDragLeaveThunk), false); 807EventManager.RegisterClassHandler(type, DragDrop.DragLeaveEvent, new DragEventHandler(UIElement.OnDragLeaveThunk), false); 808EventManager.RegisterClassHandler(type, DragDrop.PreviewDropEvent, new DragEventHandler(UIElement.OnPreviewDropThunk), false); 809EventManager.RegisterClassHandler(type, DragDrop.DropEvent, new DragEventHandler(UIElement.OnDropThunk), false); 810EventManager.RegisterClassHandler(type, Touch.PreviewTouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchDownThunk), false); 811EventManager.RegisterClassHandler(type, Touch.TouchDownEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchDownThunk), false); 812EventManager.RegisterClassHandler(type, Touch.PreviewTouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchMoveThunk), false); 813EventManager.RegisterClassHandler(type, Touch.TouchMoveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchMoveThunk), false); 814EventManager.RegisterClassHandler(type, Touch.PreviewTouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnPreviewTouchUpThunk), false); 815EventManager.RegisterClassHandler(type, Touch.TouchUpEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchUpThunk), false); 816EventManager.RegisterClassHandler(type, Touch.GotTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnGotTouchCaptureThunk), false); 817EventManager.RegisterClassHandler(type, Touch.LostTouchCaptureEvent, new EventHandler<TouchEventArgs>(UIElement.OnLostTouchCaptureThunk), false); 818EventManager.RegisterClassHandler(type, Touch.TouchEnterEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchEnterThunk), false); 819EventManager.RegisterClassHandler(type, Touch.TouchLeaveEvent, new EventHandler<TouchEventArgs>(UIElement.OnTouchLeaveThunk), false); 828UIElement uie = sender as UIElement; 850UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 862UIElement uie = sender as UIElement; 884UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 891UIElement uie = sender as UIElement; 913UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 920UIElement uie = sender as UIElement; 942UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 949UIElement uie = sender as UIElement; 974UIElement uie = sender as UIElement; 999UIElement uie = sender as UIElement; 1024UIElement uie = sender as UIElement; 1049UIElement uie = sender as UIElement; 1074UIElement uie = sender as UIElement; 1099UIElement uie = sender as UIElement; 1124UIElement uie = sender as UIElement; 1149UIElement uie = sender as UIElement; 1174UIElement uie = sender as UIElement; 1199UIElement uie = sender as UIElement; 1228UIElement uie = sender as UIElement; 1254UIElement uie = sender as UIElement; 1279UIElement uie = sender as UIElement; 1304UIElement uie = sender as UIElement; 1329UIElement uie = sender as UIElement; 1354UIElement uie = sender as UIElement; 1379UIElement uie = sender as UIElement; 1404UIElement uie = sender as UIElement; 1429UIElement uie = sender as UIElement; 1454UIElement uie = sender as UIElement; 1479UIElement uie = sender as UIElement; 1504UIElement uie = sender as UIElement; 1529UIElement uie = sender as UIElement; 1554UIElement uie = sender as UIElement; 1579UIElement uie = sender as UIElement; 1604UIElement uie = sender as UIElement; 1629UIElement uie = sender as UIElement; 1654UIElement uie = sender as UIElement; 1679UIElement uie = sender as UIElement; 1704UIElement uie = sender as UIElement; 1729UIElement uie = sender as UIElement; 1754UIElement uie = sender as UIElement; 1779UIElement uie = sender as UIElement; 1804UIElement uie = sender as UIElement; 1829UIElement uie = sender as UIElement; 1854UIElement uie = sender as UIElement; 1879UIElement uie = sender as UIElement; 1904UIElement uie = sender as UIElement; 1929UIElement uie = sender as UIElement; 1958UIElement uie = sender as UIElement; 1984UIElement uie = sender as UIElement; 2009UIElement uie = sender as UIElement; 2034UIElement uie = sender as UIElement; 2059UIElement uie = sender as UIElement; 2084UIElement uie = sender as UIElement; 2109UIElement uie = sender as UIElement; 2134UIElement uie = sender as UIElement; 2159UIElement uie = sender as UIElement; 2224UIElement uie = sender as UIElement; 2249UIElement uie = sender as UIElement; 2274UIElement uie = sender as UIElement; 2299UIElement uie = sender as UIElement; 2324UIElement uie = sender as UIElement; 2349UIElement uie = sender as UIElement; 2374UIElement uie = sender as UIElement; 2399UIElement uie = sender as UIElement; 2424UIElement uie = sender as UIElement; 2449UIElement uie = sender as UIElement; 2474UIElement uie = sender as UIElement; 2499UIElement uie = sender as UIElement; 2524UIElement uie = sender as UIElement; 2549UIElement uie = sender as UIElement; 2574UIElement uie = sender as UIElement; 2599UIElement uie = sender as UIElement; 2624UIElement uie = sender as UIElement; 2649UIElement uie = sender as UIElement; 2674UIElement uie = sender as UIElement; 2699UIElement uie = sender as UIElement; 2724UIElement uie = sender as UIElement; 2749UIElement uie = sender as UIElement; 2856add { AddHandler(UIElement.PreviewMouseLeftButtonDownEvent, value, false); } 2857remove { RemoveHandler(UIElement.PreviewMouseLeftButtonDownEvent, value); } 2875add { AddHandler(UIElement.MouseLeftButtonDownEvent, value, false); } 2876remove { RemoveHandler(UIElement.MouseLeftButtonDownEvent, value); } 2894add { AddHandler(UIElement.PreviewMouseLeftButtonUpEvent, value, false); } 2895remove { RemoveHandler(UIElement.PreviewMouseLeftButtonUpEvent, value); } 2913add { AddHandler(UIElement.MouseLeftButtonUpEvent, value, false); } 2914remove { RemoveHandler(UIElement.MouseLeftButtonUpEvent, value); } 2932add { AddHandler(UIElement.PreviewMouseRightButtonDownEvent, value, false); } 2933remove { RemoveHandler(UIElement.PreviewMouseRightButtonDownEvent, value); } 2951add { AddHandler(UIElement.MouseRightButtonDownEvent, value, false); } 2952remove { RemoveHandler(UIElement.MouseRightButtonDownEvent, value); } 2970add { AddHandler(UIElement.PreviewMouseRightButtonUpEvent, value, false); } 2971remove { RemoveHandler(UIElement.PreviewMouseRightButtonUpEvent, value); } 2989add { AddHandler(UIElement.MouseRightButtonUpEvent, value, false); } 2990remove { RemoveHandler(UIElement.MouseRightButtonUpEvent, value); } 4225((UIElement) d).RaiseIsMouseDirectlyOverChanged(e); 4239add { EventHandlersStoreAdd(UIElement.IsMouseDirectlyOverChangedKey, value); } 4240remove { EventHandlersStoreRemove(UIElement.IsMouseDirectlyOverChangedKey, value); } 4256RaiseDependencyPropertyChanged(UIElement.IsMouseDirectlyOverChangedKey, args); 4321add { EventHandlersStoreAdd(UIElement.IsKeyboardFocusWithinChangedKey, value); } 4322remove { EventHandlersStoreRemove(UIElement.IsKeyboardFocusWithinChangedKey, value); } 4338RaiseDependencyPropertyChanged(UIElement.IsKeyboardFocusWithinChangedKey, args); 4361((UIElement) d).RaiseIsMouseCapturedChanged(e); 4375add { EventHandlersStoreAdd(UIElement.IsMouseCapturedChangedKey, value); } 4376remove { EventHandlersStoreRemove(UIElement.IsMouseCapturedChangedKey, value); } 4392RaiseDependencyPropertyChanged(UIElement.IsMouseCapturedChangedKey, args); 4423add { EventHandlersStoreAdd(UIElement.IsMouseCaptureWithinChangedKey, value); } 4424remove { EventHandlersStoreRemove(UIElement.IsMouseCaptureWithinChangedKey, value); } 4440RaiseDependencyPropertyChanged(UIElement.IsMouseCaptureWithinChangedKey, args); 4463((UIElement) d).RaiseIsStylusDirectlyOverChanged(e); 4477add { EventHandlersStoreAdd(UIElement.IsStylusDirectlyOverChangedKey, value); } 4478remove { EventHandlersStoreRemove(UIElement.IsStylusDirectlyOverChangedKey, value); } 4494RaiseDependencyPropertyChanged(UIElement.IsStylusDirectlyOverChangedKey, args); 4517((UIElement) d).RaiseIsStylusCapturedChanged(e); 4531add { EventHandlersStoreAdd(UIElement.IsStylusCapturedChangedKey, value); } 4532remove { EventHandlersStoreRemove(UIElement.IsStylusCapturedChangedKey, value); } 4548RaiseDependencyPropertyChanged(UIElement.IsStylusCapturedChangedKey, args); 4579add { EventHandlersStoreAdd(UIElement.IsStylusCaptureWithinChangedKey, value); } 4580remove { EventHandlersStoreRemove(UIElement.IsStylusCaptureWithinChangedKey, value); } 4596RaiseDependencyPropertyChanged(UIElement.IsStylusCaptureWithinChangedKey, args); 4619((UIElement) d).RaiseIsKeyboardFocusedChanged(e); 4633add { EventHandlersStoreAdd(UIElement.IsKeyboardFocusedChangedKey, value); } 4634remove { EventHandlersStoreRemove(UIElement.IsKeyboardFocusedChangedKey, value); } 4650RaiseDependencyPropertyChanged(UIElement.IsKeyboardFocusedChangedKey, args);
System\Windows\Generated\UIElement3D.cs (66)
181UIElement.BuildRouteHelper(this, route, args); 204UIElement.RaiseEventImpl(this, e); 223UIElement.RaiseEventImpl(this, args); 236UIElement.RaiseEventImpl(this, args); 617public static readonly RoutedEvent PreviewMouseLeftButtonDownEvent = UIElement.PreviewMouseLeftButtonDownEvent.AddOwner(_typeofThis); 624add { AddHandler(UIElement.PreviewMouseLeftButtonDownEvent, value, false); } 625remove { RemoveHandler(UIElement.PreviewMouseLeftButtonDownEvent, value); } 636public static readonly RoutedEvent MouseLeftButtonDownEvent = UIElement.MouseLeftButtonDownEvent.AddOwner(_typeofThis); 643add { AddHandler(UIElement.MouseLeftButtonDownEvent, value, false); } 644remove { RemoveHandler(UIElement.MouseLeftButtonDownEvent, value); } 655public static readonly RoutedEvent PreviewMouseLeftButtonUpEvent = UIElement.PreviewMouseLeftButtonUpEvent.AddOwner(_typeofThis); 662add { AddHandler(UIElement.PreviewMouseLeftButtonUpEvent, value, false); } 663remove { RemoveHandler(UIElement.PreviewMouseLeftButtonUpEvent, value); } 674public static readonly RoutedEvent MouseLeftButtonUpEvent = UIElement.MouseLeftButtonUpEvent.AddOwner(_typeofThis); 681add { AddHandler(UIElement.MouseLeftButtonUpEvent, value, false); } 682remove { RemoveHandler(UIElement.MouseLeftButtonUpEvent, value); } 693public static readonly RoutedEvent PreviewMouseRightButtonDownEvent = UIElement.PreviewMouseRightButtonDownEvent.AddOwner(_typeofThis); 700add { AddHandler(UIElement.PreviewMouseRightButtonDownEvent, value, false); } 701remove { RemoveHandler(UIElement.PreviewMouseRightButtonDownEvent, value); } 712public static readonly RoutedEvent MouseRightButtonDownEvent = UIElement.MouseRightButtonDownEvent.AddOwner(_typeofThis); 719add { AddHandler(UIElement.MouseRightButtonDownEvent, value, false); } 720remove { RemoveHandler(UIElement.MouseRightButtonDownEvent, value); } 731public static readonly RoutedEvent PreviewMouseRightButtonUpEvent = UIElement.PreviewMouseRightButtonUpEvent.AddOwner(_typeofThis); 738add { AddHandler(UIElement.PreviewMouseRightButtonUpEvent, value, false); } 739remove { RemoveHandler(UIElement.PreviewMouseRightButtonUpEvent, value); } 750public static readonly RoutedEvent MouseRightButtonUpEvent = UIElement.MouseRightButtonUpEvent.AddOwner(_typeofThis); 757add { AddHandler(UIElement.MouseRightButtonUpEvent, value, false); } 758remove { RemoveHandler(UIElement.MouseRightButtonUpEvent, value); } 1976public static readonly DependencyProperty IsMouseDirectlyOverProperty = UIElement.IsMouseDirectlyOverProperty.AddOwner(_typeofThis); 1988add { EventHandlersStoreAdd(UIElement.IsMouseDirectlyOverChangedKey, value); } 1989remove { EventHandlersStoreRemove(UIElement.IsMouseDirectlyOverChangedKey, value); } 2005RaiseDependencyPropertyChanged(UIElement.IsMouseDirectlyOverChangedKey, args); 2011public static readonly DependencyProperty IsMouseOverProperty = UIElement.IsMouseOverProperty.AddOwner(_typeofThis); 2016public static readonly DependencyProperty IsStylusOverProperty = UIElement.IsStylusOverProperty.AddOwner(_typeofThis); 2021public static readonly DependencyProperty IsKeyboardFocusWithinProperty = UIElement.IsKeyboardFocusWithinProperty.AddOwner(_typeofThis); 2028add { EventHandlersStoreAdd(UIElement.IsKeyboardFocusWithinChangedKey, value); } 2029remove { EventHandlersStoreRemove(UIElement.IsKeyboardFocusWithinChangedKey, value); } 2045RaiseDependencyPropertyChanged(UIElement.IsKeyboardFocusWithinChangedKey, args); 2051public static readonly DependencyProperty IsMouseCapturedProperty = UIElement.IsMouseCapturedProperty.AddOwner(_typeofThis); 2063add { EventHandlersStoreAdd(UIElement.IsMouseCapturedChangedKey, value); } 2064remove { EventHandlersStoreRemove(UIElement.IsMouseCapturedChangedKey, value); } 2080RaiseDependencyPropertyChanged(UIElement.IsMouseCapturedChangedKey, args); 2086public static readonly DependencyProperty IsMouseCaptureWithinProperty = UIElement.IsMouseCaptureWithinProperty.AddOwner(_typeofThis); 2093add { EventHandlersStoreAdd(UIElement.IsMouseCaptureWithinChangedKey, value); } 2094remove { EventHandlersStoreRemove(UIElement.IsMouseCaptureWithinChangedKey, value); } 2110RaiseDependencyPropertyChanged(UIElement.IsMouseCaptureWithinChangedKey, args); 2116public static readonly DependencyProperty IsStylusDirectlyOverProperty = UIElement.IsStylusDirectlyOverProperty.AddOwner(_typeofThis); 2128add { EventHandlersStoreAdd(UIElement.IsStylusDirectlyOverChangedKey, value); } 2129remove { EventHandlersStoreRemove(UIElement.IsStylusDirectlyOverChangedKey, value); } 2145RaiseDependencyPropertyChanged(UIElement.IsStylusDirectlyOverChangedKey, args); 2151public static readonly DependencyProperty IsStylusCapturedProperty = UIElement.IsStylusCapturedProperty.AddOwner(_typeofThis); 2163add { EventHandlersStoreAdd(UIElement.IsStylusCapturedChangedKey, value); } 2164remove { EventHandlersStoreRemove(UIElement.IsStylusCapturedChangedKey, value); } 2180RaiseDependencyPropertyChanged(UIElement.IsStylusCapturedChangedKey, args); 2186public static readonly DependencyProperty IsStylusCaptureWithinProperty = UIElement.IsStylusCaptureWithinProperty.AddOwner(_typeofThis); 2193add { EventHandlersStoreAdd(UIElement.IsStylusCaptureWithinChangedKey, value); } 2194remove { EventHandlersStoreRemove(UIElement.IsStylusCaptureWithinChangedKey, value); } 2210RaiseDependencyPropertyChanged(UIElement.IsStylusCaptureWithinChangedKey, args); 2216public static readonly DependencyProperty IsKeyboardFocusedProperty = UIElement.IsKeyboardFocusedProperty.AddOwner(_typeofThis); 2228add { EventHandlersStoreAdd(UIElement.IsKeyboardFocusedChangedKey, value); } 2229remove { EventHandlersStoreRemove(UIElement.IsKeyboardFocusedChangedKey, value); } 2245RaiseDependencyPropertyChanged(UIElement.IsKeyboardFocusedChangedKey, args); 2251public static readonly DependencyProperty AreAnyTouchesDirectlyOverProperty = UIElement.AreAnyTouchesDirectlyOverProperty.AddOwner(_typeofThis); 2256public static readonly DependencyProperty AreAnyTouchesOverProperty = UIElement.AreAnyTouchesOverProperty.AddOwner(_typeofThis); 2261public static readonly DependencyProperty AreAnyTouchesCapturedProperty = UIElement.AreAnyTouchesCapturedProperty.AddOwner(_typeofThis); 2266public static readonly DependencyProperty AreAnyTouchesCapturedWithinProperty = UIElement.AreAnyTouchesCapturedWithinProperty.AddOwner(_typeofThis);
System\Windows\GlobalEventManager.cs (2)
60typeof(UIElement).IsAssignableFrom(classType) || 408if (dType.SystemType == typeof(UIElement) || dType.SystemType == typeof(ContentElement))
System\Windows\IContentHost.cs (1)
74void OnChildDesiredSizeChanged(UIElement child);
System\Windows\Input\AccessKeyManager.cs (11)
158UIElement.AddHandler(element, AccessKeyPressedEvent, handler); 168UIElement.RemoveHandler(element, AccessKeyPressedEvent, handler); 246UIElement invokeUIElement = null; 252UIElement target = targets[i] as UIElement; 514UIElement uiElem = element as UIElement; 541return ((bool)element.GetValue(UIElement.IsEnabledProperty)); 559public UIElement target; 798public UIElement Target 833private UIElement _target;
System\Windows\Input\Command\CommandManager.cs (14)
58public static void AddPreviewExecutedHandler(UIElement element, ExecutedRoutedEventHandler handler) 71public static void RemovePreviewExecutedHandler(UIElement element, ExecutedRoutedEventHandler handler) 93public static void AddExecutedHandler(UIElement element, ExecutedRoutedEventHandler handler) 106public static void RemoveExecutedHandler(UIElement element, ExecutedRoutedEventHandler handler) 128public static void AddPreviewCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 141public static void RemovePreviewCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 163public static void AddCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 176public static void RemoveCanExecuteHandler(UIElement element, CanExecuteRoutedEventHandler handler) 294bool isUIElement = targetElementAsDO is UIElement; 302localInputBindings = ((UIElement)targetElement).InputBindingsInternal; 356localCommandBindings = ((UIElement)targetElement).CommandBindingsInternal; 545UIElement uiElement => uiElement.CommandBindingsInternal, 709UIElement element = childScope as UIElement;
System\Windows\Input\Command\RoutedCommand.cs (3)
358if (targetAsDO is UIElement uie) 386UIElement targetUIElement = target as UIElement;
System\Windows\Input\FocusManager.cs (8)
45UIElement.AddHandler(element, GotFocusEvent, handler); 55UIElement.RemoveHandler(element, GotFocusEvent, handler); 70UIElement.AddHandler(element, LostFocusEvent, handler); 80UIElement.RemoveHandler(element, LostFocusEvent, handler); 223oldVisual.ClearValue(UIElement.IsFocusedPropertyKey); 232newVisual.SetValue(UIElement.IsFocusedPropertyKey, BooleanBoxes.TrueBox); 350UIElement uiElement = d as UIElement;
System\Windows\Input\InputElement.cs (5)
28return o is UIElement or ContentElement or UIElement3D; 39if(o is UIElement) 99if(o is UIElement uiElement) 146if(o is UIElement uiElement) 356private static DependencyObjectType UIElementType = DependencyObjectType.FromSystemTypeInternal(typeof(UIElement));
System\Windows\Input\InputManager.cs (1)
789if (eventSource is UIElement e)
System\Windows\Input\InputMethod.cs (4)
469public void ShowConfigureUI(UIElement element) 505public void ShowRegisterWordUI(UIElement element, string registeredText) 1496private bool _ShowConfigureUI(UIElement element, bool fShow) 1549private bool _ShowRegisterWordUI(UIElement element, bool fShow, string strRegister)
System\Windows\Input\Keyboard.cs (25)
36UIElement.AddHandler(element, PreviewKeyDownEvent, handler); 46UIElement.RemoveHandler(element, PreviewKeyDownEvent, handler); 61UIElement.AddHandler(element, KeyDownEvent, handler); 71UIElement.RemoveHandler(element, KeyDownEvent, handler); 86UIElement.AddHandler(element, PreviewKeyUpEvent, handler); 96UIElement.RemoveHandler(element, PreviewKeyUpEvent, handler); 111UIElement.AddHandler(element, KeyUpEvent, handler); 121UIElement.RemoveHandler(element, KeyUpEvent, handler); 136UIElement.AddHandler(element, PreviewGotKeyboardFocusEvent, handler); 146UIElement.RemoveHandler(element, PreviewGotKeyboardFocusEvent, handler); 161UIElement.AddHandler(element, PreviewKeyboardInputProviderAcquireFocusEvent, handler); 171UIElement.RemoveHandler(element, PreviewKeyboardInputProviderAcquireFocusEvent, handler); 186UIElement.AddHandler(element, KeyboardInputProviderAcquireFocusEvent, handler); 196UIElement.RemoveHandler(element, KeyboardInputProviderAcquireFocusEvent, handler); 211UIElement.AddHandler(element, GotKeyboardFocusEvent, handler); 221UIElement.RemoveHandler(element, GotKeyboardFocusEvent, handler); 236UIElement.AddHandler(element, PreviewLostKeyboardFocusEvent, handler); 246UIElement.RemoveHandler(element, PreviewLostKeyboardFocusEvent, handler); 261UIElement.AddHandler(element, LostKeyboardFocusEvent, handler); 271UIElement.RemoveHandler(element, LostKeyboardFocusEvent, handler); 389UIElement uie = element as UIElement; 398if((bool)element.GetValue(UIElement.IsEnabledProperty) == false) 409BaseValueSourceInternal valueSource = element.GetValueSource(UIElement.FocusableProperty, null, out hasModifiers); 410bool focusable = (bool) element.GetValue(UIElement.FocusableProperty);
System\Windows\Input\KeyboardDevice.cs (6)
391if (o is UIElement uie) 417if (o is UIElement uie) 445UIElement.FocusWithinProperty.OnOriginValueChanged(oldFocus, _focus, ref _focusTreeState); 451o.SetValue(UIElement.IsKeyboardFocusedPropertyKey, false); // Same property for ContentElements 457o.SetValue(UIElement.IsKeyboardFocusedPropertyKey, true); // Same property for ContentElements 654UIElement.FocusWithinProperty.OnOriginValueChanged(_focus, _focus, ref _focusTreeState);
System\Windows\Input\Manipulation.cs (18)
35public static bool IsManipulationActive(UIElement element) 42private static ManipulationDevice GetActiveManipulationDevice(UIElement element) 60public static void StartInertia(UIElement element) 75public static void CompleteManipulation(UIElement element) 84internal static bool TryCompleteManipulation(UIElement element) 101public static void SetManipulationMode(UIElement element, ManipulationModes mode) 121public static ManipulationModes GetManipulationMode(UIElement element) 142public static void SetManipulationContainer(UIElement element, IInputElement container) 163public static IInputElement GetManipulationContainer(UIElement element) 181public static void SetManipulationPivot(UIElement element, ManipulationPivot pivot) 201public static ManipulationPivot GetManipulationPivot(UIElement element) 220public static void AddManipulator(UIElement element, IManipulator manipulator) 239public static void RemoveManipulator(UIElement element, IManipulator manipulator) 250internal static bool TryRemoveManipulator(UIElement element, IManipulator manipulator) 268public static void SetManipulationParameter(UIElement element, ManipulationParameters2D parameter) 299internal static UIElement FindManipulationParent(Visual visual) 303UIElement element = visual as UIElement;
System\Windows\Input\ManipulationDevice.cs (7)
33private ManipulationDevice(UIElement element) : base() 82internal static ManipulationDevice AddManipulationDevice(UIElement element) 93_manipulationDevices = new Dictionary<UIElement, ManipulationDevice>(2); 111internal static ManipulationDevice GetManipulationDevice(UIElement element) 259foreach (UIElement element in _manipulationDevices.Keys) 520private UIElement _target; 533private static Dictionary<UIElement, ManipulationDevice> _manipulationDevices;
System\Windows\Input\ManipulationLogic.cs (10)
533UIElement uie = _currentContainer as UIElement; 584_root = presentationSource.RootVisual as UIElement; 623UIElement container = _currentContainer as UIElement; 632UIElement container = _currentContainer as UIElement; 669UIElement container = _currentContainer as UIElement; 742private UIElement _root;
System\Windows\Input\Mouse.cs (30)
37UIElement.AddHandler(element, PreviewMouseMoveEvent, handler); 47UIElement.RemoveHandler(element, PreviewMouseMoveEvent, handler); 62UIElement.AddHandler(element, MouseMoveEvent, handler); 72UIElement.RemoveHandler(element, MouseMoveEvent, handler); 87UIElement.AddHandler(element, PreviewMouseDownOutsideCapturedElementEvent, handler); 97UIElement.RemoveHandler(element, PreviewMouseDownOutsideCapturedElementEvent, handler); 112UIElement.AddHandler(element, PreviewMouseUpOutsideCapturedElementEvent, handler); 122UIElement.RemoveHandler(element, PreviewMouseUpOutsideCapturedElementEvent, handler); 137UIElement.AddHandler(element, PreviewMouseDownEvent, handler); 147UIElement.RemoveHandler(element, PreviewMouseDownEvent, handler); 162UIElement.AddHandler(element, MouseDownEvent, handler); 172UIElement.RemoveHandler(element, MouseDownEvent, handler); 187UIElement.AddHandler(element, PreviewMouseUpEvent, handler); 197UIElement.RemoveHandler(element, PreviewMouseUpEvent, handler); 212UIElement.AddHandler(element, MouseUpEvent, handler); 222UIElement.RemoveHandler(element, MouseUpEvent, handler); 237UIElement.AddHandler(element, PreviewMouseWheelEvent, handler); 247UIElement.RemoveHandler(element, PreviewMouseWheelEvent, handler); 262UIElement.AddHandler(element, MouseWheelEvent, handler); 272UIElement.RemoveHandler(element, MouseWheelEvent, handler); 287UIElement.AddHandler(element, MouseEnterEvent, handler); 297UIElement.RemoveHandler(element, MouseEnterEvent, handler); 312UIElement.AddHandler(element, MouseLeaveEvent, handler); 322UIElement.RemoveHandler(element, MouseLeaveEvent, handler); 337UIElement.AddHandler(element, GotMouseCaptureEvent, handler); 347UIElement.RemoveHandler(element, GotMouseCaptureEvent, handler); 362UIElement.AddHandler(element, LostMouseCaptureEvent, handler); 372UIElement.RemoveHandler(element, LostMouseCaptureEvent, handler); 387UIElement.AddHandler(element, QueryCursorEvent, handler); 397UIElement.RemoveHandler(element, QueryCursorEvent, handler);
System\Windows\Input\MouseDevice.cs (21)
317if (element is UIElement) 319UIElement e = element as UIElement; 665UIElement.MouseOverProperty.OnOriginValueChanged(_mouseOver as DependencyObject, _mouseOver as DependencyObject, ref _mouseOverTreeState); 718if (dependencyObject is UIElement uie) 757UIElement.MouseCaptureWithinProperty.OnOriginValueChanged(_mouseCapture as DependencyObject, _mouseCapture as DependencyObject, ref _mouseCaptureWithinTreeState); 763private bool ValidateUIElementForCapture(UIElement element) 972if (o is UIElement uie) 997if (o is UIElement uie) 1024UIElement.MouseOverProperty.OnOriginValueChanged(oldMouseOver as DependencyObject, _mouseOver as DependencyObject, ref _mouseOverTreeState); 1030o.SetValue(UIElement.IsMouseDirectlyOverPropertyKey, false); // Same property for ContentElements 1035o.SetValue(UIElement.IsMouseDirectlyOverPropertyKey, true); // Same property for ContentElements 1066if (o is UIElement uie) 1091if (o is UIElement uie) 1118UIElement.MouseCaptureWithinProperty.OnOriginValueChanged(oldMouseCapture as DependencyObject, _mouseCapture as DependencyObject, ref _mouseCaptureWithinTreeState); 1124o.SetValue(UIElement.IsMouseCapturedPropertyKey, false); // Same property for ContentElements 1129o.SetValue(UIElement.IsMouseCapturedPropertyKey, true); // Same property for ContentElements 1581UIElement eTest = null; 1587eTest = ieTest as UIElement; 2133UIElement root = inputSource.RootVisual as UIElement;
System\Windows\Input\Stylus\Common\Stylus.cs (44)
32UIElement.AddHandler(element, PreviewStylusDownEvent, handler); 42UIElement.RemoveHandler(element, PreviewStylusDownEvent, handler); 57UIElement.AddHandler(element, StylusDownEvent, handler); 67UIElement.RemoveHandler(element, StylusDownEvent, handler); 82UIElement.AddHandler(element, PreviewStylusUpEvent, handler); 92UIElement.RemoveHandler(element, PreviewStylusUpEvent, handler); 107UIElement.AddHandler(element, StylusUpEvent, handler); 117UIElement.RemoveHandler(element, StylusUpEvent, handler); 132UIElement.AddHandler(element, PreviewStylusMoveEvent, handler); 142UIElement.RemoveHandler(element, PreviewStylusMoveEvent, handler); 157UIElement.AddHandler(element, StylusMoveEvent, handler); 167UIElement.RemoveHandler(element, StylusMoveEvent, handler); 182UIElement.AddHandler(element, PreviewStylusInAirMoveEvent, handler); 192UIElement.RemoveHandler(element, PreviewStylusInAirMoveEvent, handler); 207UIElement.AddHandler(element, StylusInAirMoveEvent, handler); 217UIElement.RemoveHandler(element, StylusInAirMoveEvent, handler); 232UIElement.AddHandler(element, StylusEnterEvent, handler); 242UIElement.RemoveHandler(element, StylusEnterEvent, handler); 257UIElement.AddHandler(element, StylusLeaveEvent, handler); 267UIElement.RemoveHandler(element, StylusLeaveEvent, handler); 282UIElement.AddHandler(element, PreviewStylusInRangeEvent, handler); 292UIElement.RemoveHandler(element, PreviewStylusInRangeEvent, handler); 307UIElement.AddHandler(element, StylusInRangeEvent, handler); 317UIElement.RemoveHandler(element, StylusInRangeEvent, handler); 332UIElement.AddHandler(element, PreviewStylusOutOfRangeEvent, handler); 342UIElement.RemoveHandler(element, PreviewStylusOutOfRangeEvent, handler); 357UIElement.AddHandler(element, StylusOutOfRangeEvent, handler); 367UIElement.RemoveHandler(element, StylusOutOfRangeEvent, handler); 382UIElement.AddHandler(element, PreviewStylusSystemGestureEvent, handler); 392UIElement.RemoveHandler(element, PreviewStylusSystemGestureEvent, handler); 407UIElement.AddHandler(element, StylusSystemGestureEvent, handler); 417UIElement.RemoveHandler(element, StylusSystemGestureEvent, handler); 432UIElement.AddHandler(element, GotStylusCaptureEvent, handler); 442UIElement.RemoveHandler(element, GotStylusCaptureEvent, handler); 457UIElement.AddHandler(element, LostStylusCaptureEvent, handler); 467UIElement.RemoveHandler(element, LostStylusCaptureEvent, handler); 482UIElement.AddHandler(element, StylusButtonDownEvent, handler); 492UIElement.RemoveHandler(element, StylusButtonDownEvent, handler); 508UIElement.AddHandler(element, StylusButtonUpEvent, handler); 518UIElement.RemoveHandler(element, StylusButtonUpEvent, handler); 534UIElement.AddHandler(element, PreviewStylusButtonDownEvent, handler); 544UIElement.RemoveHandler(element, PreviewStylusButtonDownEvent, handler); 560UIElement.AddHandler(element, PreviewStylusButtonUpEvent, handler); 570UIElement.RemoveHandler(element, PreviewStylusButtonUpEvent, handler);
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
678protected bool ValidateUIElementForCapture(UIElement element)
System\Windows\Input\Stylus\Common\StylusPlugin.cs (1)
201public UIElement Element
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (3)
234internal StylusPlugInCollection(UIElement element) 251internal UIElement Element 607private UIElement _element;
System\Windows\Input\Stylus\Common\StylusPlugInCollectionBase.cs (1)
68internal abstract void UpdateState(UIElement element);
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (13)
532if (o is UIElement element) 558if (o is UIElement element) 584UIElement.StylusCaptureWithinProperty.OnOriginValueChanged(oldCapture as DependencyObject, _stylusCapture as DependencyObject, ref _stylusCaptureWithinTreeState); 590o.SetValue(UIElement.IsStylusCapturedPropertyKey, false); // Same property for ContentElements 596o.SetValue(UIElement.IsStylusCapturedPropertyKey, true); // Same property for ContentElements 619if (o is UIElement element) 648if (o is UIElement element) 678UIElement.StylusOverProperty.OnOriginValueChanged(oldOver as DependencyObject, _stylusOver as DependencyObject, ref _stylusOverTreeState); 684o.SetValue(UIElement.IsStylusDirectlyOverPropertyKey, false); // Same property for ContentElements 690o.SetValue(UIElement.IsStylusDirectlyOverPropertyKey, true); // Same property for ContentElements 793if (dependencyObject is UIElement uie) 836UIElement.StylusCaptureWithinProperty.OnOriginValueChanged(_stylusCapture as DependencyObject, _stylusCapture as DependencyObject, ref _stylusCaptureWithinTreeState); 898UIElement.StylusOverProperty.OnOriginValueChanged(_stylusOver as DependencyObject, _stylusOver as DependencyObject, ref _stylusOverTreeState);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (6)
569UIElement e = element as UIElement; 951UIElement eTest = null; 956eTest = ieTest as UIElement; 1033UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInCollection.cs (1)
61internal override void UpdateState(UIElement element)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (5)
191internal StylusPlugInCollection FindPlugInCollection(UIElement element) 262UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 376UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\PenContexts.cs (3)
366UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement; 523internal StylusPlugInCollection FindPlugInCollection(UIElement element)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (15)
2061if (o is UIElement uie) 2090if (o is UIElement uie) 2120UIElement.StylusCaptureWithinProperty.OnOriginValueChanged(oldCapture as DependencyObject, _stylusCapture as DependencyObject, ref _stylusCaptureWithinTreeState); 2126o.SetValue(UIElement.IsStylusCapturedPropertyKey, false); // Same property for ContentElements 2131o.SetValue(UIElement.IsStylusCapturedPropertyKey, true); // Same property for ContentElements 2149if (o is UIElement uie) 2178if (o is UIElement uie) 2208UIElement.StylusOverProperty.OnOriginValueChanged(oldOver as DependencyObject, _stylusOver as DependencyObject, ref _stylusOverTreeState); 2214o.SetValue(UIElement.IsStylusDirectlyOverPropertyKey, false); // Same property for ContentElements 2219o.SetValue(UIElement.IsStylusDirectlyOverPropertyKey, true); // Same property for ContentElements 2357UIElement.StylusOverProperty.OnOriginValueChanged(_stylusOver as DependencyObject, _stylusOver as DependencyObject, ref _stylusOverTreeState); 2427if (dependencyObject is UIElement uie) 2470UIElement.StylusCaptureWithinProperty.OnOriginValueChanged(_stylusCapture as DependencyObject, _stylusCapture as DependencyObject, ref _stylusCaptureWithinTreeState); 2658UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (6)
261UIElement e = element as UIElement; 588UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement; 1016UIElement eTest = null; 1021eTest = ieTest as UIElement;
System\Windows\Input\Stylus\Wisp\WispStylusPlugInCollection.cs (1)
67internal override void UpdateState(UIElement element)
System\Windows\Input\TextCompositionManager.cs (12)
65UIElement.AddHandler(element, PreviewTextInputStartEvent, handler); 77UIElement.RemoveHandler(element, PreviewTextInputStartEvent, handler); 94UIElement.AddHandler(element, TextInputStartEvent, handler); 106UIElement.RemoveHandler(element, TextInputStartEvent, handler); 123UIElement.AddHandler(element, PreviewTextInputUpdateEvent, handler); 135UIElement.RemoveHandler(element, PreviewTextInputUpdateEvent, handler); 152UIElement.AddHandler(element, TextInputUpdateEvent, handler); 164UIElement.RemoveHandler(element, TextInputUpdateEvent, handler); 181UIElement.AddHandler(element, PreviewTextInputEvent, handler); 193UIElement.RemoveHandler(element, PreviewTextInputEvent, handler); 210UIElement.AddHandler(element, TextInputEvent, handler); 222UIElement.RemoveHandler(element, TextInputEvent, handler);
System\Windows\Input\TouchDevice.cs (25)
222UIElement eTest = ieTest as UIElement; 337UIElement uiElement; 359UIElement oldUIElement; 402o.SetValue(UIElement.AreAnyTouchesCapturedPropertyKey, 408o.SetValue(UIElement.AreAnyTouchesCapturedPropertyKey, BooleanBoxes.TrueBox); 459ReverseInheritProperty property = capture ? (ReverseInheritProperty)UIElement.TouchesCapturedWithinProperty : (ReverseInheritProperty)UIElement.TouchesOverProperty; 530UIElement uiElement; 605private static void CastInputElement(IInputElement element, out UIElement uiElement, out ContentElement contentElement, out UIElement3D uiElement3D) 607uiElement = element as UIElement; 768UIElement manipulatableElement = GetManipulatableElement(); 866UIElement oldUIElement; 870UIElement newUIElement; 913o.SetValue(UIElement.AreAnyTouchesDirectlyOverPropertyKey, 919o.SetValue(UIElement.AreAnyTouchesDirectlyOverPropertyKey, BooleanBoxes.TrueBox); 1033UIElement manipulatableElement = GetManipulatableElement(); 1067private UIElement GetManipulatableElement() 1069UIElement element = InputElement.GetContainingUIElement(_directlyOver as DependencyObject) as UIElement; 1078private void PromoteMainToManipulation(UIElement manipulatableElement, TouchEventArgs touchEventArgs) 1095UIElement element = _captured as UIElement; 1109UIElement element = _manipulatingElement.Target as UIElement;
System\Windows\Input\TouchesCapturedWithinProperty.cs (2)
15base(UIElement.AreAnyTouchesCapturedWithinPropertyKey, 21internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Input\TouchesOverProperty.cs (2)
15base(UIElement.AreAnyTouchesOverPropertyKey, 23internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\InterOp\HwndSource.cs (20)
581if(_rootVisual is UIElement) 583((UIElement)(_rootVisual)).LayoutUpdated += new EventHandler(OnLayoutUpdated); 591UIElement.PropagateResumeLayout(null, value); 604if(oldRoot is UIElement) 606((UIElement)oldRoot).LayoutUpdated -= new EventHandler(OnLayoutUpdated); 609UIElement.PropagateSuspendLayout(oldRoot); 794UIElement root = _rootVisual as UIElement; 910UIElement root = _rootVisual as UIElement; 1022if ((_rootVisual is UIElement) && _hwndTarget!= null && _hwndTarget.IsDisposed == false) 1039UIElement rootUIElement = null; 1040rootUIElement = _rootVisual as UIElement; 1202UIElement rootUIElement=null; 1203rootUIElement = _rootVisual as UIElement; 1345private void Process_WM_WINDOWPOSCHANGING(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam) 1419private void Process_WM_SIZE(UIElement rootUIElement, IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam) 1507private void DisableSizeToContent(UIElement rootUIElement, IntPtr hwnd) 1981UIElement root =_rootVisual as UIElement;
System\Windows\InterOp\HwndSourceKeyboardInputSite.cs (3)
24if (!(sink is UIElement)) 34_sinkElement = sink as UIElement; 98private UIElement _sinkElement;
System\Windows\InterOp\HwndTarget.cs (6)
1424UIElement uiroot = (UIElement)root; 1833UIElement element = d as UIElement; 2322DpiScale newDpiScale = new DpiScale(UIElement.DpiScaleXValues[dpiFlags.Index], UIElement.DpiScaleYValues[dpiFlags.Index]);
System\Windows\LayoutManager.cs (37)
75private void setForceLayout(UIElement e) 80private void markTreeDirty(UIElement e) 85UIElement p = e.GetUIParentNo3DTraversal() as UIElement; 102UIElement uie = ((UIElement)v); 222UIElement currentElement = null; 469private Rect getProperArrangeRect(UIElement element) 528internal override void setRequest(UIElement e, Request r) 533internal override Request getRequest(UIElement e) 538internal override bool canRelyOnParentRecalc(UIElement parent) 544internal override void invalidate(UIElement e) 553internal override void setRequest(UIElement e, Request r) 558internal override Request getRequest(UIElement e) 563internal override bool canRelyOnParentRecalc(UIElement parent) 569internal override void invalidate(UIElement e) 797internal UIElement GetLastExceptionElement() 802internal void SetLastExceptionElement(UIElement e) 809private UIElement _forceLayoutElement; //set in extreme situations, forces the update of the whole tree containing the element 810private UIElement _lastExceptionElement; //set on exception in Measure or Arrange. 819internal static int s_LayoutRecursionLimit = UIElement.MAX_ELEMENTS_IN_ROUTE; //to keep these two constants in sync 848internal abstract Request getRequest(UIElement e); 849internal abstract void setRequest(UIElement e, Request r); 850internal abstract bool canRelyOnParentRecalc(UIElement parent); 851internal abstract void invalidate(UIElement e); 855internal UIElement Target; 872private void _addRequest(UIElement e) 886internal void Add(UIElement e) 893UIElement parent = e.GetUIParentWithinLayoutIsland(); 916UIElement p = e.GetUIParentWithinLayoutIsland(); 939internal void Remove(UIElement e) 947internal void RemoveOrphans(UIElement parent) 952UIElement child = r.Target; 969internal UIElement GetTopMost() 971UIElement found = null; 976UIElement t = r.Target; 999private Request _getNewRequest(UIElement e)
System\Windows\Media\BitmapCacheBrush.cs (8)
212UIElement element = Target as UIElement; 267private void DoLayout(UIElement element) 278UIElement.PropagateResumeLayout(null, element); 292UIElement element = (UIElement)Target; 321UIElement element = arg as UIElement;
System\Windows\Media\Generated\BitmapCacheBrush.cs (2)
161UIElement element = (UIElement)oldV;
System\Windows\Media\Generated\VisualBrush.cs (2)
103UIElement element = (UIElement)oldV;
System\Windows\Media\Visual.cs (14)
2628UIElement.PropagateResumeLayout(this, child); 2706UIElement.PropagateSuspendLayout(child); 4295UIElement.InvalidateForceInheritPropertyOnChildren(this, property); 4704lock (UIElement.DpiLock) 4706if (UIElement.DpiScaleXValues.Count == 0) 4709return UIElement.EnsureDpiScale(); 4713dpi = new DpiScale(UIElement.DpiScaleXValues[0], UIElement.DpiScaleYValues[0]); 4719if (index < 3 && UIElement.DpiScaleXValues[index] != 0 && UIElement.DpiScaleYValues[index] != 0) 4721dpi = new DpiScale(UIElement.DpiScaleXValues[index], UIElement.DpiScaleYValues[index]); 4727dpi = new DpiScale(UIElement.DpiScaleXValues[actualIndex], UIElement.DpiScaleYValues[actualIndex]);
System\Windows\Media\VisualBrush.cs (8)
195UIElement element = Visual as UIElement; 235private void DoLayout(UIElement element) 246UIElement.PropagateResumeLayout(null, element); 262UIElement element = (UIElement)Visual; 291UIElement element = arg as UIElement;
System\Windows\MouseCaptureWithinProperty.cs (3)
18UIElement.IsMouseCaptureWithinPropertyKey, 26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) 30UIElement.IsMouseCaptureWithinProperty,
System\Windows\MouseOverProperty.cs (2)
18UIElement.IsMouseOverPropertyKey, 26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Navigation\BaseUriHelper.cs (2)
577UIElement uie = doCurrent as UIElement;
System\Windows\PresentationSource.cs (8)
143if (o is UIElement uie) 211if (o is UIElement uie) 449UIElement oldRootUIElement = oldRoot as UIElement; 450UIElement newRootUIElement = newRoot as UIElement; 546Debug.Assert(uie is UIElement3D or UIElement); 714if (doTarget is UIElement uiElement)
System\Windows\ReverseInheritProperty.cs (8)
38internal abstract void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue); 110UIElement uie; 168UIElement uie; 239private static bool BlockReverseInheritance(UIElement uie, ContentElement ce, UIElement3D uie3D) 259private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag, bool value) 277private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag) 297private static void CastElement(DependencyObject o, out UIElement uie, out ContentElement ce, out UIElement3D uie3D) 299uie = o as UIElement;
System\Windows\SizeChangedInfo.cs (3)
40public SizeChangedInfo(UIElement element, Size previousSize, bool widthChanged, bool heightChanged) 101internal UIElement Element 107private UIElement _element;
System\Windows\StylusCaptureWithinProperty.cs (3)
18UIElement.IsStylusCaptureWithinPropertyKey, 26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) 30UIElement.IsStylusCaptureWithinProperty,
System\Windows\StylusOverProperty.cs (2)
18UIElement.IsStylusOverPropertyKey, 26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\UIElement.cs (145)
40/// <seealso cref="UIElement" /> 81UIElement.RegisterEvents(typeof(UIElement)); 84typeof(UIElement), 88typeof(UIElement), 92typeof(UIElement), 96typeof(UIElement), 99EventManager.RegisterClassHandler(typeof(UIElement), ManipulationStartingEvent, new EventHandler<ManipulationStartingEventArgs>(OnManipulationStartingThunk)); 100EventManager.RegisterClassHandler(typeof(UIElement), ManipulationStartedEvent, new EventHandler<ManipulationStartedEventArgs>(OnManipulationStartedThunk)); 101EventManager.RegisterClassHandler(typeof(UIElement), ManipulationDeltaEvent, new EventHandler<ManipulationDeltaEventArgs>(OnManipulationDeltaThunk)); 102EventManager.RegisterClassHandler(typeof(UIElement), ManipulationInertiaStartingEvent, new EventHandler<ManipulationInertiaStartingEventArgs>(OnManipulationInertiaStartingThunk)); 103EventManager.RegisterClassHandler(typeof(UIElement), ManipulationBoundaryFeedbackEvent, new EventHandler<ManipulationBoundaryFeedbackEventArgs>(OnManipulationBoundaryFeedbackThunk)); 104EventManager.RegisterClassHandler(typeof(UIElement), ManipulationCompletedEvent, new EventHandler<ManipulationCompletedEventArgs>(OnManipulationCompletedThunk)); 144typeof(UIElement), 314/// Causes <see cref="System.Windows.UIElement.OnRender"/> to be called at a later time. 333protected virtual void OnChildDesiredSizeChanged(UIElement child) 468UIElement e = (UIElement)v; 513UIElement e = (UIElement)v; 702UIElement p; 722internal void GetUIParentOrICH(out UIElement uiParent, out IContentHost ich) 734uiParent = (UIElement)v; 741internal UIElement GetUIParentWithinLayoutIsland() 743UIElement uiParent = null; 754uiParent = (UIElement)v; 808DependencyObject parent = GetUIParent() as UIElement; 1347/// <seealso cref="UIElement.RenderTransform" /> 1353typeof(UIElement), 1372UIElement uie = (UIElement)d; 1391/// <seealso cref="UIElement.RenderTransformOrigin" /> 1396typeof(UIElement), 1425UIElement uie = (UIElement)d; 1446if (parent is not UIElement and not UIElement3D) 1493if (parent is not UIElement and not UIElement3D) 1588UIElement uie = sender as UIElement; 1669UIElement uiElement = e as UIElement; 1703UIElement uiElement = e as UIElement; 1894UIElement uiElement = d as UIElement; 1930UIElement uiElement = d as UIElement; 1979public Point TranslatePoint(Point point, UIElement relativeTo) 2076UIElement element = candidate as UIElement; 2197newEvent = UIElement.PreviewMouseLeftButtonDownEvent; 2199newEvent = UIElement.MouseLeftButtonDownEvent; 2201newEvent = UIElement.PreviewMouseLeftButtonUpEvent; 2203newEvent = UIElement.MouseLeftButtonUpEvent; 2207newEvent = UIElement.PreviewMouseRightButtonDownEvent; 2209newEvent = UIElement.MouseRightButtonDownEvent; 2211newEvent = UIElement.PreviewMouseRightButtonUpEvent; 2213newEvent = UIElement.MouseRightButtonUpEvent; 2270UIElement.BuildRouteHelper(sender, route, args); 2324UIElement.BuildRouteHelper(sender, route, args); 2678typeof(UIElement), 2686UIElement uie = (UIElement) d; 2713= DependencyProperty.Register("OpacityMask", typeof(Brush), typeof(UIElement), 2718UIElement uie = (UIElement) d; 2745typeof(UIElement), 2750UIElement uie = (UIElement)d; 2779typeof(UIElement), 2784UIElement uie = (UIElement)d; 2809typeof(UIElement), 2814((UIElement) d).pushBitmapEffectInput((BitmapEffectInput) e.NewValue); 2837UIElement uie = (UIElement) d; 2848UIElement uie = (UIElement) d; 2859UIElement uie = (UIElement) d; 2870UIElement uie = (UIElement) d; 2886typeof(UIElement), 2891UIElement uie = (UIElement)d; 2934typeof(UIElement), 2956typeof(UIElement), 2964UIElement uie = (UIElement) d; 3059UIElement p; 3362typeof(UIElement), 3369UIElement uie = (UIElement) d; 3403typeof(UIElement), 3410UIElement uie = (UIElement) d; 3435typeof(UIElement), 3442UIElement uie = (UIElement) d; 3485public static readonly RoutedEvent GotFocusEvent = FocusManager.GotFocusEvent.AddOwner(typeof(UIElement)); 3499public static readonly RoutedEvent LostFocusEvent = FocusManager.LostFocusEvent.AddOwner(typeof(UIElement)); 3517typeof(UIElement), 3532UIElement uiElement = ((UIElement)d); 3582typeof(UIElement), 3632UIElement uie = (UIElement) d; 3673UIElement uie = (UIElement)d; 3709typeof(UIElement), 3736UIElement uie = (UIElement) d; 3776UIElement uie = (UIElement)d; 3809typeof(UIElement), 3827return ((UIElement)d).IsVisible ? BooleanBoxes.TrueBox : BooleanBoxes.FalseBox; 3907UIElement uie = (UIElement) d; 3937typeof(UIElement), 3963UIElement uie = (UIElement) d; 4178UIElement uiElement, 4255UIElement element = vChild as UIElement; 4322typeof(UIElement), 4350((UIElement)d).CoerceStylusProperties(); 4354Manipulation.TryCompleteManipulation((UIElement)d); 4382public static readonly RoutedEvent ManipulationStartingEvent = Manipulation.ManipulationStartingEvent.AddOwner(typeof(UIElement)); 4396((UIElement)sender).OnManipulationStarting(e); 4407public static readonly RoutedEvent ManipulationStartedEvent = Manipulation.ManipulationStartedEvent.AddOwner(typeof(UIElement)); 4421((UIElement)sender).OnManipulationStarted(e); 4432public static readonly RoutedEvent ManipulationDeltaEvent = Manipulation.ManipulationDeltaEvent.AddOwner(typeof(UIElement)); 4446((UIElement)sender).OnManipulationDelta(e); 4457public static readonly RoutedEvent ManipulationInertiaStartingEvent = Manipulation.ManipulationInertiaStartingEvent.AddOwner(typeof(UIElement)); 4471((UIElement)sender).OnManipulationInertiaStarting(e); 4482public static readonly RoutedEvent ManipulationBoundaryFeedbackEvent = Manipulation.ManipulationBoundaryFeedbackEvent.AddOwner(typeof(UIElement)); 4496((UIElement)sender).OnManipulationBoundaryFeedback(e); 4507public static readonly RoutedEvent ManipulationCompletedEvent = Manipulation.ManipulationCompletedEvent.AddOwner(typeof(UIElement)); 4521((UIElement)sender).OnManipulationCompleted(e); 4688private static readonly UncommonField<WeakReference<UIElement>> _positionAndSizeOfSetController = new UncommonField<WeakReference<UIElement>>(); 4696internal UIElement PositionAndSizeOfSetController 4700UIElement element = null; 4701WeakReference<UIElement> wRef = _positionAndSizeOfSetController.GetValue(this); 4711_positionAndSizeOfSetController.SetValue(this, new WeakReference<UIElement>(value));
System\Windows\UIElement3D.cs (26)
45UIElement.RegisterEvents(typeof(UIElement3D)); 48IsVisibleProperty = UIElement.IsVisibleProperty.AddOwner(typeof(UIElement3D)); 56UIElement.IsVisiblePropertyKey); 59IsFocusedProperty = UIElement.IsFocusedProperty.AddOwner(typeof(UIElement3D)); 64UIElement.IsFocusedPropertyKey); 95UIElement.AllowDropProperty.AddOwner( 151if (parent is not UIElement and not UIElement3D) 183UIElement.SynchronizeForceInheritProperties(null, null, this, parent); 195if (parent is not UIElement and not UIElement3D) 216UIElement.SynchronizeForceInheritProperties(null, null, this, parent); 284UIElement.SynchronizeForceInheritProperties(null, null, this, parent); 656UIElement.VisibilityProperty.AddOwner( 817UIElement.IsEnabledProperty.AddOwner( 839add { EventHandlersStoreAdd(UIElement.IsEnabledChangedKey, value); } 840remove { EventHandlersStoreRemove(UIElement.IsEnabledChangedKey, value); } 888if (parent == null || (bool)parent.GetValue(UIElement.IsEnabledProperty)) 908uie.RaiseDependencyPropertyChanged(UIElement.IsEnabledChangedKey, e); 938UIElement.IsHitTestVisibleProperty.AddOwner( 1056add { EventHandlersStoreAdd(UIElement.IsVisibleChangedKey, value); } 1057remove { EventHandlersStoreRemove(UIElement.IsVisibleChangedKey, value); } 1156UIElement.FocusableProperty.AddOwner( 1176add { EventHandlersStoreAdd(UIElement.FocusableChangedKey, value); } 1177remove { EventHandlersStoreRemove(UIElement.FocusableChangedKey, value); } 1185uie.RaiseDependencyPropertyChanged(UIElement.FocusableChangedKey, e); 1380UIElement element = vChild as UIElement;
PresentationFramework (1245)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
163public override UIElement GetParent(Object selection)
MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (1)
89public abstract UIElement GetParent(Object selection);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (4)
157public static UIElement GetParent(Object selection) 177public static UIElement GetParent(ITextPointer pointer) 187return (UIElement)scrollViewer.ScrollViewer.Content; 218return parent as UIElement;
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
104public override UIElement GetParent(Object selection)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (2)
97public override UIElement GetParent(Object selection) 102return (UIElement)selection;
MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (3)
98public override UIElement GetParent(Object selection) 102UIElement element = selection as UIElement;
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (3)
70internal static void HostComponent(AdornerLayer adornerLayer, IAnnotationComponent component, UIElement annotatedElement, bool reorder) 137public override UIElement Host { get { return _adornerLayer; } } 150AdornerLayer parentLayer = AdornerLayer.GetAdornerLayer((UIElement)parent);
MS\Internal\Annotations\Component\AnnotationAdorner.cs (10)
35public AnnotationAdorner(IAnnotationComponent component, UIElement annotatedElement) : base(annotatedElement) 39if (component is UIElement) 43this.AddVisualChild((UIElement)_annotationComponent); 63if (!(_annotationComponent is UIElement)) 111return (UIElement)_annotationComponent; 139((UIElement)_annotationComponent).Measure(childConstraint); 152((UIElement)_annotationComponent).Arrange(new Rect(((UIElement)_annotationComponent).DesiredSize)); 167this.RemoveVisualChild((UIElement)_annotationComponent); 233private UIElement _annotatedElement;
MS\Internal\Annotations\Component\AnnotationComponentManager.cs (4)
147UIElement annotatedElement = attachedAnnotation.Parent as UIElement; // casted from DependencyObject 167UIElement annotatedElement = attachedAnnotation.Parent as UIElement; // casted from DependencyObject
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1127UIElement uie = TopOwner as UIElement;
MS\Internal\Annotations\Component\HighlightComponent.cs (2)
175public UIElement AnnotatedElement 179return _attachedAnnotation != null ? (_attachedAnnotation.Parent as UIElement) : null;
MS\Internal\Annotations\Component\IAnnotationComponent.cs (1)
72UIElement AnnotatedElement { get; }
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
149public UIElement AnnotatedElement 153return _attachedAnnotation != null ? (_attachedAnnotation.Parent as UIElement) : null; 503_uiParent = PathNode.GetParent(textContainer.Parent) as UIElement; 1019UIElement host = component.PresentationContext.Host; 1185private UIElement _uiParent = null; // the TextContainer parent. We need to handle GotFocus/LostFocus events
MS\Internal\Annotations\Component\PresentationContext.cs (1)
30public abstract UIElement Host { get; }
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (4)
118UIElement parent = ((UIElement)VisualTreeHelper.GetParent(this)) as UIElement; 122((UIElement)VisualTreeHelper.GetParent(this)).InvalidateArrange();
MS\Internal\Controls\InkCanvasInnerCanvas.cs (8)
61UIElement removedElement = visualRemoved as UIElement; 85foreach (UIElement child in InternalChildren) 133foreach (UIElement child in InternalChildren) 185protected override void OnChildDesiredSizeChanged(UIElement child) 251internal UIElement HitTestOnElements(Point point) 253UIElement hitElement = null; 280hitElement = currentObject as UIElement;
MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
33internal InkCanvasSelectionAdorner(UIElement adornedElement)
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (4)
1095UIElement IAnnotationComponent.AnnotatedElement 1099return _attachedAnnotation != null ? _attachedAnnotation.Parent as UIElement : null; 1343SetValue(UIElement.VisibilityProperty, Visibility.Collapsed); 1602UIElement parent = component.AnnotatedElement;
MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
472public static StickyNoteContentControl CreateContentControl(StickyNoteType type, UIElement content)
MS\Internal\Controls\TemplatedAdorner.cs (1)
46public TemplatedAdorner(UIElement adornedElement, ControlTemplate adornerTemplate) : base(adornedElement)
MS\Internal\Data\DataBindEngine.cs (2)
222(_layoutElement = c.TargetElement as UIElement) != null) 705private UIElement _layoutElement;
MS\Internal\DataStreams.cs (6)
86private ArrayList SaveSubStreams(UIElement element) 166UIElement element = node as UIElement; 244private void LoadSubStreams(UIElement element, ArrayList subStreams) 288UIElement element = node as UIElement;
MS\Internal\Documents\DocumentGrid.cs (6)
1179UIElement background = _childrenCollection[_backgroundVisualIndex] as UIElement; 1217UIElement uiPage = _childrenCollection[visualChild] as UIElement; 2284UIElement page = _childrenCollection[i] as UIElement;
MS\Internal\Documents\DocumentPageTextView.cs (2)
476internal override UIElement RenderScope 703private readonly UIElement _owner;
MS\Internal\Documents\MultiPageTextView.cs (3)
40internal MultiPageTextView(DocumentViewerBase viewer, UIElement renderScope, ITextContainer textContainer) 626internal override UIElement RenderScope 1550private readonly UIElement _renderScope;
MS\Internal\Documents\ScrollData.cs (16)
32internal void LineUp(UIElement owner) 40internal void LineDown(UIElement owner) 48internal void LineLeft(UIElement owner) 56internal void LineRight(UIElement owner) 64internal void PageUp(UIElement owner) 72internal void PageDown(UIElement owner) 80internal void PageLeft(UIElement owner) 88internal void PageRight(UIElement owner) 96internal void MouseWheelUp(UIElement owner) 104internal void MouseWheelDown(UIElement owner) 112internal void MouseWheelLeft(UIElement owner) 120internal void MouseWheelRight(UIElement owner) 128internal void SetHorizontalOffset(UIElement owner, double offset) 150internal void SetVerticalOffset(UIElement owner, double offset) 172internal Rect MakeVisible(UIElement owner, Visual visual, Rect rectangle) 233internal void SetScrollOwner(UIElement owner, ScrollViewer value)
MS\Internal\Documents\TextBoxView.cs (1)
1255UIElement ITextView.RenderScope
MS\Internal\Documents\TextContainerHelper.cs (8)
349if (element is UIElement) 353peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)element); 410if (element is UIElement) 412peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)element); 481if (element is UIElement) 483peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)element); 702internal static int GetCPFromEmbeddedObject(UIElement embeddedObject, ElementEdge edge) 743&& (peer = UIElementAutomationPeer.CreatePeerForElement((UIElement)child)) != null)
MS\Internal\Documents\TextDocumentView.cs (4)
549internal override UIElement RenderScope 553UIElement renderScope = null; 558while (visual != null && !(visual is UIElement)) 562renderScope = visual as UIElement;
MS\Internal\Documents\TextParagraphView.cs (1)
457internal override UIElement RenderScope
MS\Internal\Documents\TextViewBase.cs (2)
292internal abstract UIElement RenderScope { get; } 635UIElement ITextView.RenderScope
MS\Internal\Documents\UIElementIsland.cs (7)
33internal UIElementIsland(UIElement child) 115internal UIElement Root 148private UIElement _child; // Hosted UIElement root. 222void IContentHost.OnChildDesiredSizeChanged(UIElement child) 248internal DesiredSizeChangedEventArgs(UIElement child) 256internal UIElement Child 264private readonly UIElement _child;
MS\Internal\FrameworkObject.cs (2)
915UIElement uiElement; 918if ((uiElement = _do as UIElement) != null)
MS\Internal\Helper.cs (10)
527internal static Size MeasureElementWithSingleChild(UIElement element, Size constraint) 529UIElement child = (VisualTreeHelper.GetChildrenCount(element) > 0) ? VisualTreeHelper.GetChild(element, 0) as UIElement : null; 544internal static Size ArrangeElementWithSingleChild(UIElement element, Size arrangeSize) 546UIElement child = (VisualTreeHelper.GetChildrenCount(element) > 0) ? VisualTreeHelper.GetChild(element, 0) as UIElement : null; 1355UIElement uiElement = element as UIElement; 1385UIElement element = d as UIElement;
MS\Internal\Ink\ClipboardProcessor.cs (13)
142List<UIElement> elements = new List<UIElement>(inkCanvasSelection.SelectedElements); 187internal bool PasteData(IDataObject dataObject, ref StrokeCollection newStrokes, ref List<UIElement> newElements) 206List<UIElement> elements = xamlData.Elements; 321private bool CopySelectionInXAML(IDataObject dataObject, StrokeCollection strokes, List<UIElement> elements, Matrix transform, Size size) 347UIElement newElement = XamlReader.Load(new XmlTextReader(new StringReader(xml))) as UIElement; 360ClipboardData data = new XamlClipboardData(new UIElement[] { inkCanvas }); 377private void TearDownInkCanvasContainer(InkCanvas rootInkCanvas, ref StrokeCollection newStrokes, ref List<UIElement> newElements) 383List<UIElement> children = new List<UIElement>(rootInkCanvas.Children.Count); 384foreach (UIElement uiElement in rootInkCanvas.Children) 390foreach ( UIElement child in children )
MS\Internal\Ink\EditingCoordinator.cs (4)
983_inkCanvas.AddHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1013_inkCanvas.AddHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>)); 1036_inkCanvas.RemoveHandler(UIElement.LostStylusCaptureEvent, new StylusEventHandler(OnInkCanvasLostDeviceCapture<StylusEventArgs>)); 1051_inkCanvas.RemoveHandler(UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnInkCanvasLostDeviceCapture<MouseEventArgs>));
MS\Internal\Ink\ElementsClipboardData.cs (6)
35internal ElementsClipboardData(UIElement[] elements) 39ElementList = new List<UIElement>(elements); 54internal List<UIElement> Elements 64return new List<UIElement>(); 80protected List<UIElement> ElementList 102private List<UIElement> _elementList;
MS\Internal\Ink\InkCanvasSelection.cs (16)
89internal ReadOnlyCollection<UIElement> SelectedElements 95_selectedElements = new List<UIElement>(); 98return new ReadOnlyCollection<UIElement>(_selectedElements); 205internal void Select(StrokeCollection strokes, IList<UIElement> elements, bool raiseSelectionChanged) 241_selectedElements = new List<UIElement>(elements); 341internal void RemoveElement(UIElement removedElement) 367internal void UpdateElementBounds(UIElement element, Matrix transform) 380internal void UpdateElementBounds(UIElement originalElement, UIElement updatedElement, Matrix transform) 551IList<UIElement> elements, 737IList<UIElement> elements = SelectedElements; 1027private static bool FrameworkElementArraysAreEqual(IList<UIElement> elements1, IList<UIElement> elements2) 1046foreach ( UIElement e in elements1 ) 1077foreach ( UIElement element in SelectedElements ) 1122private List<UIElement> _selectedElements;
MS\Internal\Ink\LassoSelectionBehavior.cs (11)
246List<UIElement> elementsToSelect = new List<UIElement>(); 274UIElement tappedElement; 344private List<UIElement> HitTestForElements() 346List<UIElement> elementsToSelect = new List<UIElement>(); 355UIElement uiElement = this.InkCanvas.Children[x]; 366private void HitTestElement(InkCanvasInnerCanvas parent, UIElement uiElement, List<UIElement> elementsToSelect) 391private static ElementCornerPoints GetTransformedElementCornerPoints(InkCanvasInnerCanvas canvas, UIElement childElement) 641private void TapSelectObject(Point point, out Stroke tappedStroke, out UIElement tappedElement)
MS\Internal\Ink\SelectionEditingBehavior.cs (2)
94InkCanvas.SelectionAdorner.AddHandler(UIElement.LostMouseCaptureEvent, 106InkCanvas.SelectionAdorner.RemoveHandler(UIElement.LostMouseCaptureEvent,
MS\Internal\Ink\TextClipboardData.cs (1)
75ElementList = new List<UIElement>();
MS\Internal\Ink\XamlClipboardData.cs (5)
40internal XamlClipboardData(UIElement[] elements) : base (elements) 80foreach ( UIElement element in Elements ) 96ElementList = new List<UIElement>(); 103UIElement element = XamlReader.Load(new System.Xml.XmlTextReader(new System.IO.StringReader(xml)), useRestrictiveXamlReader: true) as UIElement;
MS\Internal\LayoutDump.cs (16)
88internal static void DumpLayoutTreeToFile(string tagName, UIElement root, string fileName) 105internal static string DumpLayoutTreeToString(string tagName, UIElement root) 128internal static void DumpLayoutTree(XmlTextWriter writer, string tagName, UIElement root) 170internal delegate bool DumpCustomUIElement(XmlTextWriter writer, UIElement element, bool uiElementsOnly); 202if (visual is UIElement) 204DumpUIElement(writer, (UIElement)visual, parent, false); 243private static void DumpUIElement(XmlTextWriter writer, UIElement element, Visual parent, bool uiElementsOnly) 358List<UIElement> uiElements = new List<UIElement>(); 420internal static void GetUIElementsFromVisual(Visual visual, List<UIElement> uiElements) 427if (child is UIElement) 429uiElements.Add((UIElement)(child)); 463private static bool DumpDocumentPageView(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 479private static bool DumpText(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 512private static bool DumpFlowDocumentScrollViewer(XmlTextWriter writer, UIElement element, bool uiElementsOnly) 538private static bool DumpFlowDocumentView(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
408internal void OnChildDesiredSizeChangedCore(UIElement child) 967if (embeddedObject is ContentElement || embeddedObject is UIElement) 969if (embeddedObject == e as ContentElement || embeddedObject == e as UIElement) 1228void IContentHost.OnChildDesiredSizeChanged(UIElement child)
MS\Internal\PtsHost\LineBase.cs (2)
314if (embeddedObject is UIElement) 321run = new InlineObjectRun(TextContainerHelper.EmbeddedObjectLength, (UIElement)embeddedObject, textProps, _paraClient.Paragraph as TextParagraph);
MS\Internal\PtsHost\PageVisual.cs (1)
155void IContentHost.OnChildDesiredSizeChanged(UIElement child)
MS\Internal\PtsHost\PtsHost.cs (1)
2531UIElement uiElement = ((BlockUIContainer)paraClient.Paragraph.Element).Child;
MS\Internal\PtsHost\RunClient.cs (1)
38internal InlineObjectRun(int cch, UIElement element, TextRunProperties textProps, TextParagraph host)
MS\Internal\PtsHost\TextParaClient.cs (4)
1273UIElement uiElement = (UIElement)inlineObjects[i].Element; 1307UIElement uiElement = (UIElement)inlineObjects[i].Element;
MS\Internal\Text\ComplexLine.cs (4)
205proxyVisual.Offset = new Vector(UIElement.RoundLayoutValue(lineOffset.X + rect.Left, dpi.DpiScaleX), 206UIElement.RoundLayoutValue(lineOffset.Y + rect.Top, dpi.DpiScaleY)); 531if (element is UIElement) 538run = new InlineObject(dcp, TextContainerHelper.EmbeddedObjectLength, (UIElement)element, textProps, _owner);
MS\Internal\Text\InlineObject.cs (3)
33internal InlineObject(int dcp, int cch, UIElement element, TextRunProperties textProps, System.Windows.Controls.TextBlock host) 163internal UIElement Element { get { return _element; } } 178private readonly UIElement _element;
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
96internal static Point ClientToScreen(UIElement relativeTo, Point point)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
494public void OnChildDesiredSizeChanged(UIElement child)
System\Windows\Annotations\AnnotationService.cs (9)
956UIElement root = _root as UIElement; 1008IList<UIElement> processedElements = new List<UIElement>(); 1011UIElement parent = annotation.Parent as UIElement; 1034private static void InvalidateAdorners(UIElement element) 1723UIElement root = _root as UIElement;
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
140foreach (UIElement child in this.OwningGrid.Children) 384foreach (UIElement child in this.OwningGrid.Children) 626foreach (UIElement child in this.OwningGrid.Children)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
230UIElement owningRow = GetWrapper();
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (5)
131UIElement uiElement = textView?.RenderScope; 140UIElement uiScope; 161UIElement uiScope; 194UIElement uiScope; 215private Rect CalculateBoundingRect(bool clipToVisible, out UIElement uiScope)
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
116if (document is UIElement) 118documentPeer = UIElementAutomationPeer.CreatePeerForElement((UIElement)document);
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
150foreach (UIElement e in _owner.HeaderRowPresenter.ActualColumnHeaders)
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (2)
182&& (includeInvisibleItems || ((UIElement)child).IsVisible) 183&& (peer = CreatePeerForElement((UIElement)child)) != null)
System\Windows\Automation\Peers\GridViewItemAutomationPeer.cs (1)
68foreach (UIElement ele in rowPresenter.ActualCells)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
167foreach (UIElement child in childItems)
System\Windows\Automation\Peers\ItemAutomationPeer.cs (5)
92internal UIElement GetWrapper() 94UIElement wrapper = null; 105wrapper = item as UIElement; 107wrapper = owner.ItemContainerGenerator.ContainerFromItem(item) as UIElement; 117UIElement wrapper = GetWrapper();
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
91foreach (UIElement child in childItems) 797return UIElementAutomationPeer.CreatePeerForElement((UIElement)_container);
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (2)
188UIElement uiElement = owner.ItemContainerGenerator.ContainerFromIndex(i) as UIElement;
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (1)
127&& (peer = CreatePeerForElement((UIElement)child)) != null)
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
227UIElement uiElement = textView?.RenderScope;
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (4)
101&& child is UIElement) 105object dataItem = (child as UIElement) != null ? (logicalParentAp.Owner as ItemsControl).GetItemOrContainerFromContainer(child as UIElement) : child; 142peer = CreatePeerForElement((UIElement)child);
System\Windows\Controls\AdornedElementPlaceholder.cs (9)
66if (!(value is UIElement)) 67throw new ArgumentException (SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value"); 72this.Child = (UIElement)value; 92public UIElement AdornedElement 106public virtual UIElement Child 115UIElement old = _child; 197UIElement child = Child; 212UIElement child = Child; 244private UIElement _child;
System\Windows\Controls\Border.cs (20)
214UIElement child = Child; 220borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY), 221UIElement.RoundLayoutValue(borders.Right, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Bottom, dpi.DpiScaleY)); 267borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY), 268UIElement.RoundLayoutValue(borders.Right, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Bottom, dpi.DpiScaleY)); 274UIElement child = Child; 415pen.Thickness = UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX); 478pen.Thickness = UIElement.RoundLayoutValue(border.Right, dpi.DpiScaleX); 509pen.Thickness = UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY); 540pen.Thickness = UIElement.RoundLayoutValue(border.Bottom, dpi.DpiScaleY); 572ptTL = new Point(UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX), 573UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY)); 577ptBR = new Point(UIElement.RoundLayoutValue(RenderSize.Width - border.Right, dpi.DpiScaleX), 578UIElement.RoundLayoutValue(RenderSize.Height - border.Bottom, dpi.DpiScaleY)); 582ptBR = new Point(RenderSize.Width - UIElement.RoundLayoutValue(border.Right, dpi.DpiScaleX), 583RenderSize.Height - UIElement.RoundLayoutValue(border.Bottom, dpi.DpiScaleY));
System\Windows\Controls\Button.cs (1)
247/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Calendar.cs (1)
88EventManager.RegisterClassHandler(typeof(Calendar), UIElement.GotFocusEvent, new RoutedEventHandler(OnGotFocus));
System\Windows\Controls\Canvas.cs (13)
82public static double GetLeft(UIElement element) 94public static void SetLeft(UIElement element, double length) 108public static double GetTop(UIElement element) 120public static void SetTop(UIElement element, double length) 134public static double GetRight(UIElement element) 146public static void SetRight(UIElement element, double length) 160public static double GetBottom(UIElement element) 172public static void SetBottom(UIElement element, double length) 196UIElement uie = d as UIElement; 270foreach (UIElement child in InternalChildren) 293foreach (UIElement child in InternalChildren) 341/// Override of <seealso cref="UIElement.GetLayoutClip"/>.
System\Windows\Controls\CheckBox.cs (1)
63/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\CleanUpVirtualizedItemEventArgs.cs (3)
16public CleanUpVirtualizedItemEventArgs(object value, UIElement element) 39public UIElement UIElement 65private UIElement _element;
System\Windows\Controls\ComboBox.cs (4)
63EventManager.RegisterClassHandler(typeof(ComboBox), UIElement.GotFocusEvent, new RoutedEventHandler(OnGotFocus)); // call us even if textbox in the style get focus 904_clonedElement = logicalElement as UIElement; 1901/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 2036private UIElement _clonedElement;
System\Windows\Controls\ComboBoxItem.cs (1)
184SetFlags(newContent is UIElement, VisualFlags.IsLayoutIslandRoot);
System\Windows\Controls\ContentPresenter.cs (10)
1010UIElement e = content as UIElement; 1014Debug.Assert(tc.CanConvertTo(typeof(UIElement))); 1015e = (UIElement) tc.ConvertTo(content, typeof(UIElement)); 1061private UIElement DefaultExpansion(object content, ContentPresenter container) 1084Debug.Assert(!(content is String) && !(content is UIElement)); // these are handled by different templates 1123Debug.Assert(!(tc != null && tc.CanConvertTo(typeof(UIElement)))); // this is handled by a different template 1177else if (item is UIElement) 1185tc.CanConvertTo(typeof(UIElement)))
System\Windows\Controls\ContextMenu.cs (3)
192public UIElement PlacementTarget 194get { return (UIElement) GetValue(PlacementTargetProperty); } 385/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\ContextMenuService.cs (10)
173typeof(UIElement), // Type 175new FrameworkPropertyMetadata((UIElement)null)); // Default Value 183public static UIElement GetPlacementTarget(DependencyObject element) 186return (UIElement)element.GetValue(PlacementTargetProperty); 194public static void SetPlacementTarget(DependencyObject element, UIElement value) 352UIElement.AddHandler(element, ContextMenuOpeningEvent, handler); 362UIElement.RemoveHandler(element, ContextMenuOpeningEvent, handler); 381UIElement.AddHandler(element, ContextMenuClosingEvent, handler); 391UIElement.RemoveHandler(element, ContextMenuClosingEvent, handler); 396EventManager.RegisterClassHandler(typeof(UIElement), ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpening));
System\Windows\Controls\Control.cs (10)
38EventManager.RegisterClassHandler(typeof(Control), UIElement.PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true); 39EventManager.RegisterClassHandler(typeof(Control), UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true); 40EventManager.RegisterClassHandler(typeof(Control), UIElement.PreviewMouseRightButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true); 41EventManager.RegisterClassHandler(typeof(Control), UIElement.MouseRightButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true); 572if ((e.RoutedEvent == UIElement.PreviewMouseLeftButtonDownEvent) || 573(e.RoutedEvent == UIElement.PreviewMouseRightButtonDownEvent)) 707UIElement child = (UIElement)(this.GetVisualChild(0)); 729UIElement child = (UIElement)(this.GetVisualChild(0));
System\Windows\Controls\DataGrid.cs (15)
2298UIElement source = e.OriginalSource as UIElement; 5588UIElement startElement = Keyboard.FocusedElement as UIElement; 5922UIElement startElement = Keyboard.FocusedElement as UIElement; 6374UIElement sourceElement = e.OriginalSource as UIElement; 6389sourceElement = VisualTreeHelper.GetParent(sourceElement) as UIElement; 6612UIElement element = Mouse.DirectlyOver as UIElement; 6621element = VisualTreeHelper.GetParent(row) as UIElement; 6633UIElement element = Mouse.DirectlyOver as UIElement; 6642element = VisualTreeHelper.GetParent(cell) as UIElement;
System\Windows\Controls\DataGridCell.cs (2)
558DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement); 571DataGridCell cell = DataGridHelper.FindVisualParent<DataGridCell>(e.OriginalSource as UIElement);
System\Windows\Controls\DataGridCellsPanel.cs (29)
87UIElement parent = VisualTreeHelper.GetParent(this) as UIElement; 102private static void MeasureChild(UIElement child, Size constraint) 536private UIElement GenerateChild( 556private UIElement GenerateChild( 564UIElement child = generator.GenerateNext(out newlyRealized) as UIElement; 627private void AddContainerFromGenerator(int childIndex, UIElement child, bool newlyRealized) 666private void InsertRecycledContainer(int childIndex, UIElement container) 674private void InsertNewContainer(int childIndex, UIElement container) 682private void InsertContainer(int childIndex, UIElement container, bool isRecycled) 770UIElement child = _realizedChildren[realizedChildIndex]; 845UIElement child = GenerateChild(generator, constraint, column, ref childIndex, out childSize); 970UIElement child = generator.ContainerFromIndex(columnIndex) as UIElement; 1062UIElement child = children[i] as UIElement; 1174UIElement visualChild; 1175UIElement realizedChild = _realizedChildren.Count > 0 ? _realizedChildren[0] : null; 1274public UIElement OldClippedChild 1279public UIElement NewClippedChild 1414ArrangeChild(children[childIndex] as UIElement, i, arrangeState); 1436UIElement child = children[additionalChildIndices[i]] as UIElement; 1456UIElement child, 1964_realizedChildren = new List<UIElement>(children.Count); 2371internal Geometry GetFrozenClipForChild(UIElement child) 2457private UIElement _clippedChildForFrozenBehaviour; 2459private List<UIElement> _realizedChildren;
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
46style.Setters.Add(new Setter(UIElement.IsHitTestVisibleProperty, false)); 47style.Setters.Add(new Setter(UIElement.FocusableProperty, false));
System\Windows\Controls\DataGridHelper.cs (11)
174public static T FindVisualParent<T>(UIElement element) where T : UIElement 176UIElement parent = element; 185parent = VisualTreeHelper.GetParent(parent) as UIElement; 202UIElement uielement = element as UIElement; 245UIElement element = (UIElement)cell; 294return panel.GetFrozenClipForChild((UIElement)cell); 309UIElement element = (UIElement)cell;
System\Windows\Controls\DatePicker.cs (1)
90EventManager.RegisterClassHandler(typeof(DatePicker), UIElement.GotFocusEvent, new RoutedEventHandler(OnGotFocus));
System\Windows\Controls\Decorator.cs (8)
69if (!(value is UIElement)) 71throw new ArgumentException (SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value"); 79this.Child = (UIElement)value; 108public virtual UIElement Child 195UIElement child = Child; 211UIElement child = Child; 222internal UIElement IntChild 231UIElement _child;
System\Windows\Controls\DefinitionBase.cs (2)
808internal void EnsureDeferredValidation(UIElement layoutUpdatedHost) 966private UIElement _layoutUpdatedHost; // UIElement for which layout updated event handler is registered
System\Windows\Controls\DockPanel.cs (6)
105public static Dock GetDock(UIElement element) 118public static void SetDock(UIElement element, Dock dock) 127UIElement uie = d as UIElement; //it may be anyting, like FlowDocument... bug 1237275 219UIElement child = children[i]; 284UIElement child = children[i];
System\Windows\Controls\DocumentViewer.cs (1)
866/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Expander.cs (1)
295/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\FlowDocumentReader.cs (5)
769/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 961if (focusedElement is UIElement) 963((UIElement)focusedElement).Focus(); 1581if (CurrentViewer != null && CurrentViewer is UIElement) 1583((UIElement)CurrentViewer).Focus();
System\Windows\Controls\FlowDocumentScrollViewer.cs (4)
751/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 1100UIElement targetUIElement; 1119else if (args.TargetObject is UIElement) 1121targetUIElement = (UIElement)args.TargetObject;
System\Windows\Controls\Frame.cs (1)
539/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Grid.cs (24)
82UIElement cell = value as UIElement; 89throw (new ArgumentException(SR.Format(SR.Grid_UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value")); 134public static void SetColumn(UIElement element, int value) 147public static int GetColumn(UIElement element) 159public static void SetRow(UIElement element, int value) 172public static int GetRow(UIElement element) 184public static void SetColumnSpan(UIElement element, int value) 197public static int GetColumnSpan(UIElement element) 209public static void SetRowSpan(UIElement element, int value) 222public static int GetRowSpan(UIElement element) 234public static void SetIsSharedSizeScope(UIElement element, bool value) 246public static bool GetIsSharedSizeScope(UIElement element) 376UIElement child = children[i]; 674UIElement child = children[i]; 696UIElement cell = children[currentCell]; 902UIElement child = children[i]; 1363UIElement child = InternalChildren[cell]; 2122definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi); 2161definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi); 2211definitions[definitionIndices[i]].SizeCache = UIElement.RoundLayoutValue(definitions[definitionIndices[i]].SizeCache, dpi); 2235final = UIElement.RoundLayoutValue(finalOld, dpi); 2261double dpiIncrement = UIElement.RoundLayoutValue(1.0, dpi); 2671double roundedSize = UIElement.RoundLayoutValue(def.SizeCache, dpi);
System\Windows\Controls\GridSplitter.cs (4)
298/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 375/// Override for <seealso cref="UIElement.OnRenderSizeChanged"/> 885delta = UIElement.RoundLayoutValue(delta, dpi.DpiScaleX); 893delta = UIElement.RoundLayoutValue(delta, dpi.DpiScaleY);
System\Windows\Controls\GridViewColumnHeader.cs (2)
246/// Override for <seealso cref="UIElement.OnRenderSizeChanged"/> 542/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
259UIElement child = children[GetVisualIndex(i)]; 349UIElement child = children[GetVisualIndex(i)]; 787/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\GridViewRowPresenter.cs (6)
145UIElement child = children[column.ActualIndex]; 221UIElement child = children[column.ActualIndex]; 405internal List<UIElement> ActualCells 409List<UIElement> list = new List<UIElement>(); 420UIElement cell = children[indexList[i]];
System\Windows\Controls\GroupBox.cs (1)
37/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\GroupItem.cs (1)
42/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Image.cs (1)
186/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\InkCanvas.cs (37)
278if (e.Property == UIElement.RenderTransformProperty || 436public static double GetTop(UIElement element) 448public static void SetTop(UIElement element, double length) 470public static double GetBottom(UIElement element) 482public static void SetBottom(UIElement element, double length) 504public static double GetLeft(UIElement element) 516public static void SetLeft(UIElement element, double length) 538public static double GetRight(UIElement element) 550public static void SetRight(UIElement element, double length) 563UIElement uie = d as UIElement; 652_selectionAdorner.SetBinding(UIElement.VisibilityProperty, activeEditingModeBinding); 1704public ReadOnlyCollection<UIElement> GetSelectedElements() 1736public void Select(IEnumerable<UIElement> selectedElements) 1747public void Select(StrokeCollection selectedStrokes, IEnumerable<UIElement> selectedElements) 1758UIElement[] validElements = ValidateSelectedElements(selectedElements); 2097List<UIElement> newElements = new List<UIElement>(); 2113foreach ( UIElement element in newElements ) 2308ChangeInkCanvasSelection(new StrokeCollection(), new UIElement[]{}); 2324CoreChangeSelection(new StrokeCollection(), new UIElement[] { }, raiseSelectionChangedEvent); 2333internal void ChangeInkCanvasSelection(StrokeCollection strokes, UIElement[] elements) 2348UIElement[] validElements = elements; 2416private void CoreChangeSelection(StrokeCollection validStrokes, IList<UIElement> validElements, bool raiseSelectionChanged) 2505private UIElement[] ValidateSelectedElements(IEnumerable<UIElement> selectedElements) 2509return new UIElement[]{}; 2512List<UIElement> elements = new List<UIElement>(); 2513foreach (UIElement element in selectedElements) 2536private bool InkCanvasIsAncestorOf(UIElement element) 2667IList<UIElement> elements = GetSelectedElements(); 2672removeSelectedElements ? new List<UIElement>() : elements, 2685foreach ( UIElement element in elements ) 2722IEnumerable<UIElement> children = null; 2728UIElement[] uiElementArray = new UIElement[uiElementCollection.Count];
System\Windows\Controls\InkPresenter.cs (1)
217UIElement child = Child;
System\Windows\Controls\ItemsControl.cs (16)
1168UIElement ui = container as UIElement; 1185ui = VisualTreeHelper.GetParent(ui) as UIElement; 1345if (p != null && (visual is UIElement)) 1347p.Children.RemoveNoVerify((UIElement)visual); 1575return (item is UIElement); 2956UIElement element, 2965UIElement element, 2992UIElement element, 3083UIElement element, 3206UIElement focusedElement = e.OriginalSource as UIElement; 3216UIElement itemContainer = itemsControl._focusedInfo.Container as UIElement; 3277UIElement container = info.Container as UIElement;
System\Windows\Controls\Label.cs (9)
89typeof(UIElement), 92(UIElement) null, 101public UIElement Target 103get { return (UIElement) GetValue(TargetProperty); } 111UIElement oldElement = (UIElement) e.OldValue; 112UIElement newElement = (UIElement) e.NewValue; 169/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\ListBox.cs (1)
223/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\ListBoxItem.cs (1)
240/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\ListView.cs (1)
221/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\MediaElement.cs (1)
696/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Menu.cs (1)
125/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\MenuItem.cs (6)
1290/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 1608UIElement uiElement = source as UIElement; 2262internal static void SetInsideContextMenuProperty(UIElement element, bool value) 2665private static bool GetBoolField(UIElement element, BoolField field) 2670private static void SetBoolField(UIElement element, BoolField field, bool value)
System\Windows\Controls\Page.cs (4)
597UIElement child = this.GetVisualChild(0) as UIElement; 622UIElement child = this.GetVisualChild(0) as UIElement;
System\Windows\Controls\Panel.cs (15)
95UIElement uie = value as UIElement; 99throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value"); 666UIElement child; 667while ((child = generator.GenerateNext() as UIElement) != null) 726UIElement e = generator.GenerateNext() as UIElement; 757UIElement e = generator.GenerateNext(out isNewlyRealized) as UIElement; 783UIElement[] elements = new UIElement[containerCount]; 922public static void SetZIndex(UIElement element, int value) 934public static int GetZIndex(UIElement element) 952UIElement child = d as UIElement;
System\Windows\Controls\PasswordBox.cs (1)
447/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\PopupControlService.cs (14)
74UIElement rootAsUIElement = source != null ? source.RootVisual as UIElement : null; 857UIElement ownerUIE; 859if ((ownerUIE = owner as UIElement) != null) 875UIElement uieParent = KeyboardNavigation.GetParentUIElementFromContentElement(ownerCE, ref ichParent); 976if (sourceDO is UIElement uiElement) 1054UIElement uie = GetTarget(o); 1157UIElement uie = o as UIElement; 1188private static UIElement GetTarget(DependencyObject o) 1190UIElement uie = o as UIElement; 1199uie = ceParent as UIElement; 1283UIElement uie = GetTarget(owner);
System\Windows\Controls\Primitives\BulletDecorator.cs (9)
82public UIElement Bullet 108UIElement child = Child; 244UIElement bullet = Bullet; 245UIElement content = Child; 275UIElement bullet = Bullet; 276UIElement content = Child; 330private double GetFirstLineHeight(UIElement element) 334UIElement text = FindText(element); 448UIElement _bullet = null;
System\Windows\Controls\Primitives\ButtonBase.cs (2)
117/// Override for <seealso cref="UIElement.OnRenderSizeChanged"/> 154e.Target = (UIElement)sender;
System\Windows\Controls\Primitives\CalendarItem.cs (2)
437foreach (UIElement element in this.YearView.Children) 1005monthCell.AddHandler(UIElement.PreviewKeyDownEvent, new RoutedEventHandler(CellOrMonth_PreviewKeyDown), true);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
145UIElement child = (VisualTreeHelper.GetChildrenCount(this) > 0) ? VisualTreeHelper.GetChild(this, 0) as UIElement : null;
System\Windows\Controls\Primitives\DataGridRowHeader.cs (2)
300var parent = this.Parent as UIElement;
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
543/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Primitives\DocumentViewerBase.cs (4)
382/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 1170if (args.TargetObject is UIElement) 1172UIElement targetObject = (UIElement)args.TargetObject;
System\Windows\Controls\Primitives\LayoutInformation.cs (2)
55public static UIElement GetLayoutExceptionElement(Dispatcher dispatcher) 59UIElement e = null;
System\Windows\Controls\Primitives\Popup.cs (33)
118typeof(UIElement), 128public UIElement Child 130get { return (UIElement) GetValue(ChildProperty); } 138UIElement oldChild = (UIElement) e.OldValue; 139UIElement newChild = (UIElement) e.NewValue; 186private static void RegisterPopupWithPlacementTarget(Popup popup, UIElement placementTarget) 217private static void UnregisterPopupFromPlacementTarget(Popup popup, UIElement placementTarget) 242private void UpdatePlacementTargetRegistration(UIElement oldValue, UIElement newValue) 645typeof(UIElement), 657public UIElement PlacementTarget 659get { return (UIElement) GetValue(PlacementTargetProperty); } 673ctrl.UpdatePlacementTargetRegistration((UIElement)e.OldValue, (UIElement)e.NewValue); 677UnregisterPopupFromPlacementTarget(ctrl, (UIElement)e.OldValue); 879public static void CreateRootPopup(Popup popup, UIElement child) 891internal static void CreateRootPopupInternal(Popup popup, UIElement child, bool bindTreatMousePlacementAsBottomProperty) 972internal static bool IsRootedInPopup(Popup parentPopup, UIElement element) 1291UIElement element = value as UIElement; 1294throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value"); 1351UIElement placementTarget = PlacementTarget; 1529UIElement child = Child; 2297UIElement target = GetTarget() as UIElement; 2375UIElement child = Child; 2385UIElement target = GetTarget() as UIElement; 3276UIElement target = popup.PlacementTarget; 3537var target = popup?.GetTarget() as UIElement;
System\Windows\Controls\Primitives\PopupRoot.cs (3)
89/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 100internal UIElement Child 301UIElement child = Child;
System\Windows\Controls\Primitives\RepeatButton.cs (1)
195/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Primitives\ScrollBar.cs (1)
139/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (5)
373override internal UIElement TemplateChild 381UIElement oldTemplate = base.TemplateChild; 482UIElement child = this.GetVisualChild(0) as UIElement; 512/// Override of <seealso cref="UIElement.GetLayoutClip"/>.
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (2)
57UIElement element = d as UIElement;
System\Windows\Controls\Primitives\Selector.cs (2)
1329UIElement root = KeyboardNavigation.GetVisualRoot(this) as UIElement;
System\Windows\Controls\Primitives\StatusBar.cs (1)
174/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Primitives\StatusBarItem.cs (1)
36/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Primitives\TabPanel.cs (8)
103foreach (UIElement child in InternalChildren) 147foreach (UIElement child in InternalChildren) 190/// Override of <seealso cref="UIElement.GetLayoutClip"/>. 208private Size GetDesiredSizeWithoutMargin(UIElement element) 221foreach (UIElement child in InternalChildren) 259foreach (UIElement child in InternalChildren) 308foreach (UIElement child in InternalChildren) 328foreach (UIElement child in InternalChildren)
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1681if (visual is UIElement) 1683((UIElement)visual).AddToEventRoute(route, args);
System\Windows\Controls\Primitives\Thumb.cs (1)
218/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Primitives\ToggleButton.cs (1)
251/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (7)
79List<UIElement> generatedItemsCollection = toolBarPanel.GeneratedItemsCollection; 84UIElement child = generatedItemsCollection[i]; 110UIElement child = children[i] as UIElement; 126UIElement child = children[i] as UIElement; 212UIElement child = children[i];
System\Windows\Controls\Primitives\ToolBarPanel.cs (15)
69UIElement child = _generatedItemsCollection[i]; 306UIElement child = (UIElement)children[i]; 359_generatedItemsCollection = new List<UIElement>(children.Count); 376UIElement child = children[i]; 419UIElement e = generator.GenerateNext() as UIElement; 437private void RemoveChild(UIElement child) 475UIElement e = generator.GenerateNext(out isNewlyRealized) as UIElement; 504UIElement[] elements = new UIElement[containerCount]; 508UIElement child = _generatedItemsCollection[fromPos.Index + i]; 540internal List<UIElement> GeneratedItemsCollection 549private List<UIElement> _generatedItemsCollection;
System\Windows\Controls\Primitives\UniformGrid.cs (3)
181UIElement child = InternalChildren[i]; 217foreach (UIElement child in InternalChildren) 273UIElement child = InternalChildren[i];
System\Windows\Controls\ProgressBar.cs (3)
192_glow.InvalidateProperty(UIElement.OpacityMaskProperty); 221_glow.SetCurrentValue(UIElement.OpacityMaskProperty, mask); 297/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\RadioButton.cs (1)
231/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\RichTextBox.cs (2)
289/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 412UIElement renderScope = this.RenderScope;
System\Windows\Controls\ScrollViewer.cs (11)
960UIElement currentFocusUIElement = focusedElement as UIElement; 1150UIElement child = (count > 0) ? this.GetVisualChild(0) as UIElement : null; 2250UIElement uie = child as UIElement; 2276UIElement uie = visi as UIElement; 2447/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 2724hsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedHorizontalScrollBarVisibilityProperty)); 2734vsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\Controls\Separator.cs (1)
40/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\SinglePageViewer.cs (1)
367/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Slider.cs (1)
1298/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Stack.cs (6)
592UIElement child = children[i]; 752UIElement child = (UIElement)children[i]; 844? ((UIElement)children[i]).DesiredSize.Width 845: ((UIElement)children[i]).DesiredSize.Height; 870return (children.IndexOf((UIElement)dependencyObjectChild));
System\Windows\Controls\StickyNote.cs (6)
602UIElement innerControl = this.Content.InnerControl as UIElement; 633UIElement contentContainer = GetContentContainer(); 736private UIElement GetContentContainer() 738return GetTemplateChild(SNBConstants.c_ContentControlId) as UIElement; 1498stickyNoteIsKeyboardFocusWithin.Path = new PropertyPath(UIElement.IsKeyboardFocusWithinProperty);
System\Windows\Controls\TabControl.cs (1)
313/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\TabItem.cs (1)
263/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\TextAdaptor.cs (1)
241UIElement renderScope = textView.RenderScope;
System\Windows\Controls\TextBlock.cs (9)
110void IContentHost.OnChildDesiredSizeChanged(UIElement child) 152if (value is UIElement) 154value = new InlineUIContainer((UIElement)value); 1891protected virtual void OnChildDesiredSizeChangedCore(UIElement child) 1897/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 3673if (embeddedObject is ContentElement || embeddedObject is UIElement) 3675if (embeddedObject == e as ContentElement || embeddedObject == e as UIElement) 3732if (fd != null && d is UIElement) 3734fd.OnChildDesiredSizeChanged((UIElement)d);
System\Windows\Controls\TextBox.cs (1)
1008/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\ToolBar.cs (6)
456/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 645UIElement newFocusElement = null; 646UIElement currentFocusElement = e.Source as UIElement; 657newFocusElement = VisualTreeHelper.GetChild(itemsHost, 0) as UIElement; 660newFocusElement = VisualTreeHelper.GetChild(itemsHost, VisualTreeHelper.GetChildrenCount(itemsHost)-1) as UIElement;
System\Windows\Controls\ToolTip.cs (3)
252public UIElement PlacementTarget 254get { return (UIElement) GetValue(PlacementTargetProperty); } 453/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\ToolTipService.cs (10)
166typeof(UIElement), // Type 168new FrameworkPropertyMetadata((UIElement)null)); // Default Value 176public static UIElement GetPlacementTarget(DependencyObject element) 179return (UIElement)element.GetValue(PlacementTargetProperty); 187public static void SetPlacementTarget(DependencyObject element, UIElement value) 521UIElement.AddHandler(element, ToolTipOpeningEvent, handler); 531UIElement.RemoveHandler(element, ToolTipOpeningEvent, handler); 552UIElement.AddHandler(element, ToolTipClosingEvent, handler); 562UIElement.RemoveHandler(element, ToolTipClosingEvent, handler); 577EventManager.RegisterClassHandler(typeof(UIElement), FindToolTipEvent, new FindToolTipEventHandler(OnFindToolTip));
System\Windows\Controls\TreeView.cs (3)
763UIElement root = KeyboardNavigation.GetVisualRoot(this) as UIElement; 845/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\TreeViewItem.cs (1)
1069/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\UIElementCollection.cs (33)
37public UIElementCollection(UIElement visualParent, FrameworkElement logicalParent) 90public virtual void CopyTo(UIElement[] array, int index) 112public virtual UIElement this[int index] 114get { return _visualChildren[index] as UIElement; } 126UIElement e = vc[index] as UIElement; 143internal void SetInternal(int index, UIElement item) 163public virtual int Add(UIElement element) 174internal int AddInternal(UIElement element) 191public virtual int IndexOf(UIElement element) 200public virtual void Remove(UIElement element) 207internal void RemoveInternal(UIElement element) 219internal virtual void RemoveNoVerify(UIElement element) 228public virtual bool Contains(UIElement element) 269UIElement e = visuals[i] as UIElement; 284public virtual void Insert(int index, UIElement element) 295internal void InsertInternal(int index, UIElement element) 315UIElement e = vc[index] as UIElement; 366UIElement e = visuals[i] as UIElement; 388private UIElement Cast(object value) 393UIElement element = value as UIElement; 416return Contains(value as UIElement); 424return IndexOf(value as UIElement); 454Remove(value as UIElement); 493protected void SetLogicalParent(UIElement element) 505protected void ClearLogicalParent(UIElement element) 516internal UIElement VisualParent 522private void ValidateElement(UIElement element) 545private readonly UIElement _visualParent;
System\Windows\Controls\UserControl.cs (1)
51/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\Validation.cs (5)
410if (adornerSite is UIElement { IsVisible: false } siteUIElement) 424if (sender is not UIElement adornerSite) 442if (adornerSite is not UIElement siteUIElement) 595else if (source is UIElement) 596((UIElement)source).RaiseEvent(args);
System\Windows\Controls\ViewBox.cs (6)
167private UIElement InternalChild 172if (vc.Count != 0) return vc[0] as UIElement; 198public override UIElement Child 209UIElement old = InternalChild; 311UIElement child = InternalChild; 343UIElement child = InternalChild;
System\Windows\Controls\ViewPort3D.cs (1)
154/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Controls\VirtualizingPanel.cs (6)
41public double GetItemOffset(UIElement child) 51protected virtual double GetItemOffsetCore(UIElement child) 419protected void AddInternalChild(UIElement child) 432protected void InsertInternalChild(int index, UIElement child) 451internal static void AddInternalChild(UIElementCollection children, UIElement child) 457internal static void InsertInternalChild(UIElementCollection children, int index, UIElement child)
System\Windows\Controls\VirtualizingStackPanel.cs (48)
538_scrollData._offset.X = UIElement.RoundLayoutValue(_scrollData._offset.X, dpi.DpiScaleX); 539_scrollData._computedOffset.X = UIElement.RoundLayoutValue(_scrollData._computedOffset.X, dpi.DpiScaleX); 666_scrollData._offset.Y = UIElement.RoundLayoutValue(_scrollData._offset.Y, dpi.DpiScaleY); 667_scrollData._computedOffset.Y = UIElement.RoundLayoutValue(_scrollData._computedOffset.Y, dpi.DpiScaleY); 1699UIElement child; 1707child = generator.GenerateNext(out newlyRealized) as UIElement; 2224UIElement firstContainerInViewport = null; 2611firstContainerInViewport = children[firstItemInViewportChildIndex] as UIElement; 3397UIElement child = null; 3409child = (UIElement)children[i]; 3438UIElement containerBeforeViewport = null; 3447containerBeforeViewport = (UIElement)children[j]; 5881Size childDesiredSize = ((UIElement)children[i]).DesiredSize; 6451private void SetItemsHostInsetForChild(int index, UIElement child, IContainItemStorage itemStorageProvider, bool isHorizontal) 6562private ItemsControl GetScrollingItemsControl(UIElement container) 6694UIElement child, 7483UIElement child = children[i] as UIElement; 7635UIElement child = children[i] as UIElement; 8102object item = ((ItemContainerGenerator)generator).ItemFromContainer((UIElement)children[childIndex]); 8201UIElement child = null; 8214child = generator.GenerateNext(out newlyRealized) as UIElement; 8226child = (UIElement)children[childIndex]; 8408UIElement child, 8555UIElement child, 8590UIElement child, 8733private void InsertNewContainer(int childIndex, UIElement container) 8744private bool InsertRecycledContainer(int childIndex, UIElement container) 8756private bool InsertContainer(int childIndex, UIElement container, bool isRecycled) 8908private bool AddContainerFromGenerator(int childIndex, UIElement child, bool newlyRealized, bool isBeforeViewport) 8980UIElement child = Generator.GenerateNext(out newlyRealized) as UIElement; 9084UIElement child; 9120child = (UIElement)children[childIndex]; 9203_realizedChildren = new List<UIElement>(children.Count); 9224foreach (UIElement child in InternalChildren) 9272UIElement child = _realizedChildren[realizedChildIndex]; 9297UIElement visualChild; 9298UIElement realizedChild = _realizedChildren.Count > 0 ? _realizedChildren[0] : null; 9451private bool NotifyCleanupItem(UIElement child, ItemsControl itemsControl) 9596UIElement firstContainerInViewport, 11001protected override double GetItemOffsetCore(UIElement child) 11067double distance = vp.GetItemOffset((UIElement)child); 11276UIElement container = null; 11280container = (UIElement)children[i]; 11723private List<UIElement> _realizedChildren; 13033foreach (UIElement child in RealizedChildren)
System\Windows\Controls\WrapPanel.cs (6)
239UIElement child = children[i] as UIElement; 299UIElement child = children[i] as UIElement; 348UIElement child = children[i] as UIElement;
System\Windows\Data\BindingGroup.cs (4)
602UIElement layoutElement = Helper.FindMentor(this) as UIElement; 922UIElement layoutElement = mentor as UIElement;
System\Windows\Documents\Adorner.cs (6)
45protected Adorner(UIElement adornedElement) 79UIElement ch = this.GetVisualChild(i) as UIElement; 90/// Override of <seealso cref="UIElement.GetLayoutClip"/>. 177public UIElement AdornedElement 243private readonly UIElement _adornedElement;
System\Windows\Documents\AdornerDecorator.cs (2)
27public override UIElement Child 156public override UIElement Child
System\Windows\Documents\AdornerLayer.cs (12)
212foreach (UIElement key in ElementMap.Keys) 233public void Update(UIElement element) 258public Adorner[] GetAdorners(UIElement element) 439/// Override for <seealso cref="UIElement.ArrangeCore" /> 678private void Clear(UIElement element) 701private void UpdateElementAdorners(UIElement element) 766private void UpdateAdorner(UIElement element) 793UIElement[] keys = new UIElement[keyCollection.Count]; 798UIElement elTemp = (UIElement)keys[i]; 814Clear((UIElement)removeList[i]);
System\Windows\Documents\BlockUIContainer.cs (4)
49public BlockUIContainer(UIElement uiElement) 69public UIElement Child 73return this.ContentStart.GetAdjacentElement(LogicalDirection.Forward) as UIElement; 85UIElement child = Child;
System\windows\Documents\CaretElement.cs (2)
926_caretElement.ApplyAnimationClock(UIElement.OpacityProperty, _blinkAnimationClock); 932_caretElement.ApplyAnimationClock(UIElement.OpacityProperty, null);
System\Windows\Documents\ColumnResizeAdorner.cs (2)
39internal ColumnResizeAdorner(UIElement scope) : base(scope) 139internal void Initialize(UIElement renderScope, double xPos, double yPos, double height)
System\Windows\Documents\DocumentSequence.cs (4)
163UIElement IFixedNavigate.FindElementByID(string elementID, out FixedPage rootFixedPage) 165UIElement uiElementRet = null; 1141UIElement e; 1142if ((e = ((object)base.Visual) as UIElement) != null)
System\Windows\Documents\DocumentSequenceTextView.cs (3)
497internal override UIElement RenderScope 503while (visual != null && !(visual is UIElement)) 508return visual as UIElement;
System\Windows\Documents\DPTypeDescriptorContext.cs (1)
57if (property == UIElement.BitmapEffectProperty)
System\Windows\Documents\FixedDocument.cs (6)
208UIElement IFixedNavigate.FindElementByID(string elementID, out FixedPage rootFixedPage) 210UIElement uiElementRet = null; 502fixedPosition = new FixedPosition(fixedPage.CreateFixedNode(pageIndex, (UIElement)element), 0); 1317private static DependencyObjectType UIElementType = DependencyObjectType.FromSystemTypeInternal(typeof(UIElement)); 1420UIElement e; 1421if ((e = ((object)base.Visual) as UIElement)!=null)
System\Windows\Documents\FixedDSBuilder.cs (5)
37internal NameHashFixedNode(UIElement e, int i) 41internal UIElement uiElement; 53public void BuildNameHashTable(String Name, UIElement e, int indexToFixedNodes) 111private void AddFixedNodeInFlow(int index, UIElement e) 123e = _fixedPage.GetElement(fn) as UIElement;
System\Windows\Documents\FixedHighlight.cs (3)
40internal FixedHighlight(UIElement element, int beginOffset, int endOffset, FixedHighlightType t, 204internal UIElement Element 234private readonly UIElement _element; // the Glyphs element, or possibly an image
System\Windows\Documents\FixedHyperlink.cs (1)
35UIElement FindElementByID(string elementID, out FixedPage rootFixedPage);
System\Windows\Documents\FixedPage.cs (24)
88/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 190UIElement uie = value as UIElement; 194throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value"); 223public static double GetLeft(UIElement element) 236public static void SetLeft(UIElement element, double length) 251public static double GetTop(UIElement element) 264public static void SetTop(UIElement element, double length) 279public static double GetRight(UIElement element) 292public static void SetRight(UIElement element, double length) 307public static double GetBottom(UIElement element) 320public static void SetBottom(UIElement element, double length) 332public static Uri GetNavigateUri(UIElement element) 343public static void SetNavigateUri(UIElement element, Uri uri) 749foreach (UIElement child in Children) 772foreach (UIElement child in Children) 834UIElement IFixedNavigate.FindElementByID(string elementID, out FixedPage rootFixedPage) 836UIElement uiElementRet = null; 841UIElement uiElement; 851uiElementRet = node as UIElement; 860internal FixedNode CreateFixedNode(int pageIndex, UIElement e) 1021childIndex = parentFP.Children.IndexOf((UIElement)e); 1025childIndex = parentC.Children.IndexOf((UIElement)e); 1054private FixedNode _CreateFixedNode(int pageIndex, UIElement e)
System\Windows\Documents\FixedSOMElement.cs (1)
72public static FixedSOMElement CreateFixedSOMElement(FixedPage page, UIElement uiElement, FixedNode fixedNode, int startIndex, int endIndex)
System\Windows\Documents\FixedTextBuilder.cs (14)
956elements.Current as UIElement, 1189public LogicalHyperlink(Uri uri, Geometry geom, UIElement uiElement) 1222public UIElement UIElement 1243private UIElement _uiElement; 1267public void AddLogicalHyperlink(Uri uri, Geometry geometry, UIElement uiElement) 1276public Uri GetUri(FixedSOMElement element, FixedPage p, out UIElement shadowElement) 1279UIElement e = p.GetElement(element.FixedNode) as UIElement; 1326public void MarkAsUsed(UIElement uiElement) 1405foreach (UIElement child in children) 1470UIElement shadowHyperlink; 1727private void _SetHyperlink(Uri navUri, FixedNode node, UIElement shadowHyperlink) 1740UIElement uiElement = _fixedPage.GetElement(node) as UIElement;
System\Windows\Documents\FixedTextContainer.cs (3)
445UIElement e; 448e = (UIElement)o; 458e = (UIElement)o;
System\Windows\Documents\FixedTextView.cs (7)
94UIElement e; 684internal override UIElement RenderScope 690while (visual != null && !(visual is UIElement)) 695return visual as UIElement; 776private bool _HitTest(Point pt, out UIElement e) 788e = (UIElement) v; 1298private static DependencyObjectType UIElementType = DependencyObjectType.FromSystemTypeInternal(typeof(UIElement));
System\Windows\Documents\FlowDocument.cs (2)
940internal void OnChildDesiredSizeChanged(UIElement child) 1209OnChildDesiredSizeChanged(arg as UIElement);
System\Windows\Documents\Glyphs.cs (1)
705((UIElement)d).InvalidateVisual();
System\Windows\Documents\Hyperlink.cs (5)
930SetUpEventHandler(element, UIElement.KeyDownEvent, new KeyEventHandler(OnKeyDown)); //initiates navigation 931SetUpEventHandler(element, UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(OnMouseLeftButtonDown)); //capture hyperlink pressed state 932SetUpEventHandler(element, UIElement.MouseLeftButtonUpEvent, new MouseButtonEventHandler(OnMouseLeftButtonUp)); //can initiate navigation 935SetUpEventHandler(element, UIElement.MouseEnterEvent, new MouseEventHandler(OnMouseEnter)); //set status bar 936SetUpEventHandler(element, UIElement.MouseLeaveEvent, new MouseEventHandler(OnMouseLeave)); //clear status bar
System\Windows\Documents\ImmComposition.cs (1)
1868private UIElement RenderScope
System\Windows\Documents\InlineCollection.cs (4)
69UIElement uiElement = value as UIElement; 105public void Add(UIElement uiElement) 235private int AddUIElement(UIElement uiElement, bool returnIndex)
System\Windows\Documents\InlineUIContainer.cs (6)
51public InlineUIContainer(UIElement childUIElement) : this(childUIElement, null) 65public InlineUIContainer(UIElement childUIElement, TextPointer insertionPosition) 103public UIElement Child 107return this.ContentStart.GetAdjacentElement(LogicalDirection.Forward) as UIElement; 119UIElement child = Child; 167UIElement childElement = this.Child;
System\Windows\Documents\ITextRange.cs (1)
115UIElement GetUIElementSelected();
System\Windows\Documents\ITextView.cs (1)
497UIElement RenderScope { get; }
System\Windows\Documents\RubberbandSelector.cs (2)
223foreach (UIElement child in vc) 619private UIElement _scope; // element to which we are attached
System\windows\Documents\TextEditor.cs (2)
304internal static ITextView GetTextView(UIElement scope) 400EventManager.RegisterClassHandler(controlType, UIElement.LostFocusEvent, new RoutedEventHandler(OnLostFocus));
System\windows\Documents\TextEditorContextMenu.cs (2)
116if (contextMenu == null || !(e.TargetElement is UIElement)) 242UIElement placementTarget = ((ContextMenu)sender).PlacementTarget;
System\windows\Documents\TextEditorMouse.cs (4)
705UIElement uiElement = GetUIElementWhenMouseOver(This, mouseMovePoint); 728private static UIElement GetUIElementWhenMouseOver(TextEditor This, Point mouseMovePoint) 765return mouseMovePosition.GetAdjacentElement(mouseMovePosition.LogicalDirection) as UIElement; 775UIElement renderScope = textEditor.TextView.RenderScope;
System\Windows\Documents\TextElement.cs (2)
816UIElement uie = value as UIElement;
System\Windows\Documents\TextPointer.cs (7)
513/// element and has <see cref="UIElement"/> as atomic symbol in a requested direction.</para> 638/// the <see cref="UIElement"/> class.</para> 801/// and a <see cref="UIElement"/>.</para> 805/// <para><see cref="UIElement"/> object can be returned only when 837/// <para>- the whole <see cref="UIElement"/> as atomic embedded object.</para> 899/// <para>- the whole <see cref="UIElement"/> as atomic embedded object.</para> 2142internal void InsertUIElement(UIElement uiElement)
System\Windows\Documents\TextRange.cs (2)
187UIElement ITextRange.GetUIElementSelected() 879internal UIElement GetUIElementSelected()
System\Windows\Documents\TextRangeBase.cs (2)
1617internal static UIElement GetUIElementSelected(ITextRange range) 1637return start.GetAdjacentElement(LogicalDirection.Forward) as UIElement;
System\Windows\Documents\TextRangeEdit.cs (1)
880UIElement embeddedElement = ((BlockUIContainer)block).Child;
System\Windows\Documents\TextSchema.cs (14)
272elementType.Module == typeof(System.Windows.UIElement).Module; // presentationcore 842return typeof(UIElement).IsAssignableFrom(childType); 877return typeof(UIElement).IsAssignableFrom(childType); 1190UIElement.RenderTransformProperty, 1191UIElement.RenderTransformOriginProperty, 1192UIElement.OpacityProperty, 1193UIElement.OpacityMaskProperty, 1194UIElement.BitmapEffectProperty, 1195UIElement.BitmapEffectInputProperty, 1196UIElement.VisibilityProperty, 1197UIElement.ClipToBoundsProperty, 1198UIElement.ClipProperty, 1199UIElement.SnapsToDevicePixelsProperty, 1208UIElement.AllowDropProperty,
System\windows\Documents\TextSelection.cs (2)
2561if (element is UIElement && ((UIElement)element).IsKeyboardFocusWithin)
System\Windows\Documents\TextStore.cs (1)
2084internal UIElement RenderScope
System\windows\Documents\UIElementPropertyUndoUnit.cs (5)
51private UIElementPropertyUndoUnit(UIElement uiElement, DependencyProperty property, object oldValue) 104internal static void Add(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, HorizontalAlignment newValue) 110internal static void Add(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, FlowDirection newValue) 126private static void AddPrivate(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, object newValue) 167private readonly UIElement _uiElement;
System\Windows\Documents\ValidationHelper.cs (1)
123Invariant.Assert(child is UIElement);
System\Windows\FrameworkElement.cs (46)
342protected internal virtual void ParentLayoutInvalidated(UIElement child) 600virtual internal UIElement TemplateChild 1429if (item == null || (item is UIElement)) 2216UIElement layoutParent = null; 2229layoutParent = v as UIElement; 3165UIElement e = null; 4303/// Override for <seealso cref="UIElement.MeasureCore" />. 4354mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY); 4355mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX); 4356mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY); 4357mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX); 4402frameworkAvailableSize = UIElement.RoundLayoutSize(frameworkAvailableSize, dpi.DpiScaleX, dpi.DpiScaleY); 4483clippedDesiredWidth = UIElement.RoundLayoutValue(clippedDesiredWidth, dpi.DpiScaleX); 4484clippedDesiredHeight = UIElement.RoundLayoutValue(clippedDesiredHeight, dpi.DpiScaleY); 4529/// Override for <seealso cref="UIElement.ArrangeCore" />. 4583marginWidth = UIElement.RoundLayoutValue(marginWidth, dpi.DpiScaleX); 4584marginHeight = UIElement.RoundLayoutValue(marginHeight, dpi.DpiScaleY); 4691mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY); 4692mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX); 4693mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY); 4694mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX); 4717arrangeSize = UIElement.RoundLayoutSize(arrangeSize, dpi.DpiScaleX, dpi.DpiScaleY); 4730RenderSize = UIElement.RoundLayoutSize(RenderSize, dpi.DpiScaleX, dpi.DpiScaleY); 4743clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY); 4760clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY); 4776clientSize = UIElement.RoundLayoutSize(clientSize, dpi.DpiScaleX, dpi.DpiScaleY); 4792offset.X = UIElement.RoundLayoutValue(offset.X, dpi.DpiScaleX); 4793offset.Y = UIElement.RoundLayoutValue(offset.Y, dpi.DpiScaleY); 4801/// Override for <seealso cref="UIElement.OnRenderSizeChanged"/> 4881/// Override of <seealso cref="UIElement.GetLayoutClip"/>. 4902mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY); 4903mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX); 4904mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY); 4905mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX); 4955clipRect = UIElement.RoundLayoutRect(clipRect, dpi.DpiScaleX, dpi.DpiScaleY); 4976slotClipRect = UIElement.RoundLayoutRect(slotClipRect, dpi.DpiScaleX, dpi.DpiScaleY); 4993localClipRect = UIElement.RoundLayoutRect(localClipRect, dpi.DpiScaleX, dpi.DpiScaleY); 5022slotRect = UIElement.RoundLayoutRect(slotRect, dpi.DpiScaleX, dpi.DpiScaleY); 5031localRect = UIElement.RoundLayoutRect(localRect, dpi.DpiScaleX, dpi.DpiScaleY); 5152internal static void InternalSetLayoutTransform(UIElement element, Transform layoutTransform) 5810UIElement uiElement = this._templatedParent as UIElement; 6087UIElement uiElement = modelTreeNode as UIElement; 6397private UIElement _templateChild; // Non-null if this FE has a child that was created as part of a template. 6403internal static DependencyObjectType UIElementDType = DependencyObjectType.FromSystemTypeInternal(typeof(UIElement));
System\Windows\FrameworkTemplate.cs (3)
768else if (dependencyProperty == UIElement.UidProperty) 1137UIElement rootElement = rootObject as UIElement;
System\Windows\Generated\FrameworkContentElement.cs (2)
371UIElement.SynchronizeForceInheritProperties(null, this, null, _parent); 375UIElement.SynchronizeForceInheritProperties(null, this, null, oldParent);
System\Windows\Generated\FrameworkElement.cs (2)
369UIElement.SynchronizeForceInheritProperties(this, null, null, _parent); 373UIElement.SynchronizeForceInheritProperties(this, null, null, oldParent);
System\Windows\Ink\Events.cs (9)
125private List<UIElement> _elements; 132internal InkCanvasSelectionChangingEventArgs(StrokeCollection selectedStrokes, IEnumerable<UIElement> selectedElements) 137List<UIElement> elements = 138new List<UIElement>(selectedElements); 171public void SetSelectedElements(IEnumerable<UIElement> selectedElements) 175List<UIElement> elements = 176new List<UIElement>(selectedElements); 185public ReadOnlyCollection<UIElement> GetSelectedElements() 187return new ReadOnlyCollection<UIElement>(_elements);
System\Windows\Input\KeyboardNavigation.cs (37)
503public FocusVisualAdorner(UIElement adornedElement, Style focusVisualStyle) : base(adornedElement) 517public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle) 556((UIElement)GetVisualChild(0)).Measure(constraint); 631((UIElement)GetVisualChild(0)).Arrange(new Rect(new Point(), finalSize)); 758private UIElement _adorderChild; 763internal static UIElement GetParentUIElementFromContentElement(ContentElement ce) 769internal static UIElement GetParentUIElementFromContentElement(ContentElement ce, ref IContentHost ichParent) 783UIElement eParent = parent as UIElement; 793UIElement uielement = visualParent as UIElement; 885UIElement parentUIElement = GetParentUIElementFromContentElement(fce, ref parentICH); 1441UIElement uiElement = visual as UIElement; 1471if (current is UIElement || current is UIElement3D) 1485DependencyObject parentAsUIElement = parent as UIElement; 1528if (current is UIElement || current is UIElement3D) 1546DependencyObject parentAsUIElement = parent as UIElement; 1640if (current is UIElement || current is UIElement3D) 1655DependencyObject uiElement = e as UIElement; 1708if (current is UIElement || current is UIElement3D) 1721DependencyObject uiElement = e as UIElement; 1933UIElement uie = element as UIElement; 2374UIElement uiElement = element as UIElement; 2412UIElement parentUIElement = GetParentUIElementFromContentElement(ce, ref parentICH); 2734UIElement sourceUIElement = sourceElement as UIElement; 2744UIElement targetUIElement = targetElement as UIElement; 2776UIElement uiElement = sender as UIElement; 2792if (sender is UIElement) 2793((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus)); 3005ItemsControl.TryGetTreeViewItemHeader(sourceElement) as UIElement, 3037currentRectElement as UIElement,
System\Windows\Interop\ActiveXHost.cs (2)
78invalidatorMap[UIElement.VisibilityProperty] = new PropertyInvalidator(OnVisibilityInvalidated); 929args.Target = (UIElement)sender;
System\Windows\Interop\HwndHost.cs (1)
625/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (7)
59return typeof(System.Windows.UIElement); 61return typeof(System.Windows.UIElement); 63return typeof(System.Windows.UIElement); 65return typeof(System.Windows.UIElement); 67return typeof(System.Windows.UIElement); 82case 3: assembly = typeof(System.Windows.UIElement).Assembly; break; 790case 694: t = () => typeof(UIElement); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (53)
3924Type type = typeof(System.Windows.UIElement); 3925DependencyProperty dp = System.Windows.UIElement.ClipToBoundsProperty; 3927this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 3941Type type = typeof(System.Windows.UIElement); 3942DependencyProperty dp = System.Windows.UIElement.FocusableProperty; 3944this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 3958Type type = typeof(System.Windows.UIElement); 3959DependencyProperty dp = System.Windows.UIElement.IsEnabledProperty; 3961this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 3975Type type = typeof(System.Windows.UIElement); 3976DependencyProperty dp = System.Windows.UIElement.RenderTransformProperty; 3978this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 3992Type type = typeof(System.Windows.UIElement); 3993DependencyProperty dp = System.Windows.UIElement.VisibilityProperty; 3995this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 4030typeof(System.Windows.UIElement), // type 4034bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.AdornedElementPlaceholder)target).Child = (System.Windows.UIElement)value; }; 4047typeof(System.Windows.UIElement), // type 4051bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.AdornerDecorator)target).Child = (System.Windows.UIElement)value; }; 4098typeof(System.Windows.UIElement), // type 4102bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.BlockUIContainer)target).Child = (System.Windows.UIElement)value; }; 4149typeof(System.Windows.UIElement), // type 4153bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Border)target).Child = (System.Windows.UIElement)value; }; 4166typeof(System.Windows.UIElement), // type 4170bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Primitives.BulletDecorator)target).Child = (System.Windows.UIElement)value; }; 4425typeof(System.Windows.UIElement), // type 4429bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; }; 4836typeof(System.Windows.UIElement), // type 4840bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.InkPresenter)target).Child = (System.Windows.UIElement)value; }; 4853typeof(System.Windows.UIElement), // type 4857bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.InlineUIContainer)target).Child = (System.Windows.UIElement)value; }; 6171typeof(System.Windows.UIElement), // type 6175bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Viewbox)target).Child = (System.Windows.UIElement)value; }; 6810Type type = typeof(System.Windows.UIElement); 6811DependencyProperty dp = System.Windows.UIElement.UidProperty; 6813this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 7769Type type = typeof(System.Windows.UIElement); 7770DependencyProperty dp = System.Windows.UIElement.RenderTransformOriginProperty; 7772this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 7807typeof(System.Windows.UIElement), // type 7811bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Primitives.BulletDecorator)target).Bullet = (System.Windows.UIElement)value; }; 7820Type type = typeof(System.Windows.UIElement); 7821DependencyProperty dp = System.Windows.UIElement.SnapsToDevicePixelsProperty; 7823this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 7837Type type = typeof(System.Windows.UIElement); 7839this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 7845bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.UIElement)target).CommandBindings; }; 7854Type type = typeof(System.Windows.UIElement); 7856this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType 7862bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.UIElement)target).InputBindings; }; 8096Type type = typeof(System.Windows.UIElement); 8097DependencyProperty dp = System.Windows.UIElement.AllowDropProperty; 8099this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10693typeof(System.Windows.UIElement),
System\Windows\Markup\Baml2006\WpfMemberInvoker.cs (1)
39UIElement.AddHandler(dObject, _member.RoutedEvent, handler);
System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
111case 3: assembly = new Baml6Assembly(typeof(System.Windows.UIElement).Assembly); break;
System\Windows\Markup\BamlRecordReader.cs (8)
1112((element is UIElement) || 2848UIElement uiel = element as UIElement; 3320UIElement element = CurrentContext.ObjectData as UIElement; 3323SetDependencyValue(element, UIElement.UidProperty, bamlDefAttributeRecord.Value); 4438UIElement uiElement = element as UIElement;
System\Windows\Markup\KnownTypes.cs (6)
1948return System.Windows.UIElement.ClipToBoundsProperty; 1950return System.Windows.UIElement.FocusableProperty; 1952return System.Windows.UIElement.IsEnabledProperty; 1954return System.Windows.UIElement.RenderTransformProperty; 1956return System.Windows.UIElement.VisibilityProperty; 6248case KnownElements.UIElement: t = typeof(System.Windows.UIElement); break;
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
554if (dependencyProperty == UIElement.UidProperty)
System\Windows\Markup\WpfXamlLoader.cs (2)
101UIElement uiElement = args.Instance as UIElement;
System\Windows\Markup\XamlReader.cs (2)
377UIElement uiElement = args.Instance as UIElement;
System\Windows\Navigation\NavigationService.cs (2)
2374UIElement navigatorHost = INavigatorHost as UIElement;
System\Windows\Navigation\NavigationWindow.cs (1)
846/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
System\Windows\SizeChangedEventArgs.cs (3)
24/// The SizeChangeInfo that is used by <seealso cref="UIElement.OnRenderSizeChanged"/>. 26internal SizeChangedEventArgs(UIElement element, SizeChangedInfo info) 81private UIElement _element;
System\Windows\StyleHelper.cs (2)
1940internal static void AddCustomTemplateRoot( FrameworkElement container, UIElement child ) 1949UIElement child,
System\Windows\SystemResources.cs (1)
528_presentationCore = typeof(UIElement).Assembly;
System\Windows\Window.cs (7)
100UIElement.ManipulationCompletedEvent, 104UIElement.ManipulationInertiaStartingEvent, 1769/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>) 1888UIElement child = this.GetVisualChild(0) as UIElement; 3424UIElement child = this.GetVisualChild(0) as UIElement;
PresentationFramework.Aero (5)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
403UIElement child = Child; 457UIElement child = Child;
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
224UIElement child = Child;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
177UIElement child = Child; 222UIElement child = Child;
PresentationFramework.Aero2 (5)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
403UIElement child = Child; 457UIElement child = Child;
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
224UIElement child = Child;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
177UIElement child = Child; 222UIElement child = Child;
PresentationFramework.AeroLite (2)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
177UIElement child = Child; 222UIElement child = Child;
PresentationFramework.Classic (4)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (2)
659UIElement child = Child; 708UIElement child = Child;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
177UIElement child = Child; 222UIElement child = Child;
PresentationFramework.Luna (4)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
318UIElement child = Child; 372UIElement child = Child;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
177UIElement child = Child; 222UIElement child = Child;
PresentationFramework.Royale (4)
Microsoft\Windows\Themes\ButtonChrome.cs (2)
276UIElement child = Child; 330UIElement child = Child;
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
177UIElement child = Child; 222UIElement child = Child;
PresentationUI (8)
MS\Internal\Documents\Application\PageTextBox.cs (1)
141/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
MS\Internal\Documents\Application\ZoomComboBox.cs (1)
243/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (6)
1211private void ChangeControlVisibility(UIElement uie) 1224private void ChangeControlVisibility(UIElement uie, bool visibility) 2434UIElement[] children = new UIElement[fixedPage.Children.Count]; 2436foreach (UIElement child in fixedPage.Children) 2443foreach (UIElement child in children)
ReachFramework (7)
AlphaFlattener\Utility.cs (2)
1584UIElement uiElement = visualBrush.Visual as UIElement;
Serialization\Manager\ReachSerializationUtils.cs (3)
702UIElement element = visual as UIElement; 1152UIElement uiElement,
Serialization\VisualTreeFlattener.cs (2)
520UIElement uiElement = visual as UIElement;
Roslyn.VisualStudio.DiagnosticsWindow (4)
OptionPages\InternalOptionsControl.cs (3)
128var uiElement = CreateControl(option, additional: additional); 137var uiElement = CreateControl(option, languageName, additional); 144private UIElement CreateControl(IOption2 option, string languageName = null, string additional = null)
Panels\TelemetryPanel.xaml.cs (1)
136private static IDisposable Disable(UIElement control)
System.Windows.Controls.Ribbon (245)
Microsoft\Windows\Automation\Peers\RibbonApplicationMenuAutomationPeer.cs (1)
53UIElement element = menu.FooterPaneHost;
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (1)
208UIElement helpPaneHost = OwningRibbon.HelpPaneHost;
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupAutomationPeer.cs (2)
46UIElement headerElement = tabGroup.Header as UIElement;
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (1)
118UIElement filterHost = null;
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (8)
74UIElement owner = GetWrapper(); 142UIElement owner = GetWrapper(); 173UIElement owner = GetWrapper(); 203UIElement owner = GetWrapper(); 243UIElement owner = GetWrapper(); 267UIElement owner = GetWrapper(); 287UIElement owner = GetWrapper(); 341UIElement owner = GetWrapper();
Microsoft\Windows\Controls\ActivatingKeyTipEventArgs.cs (1)
70public UIElement PlacementTarget
Microsoft\Windows\Controls\Generated\TreeHelper.cs (4)
214UIElement element = pathStart as UIElement; 238UIElement element = pathStart as UIElement;
Microsoft\Windows\Controls\KeyTipAdorner.cs (7)
31public KeyTipAdorner(UIElement adornedElement, 32UIElement placementTarget, 103_keyTipControl.IsEnabled = (bool)keyTipElement.GetValue(UIElement.IsEnabledProperty); 167private UIElement PlacementTarget { get; set; } 198UIElement placementTarget = PlacementTarget; 246UIElement placementTarget = PlacementTarget; 298private double NudgeToRibbonGroupAxis(UIElement placementTarget, double verticalPosition)
Microsoft\Windows\Controls\KeyTipService.cs (6)
939if (!((bool)(exactMatchElement.GetValue(UIElement.IsEnabledProperty)))) 1350DependencyProperty.RegisterAttached("KeyTipAdornerHolder", typeof(UIElement), typeof(KeyTipService), new UIPropertyMetadata(null)); 1360UIElement uie = RibbonHelper.GetContainingUIElement(element); 1385UIElement adornedElement = RibbonHelper.GetContainingUIElement(activatingEventArgs.PlacementTarget == null ? element : activatingEventArgs.PlacementTarget); 1436UIElement adornedElement = (UIElement)element.GetValue(KeyTipAdornerHolderProperty);
Microsoft\Windows\Controls\Ribbon\Primitives\IProvideStarLayoutInfoBase.cs (1)
28UIElement TargetElement { get; }
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (6)
389UIElement child = children[i] as UIElement; 459UIElement child = children[i]; 600UIElement child = (UIElement)children[i]; 634public UIElement TargetElement
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryItemsPanel.cs (4)
343UIElement child = children[i] as UIElement; 417UIElement child = children[i] as UIElement;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (11)
66UIElement child = children[i]; 148private static bool IsStarChild(UIElement child) 154private static bool IsStarChild(UIElement child, out double weight) 210UIElement child = children[i]; 277UIElement child = children[i]; 310UIElement child = children[i]; 352UIElement child = children[columnChildIndex]; 383private static bool CanChildStretch(UIElement child) 392UIElement contentChild = ribbonControl.ContentChild; 433public UIElement TargetElement 440return itemsPresenter.TemplatedParent as UIElement;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
312foreach (UIElement child in this.Children)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (8)
121foreach (UIElement child in InternalChildren) 163UIElement starLayoutTarget = starLayoutInfoProvider.TargetElement; 216HashSet<UIElement> starLayoutTargets = GetStarLayoutProviderTargets(); 226UIElement child = children[i]; 263private HashSet<UIElement> GetStarLayoutProviderTargets() 265HashSet<UIElement> targets = new HashSet<UIElement>(); 269UIElement starLayoutTarget = starProvider.TargetElement;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (3)
28UIElement child = Children[i]; 49UIElement child = (UIElement)children[i];
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (16)
44UIElement childToAdd = Generator.GenerateNext() as UIElement; 65UIElement childToMove = GeneratedChildren[args.OldPosition.Index]; 116private List<UIElement> _generatedChildren; 118internal List<UIElement> GeneratedChildren 135_generatedChildren = new List<UIElement>(); 146UIElement child; 149while ((child = Generator.GenerateNext() as UIElement) != null) 183List<UIElement> generatedItems = GeneratedChildren; 189UIElement generatedChild = generatedItems[i]; 254UIElement parent = VisualTreeHelper.GetParent(this) as UIElement; 286UIElement child = (UIElement)children[i]; 324UIElement currentChild = InternalChildren[j]; 338UIElement currentChild = GeneratedChildren[k];
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (8)
117foreach (UIElement child in InternalChildren) 253UIElement child = children[index]; 409UIElement child = children[i]; 458UIElement child = children[i]; 492foreach (UIElement element in children) 546foreach (UIElement element in children) 610foreach (UIElement element in InternalChildren) 675UIElement child = children[i];
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (2)
199UIElement qat = Ribbon.QatTopHost; 209UIElement titleHost = Ribbon.TitleHost;
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (18)
70UIElement _qatTopHost = null; // ContentPresenter hosting QuickAccessToolBar 71UIElement _titleHost = null; // ContentPresenter hosting the Title 72UIElement _helpPaneHost = null; // ContentPresenter hosting the HelpPaneContent 669internal UIElement QatTopHost 677internal UIElement TitleHost 685internal UIElement HelpPaneHost 769_qatTopHost = this.GetTemplateChild(Ribbon.QatHostTemplateName) as UIElement; 770_titleHost = this.GetTemplateChild(Ribbon.TitleHostTemplateName) as UIElement; 771_helpPaneHost = this.GetTemplateChild(Ribbon.HelpPaneTemplateName) as UIElement; 1309!((UIElement)(ribbon._itemsPresenterPopup.Parent)).IsArrangeValid)) 2410ContextMenuOriginalSource = e.OriginalSource as UIElement; 2414internal UIElement ContextMenuOriginalSource 2467UIElement originalSource = args.OriginalSource as UIElement; 2470originalSource = FindElementThatCanBeAddedToQAT(originalSource) as UIElement; 2568UIElement originalSource = args.OriginalSource as UIElement; 2661e.CloneInstance = (UIElement)RibbonHelper.CreateClone(e.InstanceToBeCloned, allowTransformations);
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (9)
270internal UIElement FooterPaneHost 275internal UIElement AuxiliaryPaneHost 398UIElement auxiliaryPaneHost = AuxiliaryPaneHost; 414UIElement footerPaneHost = FooterPaneHost; 430UIElement subMenuScrollViewer = SubMenuScrollViewer; 450UIElement footerPaneHost = FooterPaneHost; 473UIElement popupChild = _popup.TryGetChild(); 491UIElement auxilaryPaneHost = AuxiliaryPaneHost; 521UIElement auxilaryPaneHost = AuxiliaryPaneHost;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (3)
547_clonedElement = logicalElement as UIElement; 953UIElement targetFocusOnFalse = null; 1689private UIElement _clonedElement;
Microsoft\Windows\Controls\Ribbon\RibbonContentPresenter.cs (1)
190internal UIElement ContentChild
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (8)
75private static bool CanRaiseDismissPopups(UIElement dismissPopupSource) 102UIElement dismissPopupSource = contextMenu.GetDismissPopupSource(); 142UIElement uie = current as UIElement; 183private UIElement GetDismissPopupSource() 185UIElement placementTarget = PlacementTarget; 197UIElement returnValue = ribbon.ContextMenuOriginalSource; 212UIElement dismissPopupSource = GetDismissPopupSource();
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (5)
157UIElement element = e.OldValue as UIElement; 165UIElement element = e.NewValue as UIElement; 227internal UIElement ContentChild
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (1)
115UIElement contentChild = ribbonControl.ContentChild;
Microsoft\Windows\Controls\Ribbon\RibbonDropDownHelper.cs (1)
50UIElement popupRoot,
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (4)
2690predictedFocus = RibbonHelper.PredictFocus(focusedElement, direction) as UIElement; 2704UIElement predictedFocus = null; 2711predictedFocus = RibbonHelper.PredictFocus(focusedElement, direction) as UIElement; 2727UIElement focusContainer = RibbonHelper.GetContainingUIElement(focusedElement);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (8)
625UIElement popupChild = group._collapsedGroupPopup.TryGetChild(); 867UIElement contentChild = ribbonControl.ContentChild; 1407UIElement popupChild = _collapsedGroupPopup.TryGetChild(); 1449UIElement popupChild = _collapsedGroupPopup.TryGetChild(); 1504UIElement popupChild = _collapsedGroupPopup.TryGetChild(); 1679UIElement placementTarget = e.PlacementTarget; 1724UIElement ribbonPopupChild = ribbon.ItemsPresenterPopup.TryGetChild(); 1766UIElement popupChild = _collapsedGroupPopup.TryGetChild();
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (57)
482UIElement uie = Keyboard.FocusedElement as UIElement; 497UIElement uie; 501if ((uie = element as UIElement) != null) 519UIElement uie; 523if ((uie = element as UIElement) != null) 947UIElement uiElement = element as UIElement; 975UIElement uiElement = element as UIElement; 1019public static void HandleLostMouseCapture(UIElement element, 1023UIElement targetCapture, 1024UIElement targetFocus) 1103private static bool ReacquireCapture(UIElement targetCapture, UIElement targetFocus) 1113public static bool IsMousePhysicallyOver(UIElement element) 1133UIElement alternateCaptureHost) 1141UIElement element = sender as UIElement; 1145UIElement source = Mouse.Captured as UIElement; 1162UIElement mouseOverTarget, 1163UIElement alternateMouseOverTarget) 1187public static void AsyncSetFocusAndCapture(UIElement element, 1189UIElement targetCapture, 1190UIElement targetFocus) 1213public static void RestoreFocusAndCapture(UIElement targetCapture, 1214UIElement targetFocus) 1230public static void HandleIsDropDownChanged(UIElement element, 1232UIElement targetCapture, 1233UIElement targetFocus) 1256object sender, KeyEventArgs e, Func<bool> gettor, Action<bool> settor, UIElement targetFocusOnFalse, UIElement targetFocusContainerOnTrue) 1282UIElement uie = sender as UIElement; 1328public static UIElement TryGetChild(this Popup popup) 1333public static bool IsCaptureInSubtree(UIElement element) 1339public static bool IsCaptureInVisualSubtree(UIElement element) 1417UIElement managerElement = starLayoutManager as UIElement; 1546private static void TransferProperty(UIElement original, UIElement clone, DependencyProperty dp, TransferMode mode) 1551private static void TransferProperty(UIElement original, UIElement clone, DependencyProperty originalProperty, DependencyProperty cloneProperty, TransferMode mode) 1873if (original is UIElement || 2504UIElement container = parentItemsControl.ItemContainerGenerator.ContainerFromIndex(i) as UIElement; 2579public static UIElement GetContainingUIElement(DependencyObject element) 2581UIElement uie = element as UIElement; 2620UIElement mediumPlacementTarget) 2667UIElement nonLargePlacementTarget) 2700UIElement mediumPlacementTarget) 2751UIElement mediumPlacementTarget) 2853internal static AutomationPeer CreatePeer(UIElement element) 2965UIElement uie = element as UIElement;
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (10)
67EventManager.RegisterClassHandler(ownerType, UIElement.LostMouseCaptureEvent, new MouseEventHandler(OnLostMouseCaptureThunk)); 69EventManager.RegisterClassHandler(ownerType, UIElement.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocusThunk), true); 794UIElement popupChild = _popup.TryGetChild(); 1260UIElement popupChild = _popup.TryGetChild(); 1288_popupRoot = TreeHelper.FindVisualRoot(_itemsPresenter) as UIElement; 1339private UIElement _popupRoot; 1433UIElement popupChild = _popup.TryGetChild(); 1449UIElement popupChild = _popup.TryGetChild(); 1541UIElement popupChild = _popup.TryGetChild(); 1688UIElement popupChild = _popup.TryGetChild();
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (12)
654_sideBarBorder = GetTemplateChild(SideBarBorderTemplatePartName) as UIElement; 785UIElement popupChild = _popup.TryGetChild(); 837UIElement popupChild = _popup.TryGetChild(); 994UIElement popupChild = _popup.TryGetChild(); 1316UIElement popupChild = _popup.TryGetChild(); 1338_popupRoot = TreeHelper.FindVisualRoot(_itemsPresenter) as UIElement; 1599private UIElement _popupRoot; 1600private UIElement _sideBarBorder = null; 1679UIElement popupChild = _popup.TryGetChild(); 1695UIElement popupChild = _popup.TryGetChild(); 1753internal UIElement SideBarBorder 1832UIElement popupChild = _popup.TryGetChild();
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (8)
181UIElement popupChild = qat._overflowPopup.TryGetChild(); 371UIElement popupChild = _overflowPopup.TryGetChild(); 383UIElement popupChild = _overflowPopup.TryGetChild(); 401UIElement popupChild = _overflowPopup.TryGetChild(); 462UIElement popupChild = _overflowPopup.TryGetChild(); 601UIElement contentChild = ribbonControl.ContentChild; 622UIElement contentChild = ribbonControl.ContentChild; 682UIElement popupChild = _overflowPopup.TryGetChild();
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBarCloneEventArgs.cs (4)
25public RibbonQuickAccessToolBarCloneEventArgs(UIElement targetElement) 31public UIElement InstanceToBeCloned 39public UIElement CloneInstance 58private UIElement _instanceToBeCloned;
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (1)
409UIElement popupChild = Popup.TryGetChild();
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (4)
81UIElement target = e.NewValue as UIElement; 287UIElement placementTarget = toolTip.PlacementTarget; 341UIElement placementTarget = this.PlacementTarget;
WindowsFormsIntegration (5)
System\Windows\Integration\ElementHost.cs (4)
56private SW.UIElement _child; 182public SW.UIElement Child 190UIElement oldValue = Child; 269private void OnChildChanged(UIElement oldChild)
System\Windows\Integration\WindowsFormsHost.cs (1)
568/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)