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)
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\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\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\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\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\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\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\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\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\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\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\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\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\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\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