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))
695UIElement child = (UIElement)(this.GetVisualChild(0));
717UIElement child = (UIElement)(this.GetVisualChild(0));
System\Windows\Controls\DataGridCellsPanel.cs (29)
83UIElement parent = VisualTreeHelper.GetParent(this) as UIElement;
97private static void MeasureChild(UIElement child, Size constraint)
531private UIElement GenerateChild(
551private UIElement GenerateChild(
559UIElement child = generator.GenerateNext(out newlyRealized) as UIElement;
622private void AddContainerFromGenerator(int childIndex, UIElement child, bool newlyRealized)
661private void InsertRecycledContainer(int childIndex, UIElement container)
669private void InsertNewContainer(int childIndex, UIElement container)
677private void InsertContainer(int childIndex, UIElement container, bool isRecycled)
765UIElement child = _realizedChildren[realizedChildIndex];
840UIElement child = GenerateChild(generator, constraint, column, ref childIndex, out childSize);
965UIElement child = generator.ContainerFromIndex(columnIndex) as UIElement;
1057UIElement child = children[i] as UIElement;
1169UIElement visualChild;
1170UIElement realizedChild = _realizedChildren.Count > 0 ? _realizedChildren[0] : null;
1269public UIElement OldClippedChild
1274public UIElement NewClippedChild
1405ArrangeChild(children[childIndex] as UIElement, i, arrangeState);
1427UIElement child = children[additionalChildIndices[i]] as UIElement;
1447UIElement child,
1955_realizedChildren = new List<UIElement>(children.Count);
2362internal Geometry GetFrozenClipForChild(UIElement child)
2448private UIElement _clippedChildForFrozenBehaviour;
2450private 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)), nameof(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];
682UIElement cell = children[currentCell];
885UIElement child = children[i];
1347UIElement child = InternalChildren[cell];
2106definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi);
2145definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi);
2195definitions[definitionIndices[i]].SizeCache = UIElement.RoundLayoutValue(definitions[definitionIndices[i]].SizeCache, dpi);
2219final = UIElement.RoundLayoutValue(finalOld, dpi);
2245double dpiIncrement = UIElement.RoundLayoutValue(1.0, dpi);
2655double 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)
1295UIElement element = value as UIElement;
1298throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), nameof(value));
1357UIElement placementTarget = PlacementTarget;
1535UIElement child = Child;
2303UIElement target = GetTarget() as UIElement;
2381UIElement child = Child;
2391UIElement target = GetTarget() as UIElement;
3278UIElement target = popup.PlacementTarget;
3535var 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);
1684UIElement child;
1692child = generator.GenerateNext(out newlyRealized) as UIElement;
2208UIElement firstContainerInViewport = null;
2595firstContainerInViewport = children[firstItemInViewportChildIndex] as UIElement;
3378UIElement child = null;
3390child = (UIElement)children[i];
3419UIElement containerBeforeViewport = null;
3428containerBeforeViewport = (UIElement)children[j];
5853Size childDesiredSize = ((UIElement)children[i]).DesiredSize;
6423private void SetItemsHostInsetForChild(int index, UIElement child, IContainItemStorage itemStorageProvider, bool isHorizontal)
6534private ItemsControl GetScrollingItemsControl(UIElement container)
6666UIElement child,
7457UIElement child = children[i] as UIElement;
7609UIElement child = children[i] as UIElement;
8076object item = ((ItemContainerGenerator)generator).ItemFromContainer((UIElement)children[childIndex]);
8175UIElement child = null;
8188child = generator.GenerateNext(out newlyRealized) as UIElement;
8200child = (UIElement)children[childIndex];
8382UIElement child,
8529UIElement child,
8564UIElement child,
8707private void InsertNewContainer(int childIndex, UIElement container)
8718private bool InsertRecycledContainer(int childIndex, UIElement container)
8730private bool InsertContainer(int childIndex, UIElement container, bool isRecycled)
8882private bool AddContainerFromGenerator(int childIndex, UIElement child, bool newlyRealized, bool isBeforeViewport)
8954UIElement child = Generator.GenerateNext(out newlyRealized) as UIElement;
9058UIElement child;
9094child = (UIElement)children[childIndex];
9177_realizedChildren = new List<UIElement>(children.Count);
9198foreach (UIElement child in InternalChildren)
9246UIElement child = _realizedChildren[realizedChildIndex];
9271UIElement visualChild;
9272UIElement realizedChild = _realizedChildren.Count > 0 ? _realizedChildren[0] : null;
9425private bool NotifyCleanupItem(UIElement child, ItemsControl itemsControl)
9572UIElement firstContainerInViewport,
10974protected override double GetItemOffsetCore(UIElement child)
11040double distance = vp.GetItemOffset((UIElement)child);
11249UIElement container = null;
11253container = (UIElement)children[i];
11696private List<UIElement> _realizedChildren;
13001foreach (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)), nameof(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)
925SetUpEventHandler(element, UIElement.KeyDownEvent, new KeyEventHandler(OnKeyDown)); //initiates navigation
926SetUpEventHandler(element, UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(OnMouseLeftButtonDown)); //capture hyperlink pressed state
927SetUpEventHandler(element, UIElement.MouseLeftButtonUpEvent, new MouseButtonEventHandler(OnMouseLeftButtonUp)); //can initiate navigation
930SetUpEventHandler(element, UIElement.MouseEnterEvent, new MouseEventHandler(OnMouseEnter)); //set status bar
931SetUpEventHandler(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
1408if (item == null || (item is UIElement))
2197UIElement layoutParent = null;
2210layoutParent = v as UIElement;
3143UIElement e = null;
4283/// Override for <seealso cref="UIElement.MeasureCore" />.
4334mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4335mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4336mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4337mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4382frameworkAvailableSize = UIElement.RoundLayoutSize(frameworkAvailableSize, dpi.DpiScaleX, dpi.DpiScaleY);
4463clippedDesiredWidth = UIElement.RoundLayoutValue(clippedDesiredWidth, dpi.DpiScaleX);
4464clippedDesiredHeight = UIElement.RoundLayoutValue(clippedDesiredHeight, dpi.DpiScaleY);
4509/// Override for <seealso cref="UIElement.ArrangeCore" />.
4563marginWidth = UIElement.RoundLayoutValue(marginWidth, dpi.DpiScaleX);
4564marginHeight = UIElement.RoundLayoutValue(marginHeight, dpi.DpiScaleY);
4671mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4672mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4673mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4674mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4697arrangeSize = UIElement.RoundLayoutSize(arrangeSize, dpi.DpiScaleX, dpi.DpiScaleY);
4710RenderSize = UIElement.RoundLayoutSize(RenderSize, dpi.DpiScaleX, dpi.DpiScaleY);
4723clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY);
4740clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY);
4756clientSize = UIElement.RoundLayoutSize(clientSize, dpi.DpiScaleX, dpi.DpiScaleY);
4772offset.X = UIElement.RoundLayoutValue(offset.X, dpi.DpiScaleX);
4773offset.Y = UIElement.RoundLayoutValue(offset.Y, dpi.DpiScaleY);
4781/// Override for <seealso cref="UIElement.OnRenderSizeChanged"/>
4863/// Override of <seealso cref="UIElement.GetLayoutClip"/>.
4884mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4885mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4886mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4887mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4937clipRect = UIElement.RoundLayoutRect(clipRect, dpi.DpiScaleX, dpi.DpiScaleY);
4958slotClipRect = UIElement.RoundLayoutRect(slotClipRect, dpi.DpiScaleX, dpi.DpiScaleY);
4975localClipRect = UIElement.RoundLayoutRect(localClipRect, dpi.DpiScaleX, dpi.DpiScaleY);
5004slotRect = UIElement.RoundLayoutRect(slotRect, dpi.DpiScaleX, dpi.DpiScaleY);
5013localRect = UIElement.RoundLayoutRect(localRect, dpi.DpiScaleX, dpi.DpiScaleY);
5134internal static void InternalSetLayoutTransform(UIElement element, Transform layoutTransform)
5798UIElement uiElement = this._templatedParent as UIElement;
6072UIElement uiElement = modelTreeNode as UIElement;
6379private UIElement _templateChild; // Non-null if this FE has a child that was created as part of a template.
6385internal 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;
876UIElement parentUIElement = GetParentUIElementFromContentElement(fce, ref parentICH);
1431UIElement uiElement = visual as UIElement;
1461if (current is UIElement || current is UIElement3D)
1475DependencyObject parentAsUIElement = parent as UIElement;
1518if (current is UIElement || current is UIElement3D)
1536DependencyObject parentAsUIElement = parent as UIElement;
1630if (current is UIElement || current is UIElement3D)
1645DependencyObject uiElement = e as UIElement;
1698if (current is UIElement || current is UIElement3D)
1711DependencyObject uiElement = e as UIElement;
1923UIElement uie = element as UIElement;
2364UIElement uiElement = element as UIElement;
2402UIElement parentUIElement = GetParentUIElementFromContentElement(ce, ref parentICH);
2724UIElement sourceUIElement = sourceElement as UIElement;
2733UIElement targetUIElement = targetElement as UIElement;
2762UIElement uiElement = sender as UIElement;
2778if (sender is UIElement)
2779((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
2991ItemsControl.TryGetTreeViewItemHeader(sourceElement) as UIElement,
3023currentRectElement 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