MS\Internal\LayoutDump.cs (16)
85internal static void DumpLayoutTreeToFile(string tagName, UIElement root, string fileName)
102internal static string DumpLayoutTreeToString(string tagName, UIElement root)
125internal static void DumpLayoutTree(XmlTextWriter writer, string tagName, UIElement root)
167internal delegate bool DumpCustomUIElement(XmlTextWriter writer, UIElement element, bool uiElementsOnly);
199if (visual is UIElement)
201DumpUIElement(writer, (UIElement)visual, parent, false);
240private static void DumpUIElement(XmlTextWriter writer, UIElement element, Visual parent, bool uiElementsOnly)
355List<UIElement> uiElements = new List<UIElement>();
417internal static void GetUIElementsFromVisual(Visual visual, List<UIElement> uiElements)
424if (child is UIElement)
426uiElements.Add((UIElement)(child));
460private static bool DumpDocumentPageView(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
476private static bool DumpText(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
509private static bool DumpFlowDocumentScrollViewer(XmlTextWriter writer, UIElement element, bool uiElementsOnly)
535private 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;
411pen.Thickness = UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX);
474pen.Thickness = UIElement.RoundLayoutValue(border.Right, dpi.DpiScaleX);
505pen.Thickness = UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY);
536pen.Thickness = UIElement.RoundLayoutValue(border.Bottom, dpi.DpiScaleY);
568ptTL = new Point(UIElement.RoundLayoutValue(border.Left, dpi.DpiScaleX),
569UIElement.RoundLayoutValue(border.Top, dpi.DpiScaleY));
573ptBR = new Point(UIElement.RoundLayoutValue(RenderSize.Width - border.Right, dpi.DpiScaleX),
574UIElement.RoundLayoutValue(RenderSize.Height - border.Bottom, dpi.DpiScaleY));
578ptBR = new Point(RenderSize.Width - UIElement.RoundLayoutValue(border.Right, dpi.DpiScaleX),
579RenderSize.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
1410ArrangeChild(children[childIndex] as UIElement, i, arrangeState);
1432UIElement child = children[additionalChildIndices[i]] as UIElement;
1452UIElement child,
1960_realizedChildren = new List<UIElement>(children.Count);
2367internal Geometry GetFrozenClipForChild(UIElement child)
2453private UIElement _clippedChildForFrozenBehaviour;
2455private List<UIElement> _realizedChildren;
System\Windows\Controls\Grid.cs (24)
73UIElement cell = value as UIElement;
80throw (new ArgumentException(SR.Format(SR.Grid_UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value"));
125public static void SetColumn(UIElement element, int value)
138public static int GetColumn(UIElement element)
150public static void SetRow(UIElement element, int value)
163public static int GetRow(UIElement element)
175public static void SetColumnSpan(UIElement element, int value)
188public static int GetColumnSpan(UIElement element)
200public static void SetRowSpan(UIElement element, int value)
213public static int GetRowSpan(UIElement element)
225public static void SetIsSharedSizeScope(UIElement element, bool value)
237public static bool GetIsSharedSizeScope(UIElement element)
367UIElement child = children[i];
665UIElement child = children[i];
687UIElement cell = children[currentCell];
893UIElement child = children[i];
1354UIElement child = InternalChildren[cell];
2113definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi);
2152definitions[i].SizeCache = UIElement.RoundLayoutValue(definitions[i].SizeCache, dpi);
2202definitions[definitionIndices[i]].SizeCache = UIElement.RoundLayoutValue(definitions[definitionIndices[i]].SizeCache, dpi);
2226final = UIElement.RoundLayoutValue(finalOld, dpi);
2252double dpiIncrement = UIElement.RoundLayoutValue(1.0, dpi);
2662double roundedSize = UIElement.RoundLayoutValue(def.SizeCache, dpi);
System\Windows\Controls\InkCanvas.cs (37)
266if (e.Property == UIElement.RenderTransformProperty ||
424public static double GetTop(UIElement element)
436public static void SetTop(UIElement element, double length)
458public static double GetBottom(UIElement element)
470public static void SetBottom(UIElement element, double length)
492public static double GetLeft(UIElement element)
504public static void SetLeft(UIElement element, double length)
526public static double GetRight(UIElement element)
538public static void SetRight(UIElement element, double length)
551UIElement uie = d as UIElement;
640_selectionAdorner.SetBinding(UIElement.VisibilityProperty, activeEditingModeBinding);
1692public ReadOnlyCollection<UIElement> GetSelectedElements()
1724public void Select(IEnumerable<UIElement> selectedElements)
1735public void Select(StrokeCollection selectedStrokes, IEnumerable<UIElement> selectedElements)
1746UIElement[] validElements = ValidateSelectedElements(selectedElements);
2085List<UIElement> newElements = new List<UIElement>();
2101foreach ( UIElement element in newElements )
2296ChangeInkCanvasSelection(new StrokeCollection(), new UIElement[]{});
2312CoreChangeSelection(new StrokeCollection(), new UIElement[] { }, raiseSelectionChangedEvent);
2321internal void ChangeInkCanvasSelection(StrokeCollection strokes, UIElement[] elements)
2336UIElement[] validElements = elements;
2404private void CoreChangeSelection(StrokeCollection validStrokes, IList<UIElement> validElements, bool raiseSelectionChanged)
2493private UIElement[] ValidateSelectedElements(IEnumerable<UIElement> selectedElements)
2497return new UIElement[]{};
2500List<UIElement> elements = new List<UIElement>();
2501foreach (UIElement element in selectedElements)
2524private bool InkCanvasIsAncestorOf(UIElement element)
2655IList<UIElement> elements = GetSelectedElements();
2660removeSelectedElements ? new List<UIElement>() : elements,
2673foreach ( UIElement element in elements )
2710IEnumerable<UIElement> children = null;
2716UIElement[] uiElementArray = new UIElement[uiElementCollection.Count];
System\Windows\Controls\Primitives\Popup.cs (33)
111typeof(UIElement),
121public UIElement Child
123get { return (UIElement) GetValue(ChildProperty); }
131UIElement oldChild = (UIElement) e.OldValue;
132UIElement newChild = (UIElement) e.NewValue;
179private static void RegisterPopupWithPlacementTarget(Popup popup, UIElement placementTarget)
210private static void UnregisterPopupFromPlacementTarget(Popup popup, UIElement placementTarget)
235private void UpdatePlacementTargetRegistration(UIElement oldValue, UIElement newValue)
638typeof(UIElement),
650public UIElement PlacementTarget
652get { return (UIElement) GetValue(PlacementTargetProperty); }
666ctrl.UpdatePlacementTargetRegistration((UIElement)e.OldValue, (UIElement)e.NewValue);
670UnregisterPopupFromPlacementTarget(ctrl, (UIElement)e.OldValue);
872public static void CreateRootPopup(Popup popup, UIElement child)
884internal static void CreateRootPopupInternal(Popup popup, UIElement child, bool bindTreatMousePlacementAsBottomProperty)
965internal static bool IsRootedInPopup(Popup parentPopup, UIElement element)
1284UIElement element = value as UIElement;
1287throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value");
1344UIElement placementTarget = PlacementTarget;
1522UIElement child = Child;
2290UIElement target = GetTarget() as UIElement;
2368UIElement child = Child;
2378UIElement target = GetTarget() as UIElement;
3269UIElement target = popup.PlacementTarget;
3530var 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);
1694UIElement child;
1702child = generator.GenerateNext(out newlyRealized) as UIElement;
2219UIElement firstContainerInViewport = null;
2606firstContainerInViewport = children[firstItemInViewportChildIndex] as UIElement;
3392UIElement child = null;
3404child = (UIElement)children[i];
3433UIElement containerBeforeViewport = null;
3442containerBeforeViewport = (UIElement)children[j];
5876Size childDesiredSize = ((UIElement)children[i]).DesiredSize;
6446private void SetItemsHostInsetForChild(int index, UIElement child, IContainItemStorage itemStorageProvider, bool isHorizontal)
6557private ItemsControl GetScrollingItemsControl(UIElement container)
6689UIElement 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)
9591UIElement firstContainerInViewport,
10996protected override double GetItemOffsetCore(UIElement child)
11062double distance = vp.GetItemOffset((UIElement)child);
11271UIElement container = null;
11275container = (UIElement)children[i];
11718private List<UIElement> _realizedChildren;
13028foreach (UIElement child in RealizedChildren)
System\Windows\Documents\FixedPage.cs (24)
80/// Creates AutomationPeer (<see cref="UIElement.OnCreateAutomationPeer"/>)
182UIElement uie = value as UIElement;
186throw new ArgumentException(SR.Format(SR.UnexpectedParameterType, value.GetType(), typeof(UIElement)), "value");
215public static double GetLeft(UIElement element)
228public static void SetLeft(UIElement element, double length)
243public static double GetTop(UIElement element)
256public static void SetTop(UIElement element, double length)
271public static double GetRight(UIElement element)
284public static void SetRight(UIElement element, double length)
299public static double GetBottom(UIElement element)
312public static void SetBottom(UIElement element, double length)
324public static Uri GetNavigateUri(UIElement element)
335public static void SetNavigateUri(UIElement element, Uri uri)
741foreach (UIElement child in Children)
764foreach (UIElement child in Children)
826UIElement IFixedNavigate.FindElementByID(string elementID, out FixedPage rootFixedPage)
828UIElement uiElementRet = null;
833UIElement uiElement;
843uiElementRet = node as UIElement;
852internal FixedNode CreateFixedNode(int pageIndex, UIElement e)
1013childIndex = parentFP.Children.IndexOf((UIElement)e);
1017childIndex = parentC.Children.IndexOf((UIElement)e);
1046private FixedNode _CreateFixedNode(int pageIndex, UIElement e)
System\Windows\Documents\Hyperlink.cs (5)
924SetUpEventHandler(element, UIElement.KeyDownEvent, new KeyEventHandler(OnKeyDown)); //initiates navigation
925SetUpEventHandler(element, UIElement.MouseLeftButtonDownEvent, new MouseButtonEventHandler(OnMouseLeftButtonDown)); //capture hyperlink pressed state
926SetUpEventHandler(element, UIElement.MouseLeftButtonUpEvent, new MouseButtonEventHandler(OnMouseLeftButtonUp)); //can initiate navigation
929SetUpEventHandler(element, UIElement.MouseEnterEvent, new MouseEventHandler(OnMouseEnter)); //set status bar
930SetUpEventHandler(element, UIElement.MouseLeaveEvent, new MouseEventHandler(OnMouseLeave)); //clear status bar
System\Windows\Documents\TextSchema.cs (14)
271elementType.Module == typeof(System.Windows.UIElement).Module; // presentationcore
841return typeof(UIElement).IsAssignableFrom(childType);
876return typeof(UIElement).IsAssignableFrom(childType);
1189UIElement.RenderTransformProperty,
1190UIElement.RenderTransformOriginProperty,
1191UIElement.OpacityProperty,
1192UIElement.OpacityMaskProperty,
1193UIElement.BitmapEffectProperty,
1194UIElement.BitmapEffectInputProperty,
1195UIElement.VisibilityProperty,
1196UIElement.ClipToBoundsProperty,
1197UIElement.ClipProperty,
1198UIElement.SnapsToDevicePixelsProperty,
1207UIElement.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)
331protected internal virtual void ParentLayoutInvalidated(UIElement child)
589virtual internal UIElement TemplateChild
1418if (item == null || (item is UIElement))
2205UIElement layoutParent = null;
2218layoutParent = v as UIElement;
3154UIElement e = null;
4292/// Override for <seealso cref="UIElement.MeasureCore" />.
4343mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4344mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4345mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4346mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4391frameworkAvailableSize = UIElement.RoundLayoutSize(frameworkAvailableSize, dpi.DpiScaleX, dpi.DpiScaleY);
4472clippedDesiredWidth = UIElement.RoundLayoutValue(clippedDesiredWidth, dpi.DpiScaleX);
4473clippedDesiredHeight = UIElement.RoundLayoutValue(clippedDesiredHeight, dpi.DpiScaleY);
4518/// Override for <seealso cref="UIElement.ArrangeCore" />.
4572marginWidth = UIElement.RoundLayoutValue(marginWidth, dpi.DpiScaleX);
4573marginHeight = UIElement.RoundLayoutValue(marginHeight, dpi.DpiScaleY);
4680mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4681mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4682mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4683mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4706arrangeSize = UIElement.RoundLayoutSize(arrangeSize, dpi.DpiScaleX, dpi.DpiScaleY);
4719RenderSize = UIElement.RoundLayoutSize(RenderSize, dpi.DpiScaleX, dpi.DpiScaleY);
4732clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY);
4749clippedInkSize = UIElement.RoundLayoutSize(clippedInkSize, dpi.DpiScaleX, dpi.DpiScaleY);
4765clientSize = UIElement.RoundLayoutSize(clientSize, dpi.DpiScaleX, dpi.DpiScaleY);
4781offset.X = UIElement.RoundLayoutValue(offset.X, dpi.DpiScaleX);
4782offset.Y = UIElement.RoundLayoutValue(offset.Y, dpi.DpiScaleY);
4790/// Override for <seealso cref="UIElement.OnRenderSizeChanged"/>
4870/// Override of <seealso cref="UIElement.GetLayoutClip"/>.
4891mm.maxHeight = UIElement.RoundLayoutValue(mm.maxHeight, dpi.DpiScaleY);
4892mm.maxWidth = UIElement.RoundLayoutValue(mm.maxWidth, dpi.DpiScaleX);
4893mm.minHeight = UIElement.RoundLayoutValue(mm.minHeight, dpi.DpiScaleY);
4894mm.minWidth = UIElement.RoundLayoutValue(mm.minWidth, dpi.DpiScaleX);
4944clipRect = UIElement.RoundLayoutRect(clipRect, dpi.DpiScaleX, dpi.DpiScaleY);
4965slotClipRect = UIElement.RoundLayoutRect(slotClipRect, dpi.DpiScaleX, dpi.DpiScaleY);
4982localClipRect = UIElement.RoundLayoutRect(localClipRect, dpi.DpiScaleX, dpi.DpiScaleY);
5011slotRect = UIElement.RoundLayoutRect(slotRect, dpi.DpiScaleX, dpi.DpiScaleY);
5020localRect = UIElement.RoundLayoutRect(localRect, dpi.DpiScaleX, dpi.DpiScaleY);
5141internal static void InternalSetLayoutTransform(UIElement element, Transform layoutTransform)
5799UIElement uiElement = this._templatedParent as UIElement;
6076UIElement uiElement = modelTreeNode as UIElement;
6386private UIElement _templateChild; // Non-null if this FE has a child that was created as part of a template.
6392internal static DependencyObjectType UIElementDType = DependencyObjectType.FromSystemTypeInternal(typeof(UIElement));
System\Windows\Input\KeyboardNavigation.cs (37)
493public FocusVisualAdorner(UIElement adornedElement, Style focusVisualStyle) : base(adornedElement)
507public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle)
546((UIElement)GetVisualChild(0)).Measure(constraint);
621((UIElement)GetVisualChild(0)).Arrange(new Rect(new Point(), finalSize));
748private UIElement _adorderChild;
753internal static UIElement GetParentUIElementFromContentElement(ContentElement ce)
759internal static UIElement GetParentUIElementFromContentElement(ContentElement ce, ref IContentHost ichParent)
773UIElement eParent = parent as UIElement;
783UIElement uielement = visualParent as UIElement;
875UIElement 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;
2734UIElement targetUIElement = targetElement as UIElement;
2766UIElement uiElement = sender as UIElement;
2782if (sender is UIElement)
2783((UIElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
2995ItemsControl.TryGetTreeViewItemHeader(sourceElement) as UIElement,
3027currentRectElement as UIElement,
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (53)
3922Type type = typeof(System.Windows.UIElement);
3923DependencyProperty dp = System.Windows.UIElement.ClipToBoundsProperty;
3925this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
3939Type type = typeof(System.Windows.UIElement);
3940DependencyProperty dp = System.Windows.UIElement.FocusableProperty;
3942this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
3956Type type = typeof(System.Windows.UIElement);
3957DependencyProperty dp = System.Windows.UIElement.IsEnabledProperty;
3959this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
3973Type type = typeof(System.Windows.UIElement);
3974DependencyProperty dp = System.Windows.UIElement.RenderTransformProperty;
3976this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
3990Type type = typeof(System.Windows.UIElement);
3991DependencyProperty dp = System.Windows.UIElement.VisibilityProperty;
3993this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
4028typeof(System.Windows.UIElement), // type
4032bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.AdornedElementPlaceholder)target).Child = (System.Windows.UIElement)value; };
4045typeof(System.Windows.UIElement), // type
4049bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.AdornerDecorator)target).Child = (System.Windows.UIElement)value; };
4096typeof(System.Windows.UIElement), // type
4100bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.BlockUIContainer)target).Child = (System.Windows.UIElement)value; };
4147typeof(System.Windows.UIElement), // type
4151bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Border)target).Child = (System.Windows.UIElement)value; };
4164typeof(System.Windows.UIElement), // type
4168bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Primitives.BulletDecorator)target).Child = (System.Windows.UIElement)value; };
4423typeof(System.Windows.UIElement), // type
4427bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Decorator)target).Child = (System.Windows.UIElement)value; };
4834typeof(System.Windows.UIElement), // type
4838bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.InkPresenter)target).Child = (System.Windows.UIElement)value; };
4851typeof(System.Windows.UIElement), // type
4855bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Documents.InlineUIContainer)target).Child = (System.Windows.UIElement)value; };
6169typeof(System.Windows.UIElement), // type
6173bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Viewbox)target).Child = (System.Windows.UIElement)value; };
6808Type type = typeof(System.Windows.UIElement);
6809DependencyProperty dp = System.Windows.UIElement.UidProperty;
6811this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
7767Type type = typeof(System.Windows.UIElement);
7768DependencyProperty dp = System.Windows.UIElement.RenderTransformOriginProperty;
7770this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
7805typeof(System.Windows.UIElement), // type
7809bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.Primitives.BulletDecorator)target).Bullet = (System.Windows.UIElement)value; };
7818Type type = typeof(System.Windows.UIElement);
7819DependencyProperty dp = System.Windows.UIElement.SnapsToDevicePixelsProperty;
7821this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
7835Type type = typeof(System.Windows.UIElement);
7837this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
7843bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.UIElement)target).CommandBindings; };
7852Type type = typeof(System.Windows.UIElement);
7854this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType
7860bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.UIElement)target).InputBindings; };
8094Type type = typeof(System.Windows.UIElement);
8095DependencyProperty dp = System.Windows.UIElement.AllowDropProperty;
8097this.GetXamlType(typeof(System.Windows.UIElement)), // DeclaringType