1 type derived from ContentElement
PresentationFramework (1)
src\Framework\System\Windows\FrameworkContentElement.cs (1)
61
public partial class FrameworkContentElement :
ContentElement
, IFrameworkInputElement, ISupportInitialize, IQueryAmbient
2 instantiations of ContentElement
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2907
bamlType.DefaultConstructor = delegate() { return new System.Windows.
ContentElement
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1185
case KnownElements.ContentElement: o = new System.Windows.
ContentElement
(); break;
450 references to ContentElement
PresentationCore (303)
Core\CSharp\MS\Internal\Automation\SynchronizedInputAdaptor.cs (4)
65
ContentElement
ce = _owner as
ContentElement
;
98
ContentElement
ce = _owner as
ContentElement
;
Core\CSharp\MS\Internal\DeferredElementTreeState.cs (4)
36
ContentElement
ce = element as
ContentElement
;
97
ContentElement
ce = element as
ContentElement
;
Core\CSharp\MS\Internal\SynchronizedInputHelper.cs (6)
25
ContentElement
ce = o as
ContentElement
;
141
ContentElement
ce = logicalParent as
ContentElement
;
304
ContentElement
ce = (
ContentElement
)InputManager.ListeningElement;
Core\CSharp\MS\Internal\UIElementHelper.cs (5)
53
ContentElement
ce;
60
else if ((ce = o as
ContentElement
) != null)
148
ContentElement
ce = null;
188
out
ContentElement
ce,
205
ce = o as
ContentElement
;
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (2)
427
ContentElement
ce = focusedElement as
ContentElement
;
Core\CSharp\System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (5)
24
public ContentElementAutomationPeer(
ContentElement
owner)
34
public
ContentElement
Owner
53
public static AutomationPeer CreatePeerForElement(
ContentElement
element)
63
public static AutomationPeer FromElement(
ContentElement
element)
313
private
ContentElement
_owner;
Core\CSharp\System\Windows\ContentElement.cs (17)
45
UIElement.RegisterEvents(typeof(
ContentElement
));
49
typeof(
ContentElement
),
535
public static readonly RoutedEvent GotFocusEvent = FocusManager.GotFocusEvent.AddOwner(typeof(
ContentElement
));
549
public static readonly RoutedEvent LostFocusEvent = FocusManager.LostFocusEvent.AddOwner(typeof(
ContentElement
));
567
typeof(
ContentElement
));
571
ContentElement
ce = ((
ContentElement
) d);
614
typeof(
ContentElement
),
661
ContentElement
ce = (
ContentElement
) d;
698
ContentElement
ce = (
ContentElement
)d;
722
typeof(
ContentElement
),
747
ContentElement
ce = (
ContentElement
) d;
806
typeof(
ContentElement
),
976
private static DependencyObjectType ContentElementType = DependencyObjectType.FromSystemTypeInternal(typeof(
ContentElement
));
Core\CSharp\System\Windows\ContentOperations.cs (2)
11
public static DependencyObject GetParent(
ContentElement
reference)
31
public static void SetParent(
ContentElement
reference, DependencyObject parent)
Core\CSharp\System\Windows\DragDrop.cs (18)
413
else if (dragSource is
ContentElement
)
415
((
ContentElement
)dragSource).RaiseEvent(args);
444
else if (dragSource is
ContentElement
)
446
((
ContentElement
)dragSource).RaiseEvent(args);
745
else if (_dragSource is
ContentElement
)
747
((
ContentElement
)_dragSource).RaiseEvent(args);
768
else if (_dragSource is
ContentElement
)
770
((
ContentElement
)_dragSource).RaiseEvent(args);
802
else if (_dragSource is
ContentElement
)
804
((
ContentElement
)_dragSource).RaiseEvent(args);
825
else if (_dragSource is
ContentElement
)
827
((
ContentElement
)_dragSource).RaiseEvent(args);
1204
else if (target is
ContentElement
)
1206
((
ContentElement
)target).RaiseEvent(dragEventArgs);
1228
else if (target is
ContentElement
)
1230
((
ContentElement
)target).RaiseEvent(dragEventArgs);
1372
ContentElement
targetContentElement;
1374
targetContentElement = target as
ContentElement
;
Core\CSharp\System\Windows\EventManager.cs (1)
179
!typeof(
ContentElement
).IsAssignableFrom(classType) &&
Core\CSharp\System\Windows\FocusWithinProperty.cs (1)
22
internal override void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue)
Core\CSharp\System\Windows\Generated\ContentElement.cs (7)
32
static private readonly Type _typeofThis = typeof(
ContentElement
);
410
/// <see cref="
ContentElement
.BuildRoute"/> and
2319
((
ContentElement
) d).RaiseIsMouseDirectlyOverChanged(e);
2394
((
ContentElement
) d).RaiseIsMouseCapturedChanged(e);
2459
((
ContentElement
) d).RaiseIsStylusDirectlyOverChanged(e);
2494
((
ContentElement
) d).RaiseIsStylusCapturedChanged(e);
2559
((
ContentElement
) d).RaiseIsKeyboardFocusedChanged(e);
Core\CSharp\System\Windows\Generated\UIElement.cs (150)
905
ContentElement
ce = sender as
ContentElement
;
943
ContentElement
ce = sender as
ContentElement
;
976
ContentElement
ce = sender as
ContentElement
;
1009
ContentElement
ce = sender as
ContentElement
;
1042
ContentElement
ce = sender as
ContentElement
;
1071
ContentElement
ce = sender as
ContentElement
;
1100
ContentElement
ce = sender as
ContentElement
;
1129
ContentElement
ce = sender as
ContentElement
;
1158
ContentElement
ce = sender as
ContentElement
;
1187
ContentElement
ce = sender as
ContentElement
;
1216
ContentElement
ce = sender as
ContentElement
;
1245
ContentElement
ce = sender as
ContentElement
;
1274
ContentElement
ce = sender as
ContentElement
;
1303
ContentElement
ce = sender as
ContentElement
;
1332
ContentElement
ce = sender as
ContentElement
;
1365
ContentElement
ce = sender as
ContentElement
;
1395
ContentElement
ce = sender as
ContentElement
;
1424
ContentElement
ce = sender as
ContentElement
;
1453
ContentElement
ce = sender as
ContentElement
;
1482
ContentElement
ce = sender as
ContentElement
;
1511
ContentElement
ce = sender as
ContentElement
;
1540
ContentElement
ce = sender as
ContentElement
;
1569
ContentElement
ce = sender as
ContentElement
;
1598
ContentElement
ce = sender as
ContentElement
;
1627
ContentElement
ce = sender as
ContentElement
;
1656
ContentElement
ce = sender as
ContentElement
;
1685
ContentElement
ce = sender as
ContentElement
;
1714
ContentElement
ce = sender as
ContentElement
;
1743
ContentElement
ce = sender as
ContentElement
;
1772
ContentElement
ce = sender as
ContentElement
;
1801
ContentElement
ce = sender as
ContentElement
;
1830
ContentElement
ce = sender as
ContentElement
;
1859
ContentElement
ce = sender as
ContentElement
;
1888
ContentElement
ce = sender as
ContentElement
;
1917
ContentElement
ce = sender as
ContentElement
;
1946
ContentElement
ce = sender as
ContentElement
;
1975
ContentElement
ce = sender as
ContentElement
;
2004
ContentElement
ce = sender as
ContentElement
;
2033
ContentElement
ce = sender as
ContentElement
;
2062
ContentElement
ce = sender as
ContentElement
;
2091
ContentElement
ce = sender as
ContentElement
;
2120
ContentElement
ce = sender as
ContentElement
;
2149
ContentElement
ce = sender as
ContentElement
;
2178
ContentElement
ce = sender as
ContentElement
;
2211
ContentElement
ce = sender as
ContentElement
;
2241
ContentElement
ce = sender as
ContentElement
;
2270
ContentElement
ce = sender as
ContentElement
;
2299
ContentElement
ce = sender as
ContentElement
;
2328
ContentElement
ce = sender as
ContentElement
;
2357
ContentElement
ce = sender as
ContentElement
;
2386
ContentElement
ce = sender as
ContentElement
;
2415
ContentElement
ce = sender as
ContentElement
;
2444
ContentElement
ce = sender as
ContentElement
;
2533
ContentElement
ce = sender as
ContentElement
;
2562
ContentElement
ce = sender as
ContentElement
;
2591
ContentElement
ce = sender as
ContentElement
;
2620
ContentElement
ce = sender as
ContentElement
;
2649
ContentElement
ce = sender as
ContentElement
;
2678
ContentElement
ce = sender as
ContentElement
;
2707
ContentElement
ce = sender as
ContentElement
;
2736
ContentElement
ce = sender as
ContentElement
;
2765
ContentElement
ce = sender as
ContentElement
;
2794
ContentElement
ce = sender as
ContentElement
;
2823
ContentElement
ce = sender as
ContentElement
;
2852
ContentElement
ce = sender as
ContentElement
;
2881
ContentElement
ce = sender as
ContentElement
;
2910
ContentElement
ce = sender as
ContentElement
;
2939
ContentElement
ce = sender as
ContentElement
;
2968
ContentElement
ce = sender as
ContentElement
;
2997
ContentElement
ce = sender as
ContentElement
;
3026
ContentElement
ce = sender as
ContentElement
;
3055
ContentElement
ce = sender as
ContentElement
;
3084
ContentElement
ce = sender as
ContentElement
;
3113
ContentElement
ce = sender as
ContentElement
;
3142
ContentElement
ce = sender as
ContentElement
;
Core\CSharp\System\Windows\GlobalEventManager.cs (2)
58
typeof(
ContentElement
).IsAssignableFrom(classType) ||
405
if (dType.SystemType == typeof(UIElement) || dType.SystemType == typeof(
ContentElement
))
Core\CSharp\System\Windows\IContentHost.cs (1)
40
ReadOnlyCollection<Rect> GetRectangles(
ContentElement
child);
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (5)
371
localInputBindings = ((
ContentElement
)targetElement).InputBindingsInternal;
424
localCommandBindings = ((
ContentElement
)targetElement).CommandBindingsInternal;
645
commandBindings = ((
ContentElement
)senderAsDO).CommandBindingsInternal;
814
ContentElement
contentElement = (element == null) ? childScope as
ContentElement
: null;
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (3)
414
((
ContentElement
)targetAsDO).RaiseEvent(args, trusted);
451
ContentElement
targetAsContentElement = null;
465
targetAsContentElement = target as
ContentElement
;
Core\CSharp\System\Windows\Input\FocusManager.cs (4)
347
ContentElement
ce = element as
ContentElement
;
381
ContentElement
ce = d as
ContentElement
;
Core\CSharp\System\Windows\Input\InputElement.cs (6)
67
DependencyObject parent = ContentOperations.GetParent((
ContentElement
)o);
77
parent = ((
ContentElement
)o).GetUIParentCore();
128
container = (
ContentElement
) o;
179
DependencyObject parent = ContentOperations.GetParent((
ContentElement
)o);
189
parent = ((
ContentElement
)o).GetUIParentCore();
392
private static DependencyObjectType ContentElementType = DependencyObjectType.FromSystemTypeInternal(typeof(
ContentElement
));
Core\CSharp\System\Windows\Input\InputManager.cs (2)
1000
ContentElement
ce = (
ContentElement
)eventSource;
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (4)
478
((
ContentElement
)o).IsEnabledChanged -= _isEnabledChangedEventHandler;
480
((
ContentElement
)o).FocusableChanged -= _focusableChangedEventHandler;
500
((
ContentElement
)o).IsEnabledChanged += _isEnabledChangedEventHandler;
502
((
ContentElement
)o).FocusableChanged += _focusableChangedEventHandler;
Core\CSharp\System\Windows\Input\MouseDevice.cs (11)
382
else if (element is
ContentElement
)
384
ContentElement
ce = element as
ContentElement
;
798
killCapture = !ValidateContentElementForCapture((
ContentElement
)_mouseCapture);
866
private bool ValidateContentElementForCapture(
ContentElement
element)
1076
((
ContentElement
)o).IsEnabledChanged -= _overIsEnabledChangedEventHandler;
1101
((
ContentElement
)o).IsEnabledChanged += _overIsEnabledChangedEventHandler;
1178
((
ContentElement
)o).IsEnabledChanged -= _captureIsEnabledChangedEventHandler;
1203
((
ContentElement
)o).IsEnabledChanged += _captureIsEnabledChangedEventHandler;
1683
ContentElement
ceTest = null;
1696
ceTest = ieTest as
ContentElement
;
Core\CSharp\System\Windows\Input\TouchDevice.cs (10)
269
ContentElement
ceTest = ieTest as
ContentElement
;
377
ContentElement
contentElement;
399
ContentElement
oldContentElement;
569
ContentElement
contentElement;
647
private static void CastInputElement(IInputElement element, out UIElement uiElement, out
ContentElement
contentElement, out UIElement3D uiElement3D)
650
contentElement = (uiElement == null) ? element as
ContentElement
: null;
932
ContentElement
oldContentElement;
936
ContentElement
newContentElement;
1308
currentChild = ((
ContentElement
)currentChild).Parent;
Core\CSharp\System\Windows\Input\TouchesCapturedWithinProperty.cs (1)
17
internal override void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue)
Core\CSharp\System\Windows\Input\TouchesOverProperty.cs (1)
19
internal override void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue)
Core\CSharp\System\Windows\MouseCaptureWithinProperty.cs (1)
22
internal override void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue)
Core\CSharp\System\Windows\MouseOverProperty.cs (1)
22
internal override void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue)
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (2)
636
ContentElement
ce = doCurrent as
ContentElement
;
Core\CSharp\System\Windows\PresentationSource.cs (6)
205
ContentElement
ce = o as
ContentElement
;
279
ContentElement
ce = o as
ContentElement
;
309
internal static void OnAncestorChanged(
ContentElement
ce)
865
((
ContentElement
)doTarget).RaiseEvent(args);
Core\CSharp\System\Windows\ReverseInheritProperty.cs (8)
34
internal abstract void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue);
107
ContentElement
ce;
165
ContentElement
ce;
235
private static bool BlockReverseInheritance(UIElement uie,
ContentElement
ce, UIElement3D uie3D)
255
private static void SetFlag(UIElement uie,
ContentElement
ce, UIElement3D uie3D, CoreFlags flag, bool value)
273
private static bool IsFlagSet(UIElement uie,
ContentElement
ce, UIElement3D uie3D, CoreFlags flag)
293
private static void CastElement(DependencyObject o, out UIElement uie, out
ContentElement
ce, out UIElement3D uie3D)
296
ce = (uie != null) ? null : o as
ContentElement
;
Core\CSharp\System\Windows\StylusCaptureWithinProperty.cs (1)
22
internal override void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue)
Core\CSharp\System\Windows\StylusOverProperty.cs (1)
22
internal override void FireNotifications(UIElement uie,
ContentElement
ce, UIElement3D uie3D, bool oldValue)
Core\CSharp\System\Windows\UIElement.cs (10)
1690
ContentElement
contentElement = null;
1695
contentElement = e as
ContentElement
;
1724
ContentElement
contentElement = null;
1729
contentElement = e as
ContentElement
;
1925
ContentElement
contentElement = d as
ContentElement
;
1965
ContentElement
contentElement = d as
ContentElement
;
3685
DependencyObject parent = uie.GetUIParentCore() as
ContentElement
;
4222
ContentElement
contentElement,
Core\CSharp\System\Windows\UIElement3D.cs (1)
890
DependencyObject parent = uie.GetUIParentCore() as
ContentElement
;
PresentationFramework (147)
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (1)
41
internal static IContentHost FindContentHost(
ContentElement
contentElement)
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (8)
333
if (element is
ContentElement
)
335
peer = ContentElementAutomationPeer.CreatePeerForElement((
ContentElement
)element);
370
else if (element is
ContentElement
)
372
peer = ContentElementAutomationPeer.CreatePeerForElement((
ContentElement
)element);
419
else if (element is
ContentElement
)
421
peer = ContentElementAutomationPeer.CreatePeerForElement((
ContentElement
)element);
490
else if (element is
ContentElement
)
492
peer = ContentElementAutomationPeer.CreatePeerForElement((
ContentElement
)element);
src\Framework\MS\Internal\Documents\UIElementIsland.cs (1)
200
ReadOnlyCollection<Rect> IContentHost.GetRectangles(
ContentElement
child)
src\Framework\MS\Internal\FrameworkObject.cs (9)
309
parent = ContentOperations.GetParent((
ContentElement
)_fce);
338
ContentElement
ce;
344
else if ((ce = fo.DO as
ContentElement
) != null)
445
ContentElement
ce;
451
else if ((ce = _do as
ContentElement
) != null)
929
ContentElement
ce = _do as
ContentElement
;
944
ContentElement
contentElement;
950
else if ((contentElement = _do as
ContentElement
) != null)
src\Framework\MS\Internal\Helper.cs (1)
1470
if (!(element is
ContentElement
))
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (1)
148
internal virtual List<Rect> GetRectangles(
ContentElement
e, int start, int length)
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (2)
159
internal override List<Rect> GetRectangles(
ContentElement
e, int start, int length)
163
if (this.Paragraph.Element as
ContentElement
== e)
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (2)
331
internal override List<Rect> GetRectangles(
ContentElement
e, int start, int length)
335
if (Paragraph.Element as
ContentElement
== e)
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (2)
333
internal override List<Rect> GetRectangles(
ContentElement
e, int start, int length)
337
if (Paragraph.Element as
ContentElement
== e)
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (4)
319
internal ReadOnlyCollection<Rect> GetRectanglesCore(
ContentElement
child, bool isLimitedToTextView)
989
if (embeddedObject is
ContentElement
|| embeddedObject is UIElement)
991
if (embeddedObject == e as
ContentElement
|| embeddedObject == e as UIElement)
1229
ReadOnlyCollection<Rect> IContentHost.GetRectangles(
ContentElement
child)
src\Framework\MS\Internal\PtsHost\PageVisual.cs (1)
130
ReadOnlyCollection<Rect> IContentHost.GetRectangles(
ContentElement
child)
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (2)
487
ContentElement
e,
526
ContentElement
e,
src\Framework\MS\Internal\PtsHost\PtsPage.cs (3)
240
internal List<Rect> GetRectangles(
ContentElement
e, int start, int length)
1382
private List<Rect> GetRectanglesInPage(
ContentElement
e, int start, int length)
1514
ContentElement
e,
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (2)
259
internal override List<Rect> GetRectangles(
ContentElement
e, int start, int length)
262
if (Paragraph.Element as
ContentElement
== e)
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (1)
473
internal override List<Rect> GetRectangles(
ContentElement
e, int start, int length)
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (6)
295
internal override List<Rect> GetRectangles(
ContentElement
e, int start, int length)
298
Debug.Assert(Paragraph.Element as
ContentElement
!= e);
4151
ContentElement
e,
4194
ContentElement
e,
4341
ContentElement
e,
4390
ContentElement
e,
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (1)
95
internal override List<Rect> GetRectangles(
ContentElement
e, int start, int length)
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
474
public ReadOnlyCollection<Rect> GetRectangles(
ContentElement
child)
src\Framework\System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
122
else if (document is
ContentElement
)
124
documentPeer = ContentElementAutomationPeer.CreatePeerForElement((
ContentElement
)document);
src\Framework\System\Windows\BroadcastEventHelper.cs (2)
694
ContentElement
ce;
702
else if ((ce = d as
ContentElement
) != null)
src\Framework\System\Windows\Controls\ContextMenuService.cs (1)
452
EventManager.RegisterClassHandler(typeof(
ContentElement
), ContextMenuOpeningEvent, new ContextMenuEventHandler(OnContextMenuOpening));
src\Framework\System\Windows\Controls\DataGrid.cs (4)
5594
ContentElement
startContentElement = (startElement == null) ? Keyboard.FocusedElement as
ContentElement
: null;
5928
ContentElement
startContentElement = (startElement == null) ? Keyboard.FocusedElement as
ContentElement
: null;
src\Framework\System\Windows\Controls\DataGridHelper.cs (2)
213
ContentElement
contentElement = element as
ContentElement
;
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (2)
971
else if (focusedElement is
ContentElement
)
973
((
ContentElement
)focusedElement).Focus();
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1151
else if (args.TargetObject is
ContentElement
)
1166
rects = ich.GetRectangles((
ContentElement
)args.TargetObject);
src\Framework\System\Windows\Controls\ListBox.cs (2)
554
ContentElement
ce = oldFocus as
ContentElement
;
src\Framework\System\Windows\Controls\PopupControlService.cs (12)
427
ContentElement
ce = o as
ContentElement
;
857
((
ContentElement
)sourceDO).RaiseEvent(args, userInitiated);
934
IInputElement inputElement = (o is
ContentElement
|| o is UIElement3D) ? (IInputElement)o : (IInputElement)uie;
966
ContentElement
ce = (v == null) ? o as
ContentElement
: null;
992
internal static DependencyObject FindContentElementParent(
ContentElement
ce)
1011
ce = o as
ContentElement
;
1038
ContentElement
ce = (uie == null) ? o as
ContentElement
: null;
1094
ContentElement
ce = o as
ContentElement
;
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1359
if (doDocument != null && LogicalTreeHelper.GetParent(doDocument) != null && doDocument is
ContentElement
)
1362
ContentOperations.SetParent((
ContentElement
)doDocument, this);
src\Framework\System\Windows\Controls\ScrollViewer.cs (4)
994
ContentElement
currentFocusContentElement = focusedElement as
ContentElement
;
2519
ContentElement
contentElement = e.TargetObject as
ContentElement
;
src\Framework\System\Windows\Controls\TextBlock.cs (7)
92
ReadOnlyCollection<Rect> IContentHost.GetRectangles(
ContentElement
child)
1827
protected virtual ReadOnlyCollection<Rect> GetRectanglesCore(
ContentElement
child)
3465
ContentElement
child = args.TargetObject as
ContentElement
;
3491
private static bool ContainsContentElement(TextBlock textBlock,
ContentElement
element)
3662
if (embeddedObject is
ContentElement
|| embeddedObject is UIElement)
3664
if (embeddedObject == e as
ContentElement
|| embeddedObject == e as UIElement)
src\Framework\System\Windows\Controls\ToolTipService.cs (1)
624
EventManager.RegisterClassHandler(typeof(
ContentElement
), FindToolTipEvent, new FindToolTipEventHandler(OnFindToolTip));
src\Framework\System\Windows\Controls\TreeView.cs (2)
816
ContentElement
ce = (v == null) ? o as
ContentElement
: null;
src\Framework\System\Windows\Controls\Validation.cs (2)
588
if (source is
ContentElement
)
589
((
ContentElement
)source).RaiseEvent(args);
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
575
/// Creates AutomationPeer (<see cref="
ContentElement
.OnCreateAutomationPeer"/>)
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
639
/// Creates AutomationPeer (<see cref="
ContentElement
.OnCreateAutomationPeer"/>)
src\Framework\System\Windows\Documents\FlowDocument.cs (1)
825
/// Creates AutomationPeer (<see cref="
ContentElement
.OnCreateAutomationPeer"/>)
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
766
/// Creates AutomationPeer (<see cref="
ContentElement
.OnCreateAutomationPeer"/>)
src\Framework\System\Windows\Documents\Table.cs (1)
192
/// Creates AutomationPeer (<see cref="
ContentElement
.OnCreateAutomationPeer"/>)
src\Framework\System\Windows\Documents\TableCell.cs (1)
174
/// Creates AutomationPeer (<see cref="
ContentElement
.OnCreateAutomationPeer"/>)
src\Framework\System\Windows\FrameworkElement.cs (3)
3165
ContentElement
ce = null;
6094
ContentElement
contentElement = modelTreeNode as
ContentElement
;
src\Framework\System\Windows\Generated\FrameworkElement.cs (2)
371
if(_parent != null && _parent is
ContentElement
)
375
else if(oldParent is
ContentElement
)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (30)
565
public FocusVisualAdorner(
ContentElement
adornedElement, UIElement adornedElementParent, IContentHost contentHostParent, Style focusVisualStyle)
804
private
ContentElement
_adornedContentElement;
811
internal static UIElement GetParentUIElementFromContentElement(
ContentElement
ce)
817
private static UIElement GetParentUIElementFromContentElement(
ContentElement
ce, ref IContentHost ichParent)
847
ContentElement
ceParent = parent as
ContentElement
;
1164
visual = GetParentUIElementFromContentElement(currentElement as
ContentElement
);
1338
visual = GetParentUIElementFromContentElement(element as
ContentElement
);
1561
ContentElement
ce = current as
ContentElement
;
1618
ContentElement
ce = current as
ContentElement
;
1689
visualFocusedElement = GetParentUIElementFromContentElement(focusedElement as
ContentElement
);
1732
ContentElement
ce = current as
ContentElement
;
1798
ContentElement
ce = current as
ContentElement
;
1861
ContentElement
contentElement = e as
ContentElement
;
2025
ContentElement
ce = element as
ContentElement
;
2495
ContentElement
ce = element as
ContentElement
;
2827
ContentElement
sourceContentElement = sourceElement as
ContentElement
;
2834
targetUIElement = GetParentUIElementFromContentElement(targetElement as
ContentElement
);
2837
ContentElement
targetContentElement = targetElement as
ContentElement
;
2883
else if (sender is
ContentElement
)
2884
((
ContentElement
)sender).RemoveHandler(Keyboard.PreviewLostKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(_LostFocus));
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
193
case 101: t = () => typeof(
ContentElement
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
2000
Type type = typeof(System.Windows.
ContentElement
);
2001
DependencyProperty dp = System.Windows.
ContentElement
.FocusableProperty;
2003
this.GetXamlType(typeof(System.Windows.
ContentElement
)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2905
typeof(System.Windows.
ContentElement
),
src\Framework\System\Windows\Markup\BamlRecordReader.cs (3)
1136
(element is
ContentElement
) ||
2888
ContentElement
ce = element as
ContentElement
;
src\Framework\System\Windows\Markup\KnownTypes.cs (2)
1717
return System.Windows.
ContentElement
.FocusableProperty;
5645
case KnownElements.ContentElement: t = typeof(System.Windows.
ContentElement
); break;
src\Framework\System\Windows\StyleHelper.cs (1)
5603
return (value is Visual) || (value is
ContentElement
);