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