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