MS\Internal\LayoutDump.cs (16)
86internal static void DumpLayoutTreeToFile(string tagName, UIElement root, string fileName)
103internal static string DumpLayoutTreeToString(string tagName, UIElement root)
127internal static void DumpLayoutTree(XmlTextWriter writer, string tagName, UIElement root)
169internal delegate bool DumpCustomUIElement(XmlTextWriter writer, UIElement element, bool uiElementsOnly);
201if (visual is UIElement)
203DumpUIElement(writer, (UIElement)visual, parent, false);
242private static void DumpUIElement(XmlTextWriter writer, UIElement element, Visual parent, bool uiElementsOnly)
357List<UIElement> uiElements = new List<UIElement>();
419internal static void GetUIElementsFromVisual(Visual visual, List<UIElement> uiElements)
426if (child is UIElement)
428uiElements.Add((UIElement)(child));
462private static bool DumpDocumentPageView(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
478private static bool DumpText(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
511private static bool DumpFlowDocumentScrollViewer(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
537private static bool DumpFlowDocumentView(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
System\Windows\Controls\Border.cs (20)
210UIElement child = Child;
216borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
217UIElement.RoundLayoutValue(borders.Right, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Bottom, dpi.DpiScaleY));
263borders = new Thickness(UIElement.RoundLayoutValue(borders.Left, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Top, dpi.DpiScaleY),
264UIElement.RoundLayoutValue(borders.Right, dpi.DpiScaleX), UIElement.RoundLayoutValue(borders.Bottom, dpi.DpiScaleY));
270UIElement child = Child;
413pen.Thickness = UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX);
478pen.Thickness = UIElement.RoundLayoutValue(border.Right, dpi.DpiScaleX);
511pen.Thickness = UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY);
544pen.Thickness = UIElement.RoundLayoutValue(border.Bottom, dpi.DpiScaleY);
576ptTL = new Point(UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX),
577UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY));
581ptBR = new Point(UIElement.RoundLayoutValue(RenderSize.Width - border.Right, dpi.DpiScaleX),
582UIElement.RoundLayoutValue(RenderSize.Height - border.Bottom, dpi.DpiScaleY));
586ptBR = new Point(RenderSize.Width - UIElement.RoundLayoutValue(border.Right, dpi.DpiScaleX),
587RenderSize.Height - UIElement.RoundLayoutValue(border.Bottom, dpi.DpiScaleY));
System\Windows\Controls\ContextMenuService.cs (10)
169typeof(UIElement), // Type
171new FrameworkPropertyMetadata((UIElement)null)); // Default Value
179public static UIElement GetPlacementTarget(DependencyObject element)
182return (UIElement)element.GetValue(PlacementTargetProperty);
190public static void SetPlacementTarget(DependencyObject element, UIElement value)
348UIElement.AddHandler(element, ContextMenuOpeningEvent, handler);
358UIElement.RemoveHandler(element, ContextMenuOpeningEvent, handler);
377UIElement.AddHandler(element, ContextMenuClosingEvent, handler);
387UIElement.RemoveHandler(element, ContextMenuClosingEvent, handler);
392EventManager.RegisterClassHandler(typeof(UIElement), ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpening));
System\Windows\Controls\Control.cs (10)
29EventManager.RegisterClassHandler(typeof(Control), UIElement.PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true);
30EventManager.RegisterClassHandler(typeof(Control), UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true);
31EventManager.RegisterClassHandler(typeof(Control), UIElement.PreviewMouseRightButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true);
32EventManager.RegisterClassHandler(typeof(Control), UIElement.MouseRightButtonDownEvent, new MouseButtonEventHandler(HandleDoubleClick), true);
563if ((e.RoutedEvent == UIElement.PreviewMouseLeftButtonDownEvent) ||
564(e.RoutedEvent == UIElement.PreviewMouseRightButtonDownEvent))
698UIElement child = (UIElement)(this.GetVisualChild(0));
720UIElement child = (UIElement)(this.GetVisualChild(0));
System\Windows\Controls\DataGridCellsPanel.cs (29)
83UIElement parent = VisualTreeHelper.GetParent(this) as UIElement;
98private static void MeasureChild(UIElement child, Size constraint)
532private UIElement GenerateChild(
552private UIElement GenerateChild(
560UIElement child = generator.GenerateNext(out newlyRealized) as UIElement;
623private void AddContainerFromGenerator(int childIndex, UIElement child, bool newlyRealized)
662private void InsertRecycledContainer(int childIndex, UIElement container)
670private void InsertNewContainer(int childIndex, UIElement container)
678private void InsertContainer(int childIndex, UIElement container, bool isRecycled)
766UIElement child = _realizedChildren[realizedChildIndex];
841UIElement child = GenerateChild(generator, constraint, column, ref childIndex, out childSize);
966UIElement child = generator.ContainerFromIndex(columnIndex) as UIElement;
1058UIElement child = children[i] as UIElement;
1170UIElement visualChild;
1171UIElement realizedChild = _realizedChildren.Count > 0 ? _realizedChildren[0] : null;
1270public UIElement OldClippedChild
1275public UIElement NewClippedChild
1412ArrangeChild(children[childIndex] as UIElement, i, arrangeState);
1434UIElement child = children[additionalChildIndices[i]] as UIElement;
1454UIElement child,
1962_realizedChildren = new List<UIElement>(children.Count);
2369internal Geometry GetFrozenClipForChild(UIElement child)
2455private UIElement _clippedChildForFrozenBehaviour;
2457private List<UIElement> _realizedChildren;
System\Windows\Controls\Grid.cs (24)
71UIElement cell = value as UIElement;
78throw (new ArgumentException(SR.Format(SR.Grid_UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value"));
123public static void SetColumn(UIElement element, int value)
136public static int GetColumn(UIElement element)
148public static void SetRow(UIElement element, int value)
161public static int GetRow(UIElement element)
173public static void SetColumnSpan(UIElement element, int value)
186public static int GetColumnSpan(UIElement element)
198public static void SetRowSpan(UIElement element, int value)
211public static int GetRowSpan(UIElement element)
223public static void SetIsSharedSizeScope(UIElement element, bool value)
235public static bool GetIsSharedSizeScope(UIElement element)
365UIElement child = children[i];
663UIElement child = children[i];
685UIElement cell = children[currentCell];
891UIElement child = children[i];
1353UIElement child = InternalChildren[cell];
2112definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi);
2151definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi);
2201definitions[definitionIndices[i]].SizeCache = UIElement.RoundLayoutValue(definitions[definitionIndices[i]].SizeCache, dpi);
2225final = UIElement.RoundLayoutValue(finalOld, dpi);
2251double dpiIncrement = UIElement.RoundLayoutValue(1.0, dpi);
2661double roundedSize = UIElement.RoundLayoutValue(def.SizeCache, dpi);
System\Windows\Controls\InkCanvas.cs (37)
276if (e.Property == UIElement.RenderTransformProperty ||
434public static double GetTop(UIElement element)
446public static void SetTop(UIElement element, double length)
468public static double GetBottom(UIElement element)
480public static void SetBottom(UIElement element, double length)
502public static double GetLeft(UIElement element)
514public static void SetLeft(UIElement element, double length)
536public static double GetRight(UIElement element)
548public static void SetRight(UIElement element, double length)
561UIElement 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);
2099List<UIElement> newElements = new List<UIElement>();
2115foreach ( UIElement element in newElements )
2312ChangeInkCanvasSelection(new StrokeCollection(), new UIElement[]{});
2328CoreChangeSelection(new StrokeCollection(), new UIElement[] { }, raiseSelectionChangedEvent);
2337internal void ChangeInkCanvasSelection(StrokeCollection strokes, UIElement[] elements)
2352UIElement[] validElements = elements;
2420private void CoreChangeSelection(StrokeCollection validStrokes, IList<UIElement> validElements, bool raiseSelectionChanged)
2509private UIElement[] ValidateSelectedElements(IEnumerable<UIElement> selectedElements)
2513return new UIElement[]{};
2516List<UIElement> elements = new List<UIElement>();
2517foreach (UIElement element in selectedElements)
2540private bool InkCanvasIsAncestorOf(UIElement element)
2671IList<UIElement> elements = GetSelectedElements();
2676removeSelectedElements ? new List<UIElement>() : elements,
2689foreach ( UIElement element in elements )
2726IEnumerable<UIElement> children = null;
2732UIElement[] uiElementArray = new UIElement[uiElementCollection.Count];
System\Windows\Controls\Primitives\Popup.cs (33)
107typeof(UIElement),
117public UIElement Child
119get { return (UIElement) GetValue(ChildProperty); }
127UIElement oldChild = (UIElement) e.OldValue;
128UIElement newChild = (UIElement) e.NewValue;
175private static void RegisterPopupWithPlacementTarget(Popup popup, UIElement placementTarget)
206private static void UnregisterPopupFromPlacementTarget(Popup popup, UIElement placementTarget)
231private void UpdatePlacementTargetRegistration(UIElement oldValue, UIElement newValue)
634typeof(UIElement),
646public UIElement PlacementTarget
648get { return (UIElement) GetValue(PlacementTargetProperty); }
662ctrl.UpdatePlacementTargetRegistration((UIElement)e.OldValue, (UIElement)e.NewValue);
666UnregisterPopupFromPlacementTarget(ctrl, (UIElement)e.OldValue);
868public static void CreateRootPopup(Popup popup, UIElement child)
880internal static void CreateRootPopupInternal(Popup popup, UIElement child, bool bindTreatMousePlacementAsBottomProperty)
979internal static bool IsRootedInPopup(Popup parentPopup, UIElement element)
1298UIElement element = value as UIElement;
1301throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value");
1360UIElement placementTarget = PlacementTarget;
1538UIElement child = Child;
2306UIElement target = GetTarget() as UIElement;
2384UIElement child = Child;
2394UIElement target = GetTarget() as UIElement;
3281UIElement target = popup.PlacementTarget;
3538var target = popup?.GetTarget() as UIElement;
System\Windows\Controls\ToolTipService.cs (10)
161typeof(UIElement), // Type
163new FrameworkPropertyMetadata((UIElement)null)); // Default Value
171public static UIElement GetPlacementTarget(DependencyObject element)
174return (UIElement)element.GetValue(PlacementTargetProperty);
182public static void SetPlacementTarget(DependencyObject element, UIElement value)
516UIElement.AddHandler(element, ToolTipOpeningEvent, handler);
526UIElement.RemoveHandler(element, ToolTipOpeningEvent, handler);
547UIElement.AddHandler(element, ToolTipClosingEvent, handler);
557UIElement.RemoveHandler(element, ToolTipClosingEvent, handler);
572EventManager.RegisterClassHandler(typeof(UIElement), FindToolTipEvent, new FindToolTipEventHandler(OnFindToolTip));
System\Windows\Controls\VirtualizingStackPanel.cs (48)
533_scrollData._offset.X = UIElement.RoundLayoutValue(_scrollData._offset.X, dpi.DpiScaleX);
534_scrollData._computedOffset.X = UIElement.RoundLayoutValue(_scrollData._computedOffset.X, dpi.DpiScaleX);
661_scrollData._offset.Y = UIElement.RoundLayoutValue(_scrollData._offset.Y, dpi.DpiScaleY);
662_scrollData._computedOffset.Y = UIElement.RoundLayoutValue(_scrollData._computedOffset.Y, dpi.DpiScaleY);
1690UIElement child;
1698child = generator.GenerateNext(out newlyRealized) as UIElement;
2217UIElement firstContainerInViewport = null;
2604firstContainerInViewport = children[firstItemInViewportChildIndex] as UIElement;
3390UIElement child = null;
3402child = (UIElement)children[i];
3431UIElement containerBeforeViewport = null;
3440containerBeforeViewport = (UIElement)children[j];
5874Size childDesiredSize = ((UIElement)children[i]).DesiredSize;
6444private void SetItemsHostInsetForChild(int index, UIElement child, IContainItemStorage itemStorageProvider, bool isHorizontal)
6555private ItemsControl GetScrollingItemsControl(UIElement container)
6687UIElement child,
7478UIElement child = children[i] as UIElement;
7630UIElement child = children[i] as UIElement;
8097object item = ((ItemContainerGenerator)generator).ItemFromContainer((UIElement)children[childIndex]);
8196UIElement child = null;
8209child = generator.GenerateNext(out newlyRealized) as UIElement;
8221child = (UIElement)children[childIndex];
8403UIElement child,
8550UIElement child,
8585UIElement child,
8728private void InsertNewContainer(int childIndex, UIElement container)
8739private bool InsertRecycledContainer(int childIndex, UIElement container)
8751private bool InsertContainer(int childIndex, UIElement container, bool isRecycled)
8903private bool AddContainerFromGenerator(int childIndex, UIElement child, bool newlyRealized, bool isBeforeViewport)
8975UIElement child = Generator.GenerateNext(out newlyRealized) as UIElement;
9079UIElement child;
9115child = (UIElement)children[childIndex];
9198_realizedChildren = new List<UIElement>(children.Count);
9219foreach (UIElement child in InternalChildren)
9267UIElement child = _realizedChildren[realizedChildIndex];
9292UIElement visualChild;
9293UIElement realizedChild = _realizedChildren.Count > 0 ? _realizedChildren[0] : null;
9446private bool NotifyCleanupItem(UIElement child, ItemsControl itemsControl)
9593UIElement firstContainerInViewport,
10998protected override double GetItemOffsetCore(UIElement child)
11064double distance = vp.GetItemOffset((UIElement)child);
11273UIElement container = null;
11277container = (UIElement)children[i];
11720private List<UIElement> _realizedChildren;
13025foreach (UIElement child in RealizedChildren)
System\Windows\Documents\FixedPage.cs (24)
82/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
184UIElement uie = value as UIElement;
188throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value");
217public static double GetLeft(UIElement element)
230public static void SetLeft(UIElement element, double length)
245public static double GetTop(UIElement element)
258public static void SetTop(UIElement element, double length)
273public static double GetRight(UIElement element)
286public static void SetRight(UIElement element, double length)
301public static double GetBottom(UIElement element)
314public static void SetBottom(UIElement element, double length)
326public static Uri GetNavigateUri(UIElement element)
337public static void SetNavigateUri(UIElement element, Uri uri)
743foreach (UIElement child in Children)
766foreach (UIElement child in Children)
828UIElement IFixedNavigate.FindElementByID(string elementID, out FixedPage rootFixedPage)
830UIElement uiElementRet = null;
835UIElement uiElement;
845uiElementRet = node as UIElement;
854internal FixedNode CreateFixedNode(int pageIndex, UIElement e)
1015childIndex = parentFP.Children.IndexOf((UIElement)e);
1019childIndex = parentC.Children.IndexOf((UIElement)e);
1048private FixedNode _CreateFixedNode(int pageIndex, UIElement e)
System\Windows\Documents\Hyperlink.cs (5)
926SetUpEventHandler(element, UIElement.KeyDownEvent, new KeyEventHandler(OnKeyDown)); //initiates navigation
927SetUpEventHandler(element, UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(OnMouseLeftButtonDown)); //capture hyperlink pressed state
928SetUpEventHandler(element, UIElement.MouseLeftButtonUpEvent, new MouseButtonEventHandler(OnMouseLeftButtonUp)); //can initiate navigation
931SetUpEventHandler(element, UIElement.MouseEnterEvent, new MouseEventHandler(OnMouseEnter)); //set status bar
932SetUpEventHandler(element, UIElement.MouseLeaveEvent, new MouseEventHandler(OnMouseLeave)); //clear status bar
System\Windows\Documents\TextSchema.cs (14)
271elementType.Module == typeof(System.Windows.UIElement).Module; // presentationcore
836return typeof(UIElement).IsAssignableFrom(childType);
871return typeof(UIElement).IsAssignableFrom(childType);
1184UIElement.RenderTransformProperty,
1185UIElement.RenderTransformOriginProperty,
1186UIElement.OpacityProperty,
1187UIElement.OpacityMaskProperty,
1188UIElement.BitmapEffectProperty,
1189UIElement.BitmapEffectInputProperty,
1190UIElement.VisibilityProperty,
1191UIElement.ClipToBoundsProperty,
1192UIElement.ClipProperty,
1193UIElement.SnapsToDevicePixelsProperty,
1202UIElement.AllowDropProperty,
System\windows\Documents\UIElementPropertyUndoUnit.cs (5)
49private UIElementPropertyUndoUnit(UIElement uiElement, DependencyProperty property, object oldValue)
102internal static void Add(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, HorizontalAlignment newValue)
108internal static void Add(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, FlowDirection newValue)
124private static void AddPrivate(ITextContainer textContainer, UIElement uiElement, DependencyProperty property, object newValue)
165private readonly UIElement _uiElement;
System\Windows\FrameworkElement.cs (46)
324protected internal virtual void ParentLayoutInvalidated(UIElement child)
582virtual internal UIElement TemplateChild
1411if (item == null || (item is UIElement))
2200UIElement layoutParent = null;
2213layoutParent = v as UIElement;
3149UIElement e = null;
4289/// Override for <seealso cref="UIElement.MeasureCore" />.
4340mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4341mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4342mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4343mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4388frameworkAvailableSize = UIElement.RoundLayoutSize(frameworkAvailableSize, dpi.DpiScaleX, dpi.DpiScaleY);
4469clippedDesiredWidth = UIElement.RoundLayoutValue(clippedDesiredWidth, dpi.DpiScaleX);
4470clippedDesiredHeight = UIElement.RoundLayoutValue(clippedDesiredHeight, dpi.DpiScaleY);
4515/// Override for <seealso cref="UIElement.ArrangeCore" />.
4569marginWidth = UIElement.RoundLayoutValue(marginWidth, dpi.DpiScaleX);
4570marginHeight = UIElement.RoundLayoutValue(marginHeight, dpi.DpiScaleY);
4677mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4678mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4679mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4680mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4703arrangeSize = UIElement.RoundLayoutSize(arrangeSize, dpi.DpiScaleX, dpi.DpiScaleY);
4716RenderSize = UIElement.RoundLayoutSize(RenderSize, dpi.DpiScaleX, dpi.DpiScaleY);
4729clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY);
4746clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY);
4762clientSize = UIElement.RoundLayoutSize(clientSize, dpi.DpiScaleX, dpi.DpiScaleY);
4778offset.X = UIElement.RoundLayoutValue(offset.X, dpi.DpiScaleX);
4779offset.Y = UIElement.RoundLayoutValue(offset.Y, dpi.DpiScaleY);
4787/// Override for <seealso cref="UIElement.OnRenderSizeChanged"/>
4869/// Override of <seealso cref="UIElement.GetLayoutClip"/>.
4890mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4891mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4892mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4893mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4943clipRect = UIElement.RoundLayoutRect(clipRect, dpi.DpiScaleX, dpi.DpiScaleY);
4964slotClipRect = UIElement.RoundLayoutRect(slotClipRect, dpi.DpiScaleX, dpi.DpiScaleY);
4981localClipRect = UIElement.RoundLayoutRect(localClipRect, dpi.DpiScaleX, dpi.DpiScaleY);
5010slotRect = UIElement.RoundLayoutRect(slotRect, dpi.DpiScaleX, dpi.DpiScaleY);
5019localRect = UIElement.RoundLayoutRect(localRect, dpi.DpiScaleX, dpi.DpiScaleY);
5140internal static void InternalSetLayoutTransform(UIElement element, Transform layoutTransform)
5804UIElement uiElement = this._templatedParent as UIElement;
6081UIElement uiElement = modelTreeNode as UIElement;
6391private UIElement _templateChild; // Non-null if this FE has a child that was created as part of a template.
6397internal static DependencyObjectType UIElementDType = DependencyObjectType.FromSystemTypeInternal(typeof(UIElement));
System\Windows\Input\KeyboardNavigation.cs (37)
493public FocusVisualAdorner(UIElement adornedElement, Style focusVisualStyle) : base(adornedElement)
509public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle)
548((UIElement)GetVisualChild(0)).Measure(constraint);
625((UIElement)GetVisualChild(0)).Arrange(new Rect(new Point(), finalSize));
752private UIElement _adorderChild;
757internal static UIElement GetParentUIElementFromContentElement(ContentElement ce)
763internal static UIElement GetParentUIElementFromContentElement(ContentElement ce, ref IContentHost ichParent)
777UIElement eParent = parent as UIElement;
787UIElement uielement = visualParent as UIElement;
879UIElement parentUIElement = GetParentUIElementFromContentElement(fce, ref parentICH);
1437UIElement uiElement = visual as UIElement;
1467if (current is UIElement || current is UIElement3D)
1481DependencyObject parentAsUIElement = parent as UIElement;
1524if (current is UIElement || current is UIElement3D)
1542DependencyObject parentAsUIElement = parent as UIElement;
1636if (current is UIElement || current is UIElement3D)
1651DependencyObject uiElement = e as UIElement;
1704if (current is UIElement || current is UIElement3D)
1717DependencyObject uiElement = e as UIElement;
1929UIElement uie = element as UIElement;
2370UIElement uiElement = element as UIElement;
2408UIElement parentUIElement = GetParentUIElementFromContentElement(ce, ref parentICH);
2730UIElement sourceUIElement = sourceElement as UIElement;
2740UIElement targetUIElement = targetElement as UIElement;
2772UIElement uiElement = sender as UIElement;
2788if (sender is UIElement)
2789((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
3001ItemsControl.TryGetTreeViewItemHeader(sourceElement) as UIElement,
3033currentRectElement as UIElement,
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (53)
4116Type type = typeof(System.Windows.UIElement);
4117DependencyProperty dp = System.Windows.UIElement.ClipToBoundsProperty;
4119this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
4135Type type = typeof(System.Windows.UIElement);
4136DependencyProperty dp = System.Windows.UIElement.FocusableProperty;
4138this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
4154Type type = typeof(System.Windows.UIElement);
4155DependencyProperty dp = System.Windows.UIElement.IsEnabledProperty;
4157this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
4173Type type = typeof(System.Windows.UIElement);
4174DependencyProperty dp = System.Windows.UIElement.RenderTransformProperty;
4176this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
4192Type type = typeof(System.Windows.UIElement);
4193DependencyProperty dp = System.Windows.UIElement.VisibilityProperty;
4195this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
4234typeof(System.Windows.UIElement), // type
4239SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.AdornedElementPlaceholder)target).Child = (System.Windows.UIElement)value; },
4253typeof(System.Windows.UIElement), // type
4258SetDelegate = delegate (object target, object value) { ((System.Windows.Documents.AdornerDecorator)target).Child = (System.Windows.UIElement)value; },
4310typeof(System.Windows.UIElement), // type
4315SetDelegate = delegate (object target, object value) { ((System.Windows.Documents.BlockUIContainer)target).Child = (System.Windows.UIElement)value; },
4367typeof(System.Windows.UIElement), // type
4372SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Border)target).Child = (System.Windows.UIElement)value; },
4386typeof(System.Windows.UIElement), // type
4391SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Primitives.BulletDecorator)target).Child = (System.Windows.UIElement)value; },
4675typeof(System.Windows.UIElement), // type
4680SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; },
5130typeof(System.Windows.UIElement), // type
5135SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.InkPresenter)target).Child = (System.Windows.UIElement)value; },
5149typeof(System.Windows.UIElement), // type
5154SetDelegate = delegate (object target, object value) { ((System.Windows.Documents.InlineUIContainer)target).Child = (System.Windows.UIElement)value; },
6613typeof(System.Windows.UIElement), // type
6618SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Viewbox)target).Child = (System.Windows.UIElement)value; },
7322Type type = typeof(System.Windows.UIElement);
7323DependencyProperty dp = System.Windows.UIElement.UidProperty;
7325this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
8389Type type = typeof(System.Windows.UIElement);
8390DependencyProperty dp = System.Windows.UIElement.RenderTransformOriginProperty;
8392this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
8431typeof(System.Windows.UIElement), // type
8436SetDelegate = delegate (object target, object value) { ((System.Windows.Controls.Primitives.BulletDecorator)target).Bullet = (System.Windows.UIElement)value; },
8446Type type = typeof(System.Windows.UIElement);
8447DependencyProperty dp = System.Windows.UIElement.SnapsToDevicePixelsProperty;
8449this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
8465Type type = typeof(System.Windows.UIElement);
8467this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
8474GetDelegate = delegate (object target) { return ((System.Windows.UIElement)target).CommandBindings; },
8484Type type = typeof(System.Windows.UIElement);
8486this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
8493GetDelegate = delegate (object target) { return ((System.Windows.UIElement)target).InputBindings; },
8754Type type = typeof(System.Windows.UIElement);
8755DependencyProperty dp = System.Windows.UIElement.AllowDropProperty;
8757this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType