1 type derived from ContentElement
PresentationFramework (1)
System\Windows\FrameworkContentElement.cs (1)
52public partial class FrameworkContentElement : ContentElement, IFrameworkInputElement, ISupportInitialize, IQueryAmbient
2 instantiations of ContentElement
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2909bamlType.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)
52ContentElement ce = _owner as ContentElement; 83ContentElement ce = _owner as ContentElement;
MS\Internal\DeferredElementTreeState.cs (4)
39ContentElement ce = element as ContentElement; 99ContentElement ce = element as ContentElement;
MS\Internal\Interop\TipTsfHelper.cs (2)
165ContentElement contentElement; 176else if ((contentElement = focusedObject as ContentElement) != null)
MS\Internal\SynchronizedInputHelper.cs (5)
25ContentElement ce = o as ContentElement; 141ContentElement ce = logicalParent as ContentElement; 301else if (InputManager.ListeningElement is ContentElement ce)
MS\Internal\UIElementHelper.cs (5)
50ContentElement ce; 57else if ((ce = o as ContentElement) != null) 140ContentElement ce = null; 180out ContentElement ce, 197ce = o as ContentElement;
System\Windows\Automation\Peers\AutomationPeer.cs (2)
415ContentElement ce = focusedElement as ContentElement;
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (5)
21public ContentElementAutomationPeer(ContentElement owner) 28public ContentElement Owner 47public static AutomationPeer CreatePeerForElement(ContentElement element) 54public static AutomationPeer FromElement(ContentElement element) 318private ContentElement _owner;
System\Windows\ContentElement.cs (17)
30UIElement.RegisterEvents(typeof(ContentElement)); 34typeof(ContentElement), 518public static readonly RoutedEvent GotFocusEvent = FocusManager.GotFocusEvent.AddOwner(typeof(ContentElement)); 532public static readonly RoutedEvent LostFocusEvent = FocusManager.LostFocusEvent.AddOwner(typeof(ContentElement)); 550typeof(ContentElement)); 554ContentElement ce = ((ContentElement) d); 597typeof(ContentElement), 644ContentElement ce = (ContentElement) d; 681ContentElement ce = (ContentElement)d; 705typeof(ContentElement), 730ContentElement ce = (ContentElement) d; 789typeof(ContentElement), 953private 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)
384else if (dragSource is ContentElement) 386((ContentElement)dragSource).RaiseEvent(args); 415else if (dragSource is ContentElement) 417((ContentElement)dragSource).RaiseEvent(args); 700else if (_dragSource is ContentElement) 702((ContentElement)_dragSource).RaiseEvent(args); 723else if (_dragSource is ContentElement) 725((ContentElement)_dragSource).RaiseEvent(args); 757else if (_dragSource is ContentElement) 759((ContentElement)_dragSource).RaiseEvent(args); 780else if (_dragSource is ContentElement) 782((ContentElement)_dragSource).RaiseEvent(args); 1159else if (target is ContentElement) 1161((ContentElement)target).RaiseEvent(dragEventArgs); 1183else if (target is ContentElement) 1185((ContentElement)target).RaiseEvent(dragEventArgs); 1327ContentElement targetContentElement; 1329targetContentElement = target as ContentElement;
System\Windows\EventManager.cs (1)
157!typeof(ContentElement).IsAssignableFrom(classType) &&
System\Windows\FocusWithinProperty.cs (1)
24internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Generated\ContentElement.cs (7)
26static private readonly Type _typeofThis = typeof(ContentElement); 389/// <see cref="ContentElement.BuildRoute"/> and 2255((ContentElement) d).RaiseIsMouseDirectlyOverChanged(e); 2330((ContentElement) d).RaiseIsMouseCapturedChanged(e); 2395((ContentElement) d).RaiseIsStylusDirectlyOverChanged(e); 2430((ContentElement) d).RaiseIsStylusCapturedChanged(e); 2495((ContentElement) d).RaiseIsKeyboardFocusedChanged(e);
System\Windows\Generated\UIElement.cs (150)
832ContentElement ce = sender as ContentElement; 866ContentElement ce = sender as ContentElement; 895ContentElement ce = sender as ContentElement; 924ContentElement ce = sender as ContentElement; 953ContentElement ce = sender as ContentElement; 978ContentElement ce = sender as ContentElement; 1003ContentElement ce = sender as ContentElement; 1028ContentElement ce = sender as ContentElement; 1053ContentElement ce = sender as ContentElement; 1078ContentElement ce = sender as ContentElement; 1103ContentElement ce = sender as ContentElement; 1128ContentElement ce = sender as ContentElement; 1153ContentElement ce = sender as ContentElement; 1178ContentElement ce = sender as ContentElement; 1203ContentElement ce = sender as ContentElement; 1232ContentElement ce = sender as ContentElement; 1258ContentElement ce = sender as ContentElement; 1283ContentElement ce = sender as ContentElement; 1308ContentElement ce = sender as ContentElement; 1333ContentElement ce = sender as ContentElement; 1358ContentElement ce = sender as ContentElement; 1383ContentElement ce = sender as ContentElement; 1408ContentElement ce = sender as ContentElement; 1433ContentElement ce = sender as ContentElement; 1458ContentElement ce = sender as ContentElement; 1483ContentElement ce = sender as ContentElement; 1508ContentElement ce = sender as ContentElement; 1533ContentElement ce = sender as ContentElement; 1558ContentElement ce = sender as ContentElement; 1583ContentElement ce = sender as ContentElement; 1608ContentElement ce = sender as ContentElement; 1633ContentElement ce = sender as ContentElement; 1658ContentElement ce = sender as ContentElement; 1683ContentElement ce = sender as ContentElement; 1708ContentElement ce = sender as ContentElement; 1733ContentElement ce = sender as ContentElement; 1758ContentElement ce = sender as ContentElement; 1783ContentElement ce = sender as ContentElement; 1808ContentElement ce = sender as ContentElement; 1833ContentElement ce = sender as ContentElement; 1858ContentElement ce = sender as ContentElement; 1883ContentElement ce = sender as ContentElement; 1908ContentElement ce = sender as ContentElement; 1933ContentElement ce = sender as ContentElement; 1962ContentElement ce = sender as ContentElement; 1988ContentElement ce = sender as ContentElement; 2013ContentElement ce = sender as ContentElement; 2038ContentElement ce = sender as ContentElement; 2063ContentElement ce = sender as ContentElement; 2088ContentElement ce = sender as ContentElement; 2113ContentElement ce = sender as ContentElement; 2138ContentElement ce = sender as ContentElement; 2163ContentElement ce = sender as ContentElement; 2228ContentElement ce = sender as ContentElement; 2253ContentElement ce = sender as ContentElement; 2278ContentElement ce = sender as ContentElement; 2303ContentElement ce = sender as ContentElement; 2328ContentElement ce = sender as ContentElement; 2353ContentElement ce = sender as ContentElement; 2378ContentElement ce = sender as ContentElement; 2403ContentElement ce = sender as ContentElement; 2428ContentElement ce = sender as ContentElement; 2453ContentElement ce = sender as ContentElement; 2478ContentElement ce = sender as ContentElement; 2503ContentElement ce = sender as ContentElement; 2528ContentElement ce = sender as ContentElement; 2553ContentElement ce = sender as ContentElement; 2578ContentElement ce = sender as ContentElement; 2603ContentElement ce = sender as ContentElement; 2628ContentElement ce = sender as ContentElement; 2653ContentElement ce = sender as ContentElement; 2678ContentElement ce = sender as ContentElement; 2703ContentElement ce = sender as ContentElement; 2728ContentElement ce = sender as ContentElement; 2753ContentElement ce = sender as ContentElement;
System\Windows\GlobalEventManager.cs (2)
57typeof(ContentElement).IsAssignableFrom(classType) || 404if (dType.SystemType == typeof(UIElement) || dType.SystemType == typeof(ContentElement))
System\Windows\IContentHost.cs (1)
41ReadOnlyCollection<Rect> GetRectangles(ContentElement child);
System\Windows\Input\Command\CommandManager.cs (6)
284bool isContentElement = !isUIElement && targetElementAsDO is ContentElement; 295localInputBindings = ((ContentElement)targetElement).InputBindingsInternal; 349localCommandBindings = ((ContentElement)targetElement).CommandBindingsInternal; 535ContentElement contentElement => contentElement.CommandBindingsInternal, 699ContentElement contentElement = (element == null) ? childScope as ContentElement : null;
System\Windows\Input\Command\RoutedCommand.cs (3)
351else if (targetAsDO is ContentElement ce) 376ContentElement targetAsContentElement = null; 390targetAsContentElement = target as ContentElement;
System\Windows\Input\FocusManager.cs (4)
317ContentElement ce = element as ContentElement; 351ContentElement ce = d as ContentElement;
System\Windows\Input\InputElement.cs (5)
24return o is UIElement or ContentElement or UIElement3D; 43else if(o is ContentElement contentElement) 99else if(o is ContentElement contentElement) 150else if(o is ContentElement contentElement) 349private static DependencyObjectType ContentElementType = DependencyObjectType.FromSystemTypeInternal(typeof(ContentElement));
System\Windows\Input\InputManager.cs (1)
785else if (eventSource is ContentElement ce)
System\Windows\Input\KeyboardDevice.cs (2)
388else if (o is ContentElement ce) 414else if (o is ContentElement ce)
System\Windows\Input\MouseDevice.cs (11)
318else if (element is ContentElement) 320ContentElement ce = element as ContentElement; 713else if (dependencyObject is ContentElement ce) 783private bool ValidateContentElementForCapture(ContentElement element) 969else if (o is ContentElement ce) 994else if (o is ContentElement ce) 1063else if (o is ContentElement ce) 1088else if (o is ContentElement ce) 1573ContentElement ceTest = null; 1586ceTest = ieTest as ContentElement;
System\Windows\Input\Stylus\Common\StylusLogic.cs (1)
673protected bool ValidateContentElementForCapture(ContentElement element)
System\Windows\Input\Stylus\Pointer\PointerLogic.cs (5)
521else if (o is ContentElement ce) 547else if (o is ContentElement ce) 608else if (o is ContentElement ce) 637else if (o is ContentElement ce) 780else if (dependencyObject is ContentElement ce)
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (4)
569ContentElement ce = element as ContentElement; 944ContentElement ceTest = null; 956ceTest = ieTest as ContentElement; // Should never fail.
System\Windows\Input\Stylus\Wisp\WispLogic.cs (5)
2058else if (o is ContentElement ce) 2087else if (o is ContentElement ce) 2146else if (o is ContentElement ce) 2175else if (o is ContentElement ce) 2422else if (dependencyObject is ContentElement ce)
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (4)
268ContentElement ce = element as ContentElement; 1014ContentElement ceTest = null; 1026ceTest = ieTest as ContentElement; // Should never fail.
System\Windows\Input\TouchDevice.cs (10)
218ContentElement ceTest = ieTest as ContentElement; 326ContentElement contentElement; 348ContentElement oldContentElement; 519ContentElement contentElement; 593private static void CastInputElement(IInputElement element, out UIElement uiElement, out ContentElement contentElement, out UIElement3D uiElement3D) 596contentElement = (uiElement == null) ? element as ContentElement : null; 855ContentElement oldContentElement; 859ContentElement newContentElement; 1207currentChild = ((ContentElement)currentChild).Parent;
System\Windows\Input\TouchesCapturedWithinProperty.cs (1)
16internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Input\TouchesOverProperty.cs (1)
18internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\MouseCaptureWithinProperty.cs (1)
24internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\MouseOverProperty.cs (1)
24internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\Navigation\BaseUriHelper.cs (2)
580ContentElement ce = doCurrent as ContentElement;
System\Windows\PresentationSource.cs (4)
153else if (o is ContentElement ce) 230else if (o is ContentElement ce) 257internal static void OnAncestorChanged(ContentElement ce) 708else if (doTarget is ContentElement contentElement)
System\Windows\ReverseInheritProperty.cs (8)
33internal abstract void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue); 106ContentElement ce; 164ContentElement ce; 234private static bool BlockReverseInheritance(UIElement uie, ContentElement ce, UIElement3D uie3D) 254private static void SetFlag(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag, bool value) 272private static bool IsFlagSet(UIElement uie, ContentElement ce, UIElement3D uie3D, CoreFlags flag) 292private static void CastElement(DependencyObject o, out UIElement uie, out ContentElement ce, out UIElement3D uie3D) 295ce = (uie != null) ? null : o as ContentElement;
System\Windows\StylusCaptureWithinProperty.cs (1)
24internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\StylusOverProperty.cs (1)
24internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue)
System\Windows\UIElement.cs (10)
1665ContentElement contentElement = null; 1670contentElement = e as ContentElement; 1699ContentElement contentElement = null; 1704contentElement = e as ContentElement; 1896ContentElement contentElement = d as ContentElement; 1932ContentElement contentElement = d as ContentElement; 3645DependencyObject parent = uie.GetUIParentCore() as ContentElement; 4174ContentElement contentElement,
System\Windows\UIElement3D.cs (1)
867DependencyObject parent = uie.GetUIParentCore() as ContentElement;
PresentationFramework (149)
MS\Internal\Documents\ContentHostHelper.cs (1)
36internal static IContentHost FindContentHost(ContentElement contentElement)
MS\Internal\Documents\TextContainerHelper.cs (8)
325if (element is ContentElement) 327peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element); 362else if (element is ContentElement) 364peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element); 411else if (element is ContentElement) 413peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element); 482else if (element is ContentElement) 484peer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)element);
MS\Internal\Documents\UIElementIsland.cs (1)
196ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
MS\Internal\FrameworkObject.cs (9)
278parent = ContentOperations.GetParent((ContentElement)_fce); 307ContentElement ce; 313else if ((ce = fo.DO as ContentElement) != null) 414ContentElement ce; 420else if ((ce = _do as ContentElement) != null) 898ContentElement ce = _do as ContentElement; 913ContentElement contentElement; 919else if ((contentElement = _do as ContentElement) != null)
MS\Internal\Helper.cs (1)
1445if (!(element is ContentElement))
MS\Internal\PtsHost\BaseParaClient.cs (1)
125internal virtual List<Rect> GetRectangles(ContentElement e, int start, int length)
MS\Internal\PtsHost\ContainerParaClient.cs (2)
128internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 132if (this.Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\FigureParaClient.cs (2)
282internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 286if (Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\FloaterParaClient.cs (2)
287internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 291if (Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
309internal ReadOnlyCollection<Rect> GetRectanglesCore(ContentElement child, bool isLimitedToTextView) 959if (embeddedObject is ContentElement || embeddedObject is UIElement) 961if (embeddedObject == e as ContentElement || embeddedObject == e as UIElement) 1196ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
MS\Internal\PtsHost\PageVisual.cs (1)
121ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child)
MS\Internal\PtsHost\PtsHelper.cs (2)
442ContentElement e, 481ContentElement e,
MS\Internal\PtsHost\PtsPage.cs (3)
225internal List<Rect> GetRectangles(ContentElement e, int start, int length) 1253private List<Rect> GetRectanglesInPage(ContentElement e, int start, int length) 1374ContentElement e,
MS\Internal\PtsHost\SubpageParaClient.cs (2)
219internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 222if (Paragraph.Element as ContentElement == e)
MS\Internal\PtsHost\TableParaClient.cs (1)
430internal override List<Rect> GetRectangles(ContentElement e, int start, int length)
MS\Internal\PtsHost\TextParaClient.cs (6)
248internal override List<Rect> GetRectangles(ContentElement e, int start, int length) 251Debug.Assert(Paragraph.Element as ContentElement != e); 3857ContentElement e, 3900ContentElement e, 4037ContentElement e, 4082ContentElement e,
MS\Internal\PtsHost\UIElementParaClient.cs (1)
84internal override List<Rect> GetRectangles(ContentElement e, int start, int length)
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
458public ReadOnlyCollection<Rect> GetRectangles(ContentElement child)
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
119else if (document is ContentElement) 121documentPeer = ContentElementAutomationPeer.CreatePeerForElement((ContentElement)document);
System\Windows\BroadcastEventHelper.cs (2)
690ContentElement ce; 698else if ((ce = d as ContentElement) != null)
System\Windows\Controls\ContextMenuService.cs (1)
393EventManager.RegisterClassHandler(typeof(ContentElement), ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpening));
System\Windows\Controls\DataGrid.cs (4)
5586ContentElement startContentElement = (startElement == null) ? Keyboard.FocusedElement as ContentElement : null; 5920ContentElement startContentElement = (startElement == null) ? Keyboard.FocusedElement as ContentElement : null;
System\Windows\Controls\DataGridHelper.cs (2)
206ContentElement contentElement = element as ContentElement;
System\Windows\Controls\FlowDocumentReader.cs (2)
960else if (focusedElement is ContentElement) 962((ContentElement)focusedElement).Focus();
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1140else if (args.TargetObject is ContentElement) 1155rects = ich.GetRectangles((ContentElement)args.TargetObject);
System\Windows\Controls\ListBox.cs (2)
593ContentElement ce = oldFocus as ContentElement;
System\Windows\Controls\PopupControlService.cs (14)
691ContentElement ce = o as ContentElement; 848ContentElement ownerCE; 861else if ((ownerCE = owner as ContentElement) != null) 970else if (sourceDO is ContentElement contentElement) 1049IInputElement inputElement = (o is ContentElement || o is UIElement3D) ? (IInputElement)o : (IInputElement)uie; 1076ContentElement ce = (v == null) ? o as ContentElement : null; 1102internal static DependencyObject FindContentElementParent(ContentElement ce) 1121ce = o as ContentElement; 1148ContentElement ce = (uie == null) ? o as ContentElement : null; 1183ContentElement ce = o as ContentElement;
System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1342 if (doDocument != null && LogicalTreeHelper.GetParent(doDocument) != null && doDocument is ContentElement) 1345ContentOperations.SetParent((ContentElement)doDocument, this);
System\Windows\Controls\ScrollViewer.cs (4)
959ContentElement currentFocusContentElement = focusedElement as ContentElement; 2471ContentElement contentElement = e.TargetObject as ContentElement;
System\Windows\Controls\TextBlock.cs (7)
76ReadOnlyCollection<Rect> IContentHost.GetRectangles(ContentElement child) 1732protected virtual ReadOnlyCollection<Rect> GetRectanglesCore(ContentElement child) 3466ContentElement child = args.TargetObject as ContentElement; 3492private static bool ContainsContentElement(TextBlock textBlock, ContentElement element) 3663if (embeddedObject is ContentElement || embeddedObject is UIElement) 3665if (embeddedObject == e as ContentElement || embeddedObject == e as UIElement)
System\Windows\Controls\ToolTipService.cs (1)
573EventManager.RegisterClassHandler(typeof(ContentElement), FindToolTipEvent, new FindToolTipEventHandler(OnFindToolTip));
System\Windows\Controls\TreeView.cs (2)
809ContentElement ce = (v == null) ? o as ContentElement : null;
System\Windows\Controls\Validation.cs (2)
585if (source is ContentElement) 586((ContentElement)source).RaiseEvent(args);
System\Windows\Documents\DocumentSequence.cs (1)
545/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\FixedDocument.cs (1)
601/// 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)
721/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\Table.cs (1)
175/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\Documents\TableCell.cs (1)
154/// Creates AutomationPeer (<see cref="ContentElement.OnCreateAutomationPeer"/>)
System\Windows\FrameworkElement.cs (3)
3155ContentElement ce = null; 6077ContentElement contentElement = modelTreeNode as ContentElement;
System\Windows\Generated\FrameworkElement.cs (2)
361if(_parent != null && _parent is ContentElement) 365else if(oldParent is ContentElement)
System\Windows\Input\KeyboardNavigation.cs (30)
507public FocusVisualAdorner(ContentElement adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle) 746private ContentElement _adornedContentElement; 753internal static UIElement GetParentUIElementFromContentElement(ContentElement ce) 759internal static UIElement GetParentUIElementFromContentElement(ContentElement ce, ref IContentHost ichParent) 789ContentElement ceParent = parent as ContentElement; 1091visual = GetParentUIElementFromContentElement(currentElement as ContentElement); 1243visual = GetParentUIElementFromContentElement(element as ContentElement); 1465ContentElement ce = current as ContentElement; 1522ContentElement ce = current as ContentElement; 1593visualFocusedElement = GetParentUIElementFromContentElement(focusedElement as ContentElement); 1636ContentElement ce = current as ContentElement; 1702ContentElement ce = current as ContentElement; 1765ContentElement contentElement = e as ContentElement; 1929ContentElement ce = element as ContentElement; 2398ContentElement ce = element as ContentElement; 2729ContentElement sourceContentElement = sourceElement as ContentElement; 2736targetUIElement = GetParentUIElementFromContentElement(targetElement as ContentElement); 2739ContentElement targetContentElement = targetElement as ContentElement; 2784else if (sender is ContentElement) 2785((ContentElement)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
195case 101: t = () => typeof(ContentElement); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2006Type type = typeof(System.Windows.ContentElement); 2007DependencyProperty dp = System.Windows.ContentElement.FocusableProperty; 2009this.GetXamlType(typeof(System.Windows.ContentElement)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2907typeof(System.Windows.ContentElement),
System\Windows\Markup\BamlRecordReader.cs (3)
1104(element is ContentElement) || 2846ContentElement 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)
5597return (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)
482ContentElement ce = Keyboard.FocusedElement as ContentElement; 493ContentElement ce; 500else if ((ce = element as ContentElement) != null) 515ContentElement ce; 522else if ((ce = element as ContentElement) != null) 949ContentElement contentElement = element as ContentElement; 977ContentElement contentElement = element as ContentElement; 1869original is ContentElement) 2583ContentElement ce = element as ContentElement;