1 type derived from ContentElement
PresentationFramework (1)
System\Windows\FrameworkContentElement.cs (1)
64public partial class FrameworkContentElement : ContentElement, IFrameworkInputElement, ISupportInitialize, IQueryAmbient
2 instantiations of ContentElement
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2911bamlType.DefaultConstructor = delegate() { return new System.Windows.ContentElement(); };
System\Windows\Markup\KnownTypes.cs (1)
1184case KnownElements.ContentElement: o = new System.Windows.ContentElement(); break;
483 references to ContentElement
PresentationCore (318)
MS\Internal\Automation\SynchronizedInputAdaptor.cs (4)
62ContentElement ce = _owner as ContentElement; 93ContentElement ce = _owner as ContentElement;
MS\Internal\DeferredElementTreeState.cs (4)
40ContentElement ce = element as ContentElement; 100ContentElement ce = element as ContentElement;
MS\Internal\Interop\TipTsfHelper.cs (2)
169ContentElement contentElement; 180else if ((contentElement = focusedObject as ContentElement) != null)
MS\Internal\SynchronizedInputHelper.cs (5)
29ContentElement ce = o as ContentElement; 145ContentElement ce = logicalParent as ContentElement; 305else if (InputManager.ListeningElement is ContentElement ce)
MS\Internal\UIElementHelper.cs (5)
52ContentElement ce; 59else if ((ce = o as ContentElement) != null) 142ContentElement ce = null; 182out ContentElement ce, 199ce = o as ContentElement;
System\Windows\Automation\Peers\AutomationPeer.cs (2)
428ContentElement ce = focusedElement as ContentElement;
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (5)
25public ContentElementAutomationPeer(ContentElement owner) 32public ContentElement Owner 51public static AutomationPeer CreatePeerForElement(ContentElement element) 58public static AutomationPeer FromElement(ContentElement element) 322private ContentElement _owner;
System\Windows\ContentElement.cs (17)
41UIElement.RegisterEvents(typeof(ContentElement)); 45typeof(ContentElement), 529public static readonly RoutedEvent GotFocusEvent = FocusManager.GotFocusEvent.AddOwner(typeof(ContentElement)); 543public static readonly RoutedEvent LostFocusEvent = FocusManager.LostFocusEvent.AddOwner(typeof(ContentElement)); 561typeof(ContentElement)); 565ContentElement ce = ((ContentElement) d); 608typeof(ContentElement), 655ContentElement ce = (ContentElement) d; 692ContentElement ce = (ContentElement)d; 716typeof(ContentElement), 741ContentElement ce = (ContentElement) d; 800typeof(ContentElement), 964private static DependencyObjectType ContentElementType = DependencyObjectType.FromSystemTypeInternal(typeof(ContentElement));
System\Windows\ContentOperations.cs (2)
16public static DependencyObject GetParent(ContentElement reference) 33public static void SetParent(ContentElement reference, DependencyObject parent)
System\Windows\DragDrop.cs (18)
391else if (dragSource is ContentElement) 393((ContentElement)dragSource).RaiseEvent(args); 422else if (dragSource is ContentElement) 424((ContentElement)dragSource).RaiseEvent(args); 707else if (_dragSource is ContentElement) 709((ContentElement)_dragSource).RaiseEvent(args); 730else if (_dragSource is ContentElement) 732((ContentElement)_dragSource).RaiseEvent(args); 764else if (_dragSource is ContentElement) 766((ContentElement)_dragSource).RaiseEvent(args); 787else if (_dragSource is ContentElement) 789((ContentElement)_dragSource).RaiseEvent(args); 1166else if (target is ContentElement) 1168((ContentElement)target).RaiseEvent(dragEventArgs); 1190else if (target is ContentElement) 1192((ContentElement)target).RaiseEvent(dragEventArgs); 1334ContentElement targetContentElement; 1336targetContentElement = target as ContentElement;
System\Windows\EventManager.cs (1)
162!typeof(ContentElement).IsAssignableFrom(classType) &&
System\Windows\FocusWithinProperty.cs (1)
26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Generated\ContentElement.cs (7)
30static private readonly Type _typeofThis = typeof(ContentElement); 393/// <see cref="ContentElement.BuildRoute"/> and 2259((ContentElement) d).RaiseIsMouseDirectlyOverChanged(e); 2334((ContentElement) d).RaiseIsMouseCapturedChanged(e); 2399((ContentElement) d).RaiseIsStylusDirectlyOverChanged(e); 2434((ContentElement) d).RaiseIsStylusCapturedChanged(e); 2499((ContentElement) d).RaiseIsKeyboardFocusedChanged(e);
System\Windows\Generated\UIElement.cs (150)
836ContentElement ce = sender as ContentElement; 870ContentElement ce = sender as ContentElement; 899ContentElement ce = sender as ContentElement; 928ContentElement ce = sender as ContentElement; 957ContentElement ce = sender as ContentElement; 982ContentElement ce = sender as ContentElement; 1007ContentElement ce = sender as ContentElement; 1032ContentElement ce = sender as ContentElement; 1057ContentElement ce = sender as ContentElement; 1082ContentElement ce = sender as ContentElement; 1107ContentElement ce = sender as ContentElement; 1132ContentElement ce = sender as ContentElement; 1157ContentElement ce = sender as ContentElement; 1182ContentElement ce = sender as ContentElement; 1207ContentElement ce = sender as ContentElement; 1236ContentElement ce = sender as ContentElement; 1262ContentElement ce = sender as ContentElement; 1287ContentElement ce = sender as ContentElement; 1312ContentElement ce = sender as ContentElement; 1337ContentElement ce = sender as ContentElement; 1362ContentElement ce = sender as ContentElement; 1387ContentElement ce = sender as ContentElement; 1412ContentElement ce = sender as ContentElement; 1437ContentElement ce = sender as ContentElement; 1462ContentElement ce = sender as ContentElement; 1487ContentElement ce = sender as ContentElement; 1512ContentElement ce = sender as ContentElement; 1537ContentElement ce = sender as ContentElement; 1562ContentElement ce = sender as ContentElement; 1587ContentElement ce = sender as ContentElement; 1612ContentElement ce = sender as ContentElement; 1637ContentElement ce = sender as ContentElement; 1662ContentElement ce = sender as ContentElement; 1687ContentElement ce = sender as ContentElement; 1712ContentElement ce = sender as ContentElement; 1737ContentElement ce = sender as ContentElement; 1762ContentElement ce = sender as ContentElement; 1787ContentElement ce = sender as ContentElement; 1812ContentElement ce = sender as ContentElement; 1837ContentElement ce = sender as ContentElement; 1862ContentElement ce = sender as ContentElement; 1887ContentElement ce = sender as ContentElement; 1912ContentElement ce = sender as ContentElement; 1937ContentElement ce = sender as ContentElement; 1966ContentElement ce = sender as ContentElement; 1992ContentElement ce = sender as ContentElement; 2017ContentElement ce = sender as ContentElement; 2042ContentElement ce = sender as ContentElement; 2067ContentElement ce = sender as ContentElement; 2092ContentElement ce = sender as ContentElement; 2117ContentElement ce = sender as ContentElement; 2142ContentElement ce = sender as ContentElement; 2167ContentElement ce = sender as ContentElement; 2232ContentElement ce = sender as ContentElement; 2257ContentElement ce = sender as ContentElement; 2282ContentElement ce = sender as ContentElement; 2307ContentElement ce = sender as ContentElement; 2332ContentElement ce = sender as ContentElement; 2357ContentElement ce = sender as ContentElement; 2382ContentElement ce = sender as ContentElement; 2407ContentElement ce = sender as ContentElement; 2432ContentElement ce = sender as ContentElement; 2457ContentElement ce = sender as ContentElement; 2482ContentElement ce = sender as ContentElement; 2507ContentElement ce = sender as ContentElement; 2532ContentElement ce = sender as ContentElement; 2557ContentElement ce = sender as ContentElement; 2582ContentElement ce = sender as ContentElement; 2607ContentElement ce = sender as ContentElement; 2632ContentElement ce = sender as ContentElement; 2657ContentElement ce = sender as ContentElement; 2682ContentElement ce = sender as ContentElement; 2707ContentElement ce = sender as ContentElement; 2732ContentElement ce = sender as ContentElement; 2757ContentElement ce = sender as ContentElement;
System\Windows\GlobalEventManager.cs (2)
61typeof(ContentElement).IsAssignableFrom(classType) || 408if (dType.SystemType == typeof(UIElement) || dType.SystemType == typeof(ContentElement))
System\Windows\IContentHost.cs (1)
44ReadOnlyCollection<Rect> GetRectangles(ContentElement child);
System\Windows\Input\Command\CommandManager.cs (6)
295bool isContentElement = !isUIElement && targetElementAsDO is ContentElement; 306localInputBindings = ((ContentElement)targetElement).InputBindingsInternal; 360localCommandBindings = ((ContentElement)targetElement).CommandBindingsInternal; 546ContentElement contentElement => contentElement.CommandBindingsInternal, 710ContentElement contentElement = (element == null) ? childScope as ContentElement : null;
System\Windows\Input\Command\RoutedCommand.cs (3)
362else if (targetAsDO is ContentElement ce) 387ContentElement targetAsContentElement = null; 401targetAsContentElement = target as ContentElement;
System\Windows\Input\FocusManager.cs (4)
327ContentElement ce = element as ContentElement; 361ContentElement ce = d as ContentElement;
System\Windows\Input\InputElement.cs (5)
28return o is UIElement or ContentElement or UIElement3D; 47else if(o is ContentElement contentElement) 103else if(o is ContentElement contentElement) 154else if(o is ContentElement contentElement) 353private static DependencyObjectType ContentElementType = DependencyObjectType.FromSystemTypeInternal(typeof(ContentElement));
System\Windows\Input\InputManager.cs (1)
793else if (eventSource is ContentElement ce)
System\Windows\Input\KeyboardDevice.cs (2)
397else if (o is ContentElement ce) 423else if (o is ContentElement ce)
System\Windows\Input\MouseDevice.cs (11)
327else if (element is ContentElement) 329ContentElement ce = element as ContentElement; 722else if (dependencyObject is ContentElement ce) 792private bool ValidateContentElementForCapture(ContentElement element) 978else if (o is ContentElement ce) 1003else if (o is ContentElement ce) 1072else if (o is ContentElement ce) 1097else if (o is ContentElement ce) 1582ContentElement ceTest = null; 1595ceTest = ieTest as ContentElement;
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
683protected bool ValidateContentElementForCapture(ContentElement element)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
538else if (o is ContentElement ce) 564else if (o is ContentElement ce) 625else if (o is ContentElement ce) 654else if (o is ContentElement ce) 797else if (dependencyObject is ContentElement ce)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (4)
577ContentElement ce = element as ContentElement; 952ContentElement ceTest = null; 964ceTest = ieTest as ContentElement; // Should never fail.
System\Windows\Input\Stylus\Wisp\WispLogic.cs (5)
2067else if (o is ContentElement ce) 2096else if (o is ContentElement ce) 2155else if (o is ContentElement ce) 2184else if (o is ContentElement ce) 2431else if (dependencyObject is ContentElement ce)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
271ContentElement ce = element as ContentElement; 1017ContentElement ceTest = null; 1029ceTest = ieTest as ContentElement; // Should never fail.
System\Windows\Input\TouchDevice.cs (10)
230ContentElement ceTest = ieTest as ContentElement; 338ContentElement contentElement; 360ContentElement oldContentElement; 531ContentElement contentElement; 605private static void CastInputElement(IInputElement element, out UIElement uiElement, out ContentElement contentElement, out UIElement3D uiElement3D) 608contentElement = (uiElement == null) ? element as ContentElement : null; 867ContentElement oldContentElement; 871ContentElement newContentElement; 1219currentChild = ((ContentElement)currentChild).Parent;
System\Windows\Input\TouchesCapturedWithinProperty.cs (1)
21internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Input\TouchesOverProperty.cs (1)
23internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\MouseCaptureWithinProperty.cs (1)
26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\MouseOverProperty.cs (1)
26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Navigation\BaseUriHelper.cs (2)
586ContentElement ce = doCurrent as ContentElement;
System\Windows\PresentationSource.cs (4)
163else if (o is ContentElement ce) 240else if (o is ContentElement ce) 267internal static void OnAncestorChanged(ContentElement ce) 718else if (doTarget is ContentElement contentElement)
System\Windows\ReverseInheritProperty.cs (8)
38internal abstract void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue); 111ContentElement ce; 169ContentElement ce; 239private static bool BlockReverseInheritance(UIElement uie, ContentElement ce, UIElement3D uie3D) 259private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag, bool value) 277private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag) 297private static void CastElement(DependencyObject o, out UIElement uie, out ContentElement ce, out UIElement3D uie3D) 300ce = (uie != null) ? null : o as ContentElement;
System\Windows\StylusCaptureWithinProperty.cs (1)
26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\StylusOverProperty.cs (1)
26internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\UIElement.cs (10)
1670ContentElement contentElement = null; 1675contentElement = e as ContentElement; 1704ContentElement contentElement = null; 1709contentElement = e as ContentElement; 1901ContentElement contentElement = d as ContentElement; 1937ContentElement contentElement = d as ContentElement; 3650DependencyObject parent = uie.GetUIParentCore() as ContentElement; 4179ContentElement contentElement,
System\Windows\UIElement3D.cs (1)
882DependencyObject parent = uie.GetUIParentCore() as ContentElement;
PresentationFramework (149)
MS\Internal\Documents\ContentHostHelper.cs (1)
39internal static IContentHost FindContentHost(ContentElement contentElement)
MS\Internal\Documents\TextContainerHelper.cs (8)
328if (element is ContentElement) 330peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element); 365else if (element is ContentElement) 367peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element); 414else if (element is ContentElement) 416peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element); 485else if (element is ContentElement) 487peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element);
MS\Internal\Documents\UIElementIsland.cs (1)
198ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
MS\Internal\FrameworkObject.cs (9)
281parent = ContentOperations.GetParent((ContentElement)_fce); 310ContentElement ce; 316else if ((ce = fo.DO as ContentElement) != null) 417ContentElement ce; 423else if ((ce = _do as ContentElement) != null) 901ContentElement ce = _do as ContentElement; 916ContentElement contentElement; 922else if ((contentElement = _do as ContentElement) != null)
MS\Internal\Helper.cs (1)
1454if (!(element is ContentElement))
MS\Internal\PtsHost\BaseParaClient.cs (1)
133internal virtual List<Rect> GetRectangles(ContentElement e, int start, int length)
MS\Internal\PtsHost\ContainerParaClient.cs (2)
133internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 137if (this.Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\FigureParaClient.cs (2)
288internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 292if (Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\FloaterParaClient.cs (2)
292internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 296if (Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
317internal ReadOnlyCollection<Rect> GetRectanglesCore(ContentElement child, bool isLimitedToTextView) 967if (embeddedObject is ContentElement || embeddedObject is UIElement) 969if (embeddedObject == e as ContentElement || embeddedObject == e as UIElement) 1204ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
MS\Internal\PtsHost\PageVisual.cs (1)
126ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
MS\Internal\PtsHost\PtsHelper.cs (2)
447ContentElement e, 486ContentElement e,
MS\Internal\PtsHost\PtsPage.cs (3)
231internal List<Rect> GetRectangles(ContentElement e, int start, int length) 1259private List<Rect> GetRectanglesInPage(ContentElement e, int start, int length) 1380ContentElement e,
MS\Internal\PtsHost\SubpageParaClient.cs (2)
224internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 227if (Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\TableParaClient.cs (1)
436internal override List<Rect> GetRectangles(ContentElement e, int start, int length)
MS\Internal\PtsHost\TextParaClient.cs (6)
254internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 257Debug.Assert(Paragraph.Element as ContentElement != e); 3863ContentElement e, 3906ContentElement e, 4043ContentElement e, 4088ContentElement e,
MS\Internal\PtsHost\UIElementParaClient.cs (1)
88internal override List<Rect> GetRectangles(ContentElement e, int start, int length)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
463public ReadOnlyCollection<Rect> GetRectangles(ContentElement child)
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
120else if (document is ContentElement) 122documentPeer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)document);
System\Windows\BroadcastEventHelper.cs (2)
696ContentElement ce; 704else if ((ce = d as ContentElement) != null)
System\Windows\Controls\ContextMenuService.cs (1)
397EventManager.RegisterClassHandler(typeof(ContentElement), ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpening));
System\Windows\Controls\DataGrid.cs (4)
5589ContentElement startContentElement = (startElement == null) ? Keyboard.FocusedElement as ContentElement : null; 5923ContentElement startContentElement = (startElement == null) ? Keyboard.FocusedElement as ContentElement : null;
System\Windows\Controls\DataGridHelper.cs (2)
212ContentElement contentElement = element as ContentElement;
System\Windows\Controls\FlowDocumentReader.cs (2)
965else if (focusedElement is ContentElement) 967((ContentElement)focusedElement).Focus();
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1143else if (args.TargetObject is ContentElement) 1158rects = ich.GetRectangles((ContentElement)args.TargetObject);
System\Windows\Controls\ListBox.cs (2)
599ContentElement ce = oldFocus as ContentElement;
System\Windows\Controls\PopupControlService.cs (14)
701ContentElement ce = o as ContentElement; 858ContentElement ownerCE; 871else if ((ownerCE = owner as ContentElement) != null) 980else if (sourceDO is ContentElement contentElement) 1059IInputElement inputElement = (o is ContentElement || o is UIElement3D) ? (IInputElement)o : (IInputElement)uie; 1086ContentElement ce = (v == null) ? o as ContentElement : null; 1112internal static DependencyObject FindContentElementParent(ContentElement ce) 1131ce = o as ContentElement; 1158ContentElement ce = (uie == null) ? o as ContentElement : null; 1193ContentElement ce = o as ContentElement;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1347 if (doDocument != null && LogicalTreeHelper.GetParent(doDocument) != null && doDocument is ContentElement) 1350ContentOperations.SetParent((ContentElement)doDocument, this);
System\Windows\Controls\ScrollViewer.cs (4)
967ContentElement currentFocusContentElement = focusedElement as ContentElement; 2479ContentElement contentElement = e.TargetObject as ContentElement;
System\Windows\Controls\TextBlock.cs (7)
86ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child) 1742protected virtual ReadOnlyCollection<Rect> GetRectanglesCore(ContentElement child) 3476ContentElement child = args.TargetObject as ContentElement; 3502private static bool ContainsContentElement(TextBlock textBlock, ContentElement element) 3673if (embeddedObject is ContentElement || embeddedObject is UIElement) 3675if (embeddedObject == e as ContentElement || embeddedObject == e as UIElement)
System\Windows\Controls\ToolTipService.cs (1)
578EventManager.RegisterClassHandler(typeof(ContentElement), FindToolTipEvent, new FindToolTipEventHandler(OnFindToolTip));
System\Windows\Controls\TreeView.cs (2)
814ContentElement ce = (v == null) ? o as ContentElement : null;
System\Windows\Controls\Validation.cs (2)
593if (source is ContentElement) 594((ContentElement)source).RaiseEvent(args);
System\Windows\Documents\DocumentSequence.cs (1)
549/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\FixedDocument.cs (1)
612/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\FlowDocument.cs (1)
817/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\Hyperlink.cs (1)
727/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\Table.cs (1)
184/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\TableCell.cs (1)
167/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\FrameworkElement.cs (3)
3166ContentElement ce = null; 6088ContentElement contentElement = modelTreeNode as ContentElement;
System\Windows\Generated\FrameworkElement.cs (2)
367if(_parent != null && _parent is ContentElement) 371else if(oldParent is ContentElement)
System\Windows\Input\KeyboardNavigation.cs (30)
517public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle) 756private ContentElement _adornedContentElement; 763internal static UIElement GetParentUIElementFromContentElement(ContentElement ce) 769internal static UIElement GetParentUIElementFromContentElement(ContentElement ce, ref IContentHost ichParent) 799ContentElement ceParent = parent as ContentElement; 1101visual = GetParentUIElementFromContentElement(currentElement as ContentElement); 1253visual = GetParentUIElementFromContentElement(element as ContentElement); 1475ContentElement ce = current as ContentElement; 1532ContentElement ce = current as ContentElement; 1603visualFocusedElement = GetParentUIElementFromContentElement(focusedElement as ContentElement); 1646ContentElement ce = current as ContentElement; 1712ContentElement ce = current as ContentElement; 1775ContentElement contentElement = e as ContentElement; 1939ContentElement ce = element as ContentElement; 2408ContentElement ce = element as ContentElement; 2739ContentElement sourceContentElement = sourceElement as ContentElement; 2746targetUIElement = GetParentUIElementFromContentElement(targetElement as ContentElement); 2749ContentElement targetContentElement = targetElement as ContentElement; 2794else if (sender is ContentElement) 2795((ContentElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
197case 101: t = () => typeof(ContentElement); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2008Type type = typeof(System.Windows.ContentElement); 2009DependencyProperty dp = System.Windows.ContentElement.FocusableProperty; 2011this.GetXamlType(typeof(System.Windows.ContentElement)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2909typeof(System.Windows.ContentElement),
System\Windows\Markup\BamlRecordReader.cs (3)
1113(element is ContentElement) || 2855ContentElement ce = element as ContentElement;
System\Windows\Markup\KnownTypes.cs (2)
1716return System.Windows.ContentElement.FocusableProperty; 5655case KnownElements.ContentElement: t = typeof(System.Windows.ContentElement); break;
System\Windows\StyleHelper.cs (1)
5603return (value is Visual) || (value is ContentElement);
System.Windows.Controls.Ribbon (16)
Microsoft\Windows\Controls\Generated\TreeHelper.cs (3)
24ContentElement ce = element as ContentElement; 40if (!(element is ContentElement))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (13)
487ContentElement ce = Keyboard.FocusedElement as ContentElement; 498ContentElement ce; 505else if ((ce = element as ContentElement) != null) 520ContentElement ce; 527else if ((ce = element as ContentElement) != null) 954ContentElement contentElement = element as ContentElement; 982ContentElement contentElement = element as ContentElement; 1874original is ContentElement) 2588ContentElement ce = element as ContentElement;