40 types derived from DependencyObject
PresentationCore (4)
Core\CSharp\System\Windows\ContentElement.cs (1)
30public partial class ContentElement : DependencyObject, IInputElement, IAnimatable
Core\CSharp\System\Windows\Ink\GestureRecognizer.cs (1)
41public sealed class GestureRecognizer : DependencyObject, IDisposable
Core\CSharp\System\Windows\Media\Visual.cs (1)
98public abstract partial class Visual : DependencyObject, DUCE.IResource
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
33public abstract partial class Visual3D : DependencyObject, DUCE.IResource, IVisual3DContainer
PresentationFramework (21)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
658internal sealed class FixedPageProxy : DependencyObject
src\Framework\MS\Internal\Annotations\Component\AnnotationComponentManager.cs (1)
30internal class AnnotationComponentManager : DependencyObject
src\Framework\MS\Internal\AppModel\JournalNavigationScope.cs (1)
33internal class JournalNavigationScope: DependencyObject, INavigator
src\Framework\MS\Internal\Data\LiveShapingItem.cs (1)
22internal class LiveShapingItem : DependencyObject
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
403protected class DummyProxy : DependencyObject
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
21public abstract class DataGridColumn : DependencyObject
src\Framework\System\Windows\Controls\GridViewColumn.cs (1)
25public class GridViewColumn : DependencyObject, INotifyPropertyChanged
src\Framework\System\Windows\Controls\TextSearch.cs (1)
40public sealed class TextSearch : DependencyObject
src\Framework\System\Windows\Controls\ViewBase.cs (1)
19public abstract class ViewBase : DependencyObject
src\Framework\System\Windows\Data\BindingGroup.cs (1)
33public class BindingGroup : DependencyObject
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
40public class CollectionContainer : DependencyObject, INotifyCollectionChanged, IWeakEventListener
src\Framework\System\Windows\Data\CollectionViewSource.cs (1)
29public class CollectionViewSource : DependencyObject, ISupportInitialize, IWeakEventListener
src\Framework\System\Windows\Documents\FixedElement.cs (1)
38internal sealed class FixedElement : DependencyObject
src\Framework\System\Windows\Navigation\JournalEntry.cs (1)
99public class JournalEntry : DependencyObject, ISerializable
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
26internal class WindowChromeWorker : DependencyObject
src\Framework\System\Windows\TriggerAction.cs (1)
23public abstract class TriggerAction : DependencyObject
src\Framework\System\Windows\TriggerBase.cs (1)
36public abstract class TriggerBase : DependencyObject
src\Framework\System\Windows\VisualState.cs (1)
16public class VisualState : DependencyObject
src\Framework\System\Windows\VisualStateGroup.cs (1)
21public class VisualStateGroup : DependencyObject
src\Framework\System\Windows\VisualStateManager.cs (1)
21public class VisualStateManager : DependencyObject
src\Framework\System\Windows\VisualTransition.cs (1)
19public class VisualTransition : DependencyObject
System.Activities.Core.Presentation (6)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
17class CaseKeyBoxViewModel : DependencyObject
System\Activities\Core\Presentation\FlowSwitchLink.cs (1)
16abstract class FlowSwitchLink<T> : DependencyObject, IFlowSwitchLink
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
715sealed class DynamicArgumentWrapperObject : DependencyObject
System\Activities\Presentation\TypeCollectionDesigner.xaml.cs (1)
166sealed class TypeWrapper : DependencyObject
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
267internal sealed class ExpanderTypeEntry : DependencyObject
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (1)
179internal sealed class CorrelationDataWrapper : DependencyObject
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\EqualsConverter.cs (1)
13internal class EqualsConverter : DependencyObject, IValueConverter
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Data\SwitchConverter.cs (3)
25internal class SwitchConverter : DependencyObject, IValueConverter 70internal class SwitchCase : DependencyObject 97internal sealed class TypeReference : DependencyObject
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\SharedPropertyValueColumnWidthContainer.cs (1)
19class SharedPropertyValueColumnWidthContainer : DependencyObject, INotifyPropertyChanged
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (1)
143internal sealed class Container : DependencyObject
System.Activities.Presentation\System\Activities\Presentation\View\FilterableData.cs (1)
11class FilterableData : DependencyObject
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (1)
18internal class VBIdentifierName : DependencyObject
WindowsBase (1)
Base\System\Windows\Freezable.cs (1)
40public abstract class Freezable : DependencyObject, ISealable
20 instantiations of DependencyObject
PresentationCore (1)
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
2181private static readonly DependencyObject UseParentAsContext = new DependencyObject();
PresentationFramework (19)
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
3765internal static readonly DependencyObject SentinelContainer = new DependencyObject(); 3766internal static readonly DependencyObject UnresolvedContainer = new DependencyObject(); 3767internal static readonly DependencyObject KeyContainer = new DependencyObject(); 3768internal static readonly DependencyObject RemovedContainer = new DependencyObject();
src\Framework\System\Windows\Controls\PasswordTextNavigator.cs (1)
314return (new DependencyObject()).GetLocalValueEnumerator();
src\Framework\System\Windows\Documents\FixedTextPointer.cs (1)
248return (new DependencyObject()).GetLocalValueEnumerator();
src\Framework\System\Windows\Documents\NullTextNavigator.cs (1)
161return (new DependencyObject()).GetLocalValueEnumerator();
src\Framework\System\Windows\Documents\TextPointer.cs (1)
2582return (new DependencyObject()).GetLocalValueEnumerator();
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (3)
594DependencyObject complexProperties = new DependencyObject(); 706DependencyObject complexProperties = new DependencyObject(); 1200DependencyObject complexProperties = new DependencyObject();
src\Framework\System\windows\Documents\TextSelection.cs (2)
1294_springloadFormatting = new DependencyObject(); 1475_springloadFormatting = new DependencyObject();
src\Framework\System\Windows\Documents\TextTreeUndoUnit.cs (1)
183obj = new DependencyObject();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3351bamlType.DefaultConstructor = delegate() { return new System.Windows.DependencyObject(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1207case KnownElements.DependencyObject: o = new System.Windows.DependencyObject(); break;
src\Framework\System\Windows\Navigation\JournalEntryListConverter.cs (1)
176DependencyObject current = new DependencyObject();
src\Framework\System\Windows\PropertyPath.cs (1)
901hostElement = new DependencyObject(); // at least pick up the default namespaces
src\Framework\System\Windows\ResourceDictionary.cs (1)
2631private static readonly DependencyObject DummyInheritanceContext = new DependencyObject();
4680 references to DependencyObject
PresentationCore (1094)
Core\CSharp\MS\Internal\Automation\SynchronizedInputAdaptor.cs (2)
34internal SynchronizedInputAdaptor(DependencyObject owner) 113private readonly DependencyObject _owner;
Core\CSharp\MS\Internal\DeferredElementTreeState.cs (21)
11public void SetCoreParent(DependencyObject element, DependencyObject parent) 19public static DependencyObject GetCoreParent(DependencyObject element, DeferredElementTreeState treeState) 21DependencyObject parent = null; 56public static DependencyObject GetInputElementParent(DependencyObject element, DeferredElementTreeState treeState) 58DependencyObject parent = element; 73public void SetLogicalParent(DependencyObject element, DependencyObject parent) 81public static DependencyObject GetLogicalParent(DependencyObject element, DeferredElementTreeState treeState) 83DependencyObject parent = null; 121private Dictionary<DependencyObject, DependencyObject> _oldCoreParents = new Dictionary<DependencyObject, DependencyObject>(); 122private Dictionary<DependencyObject, DependencyObject> _oldLogicalParents = new Dictionary<DependencyObject, DependencyObject>();
Core\CSharp\MS\Internal\IVisual3DContainer.cs (2)
64void VerifyAPIReadOnly(DependencyObject other); 74void VerifyAPIReadWrite(DependencyObject other);
Core\CSharp\MS\Internal\LoadedOrUnloadedOperation.cs (2)
26DependencyObject target) 47private DependencyObject _target;
Core\CSharp\MS\Internal\Media\TextOptionsInternal.cs (2)
47public static void SetTextHintingMode(DependencyObject element, TextHintingMode value) 58public static TextHintingMode GetTextHintingMode(DependencyObject element)
Core\CSharp\MS\Internal\Media\VisualTreeUtils.cs (11)
67DependencyObject element, 91internal static void SetFlagsToRoot(DependencyObject element, bool value, VisualFlags flags) 112internal static DependencyObject FindFirstAncestorWithFlagsAnd(DependencyObject element, VisualFlags flags) 201internal static void EnsureNonNullVisual(DependencyObject element) 210internal static void EnsureVisual(DependencyObject element) 219private static void EnsureVisual(DependencyObject element, bool allowNull) 244internal static void AsNonNullVisual(DependencyObject element, out Visual visual, out Visual3D visual3D) 263internal static void AsVisual(DependencyObject element, out Visual visual, out Visual3D visual3D) 293internal static bool AsVisualInternal(DependencyObject element, out Visual visual, out Visual3D visual3D) 331private static bool AsVisualHelper(DependencyObject element, out Visual visual, out Visual3D visual3D)
Core\CSharp\MS\Internal\Media3D\M3DUtil.cs (1)
525DependencyObject dependencyObject = visual3DStart;
Core\CSharp\MS\Internal\SynchronizedInputHelper.cs (7)
16internal static DependencyObject GetUIParentCore(DependencyObject o) 101internal static bool IsListening(DependencyObject o, RoutedEventArgs args) 120internal static void AddParentPreOpportunityHandler(DependencyObject o, EventRoute route, RoutedEventArgs args) 126DependencyObject visualParent = null; 131DependencyObject logicalParent = SynchronizedInputHelper.GetUIParentCore(o); 159internal static void AddHandlerToRoute(DependencyObject o, EventRoute route, RoutedEventHandler eventHandler, bool handledToo)
Core\CSharp\MS\Internal\UIElementHelper.cs (21)
16internal static bool IsHitTestVisible(DependencyObject o) 32internal static bool IsVisible(DependencyObject o) 48internal static DependencyObject PredictFocus(DependencyObject o, FocusNavigationDirection direction) 73internal static UIElement GetContainingUIElement2D(DependencyObject reference) 90internal static DependencyObject GetUIParent(DependencyObject child) 92DependencyObject parent = GetUIParent(child, false); 98internal static DependencyObject GetUIParent(DependencyObject child, bool continuePastVisualTree) 100DependencyObject parent = null; 101DependencyObject myParent = null; 113parent = InputElement.GetContainingUIElement(myParent) as DependencyObject; 122parent = InputElement.GetContainingInputElement(childAsUIElement.GetUIParentCore()) as DependencyObject; 129parent = InputElement.GetContainingInputElement(childAsUIElement3D.GetUIParentCore()) as DependencyObject; 138internal static bool IsUIElementOrUIElement3D(DependencyObject o) 144internal static void InvalidateAutomationAncestors(DependencyObject o) 150Stack<DependencyObject> branchNodeStack = new Stack<DependencyObject>(); 173o = (DependencyObject)ce.GetUIParent(continuePastVisualTree); 186DependencyObject o,
Core\CSharp\System\Windows\Automation\AutomationProperties.cs (30)
23public static void SetAutomationId(DependencyObject element, string value) 36public static string GetAutomationId(DependencyObject element) 62public static void SetName(DependencyObject element, string value) 75public static string GetName(DependencyObject element) 101public static void SetHelpText(DependencyObject element, string value) 114public static string GetHelpText(DependencyObject element) 140public static void SetAcceleratorKey(DependencyObject element, string value) 153public static string GetAcceleratorKey(DependencyObject element) 179public static void SetAccessKey(DependencyObject element, string value) 192public static string GetAccessKey(DependencyObject element) 218public static void SetItemStatus(DependencyObject element, string value) 231public static string GetItemStatus(DependencyObject element) 257public static void SetItemType(DependencyObject element, string value) 270public static string GetItemType(DependencyObject element) 295public static void SetIsColumnHeader(DependencyObject element, bool value) 308public static bool GetIsColumnHeader(DependencyObject element) 333public static void SetIsRowHeader(DependencyObject element, bool value) 346public static bool GetIsRowHeader(DependencyObject element) 371public static void SetIsRequiredForForm(DependencyObject element, bool value) 384public static bool GetIsRequiredForForm(DependencyObject element) 409public static void SetLabeledBy(DependencyObject element, UIElement value) 422public static UIElement GetLabeledBy(DependencyObject element) 447public static void SetIsOffscreenBehavior(DependencyObject element, IsOffscreenBehavior value) 460public static IsOffscreenBehavior GetIsOffscreenBehavior(DependencyObject element) 485public static void SetLiveSetting(DependencyObject element, AutomationLiveSetting value) 498public static AutomationLiveSetting GetLiveSetting(DependencyObject element) 527public static void SetPositionInSet(DependencyObject element, int value) 540public static int GetPositionInSet(DependencyObject element) 569public static void SetSizeOfSet(DependencyObject element, int value) 582public static int GetSizeOfSet(DependencyObject element)
Core\CSharp\System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (3)
94private static bool iterate(DependencyObject parent, IteratorCallback callback) 104DependencyObject child = VisualTreeHelper.GetChild(parent, i); 258private static UIElement GetContainingUIElement(DependencyObject reference)
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (3)
118private static bool iterate(DependencyObject parent, IteratorCallback callback) 128DependencyObject child = VisualTreeHelper.GetChild(parent, i); 297DependencyObject parent = VisualTreeHelper.GetParent(owner);
Core\CSharp\System\Windows\ContentElement.cs (17)
67internal DependencyObject GetUIParent() 72internal DependencyObject GetUIParent(bool continuePastVisualTree) 74DependencyObject e = null; 77e = InputElement.GetContainingInputElement(_parent) as DependencyObject; 83DependencyObject doParent = GetUIParentCore(); 84e = InputElement.GetContainingInputElement(doParent) as DependencyObject; 98protected virtual internal DependencyObject GetUIParentCore() 103internal DependencyObject Parent 116internal virtual void OnContentParentChanged(DependencyObject oldParent) 279internal void SynchronizeReverseInheritPropertyFlags(DependencyObject oldParent, bool isCoreParent) 527public virtual DependencyObject PredictFocus(FocusNavigationDirection direction) 569private static void IsFocused_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 659private static object CoerceIsEnabled(DependencyObject d, object value) 679DependencyObject parent = ce.GetUIParentCore(); 696private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 745private static void OnFocusableChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 967internal DependencyObject _parent;
Core\CSharp\System\Windows\ContentOperations.cs (3)
11public static DependencyObject GetParent(ContentElement reference) 31public static void SetParent(ContentElement reference, DependencyObject parent) 38DependencyObject oldParent = reference._parent;
Core\CSharp\System\Windows\DataObject.cs (6)
995public static void AddCopyingHandler(DependencyObject element, DataObjectCopyingEventHandler handler) 1005public static void RemoveCopyingHandler(DependencyObject element, DataObjectCopyingEventHandler handler) 1044public static void AddPastingHandler(DependencyObject element, DataObjectPastingEventHandler handler) 1054public static void RemovePastingHandler(DependencyObject element, DataObjectPastingEventHandler handler) 1083public static void AddSettingDataHandler(DependencyObject element, DataObjectSettingDataEventHandler handler) 1093public static void RemoveSettingDataHandler(DependencyObject element, DataObjectSettingDataEventHandler handler)
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (9)
116internal static void OnVisualChildChanged(DependencyObject parent, DependencyObject child, bool isAdded) 175private static int GetChildIndex(DependencyObject parent, DependencyObject child) 198DependencyObject obj = VisualTreeHelper.GetChild(parent, i); 217internal static void VerifyVisualTreeChange(DependencyObject d) 226private static void VerifyVisualTreeChangeCore(DependencyObject d) 303internal static bool AllowChangesDuringVisualTreeChanged(DependencyObject d) 348private static bool IsChangePermitted(DependencyObject d)
Core\CSharp\System\Windows\Diagnostics\VisualTreeChangeEventArgs.cs (4)
25public DependencyObject Parent { get; private set; } 30public DependencyObject Child { get; private set; } 42public VisualTreeChangeEventArgs(DependencyObject parent, DependencyObject child, int childIndex, VisualTreeChangeType changeType)
Core\CSharp\System\Windows\DragDrop.cs (36)
62public static void AddPreviewQueryContinueDragHandler(DependencyObject element, QueryContinueDragEventHandler handler) 72public static void RemovePreviewQueryContinueDragHandler(DependencyObject element, QueryContinueDragEventHandler handler) 87public static void AddQueryContinueDragHandler(DependencyObject element, QueryContinueDragEventHandler handler) 97public static void RemoveQueryContinueDragHandler(DependencyObject element, QueryContinueDragEventHandler handler) 112public static void AddPreviewGiveFeedbackHandler(DependencyObject element, GiveFeedbackEventHandler handler) 122public static void RemovePreviewGiveFeedbackHandler(DependencyObject element, GiveFeedbackEventHandler handler) 137public static void AddGiveFeedbackHandler(DependencyObject element, GiveFeedbackEventHandler handler) 147public static void RemoveGiveFeedbackHandler(DependencyObject element, GiveFeedbackEventHandler handler) 162public static void AddPreviewDragEnterHandler(DependencyObject element, DragEventHandler handler) 172public static void RemovePreviewDragEnterHandler(DependencyObject element, DragEventHandler handler) 187public static void AddDragEnterHandler(DependencyObject element, DragEventHandler handler) 197public static void RemoveDragEnterHandler(DependencyObject element, DragEventHandler handler) 212public static void AddPreviewDragOverHandler(DependencyObject element, DragEventHandler handler) 222public static void RemovePreviewDragOverHandler(DependencyObject element, DragEventHandler handler) 237public static void AddDragOverHandler(DependencyObject element, DragEventHandler handler) 247public static void RemoveDragOverHandler(DependencyObject element, DragEventHandler handler) 262public static void AddPreviewDragLeaveHandler(DependencyObject element, DragEventHandler handler) 272public static void RemovePreviewDragLeaveHandler(DependencyObject element, DragEventHandler handler) 287public static void AddDragLeaveHandler(DependencyObject element, DragEventHandler handler) 297public static void RemoveDragLeaveHandler(DependencyObject element, DragEventHandler handler) 312public static void AddPreviewDropHandler(DependencyObject element, DragEventHandler handler) 322public static void RemovePreviewDropHandler(DependencyObject element, DragEventHandler handler) 337public static void AddDropHandler(DependencyObject element, DragEventHandler handler) 347public static void RemoveDropHandler(DependencyObject element, DragEventHandler handler) 389public static DragDropEffects DoDragDrop(DependencyObject dragSource, object data, DragDropEffects allowedEffects) 606private static DragDropEffects OleDoDragDrop(DependencyObject dragSource, DataObject dataObject, DragDropEffects allowedEffects) 657public OleDragSource(DependencyObject dragSource) 910private DependencyObject _dragSource; 960DependencyObject target; 1003DependencyObject target; 1122DependencyObject target; 1166private void RaiseDragEvent(RoutedEvent dragEvent, int dragDropKeyStates, ref int effects, DependencyObject target, Point targetPoint) 1334private DependencyObject GetCurrentTarget(long dragPoint, out Point targetPoint) 1337DependencyObject target; 1355target = MouseDevice.LocalHitTest(targetPoint, source) as DependencyObject; 1484private DependencyObject _lastTarget;
Core\CSharp\System\Windows\DragEventArgs.cs (3)
57internal DragEventArgs(IDataObject data, DragDropKeyStates dragDropKeyStates, DragDropEffects allowedEffects, DependencyObject target, Point point) 109dropPoint = InputElement.TranslatePoint(_dropPoint, _target, (DependencyObject)relativeTo); 213private DependencyObject _target;
Core\CSharp\System\Windows\FreezableCollection.cs (2)
56where T: DependencyObject 668DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Generated\ContentElement.cs (6)
789internal virtual bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastVisualTree) 2317private static void IsMouseDirectlyOver_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2392private static void IsMouseCaptured_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2457private static void IsStylusDirectlyOver_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2492private static void IsStylusCaptured_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2557private static void IsKeyboardFocused_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\system\windows\generated\TextDecorationCollection.cs (1)
511DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Generated\UIElement.cs (10)
789internal virtual bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastVisualTree) 919UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 957UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 990UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 1023UIElement.CrackMouseButtonEventAndReRaiseEvent((DependencyObject)sender, e); 4608private static void IsMouseDirectlyOver_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 4744private static void IsMouseCaptured_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 4846private static void IsStylusDirectlyOver_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 4900private static void IsStylusCaptured_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 5002private static void IsKeyboardFocused_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Generated\UIElement3D.cs (6)
571internal virtual bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastVisualTree) 2023private static void IsMouseDirectlyOver_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2098private static void IsMouseCaptured_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2163private static void IsStylusDirectlyOver_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2198private static void IsStylusCaptured_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2263private static void IsKeyboardFocused_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\GlobalEventManager.cs (7)
153if ((ownerType == typeof(DependencyObject)) || ownerType.IsSubclassOf(typeof(DependencyObject))) 214if ((ownerType == typeof(DependencyObject)) || ownerType.IsSubclassOf(typeof(DependencyObject))) 248if ((ownerType == typeof(DependencyObject)) || ownerType.IsSubclassOf(typeof(DependencyObject))) 476private static DependencyObjectType _dependencyObjectType = DependencyObjectType.FromSystemTypeInternal(typeof(DependencyObject));
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (11)
171public static void AddAccessKeyPressedHandler(DependencyObject element, AccessKeyPressedEventHandler handler) 181public static void RemoveAccessKeyPressedHandler(DependencyObject element, AccessKeyPressedEventHandler handler) 524DependencyObject elementDO = element as DependencyObject; 531DependencyObject containingVisual = InputElement.GetContainingVisual(elementDO); 577DependencyObject uielement = InputElement.GetContainingUIElement((DependencyObject)element); 590private static bool IsVisible(DependencyObject element) 620private static bool IsEnabled(DependencyObject element) 747internal static string InternalGetAccessKeyCharacter(DependencyObject d) 752private string GetAccessKeyCharacter(DependencyObject d)
Core\CSharp\System\Windows\Input\Command\CanExecuteRoutedEventArgs.cs (1)
92handler(target as DependencyObject, this);
Core\CSharp\System\Windows\Input\Command\CommandManager.cs (17)
358DependencyObject targetElementAsDO = targetElement as DependencyObject; 525DependencyObject d = sender as DependencyObject; 560DependencyObject d = sender as DependencyObject; 638DependencyObject senderAsDO = sender as DependencyObject; 792private static IInputElement GetParentScopeFocusedElement(DependencyObject childScope) 794DependencyObject parentScope = GetParentScope(childScope); 798if ((focusedElement != null) && !ContainsElement(childScope, focusedElement as DependencyObject)) 809private static DependencyObject GetParentScope(DependencyObject childScope) 812DependencyObject parent = null; 839private static bool ContainsElement(DependencyObject scope, DependencyObject child) 843DependencyObject parentScope = FocusManager.GetFocusScope(child);
Core\CSharp\System\Windows\Input\Command\ExecutedRoutedEventArgs.cs (1)
73handler(target as DependencyObject, this);
Core\CSharp\System\Windows\Input\Command\InputBinding.cs (5)
106private static void OnCommandPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 276internal override DependencyObject InheritanceContext 284internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 295internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 325private DependencyObject _inheritanceContext = null;
Core\CSharp\System\Windows\Input\Command\InputBindingCollection.cs (2)
68internal InputBindingCollection(DependencyObject owner) 488private DependencyObject _owner = null;
Core\CSharp\System\Windows\Input\Command\KeyBinding.cs (2)
130private static void OnModifiersPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 157private static void OnKeyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Input\Command\MouseBinding.cs (1)
145private static void OnMouseActionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Input\Command\RoutedCommand.cs (2)
406DependencyObject targetAsDO = (DependencyObject)target;
Core\CSharp\System\Windows\Input\FocusManager.cs (33)
43public static void AddGotFocusHandler(DependencyObject element, RoutedEventHandler handler) 53public static void RemoveGotFocusHandler(DependencyObject element, RoutedEventHandler handler) 68public static void AddLostFocusHandler(DependencyObject element, RoutedEventHandler handler) 78public static void RemoveLostFocusHandler(DependencyObject element, RoutedEventHandler handler) 127public static IInputElement GetFocusedElement(DependencyObject element) 144internal static IInputElement GetFocusedElement(DependencyObject element, bool validate) 151DependencyObject focusedElement = (DependencyObject) element.GetValue(FocusedElementProperty); 160DependencyObject focusScope = element; 177public static void SetFocusedElement(DependencyObject element, IInputElement value) 192public static void SetIsFocusScope(DependencyObject element, bool value) 206public static bool GetIsFocusScope(DependencyObject element) 220public static DependencyObject GetFocusScope(DependencyObject element) 235private static void OnFocusedElementChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 238DependencyObject oldVisual = (DependencyObject)e.OldValue; 239DependencyObject newVisual = (DependencyObject)e.NewValue; 251DependencyObject oldFocus = Keyboard.FocusedElement as DependencyObject; 253DependencyObject newFocus = Keyboard.FocusedElement as DependencyObject; 339private static DependencyObject GetRoot(DependencyObject element) 344DependencyObject parent = null; 345DependencyObject dependencyObject = element; 361private static DependencyObject _GetFocusScope(DependencyObject d) 373DependencyObject logicalParent = uiElement.GetUIParentCore(); 384DependencyObject logicalParent = ce.GetUIParent(true); 395DependencyObject logicalParent = uiElement3D.GetUIParentCore(); 407DependencyObject visualParent = VisualTreeHelper.GetParent(d);
Core\CSharp\System\Windows\Input\InputElement.cs (34)
19DependencyObject o = e as DependencyObject; 23internal static bool IsValid(DependencyObject o) 30internal static bool IsUIElement(DependencyObject o) 36internal static bool IsUIElement3D(DependencyObject o) 42internal static bool IsContentElement(DependencyObject o) 49internal static DependencyObject GetContainingUIElement(DependencyObject o, bool onlyTraverse2D) 51DependencyObject container = null; 67DependencyObject parent = ContentOperations.GetParent((ContentElement)o); 86DependencyObject parent = VisualTreeHelper.GetParent(v); 94DependencyObject parent = VisualTreeHelper.GetParent(v3D); 106internal static DependencyObject GetContainingUIElement(DependencyObject o) 114internal static IInputElement GetContainingInputElement(DependencyObject o, bool onlyTraverse2D) 136DependencyObject parent = VisualTreeHelper.GetParent(v); 144DependencyObject parent = VisualTreeHelper.GetParent(v3D); 157internal static IInputElement GetContainingInputElement(DependencyObject o) 163internal static DependencyObject GetContainingVisual(DependencyObject o) 165DependencyObject v = null; 179DependencyObject parent = ContentOperations.GetParent((ContentElement)o); 211internal static DependencyObject GetRootVisual(DependencyObject o) 216internal static DependencyObject GetRootVisual(DependencyObject o, bool enable2DTo3DTransition) 218DependencyObject rootVisual = GetContainingVisual(o); 219DependencyObject parentVisual; 245internal static Point TranslatePoint(Point pt, DependencyObject from, DependencyObject to) 257internal static Point TranslatePoint(Point pt, DependencyObject from, DependencyObject to, out bool translated) 264DependencyObject vFromAsDO = InputElement.GetContainingVisual(from); 300DependencyObject vTo = InputElement.GetContainingVisual(to);
Core\CSharp\System\Windows\Input\InputLanguageManager.cs (8)
52public static void SetInputLanguage(DependencyObject target, CultureInfo inputLanguage) 65[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 67public static CultureInfo GetInputLanguage(DependencyObject target) 95public static void SetRestoreInputLanguage(DependencyObject target, bool restore) 108[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 109public static bool GetRestoreInputLanguage(DependencyObject target) 426internal void Focus(DependencyObject focus, DependencyObject focused)
Core\CSharp\System\Windows\Input\InputManager.cs (6)
127internal static DependencyObject ListeningElement 810internal static bool StartListeningSynchronizedInput(DependencyObject d, SynchronizedInputType inputType) 954DependencyObject eventSource = input.Source as DependencyObject; 959eventSource = input.Device.Target as DependencyObject; 1212private static DependencyObject _listeningElement;
Core\CSharp\System\Windows\Input\InputMethod.cs (23)
244public static void SetIsInputMethodEnabled(DependencyObject target, bool value) 257[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 258public static bool GetIsInputMethodEnabled(DependencyObject target) 283public static void SetIsInputMethodSuspended(DependencyObject target, bool value) 296[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 297public static bool GetIsInputMethodSuspended(DependencyObject target) 323public static void SetPreferredImeState(DependencyObject target, InputMethodState value) 336[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 337public static InputMethodState GetPreferredImeState(DependencyObject target) 362public static void SetPreferredImeConversionMode(DependencyObject target, ImeConversionModeValues value) 375[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 376public static ImeConversionModeValues GetPreferredImeConversionMode(DependencyObject target) 401public static void SetPreferredImeSentenceMode(DependencyObject target, ImeSentenceModeValues value) 414[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 415public static ImeSentenceModeValues GetPreferredImeSentenceMode(DependencyObject target) 439public static void SetInputScope(DependencyObject target, InputScope value) 452[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 453public static InputScope GetInputScope(DependencyObject target) 1327internal void GotKeyboardFocus(DependencyObject focus) 1402private static void IsInputMethodEnabled_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 1750DependencyObject o = element as DependencyObject; 1753DependencyObject containingVisual = InputElement.GetContainingVisual(o);
Core\CSharp\System\Windows\Input\Keyboard.cs (21)
31public static void AddPreviewKeyDownHandler(DependencyObject element, KeyEventHandler handler) 41public static void RemovePreviewKeyDownHandler(DependencyObject element, KeyEventHandler handler) 56public static void AddKeyDownHandler(DependencyObject element, KeyEventHandler handler) 66public static void RemoveKeyDownHandler(DependencyObject element, KeyEventHandler handler) 81public static void AddPreviewKeyUpHandler(DependencyObject element, KeyEventHandler handler) 91public static void RemovePreviewKeyUpHandler(DependencyObject element, KeyEventHandler handler) 106public static void AddKeyUpHandler(DependencyObject element, KeyEventHandler handler) 116public static void RemoveKeyUpHandler(DependencyObject element, KeyEventHandler handler) 131public static void AddPreviewGotKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 141public static void RemovePreviewGotKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 156public static void AddPreviewKeyboardInputProviderAcquireFocusHandler(DependencyObject element, KeyboardInputProviderAcquireFocusEventHandler handler) 166public static void RemovePreviewKeyboardInputProviderAcquireFocusHandler(DependencyObject element, KeyboardInputProviderAcquireFocusEventHandler handler) 181public static void AddKeyboardInputProviderAcquireFocusHandler(DependencyObject element, KeyboardInputProviderAcquireFocusEventHandler handler) 191public static void RemoveKeyboardInputProviderAcquireFocusHandler(DependencyObject element, KeyboardInputProviderAcquireFocusEventHandler handler) 206public static void AddGotKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 216public static void RemoveGotKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 231public static void AddPreviewLostKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 241public static void RemovePreviewLostKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 256public static void AddLostKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 266public static void RemoveLostKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler) 389internal static bool IsFocusable(DependencyObject element)
Core\CSharp\System\Windows\Input\KeyboardDevice.cs (21)
86_forceTarget = value as DependencyObject; 157DependencyObject oFocus = null; 169oFocus = (DependencyObject) element; 175oFocus = _activeSource.Value.RootVisual as DependencyObject; 190private void Focus(DependencyObject focus, bool askOld, bool askNew, bool forceToNullIfFailed) 209DependencyObject containingVisual = InputElement.GetContainingVisual(focus); 343private void TryChangeFocus(DependencyObject newFocus, IKeyboardInputProvider keyboardInputProvider, bool askOld, bool askNew, bool forceToNullIfFailed) 347DependencyObject oldFocus = _focus; // This is required, used below to see if focus has been delegated 453private void ChangeFocus(DependencyObject focus, int timestamp) 455DependencyObject o = null; 460DependencyObject oldFocus = _focus; 602internal void ReevaluateFocusAsync(DependencyObject element, DependencyObject oldParent, bool isCoreParent) 666DependencyObject element = _focus; 680DependencyObject visualContainer = InputElement.GetContainingVisual(element); 689DependencyObject moveFocusTo = null; 720moveFocusTo = _activeSource.Value.RootVisual as DependencyObject; 1112if(InputElement.GetRootVisual (_focus as DependencyObject) != _focusRootVisual) 1150private DependencyObject _focus; 1152private DependencyObject _forceTarget; 1153private DependencyObject _focusRootVisual;
Core\CSharp\System\Windows\Input\Mouse.cs (31)
32public static void AddPreviewMouseMoveHandler(DependencyObject element, MouseEventHandler handler) 42public static void RemovePreviewMouseMoveHandler(DependencyObject element, MouseEventHandler handler) 57public static void AddMouseMoveHandler(DependencyObject element, MouseEventHandler handler) 67public static void RemoveMouseMoveHandler(DependencyObject element, MouseEventHandler handler) 82public static void AddPreviewMouseDownOutsideCapturedElementHandler(DependencyObject element, MouseButtonEventHandler handler) 92public static void RemovePreviewMouseDownOutsideCapturedElementHandler(DependencyObject element, MouseButtonEventHandler handler) 107public static void AddPreviewMouseUpOutsideCapturedElementHandler(DependencyObject element, MouseButtonEventHandler handler) 117public static void RemovePreviewMouseUpOutsideCapturedElementHandler(DependencyObject element, MouseButtonEventHandler handler) 132public static void AddPreviewMouseDownHandler(DependencyObject element, MouseButtonEventHandler handler) 142public static void RemovePreviewMouseDownHandler(DependencyObject element, MouseButtonEventHandler handler) 157public static void AddMouseDownHandler(DependencyObject element, MouseButtonEventHandler handler) 167public static void RemoveMouseDownHandler(DependencyObject element, MouseButtonEventHandler handler) 182public static void AddPreviewMouseUpHandler(DependencyObject element, MouseButtonEventHandler handler) 192public static void RemovePreviewMouseUpHandler(DependencyObject element, MouseButtonEventHandler handler) 207public static void AddMouseUpHandler(DependencyObject element, MouseButtonEventHandler handler) 217public static void RemoveMouseUpHandler(DependencyObject element, MouseButtonEventHandler handler) 232public static void AddPreviewMouseWheelHandler(DependencyObject element, MouseWheelEventHandler handler) 242public static void RemovePreviewMouseWheelHandler(DependencyObject element, MouseWheelEventHandler handler) 257public static void AddMouseWheelHandler(DependencyObject element, MouseWheelEventHandler handler) 267public static void RemoveMouseWheelHandler(DependencyObject element, MouseWheelEventHandler handler) 282public static void AddMouseEnterHandler(DependencyObject element, MouseEventHandler handler) 292public static void RemoveMouseEnterHandler(DependencyObject element, MouseEventHandler handler) 307public static void AddMouseLeaveHandler(DependencyObject element, MouseEventHandler handler) 317public static void RemoveMouseLeaveHandler(DependencyObject element, MouseEventHandler handler) 332public static void AddGotMouseCaptureHandler(DependencyObject element, MouseEventHandler handler) 342public static void RemoveGotMouseCaptureHandler(DependencyObject element, MouseEventHandler handler) 357public static void AddLostMouseCaptureHandler(DependencyObject element, MouseEventHandler handler) 367public static void RemoveLostMouseCaptureHandler(DependencyObject element, MouseEventHandler handler) 382public static void AddQueryCursorHandler(DependencyObject element, QueryCursorEventHandler handler) 392public static void RemoveQueryCursorHandler(DependencyObject element, QueryCursorEventHandler handler) 482PresentationSource inputSource = PresentationSource.FromDependencyObject(InputElement.GetContainingVisual(relativeTo as DependencyObject));
Core\CSharp\System\Windows\Input\MouseDevice.cs (40)
363DependencyObject eltDO = element as DependencyObject; 418DependencyObject containingVisual = InputElement.GetContainingVisual(eltDO); 642DependencyObject dependencyObject = relativeTo as DependencyObject; 643DependencyObject containingVisual = InputElement.GetContainingVisual(dependencyObject); 680ptRelative = InputElement.TranslatePoint(ptRoot, relativePresentationSource.RootVisual, (DependencyObject)relativeTo); 687internal void ReevaluateMouseOver(DependencyObject element, DependencyObject oldParent, bool isCoreParent) 739UIElement.MouseOverProperty.OnOriginValueChanged(_mouseOver as DependencyObject, _mouseOver as DependencyObject, ref _mouseOverTreeState); 747internal void ReevaluateCapture(DependencyObject element, DependencyObject oldParent, bool isCoreParent) 786DependencyObject dependencyObject = _mouseCapture as DependencyObject; 811DependencyObject containingVisual = InputElement.GetContainingVisual(dependencyObject); 831UIElement.MouseCaptureWithinProperty.OnOriginValueChanged(_mouseCapture as DependencyObject, _mouseCapture as DependencyObject, ref _mouseCaptureWithinTreeState); 881private bool ValidateVisualForCapture(DependencyObject visual) 1052DependencyObject o = null; 1067o = oldMouseOver as DependencyObject; 1092o = _mouseOver as DependencyObject; 1120UIElement.MouseOverProperty.OnOriginValueChanged(oldMouseOver as DependencyObject, _mouseOver as DependencyObject, ref _mouseOverTreeState); 1125o = oldMouseOver as DependencyObject; 1130o = _mouseOver as DependencyObject; 1145DependencyObject o = null; 1169o = oldMouseCapture as DependencyObject; 1194o = _mouseCapture as DependencyObject; 1222UIElement.MouseCaptureWithinProperty.OnOriginValueChanged(oldMouseCapture as DependencyObject, _mouseCapture as DependencyObject, ref _mouseCaptureWithinTreeState); 1227o = oldMouseCapture as DependencyObject; 1232o = _mouseCapture as DependencyObject; 1581Point ptRelativeToOver = InputElement.TranslatePoint(ptRoot, rawMouseInputReport.InputSource.RootVisual, (DependencyObject)_mouseOver, out mouseOverAvailable); 1622mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1624rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject); 1659IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1670mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1740rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject); 1759ptRelativeToOver = InputElement.TranslatePoint(ptRoot, rawMouseInputReport.InputSource.RootVisual, (DependencyObject)mouseOver);
Core\CSharp\System\Windows\Input\TextCompositionManager.cs (12)
67public static void AddPreviewTextInputStartHandler(DependencyObject element, TextCompositionEventHandler handler) 82public static void RemovePreviewTextInputStartHandler(DependencyObject element, TextCompositionEventHandler handler) 102public static void AddTextInputStartHandler(DependencyObject element, TextCompositionEventHandler handler) 117public static void RemoveTextInputStartHandler(DependencyObject element, TextCompositionEventHandler handler) 137public static void AddPreviewTextInputUpdateHandler(DependencyObject element, TextCompositionEventHandler handler) 152public static void RemovePreviewTextInputUpdateHandler(DependencyObject element, TextCompositionEventHandler handler) 172public static void AddTextInputUpdateHandler(DependencyObject element, TextCompositionEventHandler handler) 187public static void RemoveTextInputUpdateHandler(DependencyObject element, TextCompositionEventHandler handler) 207public static void AddPreviewTextInputHandler(DependencyObject element, TextCompositionEventHandler handler) 222public static void RemovePreviewTextInputHandler(DependencyObject element, TextCompositionEventHandler handler) 242public static void AddTextInputHandler(DependencyObject element, TextCompositionEventHandler handler) 257public static void RemoveTextInputHandler(DependencyObject element, TextCompositionEventHandler handler)
Core\CSharp\System\Windows\Input\TextServicesManager.cs (5)
82internal void Focus(DependencyObject focus) 152DependencyObject element = Keyboard.FocusedElement as DependencyObject; 192DependencyObject element = Keyboard.FocusedElement as DependencyObject;
Core\CSharp\System\Windows\Input\TouchDevice.cs (36)
237IInputElement capture = InputElement.GetContainingInputElement(_captured as DependencyObject); 308element = InputElement.GetContainingInputElement(element as DependencyObject); 440DependencyObject o = oldCapture as DependencyObject; 446DependencyObject o = _captured as DependencyObject; 479List<DependencyObject> others = null; 483others = new List<DependencyObject>(count); 490DependencyObject other = capture ? (touchDevice._captured as DependencyObject) : (touchDevice._directlyOver as DependencyObject); 500Action<DependencyObject, bool> originChangedAction = capture ? null : RaiseTouchEnterOrLeaveAction; 502property.OnOriginValueChanged(oldElement as DependencyObject, newElement as DependencyObject, others, ref treeState, originChangedAction); 514internal static void ReevaluateCapturedWithin(DependencyObject element, DependencyObject oldParent, bool isCoreParent) 524private void ReevaluateCapturedWithinAsync(DependencyObject element, DependencyObject oldParent, bool isCoreParent) 595DependencyObject containingVisual = InputElement.GetContainingVisual(_captured as DependencyObject); 619private bool ValidateVisualForCapture(DependencyObject visual) 883internal static void ReevaluateDirectlyOver(DependencyObject element, DependencyObject oldParent, bool isCoreParent) 893private void ReevaluateDirectlyOverAsync(DependencyObject element, DependencyObject oldParent, bool isCoreParent) 977DependencyObject o = oldDirectlyOver as DependencyObject; 983DependencyObject o = newDirectlyOver as DependencyObject; 994private Action<DependencyObject, bool> RaiseTouchEnterOrLeaveAction 1000_raiseTouchEnterOrLeaveAction = new Action<DependencyObject, bool>(RaiseTouchEnterOrLeave); 1011private void RaiseTouchEnterOrLeave(DependencyObject element, bool isLeave) 1158UIElement element = InputElement.GetContainingUIElement(_directlyOver as DependencyObject) as UIElement; 1299DependencyObject currentChild = child as DependencyObject; 1411private Action<DependencyObject, bool> _raiseTouchEnterOrLeaveAction;
Core\CSharp\System\Windows\Interop\D3DImage.cs (1)
696private static void IsFrontBufferAvailablePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (5)
406DependencyObject focusedDO = Keyboard.FocusedElement as DependencyObject; 534DependencyObject restoreFocusDO = _restoreFocus as DependencyObject; 561restoreFocusDO = (DependencyObject)Keyboard.FocusedElement;
Core\CSharp\System\Windows\Interop\HwndMouseInputProvider.cs (2)
272DependencyObject containingVisual = InputElement.GetContainingVisual(relativeTo as DependencyObject);
Core\CSharp\System\Windows\Interop\HwndSource.cs (3)
2397DependencyObject focusObject = Keyboard.FocusedElement as DependencyObject; 2733PresentationSource.CriticalFromVisual((DependencyObject)focusElement) != this)
Core\CSharp\System\Windows\Interop\HwndStylusInputProvider.cs (2)
136DependencyObject elementCur = (DependencyObject)inputElement;
Core\CSharp\System\Windows\Interop\HwndTarget.cs (2)
1979private void RecursiveUpdateDpiFlagAndInvalidateMeasure(DependencyObject d, DpiRecursiveChangeArgs args) 1984DependencyObject child = VisualTreeHelper.GetChild(d, i);
Core\CSharp\System\Windows\Media\AncestorChangedEventArgs.cs (6)
7public AncestorChangedEventArgs(DependencyObject subRoot, DependencyObject oldParent) 13public DependencyObject Ancestor 18public DependencyObject OldParent 23private DependencyObject _subRoot; // direct child of the changed link. 24private DependencyObject _oldParent; // If link is cut; otherwise null.
Core\CSharp\System\Windows\Media\Animation\Animatable.cs (1)
412public static bool ShouldSerializeStoredWeakReference(DependencyObject target)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (17)
119internal void Initialize(DependencyObject d, DependencyProperty dp) 168DependencyObject d = (DependencyObject)_dependencyObject.Target; 321DependencyObject d = (DependencyObject)_dependencyObject.Target; 374DependencyObject targetDO = ((DependencyObject)target); 572DependencyObject d, 591DependencyObject d, 698DependencyObject d, 779DependencyObject d, 877DependencyObject d, 899DependencyObject d, 1030DependencyObject d, 1080internal static FrugalMap GetAnimatedPropertiesMap(DependencyObject d) 1095internal static AnimationStorage GetStorage(DependencyObject d, DependencyProperty dp) 1104DependencyObject d,
Core\CSharp\System\Windows\Media\Animation\AnimationTimeline.cs (1)
27private static void AnimationTimeline_PropertyChangedFunction(DependencyObject d,
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\ColorIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\Int16Animation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\Int64Animation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\PointIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\RectIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\SizeIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\TimelineCollection.cs (1)
519DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DIndependentAnimationStorage.cs (2)
53DependencyObject dobj = ((DependencyObject) _dependencyObject.Target);
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Animation\IndependentAnimationStorage.cs (5)
105DependencyObject d = (DependencyObject)_dependencyObject.Target; 207DependencyObject d = (DependencyObject)_dependencyObject.Target; 230internal static DUCE.ResourceHandle GetResourceHandle(DependencyObject d, DependencyProperty dp, DUCE.Channel channel)
Core\CSharp\System\Windows\Media\Animation\ParallelTimeline.cs (1)
185internal static void ParallelTimeline_PropertyChangedFunction(DependencyObject d,
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (1)
171private static void Timeline_PropertyChangedFunction(DependencyObject d,
Core\CSharp\System\Windows\Media\ArcSegment.cs (1)
190private static object CoerceSize(DependencyObject d, object value)
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (5)
178/// Implementation of <see cref="System.Windows.DependencyObject.OnPropertyChanged">DependencyObject.OnPropertyInvalidated</see>. 274DependencyObject parent = VisualTreeHelper.GetParent(element); 367private static object CoerceOpacity(DependencyObject d, object value) 376private static object CoerceTransform(DependencyObject d, object value) 385private static object CoerceRelativeTransform(DependencyObject d, object value)
Core\CSharp\System\Windows\Media\ContainerVisual.cs (1)
59public DependencyObject Parent
Core\CSharp\System\Windows\Media\Effects\Generated\BevelBitmapEffect.cs (4)
88private static void BevelWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void ReliefPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 102private static void LightAnglePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 109private static void SmoothnessPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectCollection.cs (1)
518DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Effects\Generated\BitmapEffectInput.cs (1)
88private static void AreaToApplyEffectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\BlurBitmapEffect.cs (1)
88private static void RadiusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\BlurEffect.cs (3)
88private static void RadiusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void KernelTypePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 102private static void RenderingBiasPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\DropShadowBitmapEffect.cs (6)
88private static void ShadowDepthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void ColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 102private static void DirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 109private static void NoisePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 116private static void OpacityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 123private static void SoftnessPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\DropShadowEffect.cs (6)
88private static void ShadowDepthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void ColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 102private static void DirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 109private static void OpacityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 116private static void BlurRadiusPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 123private static void RenderingBiasPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\EmbossBitmapEffect.cs (2)
88private static void LightAnglePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void ReliefPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\OuterGlowBitmapEffect.cs (4)
88private static void GlowColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void GlowSizePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 102private static void NoisePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 109private static void OpacityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\PixelShader.cs (2)
88private static void UriSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void ShaderRenderModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Effects\Generated\ShaderEffect.cs (1)
88private static void PixelShaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\BitmapCache.cs (3)
90private static void RenderAtScalePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void SnapsToDevicePixelsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void EnableClearTypePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\BitmapCacheBrush.cs (5)
90private static void TargetPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void BitmapCachePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 145private static void AutoLayoutContentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 152private static void InternalTargetPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 206private static void AutoWrapTargetPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\Brush.cs (3)
91private static void OpacityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 98private static void TransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 146private static void RelativeTransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\CombinedGeometry.cs (3)
90private static void GeometryCombineModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void Geometry1PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 145private static void Geometry2PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\DashStyle.cs (2)
90private static void OffsetPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void DashesPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\DrawingBrush.cs (1)
90private static void DrawingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\DrawingCollection.cs (1)
532DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\DrawingGroup.cs (11)
90private static void ChildrenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 181private static void ClipGeometryPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 229private static void OpacityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 236private static void OpacityMaskPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 284private static void TransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 332private static void GuidelineSetPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 380private static void EdgeModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 387private static void BitmapEffectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 398private static void BitmapEffectInputPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 409private static void BitmapScalingModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 416private static void ClearTypeHintPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\DrawingImage.cs (1)
90private static void DrawingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\EllipseGeometry.cs (3)
90private static void RadiusXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void RadiusYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void CenterPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\GeneralTransformCollection.cs (1)
520DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\Geometry.cs (1)
91private static void TransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\GeometryCollection.cs (1)
532DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\GeometryDrawing.cs (3)
90private static void BrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 138private static void PenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 186private static void GeometryPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\GeometryGroup.cs (2)
90private static void FillRulePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void ChildrenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\GlyphRunDrawing.cs (2)
90private static void GlyphRunPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 119private static void ForegroundBrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\GradientBrush.cs (4)
90private static void ColorInterpolationModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void MappingModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void SpreadMethodPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 111private static void GradientStopsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\GradientStopCollection.cs (1)
520DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\GuidelineSet.cs (3)
90private static void GuidelinesXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 101private static void GuidelinesYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 112private static void IsDynamicPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\ImageBrush.cs (1)
90private static void ImageSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\ImageDrawing.cs (2)
90private static void ImageSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 138private static void RectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\LinearGradientBrush.cs (2)
90private static void StartPointPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void EndPointPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\LineGeometry.cs (2)
90private static void StartPointPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void EndPointPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\MatrixTransform.cs (1)
90private static void MatrixPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\PathFigureCollection.cs (1)
521DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\PathGeometry.cs (2)
90private static void FillRulePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void FiguresPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\PathSegmentCollection.cs (1)
520DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\Pen.cs (8)
90private static void BrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 138private static void ThicknessPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 145private static void StartLineCapPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 152private static void EndLineCapPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 159private static void DashCapPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 166private static void LineJoinPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 173private static void MiterLimitPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 180private static void DashStylePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\RadialGradientBrush.cs (4)
90private static void CenterPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void RadiusXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void RadiusYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 111private static void GradientOriginPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\RectangleGeometry.cs (3)
90private static void RadiusXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void RadiusYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void RectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\RotateTransform.cs (3)
90private static void AnglePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void CenterXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void CenterYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\ScaleTransform.cs (4)
90private static void ScaleXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void ScaleYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void CenterXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 111private static void CenterYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\SkewTransform.cs (4)
90private static void AngleXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void AngleYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void CenterXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 111private static void CenterYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\SolidColorBrush.cs (1)
90private static void ColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\StreamGeometry.cs (1)
90private static void FillRulePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\TextEffectCollection.cs (1)
520DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\TileBrush.cs (11)
90private static void ViewportUnitsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void ViewboxUnitsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void ViewportPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 111private static void ViewboxPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 118private static void StretchPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 125private static void TileModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 132private static void AlignmentXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 139private static void AlignmentYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 146private static void CachingHintPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 153private static void CacheInvalidationThresholdMinimumPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 160private static void CacheInvalidationThresholdMaximumPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\TransformCollection.cs (1)
532DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media\Generated\TransformGroup.cs (1)
90private static void ChildrenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\TranslateTransform.cs (2)
90private static void XPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void YPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\VideoDrawing.cs (2)
90private static void PlayerPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 119private static void RectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Generated\VisualBrush.cs (2)
90private static void VisualPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 144private static void AutoLayoutContentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\HitTestFilterBehavior.cs (1)
57public delegate HitTestFilterBehavior HitTestFilterCallback(DependencyObject potentialHitTestTarget);
Core\CSharp\System\Windows\Media\HitTestResult.cs (3)
24private DependencyObject _visualHit; 26internal HitTestResult(DependencyObject visualHit) 34public DependencyObject VisualHit
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (9)
732private static object CoerceUriCachePolicy(DependencyObject d, object value) 748private static object CoerceUriSource(DependencyObject d, object value) 764private static object CoerceStreamSource(DependencyObject d, object value) 780private static object CoerceDecodePixelWidth(DependencyObject d, object value) 796private static object CoerceDecodePixelHeight(DependencyObject d, object value) 812private static object CoerceRotation(DependencyObject d, object value) 828private static object CoerceSourceRect(DependencyObject d, object value) 844private static object CoerceCreateOptions(DependencyObject d, object value) 860private static object CoerceCacheOption(DependencyObject d, object value)
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (4)
242private static object CoerceSource(DependencyObject d, object value) 258private static object CoerceSourceColorContext(DependencyObject d, object value) 274private static object CoerceDestinationColorContext(DependencyObject d, object value) 290private static object CoerceDestinationFormat(DependencyObject d, object value)
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (2)
214private static object CoerceSource(DependencyObject d, object value) 230private static object CoerceSourceRect(DependencyObject d, object value)
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (4)
270private static object CoerceSource(DependencyObject d, object value) 286private static object CoerceDestinationFormat(DependencyObject d, object value) 322private static object CoerceDestinationPalette(DependencyObject d, object value) 338private static object CoerceAlphaThreshold(DependencyObject d, object value)
Core\CSharp\System\Windows\Media\Imaging\Generated\BitmapImage.cs (9)
78private static void UriCachePolicyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 87private static void UriSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 96private static void StreamSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 105private static void DecodePixelWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 114private static void DecodePixelHeightPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 123private static void RotationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 132private static void SourceRectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 141private static void CreateOptionsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 150private static void CacheOptionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Imaging\Generated\ColorConvertedBitmap.cs (4)
78private static void SourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 106private static void SourceColorContextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 115private static void DestinationColorContextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 124private static void DestinationFormatPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Imaging\Generated\CroppedBitmap.cs (2)
78private static void SourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 106private static void SourceRectPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Imaging\Generated\FormatConvertedBitmap.cs (4)
78private static void SourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 106private static void DestinationFormatPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 115private static void DestinationPalettePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 124private static void AlphaThresholdPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Imaging\Generated\TransformedBitmap.cs (2)
78private static void SourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 106private static void TransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (2)
353private static object CoerceSource(DependencyObject d, object value) 369private static object CoerceTransform(DependencyObject d, object value)
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
1663DependencyObject target)
Core\CSharp\System\Windows\Media\RenderOptions.cs (15)
46[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 47public static EdgeMode GetEdgeMode(DependencyObject target) 56public static void SetEdgeMode(DependencyObject target, EdgeMode edgeMode) 79[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 80public static BitmapScalingMode GetBitmapScalingMode(DependencyObject target) 89public static void SetBitmapScalingMode(DependencyObject target, BitmapScalingMode bitmapScalingMode) 112[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 113public static ClearTypeHint GetClearTypeHint(DependencyObject target) 122public static void SetClearTypeHint(DependencyObject target, ClearTypeHint clearTypeHint) 147public static CachingHint GetCachingHint(DependencyObject target) 156public static void SetCachingHint(DependencyObject target, CachingHint cachingHint) 180public static double GetCacheInvalidationThresholdMinimum(DependencyObject target) 189public static void SetCacheInvalidationThresholdMinimum(DependencyObject target, double cacheInvalidationThresholdMinimum) 213public static double GetCacheInvalidationThresholdMaximum(DependencyObject target) 222public static void SetCacheInvalidationThresholdMaximum(DependencyObject target, double cacheInvalidationThresholdMaximum)
Core\CSharp\System\Windows\Media\TextFormatting\NumberSubstitution.cs (9)
162public static void SetCultureSource(DependencyObject target, NumberCultureSource value) 175[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 176public static NumberCultureSource GetCultureSource(DependencyObject target) 201public static void SetCultureOverride(DependencyObject target, CultureInfo value) 214[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 216public static CultureInfo GetCultureOverride(DependencyObject target) 238public static void SetSubstitution(DependencyObject target, NumberSubstitutionMethod value) 251[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 252public static NumberSubstitutionMethod GetSubstitution(DependencyObject target)
Core\CSharp\System\Windows\Media\Visual.cs (24)
1003internal void VerifyAPIReadOnly(DependencyObject value) 1026internal void VerifyAPIReadWrite(DependencyObject value) 1872internal HitTestFilterBehavior NoNested2DFilter(DependencyObject potentialHitTestTarget) 2578internal virtual DependencyObject InternalGet2DOr3DVisualChild(int index) 2794protected DependencyObject VisualParent 2807internal DependencyObject InternalVisualParent 3991internal virtual void FireOnVisualParentChanged(DependencyObject oldParent) 4035protected internal virtual void OnVisualParentChanged(DependencyObject oldParent) 4043DependencyObject visualAdded, 4044DependencyObject visualRemoved) 4125internal static void ProcessAncestorChangedNotificationRecursive(DependencyObject e, AncestorChangedEventArgs args) 4154DependencyObject childVisual = eAsVisual.InternalGet2DOr3DVisualChild(i); 4168public bool IsAncestorOf(DependencyObject descendant) 4187public bool IsDescendantOf(DependencyObject ancestor) 4198DependencyObject current = this; 4261internal DependencyObject FindFirstAncestorWithFlagsAnd(VisualFlags flag) 4274DependencyObject parent = current._parent; 4299public DependencyObject FindCommonVisualAncestor(DependencyObject otherVisual) 4424DependencyObject ancestor = FindCommonVisualAncestor(visual); 4535DependencyObject g = this; 5117DependencyObject e, 5172DependencyObject e, 5372internal DependencyObject _parent;
Core\CSharp\System\Windows\Media\VisualBrush.cs (2)
180/// Implementation of <see cref="System.Windows.DependencyObject.OnPropertyChanged">DependencyObject.OnPropertyInvalidated</see>. 242DependencyObject parent = VisualTreeHelper.GetParent(element);
Core\CSharp\System\Windows\Media\VisualTreeHelper.cs (19)
39private static void CheckVisualReferenceArgument(DependencyObject reference) 54internal static bool IsVisualType(DependencyObject reference) 62public static int GetChildrenCount(DependencyObject reference) 85public static DependencyObject GetChild(DependencyObject reference, int childIndex) 134public static DependencyObject GetParent(DependencyObject reference) 158internal static DependencyObject GetParentInternal(DependencyObject reference) 183internal static Visual GetContainingVisual2D(DependencyObject reference) 202internal static Visual3D GetContainingVisual3D(DependencyObject reference) 218internal static bool IsAncestorOf(DependencyObject reference, DependencyObject descendant) 236internal static bool IsAncestorOf(DependencyObject ancestor, DependencyObject descendant, Type stopType) 252DependencyObject current = descendant; 276internal static DependencyObject FindCommonAncestor(DependencyObject reference, DependencyObject otherVisual)
Core\CSharp\System\Windows\Media3D\Generated\AxisAngleRotation3D.cs (2)
86private static void AxisPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void AnglePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\Camera.cs (1)
86private static void TransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\DiffuseMaterial.cs (3)
86private static void ColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 93private static void AmbientColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 100private static void BrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\DirectionalLight.cs (1)
86private static void DirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\EmissiveMaterial.cs (2)
86private static void ColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 93private static void BrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\GeneralTransform3DCollection.cs (1)
516DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media3D\Generated\GeometryModel3D.cs (3)
86private static void GeometryPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 134private static void MaterialPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 184private static void BackMaterialPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\Light.cs (1)
86private static void ColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\MaterialCollection.cs (1)
528DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media3D\Generated\MaterialGroup.cs (1)
86private static void ChildrenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\MatrixCamera.cs (2)
86private static void ViewMatrixPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 93private static void ProjectionMatrixPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\MatrixTransform3D.cs (1)
86private static void MatrixPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\MeshGeometry3D.cs (4)
86private static void PositionsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 97private static void NormalsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 108private static void TextureCoordinatesPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 119private static void TriangleIndicesPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\Model3D.cs (1)
86private static void TransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\Model3DCollection.cs (1)
528DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media3D\Generated\Model3DGroup.cs (1)
86private static void ChildrenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\OrthographicCamera.cs (1)
86private static void WidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\PerspectiveCamera.cs (1)
86private static void FieldOfViewPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\PointLightBase.cs (5)
86private static void PositionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 93private static void RangePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 100private static void ConstantAttenuationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 107private static void LinearAttenuationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 114private static void QuadraticAttenuationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\ProjectionCamera.cs (5)
86private static void NearPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 93private static void FarPlaneDistancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 100private static void PositionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 107private static void LookDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 114private static void UpDirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\QuaternionRotation3D.cs (1)
86private static void QuaternionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\RotateTransform3D.cs (4)
86private static void CenterXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void CenterYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void CenterZPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 113private static void RotationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\ScaleTransform3D.cs (6)
86private static void ScaleXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void ScaleYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void ScaleZPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 113private static void CenterXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 122private static void CenterYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 131private static void CenterZPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\SpecularMaterial.cs (3)
86private static void ColorPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 93private static void BrushPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 141private static void SpecularPowerPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\SpotLight.cs (3)
86private static void DirectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 93private static void OuterConeAnglePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 100private static void InnerConeAnglePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\Transform3DCollection.cs (1)
528DependencyObject inheritanceChild = _collection[i];
Core\CSharp\System\Windows\Media3D\Generated\Transform3DGroup.cs (1)
86private static void ChildrenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Generated\TranslateTransform3D.cs (3)
86private static void OffsetXPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 95private static void OffsetYPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 104private static void OffsetZPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\ModelUIElement3D.cs (1)
65private static void ModelPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\ModelVisual3D.cs (1)
146private static void ContentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (4)
883internal override DependencyObject InternalGet2DOr3DVisualChild(int index) 905private static void OnCachingHintChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 922private static void OnCacheInvalidationThresholdMinimumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 938private static void OnCacheInvalidationThresholdMaximumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (8)
70public DependencyObject Parent 216private static void CameraPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 262private static void ViewportPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 326void IVisual3DContainer.VerifyAPIReadOnly(DependencyObject other) { this.VerifyAPIReadOnly(other); } 328void IVisual3DContainer.VerifyAPIReadWrite(DependencyObject other) { this.VerifyAPIReadWrite(other); } 483internal override DependencyObject InternalGet2DOr3DVisualChild(int index) 873internal void SetInheritanceContextForChildren(DependencyObject inheritanceContextForChildren) 901private DependencyObject _inheritanceContextForChildren;
Core\CSharp\System\Windows\Media3D\Visual3D.cs (32)
168private static void TransformPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 466internal virtual void FireOnVisualParentChanged(DependencyObject oldParent) 569internal static void ProcessAncestorChangedNotificationRecursive(DependencyObject e, AncestorChangedEventArgs args) 597DependencyObject child = eAsVisual3D.InternalGet2DOr3DVisualChild(i); 611protected internal virtual void OnVisualParentChanged(DependencyObject oldParent) 619DependencyObject visualAdded, 620DependencyObject visualRemoved) 917void IVisual3DContainer.VerifyAPIReadOnly(DependencyObject other) { this.VerifyAPIReadOnly(other); } 919void IVisual3DContainer.VerifyAPIReadWrite(DependencyObject other) { this.VerifyAPIReadWrite(other); } 933internal void VerifyAPIReadOnly(DependencyObject other) 958internal void VerifyAPIReadWrite(DependencyObject other) 1317public bool IsAncestorOf(DependencyObject descendant) 1336public bool IsDescendantOf(DependencyObject ancestor) 1354DependencyObject parent2D = current.InternalVisualParent; 1397internal DependencyObject FindFirstAncestorWithFlagsAnd(VisualFlags flag) 1427public DependencyObject FindCommonVisualAncestor(DependencyObject otherVisual) 1550internal override DependencyObject InheritanceContext 1554DependencyObject value = _inheritanceContext.GetValue(this); 1565internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 1573internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 1582private void AddOrRemoveInheritanceContext(DependencyObject newInheritanceContext) 1611DependencyObject child = GetVisual3DChild(i); 1691DependencyObject g = this; 1868internal DependencyObject InternalVisualParent 1880DependencyObject parent2D = _2DParent.GetValue(this); 1998internal virtual DependencyObject InternalGet2DOr3DVisualChild(int index) 2054DependencyObject child = pe.InternalGet2DOr3DVisualChild(i); 2135private void SetInheritanceContext(DependencyObject newInheritanceContext) 2181private static readonly DependencyObject UseParentAsContext = new DependencyObject(); 2185private static readonly UncommonField<DependencyObject> _inheritanceContext = 2186new UncommonField<DependencyObject>(/* defaultValue = */ UseParentAsContext);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (3)
107public static Uri GetBaseUri(DependencyObject element) 580internal static Uri GetBaseUriCore(DependencyObject element) 583DependencyObject doCurrent;
Core\CSharp\System\Windows\PresentationSource.cs (19)
130public static PresentationSource FromDependencyObject(DependencyObject dependencyObject) 169DependencyObject o = (DependencyObject)element; 235DependencyObject o = (DependencyObject)e; 553foreach (DependencyObject element in _watchers) 625internal static void OnVisualAncestorChanged(DependencyObject uie, AncestorChangedEventArgs e) 640internal static PresentationSource CriticalFromVisual(DependencyObject v) 655internal static PresentationSource CriticalFromVisual(DependencyObject v, bool enable2DTo3DTransition) 693internal static bool UnderSamePresentationSource(params DependencyObject[] visuals) 759private static PresentationSource CriticalGetPresentationSourceFromElement(DependencyObject dObject,DependencyProperty dp) 780private static void AddElementToWatchList(DependencyObject element) 796private static void RemoveElementFromWatchList(DependencyObject element) 809private static PresentationSource FindSource(DependencyObject o) 823private static PresentationSource FindSource(DependencyObject o, bool enable2DTo3DTransition) 831DependencyObject v = InputElement.GetRootVisual(o, enable2DTo3DTransition); 844private static bool UpdateSourceOfElement(DependencyObject doTarget, 845DependencyObject doAncestor, 846DependencyObject doOldParent)
Core\CSharp\System\Windows\ReverseInheritProperty.cs (14)
36internal void OnOriginValueChanged(DependencyObject oldOrigin, DependencyObject newOrigin, ref DeferredElementTreeState oldTreeState) 41internal void OnOriginValueChanged(DependencyObject oldOrigin, 42DependencyObject newOrigin, 43IList<DependencyObject> otherOrigins, 45Action<DependencyObject, bool> originChangedAction) 100private void SetCacheFlagInAncestry(DependencyObject element, 144DependencyObject coreParent = DeferredElementTreeState.GetInputElementParent(element, treeState); 145DependencyObject logicalParent = DeferredElementTreeState.GetLogicalParent(element, treeState); 159private void FirePropertyChangeInAncestry(DependencyObject element, 162Action<DependencyObject, bool> originChangedAction) 218DependencyObject coreParent = DeferredElementTreeState.GetInputElementParent(element, treeState); 219DependencyObject logicalParent = DeferredElementTreeState.GetLogicalParent(element, treeState); 293private static void CastElement(DependencyObject o, out UIElement uie, out ContentElement ce, out UIElement3D uie3D)
Core\CSharp\System\Windows\UIElement.cs (56)
815DependencyObject parent = GetUIParent() as UIElement; 1384private static void RenderTransform_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 1437private static void RenderTransformOrigin_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 1453protected internal override void OnVisualParentChanged(DependencyObject oldParent) 1458DependencyObject parent = _parent; 1505DependencyObject parent = oldParent; 1556DependencyObject parent = null; 1613internal DependencyObject GetUIParent() 1618internal DependencyObject GetUIParent(bool continuePastVisualTree) 1623internal DependencyObject GetUIParentNo3DTraversal() 1625DependencyObject parent = null; 1628DependencyObject myParent = InternalVisualParent; 1642protected virtual internal DependencyObject GetUIParentCore() 1664internal static void BuildRouteHelper(DependencyObject e, EventRoute route, RoutedEventArgs args) 1797e = (DependencyObject)contentElement.GetUIParent(continuePastVisualTree); 1909internal static void AddHandler(DependencyObject d, RoutedEvent routedEvent, Delegate handler) 1949internal static void RemoveHandler(DependencyObject d, RoutedEvent routedEvent, Delegate handler) 2079DependencyObject candidate = result.Result; 2090DependencyObject containingElement = InputElement.GetContainingUIElement(candidate); 2151private HitTestFilterBehavior InputHitTestFilterCallback(DependencyObject currentNode) 2194public DependencyObject Result 2250private static void CrackMouseButtonEventAndReRaiseEvent(DependencyObject sender, MouseButtonEventArgs e) 2273private static void ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 2332internal static void RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 2409internal void SynchronizeReverseInheritPropertyFlags(DependencyObject oldParent, bool isCoreParent) 2647DependencyObject focusScope = FocusManager.GetFocusScope(this); 2677public virtual DependencyObject PredictFocus(FocusNavigationDirection direction) 2713private static void Opacity_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2745private static void OpacityMask_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2777private static void OnBitmapEffectChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2811private static void OnEffectChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2841private static void OnBitmapEffectInputChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2864private static void EdgeMode_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2875private static void BitmapScalingMode_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2886private static void ClearTypeHint_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2897private static void TextHintingMode_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2918private static void OnCacheModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2991private static void OnVisibilityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3402private static void ClipToBounds_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 3443private static void Clip_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 3475private static void SnapsToDevicePixels_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 3565private static void IsFocused_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 3665private static object CoerceIsEnabled(DependencyObject d, object value) 3685DependencyObject parent = uie.GetUIParentCore() as ContentElement; 3706private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3769private static object CoerceIsHitTestVisible(DependencyObject d, object value) 3792DependencyObject parent = InputElement.GetContainingUIElement(uie._parent); 3809private static void OnIsHitTestVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3859private static object GetIsVisible(DependencyObject d, out BaseValueSourceInternal source) 3907DependencyObject parent = InputElement.GetContainingUIElement(_parent); 3946private static void OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 4002private static void OnFocusableChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 4224DependencyObject parent) 4293DependencyObject child = v.InternalGet2DOr3DVisualChild(iChild); 4389private static void OnIsManipulationEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 4415private static bool IsDefaultValue(DependencyObject dependencyObject, DependencyProperty dependencyProperty)
Core\CSharp\System\Windows\UIElement3D.cs (22)
151protected internal override void OnVisualParentChanged(DependencyObject oldParent) 156DependencyObject parent = InternalVisualParent; 200DependencyObject parent = oldParent; 251DependencyObject parent = null; 302internal DependencyObject GetUIParent(bool continuePastVisualTree) 315protected internal DependencyObject GetUIParentCore() 369internal void SynchronizeReverseInheritPropertyFlags(DependencyObject oldParent, bool isCoreParent) 607DependencyObject focusScope = FocusManager.GetFocusScope(this); 637public virtual DependencyObject PredictFocus(FocusNavigationDirection direction) 670private static void OnVisibilityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 776private static void IsFocused_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 869private static object CoerceIsEnabled(DependencyObject d, object value) 890DependencyObject parent = uie.GetUIParentCore() as ContentElement; 911private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 972private static object CoerceIsHitTestVisible(DependencyObject d, object value) 995DependencyObject parent = InputElement.GetContainingUIElement(uie.InternalVisualParent); 1012private static void OnIsHitTestVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1053private static object GetIsVisible(DependencyObject d, out BaseValueSourceInternal source) 1101DependencyObject parent = InputElement.GetContainingUIElement(InternalVisualParent); 1140private static void OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1194private static void OnFocusableChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1391DependencyObject vChild = v.InternalGet2DOr3DVisualChild(iChild);
PresentationFramework (3017)
src\Framework\MS\Internal\Annotations\Anchoring\AttachedAnnotation.cs (4)
72internal AttachedAnnotation(LocatorManager manager, Annotation annotation, AnnotationResource anchor, Object attachedAnchor, AttachmentLevel attachmentLevel, DependencyObject parent) 187public DependencyObject Parent 242internal void Update(object attachedAnchor, AttachmentLevel attachmentLevel, DependencyObject parent) 325private DependencyObject _parent;
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (12)
87public override IList<IAttachedAnnotation> PreProcessNode(DependencyObject node, out bool calledProcessAnnotations) 127public override IList<IAttachedAnnotation> PostProcessNode(DependencyObject node, bool childrenCalledProcessAnnotations, out bool calledProcessAnnotations) 206public override DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving) 308public static void SetDataId(DependencyObject d, String id) 324public static String GetDataId(DependencyObject d) 351public static void SetFetchAnnotationsAsBatch(DependencyObject d, bool id) 368public static bool GetFetchAnnotationsAsBatch(DependencyObject d) 391private static void OnDataIdPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 408private static object CoerceDataId(DependencyObject d, object value) 423private ContentLocatorPart CreateLocatorPart(DependencyObject node) 444internal String GetNodeId(DependencyObject d)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (3)
85public override IList<IAttachedAnnotation> PreProcessNode(DependencyObject node, out bool calledProcessAnnotations) 178public override DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
99public override IList<DependencyObject> GetSelectedNodes(Object selection) 103IList<DependencyObject> pageEl = new List<DependencyObject>(); 199GenerateLocatorParts(Object selection, DependencyObject startNode) 272public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel) 660public FixedPageProxy(DependencyObject parent, int page)
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (14)
149public SubTreeProcessor GetSubTreeProcessor(DependencyObject node) 296public IList<IAttachedAnnotation> ProcessAnnotations(DependencyObject node) 426public Object ResolveLocator(ContentLocatorBase locator, int offset, DependencyObject startNode, out AttachmentLevel attachmentLevel) 493public static void SetSubTreeProcessorId(DependencyObject d, String id) 510public static String GetSubTreeProcessorId(DependencyObject d) 538internal IList<IAttachedAnnotation> ProcessSubTree(DependencyObject subTree) 566internal Object FindAttachedAnchor(DependencyObject startNode, ContentLocator[] prefixes, ContentLocatorBase locator, out AttachmentLevel attachmentLevel) 861private bool PreVisit(DependencyObject dependencyObject, ProcessingTreeState data, bool visitedViaVisualTree) 888private bool PostVisit(DependencyObject dependencyObject, ProcessingTreeState data, bool visitedViaVisualTree) 927private Object InternalResolveLocator(ContentLocatorBase locator, int offset, DependencyObject startNode, bool skipStartNode, out AttachmentLevel attachmentLevel) 1070private ResolvingLocatorState ResolveSingleLocator(ref object selection, ref AttachmentLevel attachmentLevel, AttachmentLevel attemptedLevel, ContentLocator locator, int offset, DependencyObject startNode, bool skipStartNode) 1130private bool ResolveLocatorPart(DependencyObject dependencyObject, ResolvingLocatorState data, bool visitedViaVisualTree) 1142DependencyObject node = null; 1223private bool TerminateResolve(DependencyObject dependencyObject, ResolvingLocatorState data, bool visitedViaVisualTree)
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (11)
53internal PathNode(DependencyObject node) 125public DependencyObject Node 168foreach (DependencyObject node in nodes) 213internal static readonly DependencyProperty HiddenParentProperty = DependencyProperty.RegisterAttached("HiddenParent", typeof(DependencyObject), typeof(PathNode)); 233internal static DependencyObject GetParent(DependencyObject node) 237DependencyObject current = node; 238DependencyObject parent = null; 243parent = (DependencyObject)current.GetValue(PathNode.HiddenParentProperty); 288private static PathNode BuildPathForElement(DependencyObject node) 403private DependencyObject _node;
src\Framework\MS\Internal\Annotations\Anchoring\SelectionProcessor.cs (3)
89public abstract IList<DependencyObject> GetSelectedNodes(Object selection); 121public abstract IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode); 136public abstract Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel);
src\Framework\MS\Internal\Annotations\Anchoring\SubTreeProcessor.cs (4)
88public abstract IList<IAttachedAnnotation> PreProcessNode(DependencyObject node, out bool calledProcessAnnotations); 103public virtual IList<IAttachedAnnotation> PostProcessNode(DependencyObject node, bool childrenCalledProcessAnnotations, out bool calledProcessAnnotations) 156public abstract DependencyObject ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out bool continueResolving);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (11)
116public static IList<DependencyObject> GetSelectedNodes(Object selection) 127IList<DependencyObject> list = new List<DependencyObject>(); 141DependencyObject node = current.Parent; 187DependencyObject document = pointer.TextContainer.Parent; 188DependencyObject parent = PathNode.GetParent(document); 407DependencyObject content = pointer.TextContainer.Parent as DependencyObject; 445DependencyObject content = start.TextContainer.Parent as DependencyObject; 528DocumentViewerBase viewer = PathNode.GetParent(idp as DependencyObject) as DocumentViewerBase;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (6)
99public override IList<DependencyObject> GetSelectedNodes(Object selection) 142GenerateLocatorParts(Object selection, DependencyObject startNode) 207public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel) 285serviceProvider = PathNode.GetParent(content as DependencyObject) as IServiceProvider; 477private ITextContainer GetTextContainer(DependencyObject startNode) 505private bool GetNodesStartAndEnd(DependencyObject startNode, out ITextPointer start, out ITextPointer end)
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (5)
84public override IList<DependencyObject> GetSelectedNodes(Object selection) 89return new DependencyObject[] { (DependencyObject)selection }; 137GenerateLocatorParts(Object selection, DependencyObject startNode) 180public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
src\Framework\MS\Internal\Annotations\Anchoring\TreeNodeSelectionProcessor.cs (4)
93public override IList<DependencyObject> GetSelectedNodes(Object selection) 95return new DependencyObject[] { GetParent(selection) }; 154public override IList<ContentLocatorPart> GenerateLocatorParts(Object selection, DependencyObject startNode) 178public override Object ResolveLocatorPart(ContentLocatorPart locatorPart, DependencyObject startNode, out AttachmentLevel attachmentLevel)
src\Framework\MS\Internal\Annotations\AttachedAnnotation.cs (1)
89DependencyObject Parent { get;}
src\Framework\MS\Internal\Annotations\Component\AdornerPresentationContext.cs (2)
420DependencyObject child = VisualTreeHelper.GetChild(_adornerLayer, i); 479DependencyObject child = VisualTreeHelper.GetChild(adornerLayer, i);
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (2)
62public MarkedHighlightComponent(XmlQualifiedName type, DependencyObject host) 1195private DependencyObject _DPHost; //The DO that hosts IsActive and IsMouseOverAnchor DPs
src\Framework\MS\Internal\AppModel\JournalNavigationScope.cs (5)
370internal static void ClearDPValues(DependencyObject navigator) 450DependencyObject navigator = (DependencyObject)_host; 482DependencyObject navigator = (DependencyObject)_host;
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
174e.KeyboardDevice.FocusedElement as DependencyObject ?? this,
src\Framework\MS\Internal\Controls\IGeneratorHost.cs (4)
40DependencyObject GetContainerForItem(object item); 45void PrepareItemContainer(DependencyObject container, object item); 50void ClearContainerForItem(DependencyObject container, object item); 55bool IsHostForItemContainer(DependencyObject container);
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (4)
65protected internal override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved) 272DependencyObject currentObject = null; 284DependencyObject parent = VisualTreeHelper.GetParent(currentObject);
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (8)
109DependencyObject node = AssertPristineModelChild(value); 178DependencyObject node = AssertPristineModelChild(item); 252DependencyObject node = AssertPristineModelChild(item); 705DependencyObject AssertPristineModelChild(object item) 707DependencyObject node = item as DependencyObject; 728if ((ModelParentFE != null) && (item is DependencyObject)) 737if ((ModelParentFE != null) && (item is DependencyObject))
src\Framework\MS\Internal\Data\BindingExpressionUncommonField.cs (2)
22internal new void SetValue(DependencyObject instance, BindingExpression bindingExpr) 28internal new void ClearValue(DependencyObject instance)
src\Framework\MS\Internal\Data\BindingWorker.cs (3)
71internal virtual bool UsesDependencyProperty(DependencyObject d, DependencyProperty dp) { return false; } 72internal virtual void OnSourceInvalidation(DependencyObject d, DependencyProperty dp, bool isASubPropertyChange) {} 87protected DependencyObject TargetElement { get { return ParentBindingExpression.TargetElement; } }
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (10)
270internal override bool UsesDependencyProperty(DependencyObject d, DependencyProperty dp) 275internal override void OnSourceInvalidation(DependencyObject d, DependencyProperty dp, bool isASubPropertyChange) 477internal DependencyObject CheckTarget() 607DependencyObject d = PW.GetItem(k) as DependencyObject; 618DependencyObject d = PW.RawValue() as Freezable; 620newSources[n++] = new WeakDependencySource(d, DependencyObject.DirectDependencyProperty); 858internal WeakDependencySource(DependencyObject item, DependencyProperty dp) 870internal DependencyObject DependencyObject { get { return (DependencyObject)BindingExpressionBase.GetReference(_item); } }
src\Framework\MS\Internal\Data\CommitManager.cs (8)
54internal List<BindingGroup> GetBindingGroupsInScope(DependencyObject element) 63DependencyObject owner = bindingGroup.Owner; 78internal List<BindingExpressionBase> GetBindingsInScope(DependencyObject element) 87DependencyObject owner = binding.TargetElement; 116DependencyObject owner = binding.TargetElement; 128DependencyObject owner = bindingGroup.Owner; 141bool IsInScope(DependencyObject ancestor, DependencyObject element)
src\Framework\MS\Internal\Data\DataBindEngine.cs (2)
46DependencyObject TargetElement { get; } 392internal void AddAsyncRequest(DependencyObject target, AsyncDataRequest request)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (11)
257protected object ConvertFrom(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture) 262protected object ConvertTo(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture) 282private object ConvertHelper(object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, bool isForward) 407return ConvertTo(o, _targetType, parameter as DependencyObject, culture); 412return ConvertFrom(o, _sourceType, parameter as DependencyObject, culture); 442return ConvertFrom(o, _targetType, parameter as DependencyObject, culture); 447return ConvertTo(o, _sourceType, parameter as DependencyObject, culture); 599return ConvertFrom(o, _sourceType, parameter as DependencyObject, culture); 638return ConvertFrom(o, _targetType, parameter as DependencyObject, culture); 779internal void SetTargetElement(DependencyObject target) 806private DependencyObject _targetElement;
src\Framework\MS\Internal\Data\DisplayMemberTemplateSelector.cs (1)
41public override DataTemplate SelectTemplate(object item, DependencyObject container)
src\Framework\MS\Internal\Data\ObjectRef.cs (21)
63internal virtual object GetObject(DependencyObject d, ObjectRefArgs args) 73internal virtual object GetDataObject(DependencyObject d, ObjectRefArgs args) 79internal bool TreeContextIsRequired(DependencyObject target) 85protected virtual bool ProtectedTreeContextIsRequired(DependencyObject target) 146internal override object GetObject(DependencyObject d, ObjectRefArgs args) 178DependencyObject scopeOwner; 192DependencyObject parent = LogicalTreeHelper.GetParent(d); 221DependencyObject dd = foScopeOwner.TemplatedParent; 255DependencyObject parent; 363internal override object GetObject(DependencyObject d, ObjectRefArgs args) 374internal override object GetDataObject(DependencyObject d, ObjectRefArgs args) 377DependencyObject el = o as DependencyObject; 391private object GetDataObjectImpl(DependencyObject d, ObjectRefArgs args) 437protected override bool ProtectedTreeContextIsRequired(DependencyObject target) 471private object GetPreviousData(DependencyObject d) 528DependencyObject layout = (v != null) ? VisualTreeHelper.GetParent(v) : null; 560private DependencyObject FindAncestorOfType(Type type, int level, DependencyObject d, bool isTracing) 646if (o is DependencyObject) 661internal override object GetObject(DependencyObject d, ObjectRefArgs args)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (13)
72internal DependencyObject TreeContext 74get { return BindingExpression.GetReference(_treeContext) as DependencyObject; } 256DependencyObject d = (DependencyObject)item; 371((DependencyObject)item).SetValue(dp, value); 480internal bool UsesDependencyProperty(DependencyObject d, DependencyProperty dp) 482if (dp == DependencyObject.DirectDependencyProperty) 501internal void OnDependencyPropertyChanged(DependencyObject d, DependencyProperty dp, bool isASubPropertyChange) 503if (dp == DependencyObject.DirectDependencyProperty) 596DependencyObject target = null; 669typeof(DependencyObject).IsAssignableFrom(_arySVS[_arySVS.Length-1].type); 1251info = DependencyObject.DirectDependencyProperty; 1859_owner.TreeContext = rootItem as DependencyObject;
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (2)
212DependencyObject target = TargetElement; 432DependencyObject target = ParentBindingExpression.TargetElement;
src\Framework\MS\Internal\DataStreams.cs (2)
379DependencyObject treeNode = node as DependencyObject;
src\Framework\MS\Internal\Documents\ContentElementCollection.cs (1)
747DependencyObject node = item.Parent;
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (1)
44DependencyObject parent;
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
1339protected internal override void OnVisualParentChanged(DependencyObject oldParent) 2695DependencyObject currentVisual = (result != null) ? result.VisualHit : null;
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (6)
337internal static bool IsLogicalDescendent(DependencyObject child, DependencyObject parent) 353internal static void KeyDownHelper(KeyEventArgs e, DependencyObject findToolBarHost) 362DependencyObject focusedElement = Keyboard.FocusedElement as DependencyObject; 367DependencyObject predictedFocus = KeyboardNavigation.Current.PredictFocusedElement(focusedElement, direction);
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (1)
902private static object CoerceCanGoToNextPage(DependencyObject d, object value)
src\Framework\MS\Internal\Documents\PageCache.cs (2)
128if (_documentPaginator.Source is DependencyObject) 130FlowDirection flowDirection = (FlowDirection)((DependencyObject)_documentPaginator.Source).GetValue(FrameworkElement.FlowDirectionProperty);
src\Framework\MS\Internal\Documents\ParagraphResult.cs (3)
59internal ParagraphResult(BaseParaClient paraClient, Rect layoutBox, DependencyObject element) : this(paraClient) 133internal DependencyObject Element { get { return _element; } } 192protected readonly DependencyObject _element;
src\Framework\MS\Internal\Documents\TextContainerHelper.cs (4)
543internal static ITextPointer GetContentStart(ITextContainer textContainer, DependencyObject element) 565internal static int GetElementLength(ITextContainer textContainer, DependencyObject element) 631internal static int GetCPFromElement(ITextContainer textContainer, DependencyObject element, ElementEdge edge) 685internal static int GetCchFromElement(ITextContainer textContainer, DependencyObject element)
src\Framework\MS\Internal\Documents\UndoManager.cs (4)
110internal static void AttachUndoManager(DependencyObject scope, UndoManager undoManager) 150internal static void DetachUndoManager(DependencyObject scope) 186internal static UndoManager GetUndoManager(DependencyObject target) 1204private DependencyObject _scope; // an element to which this instance of scope is attached
src\Framework\MS\Internal\FrameworkObject.cs (20)
57internal FrameworkObject(DependencyObject d) 79internal FrameworkObject(DependencyObject d, bool throwIfNeither) 100internal void Reset(DependencyObject d) 127internal DependencyObject DO { get { return _do; } } 138internal DependencyObject Parent 176internal DependencyObject TemplatedParent 254DependencyObject parent = _fe.ContextVerifiedGetParent(); 291DependencyObject parent = _fce.Parent; 327internal static FrameworkObject GetContainingFrameworkElement(DependencyObject current) 427internal DependencyObject EffectiveParent 431DependencyObject parent; 739internal static bool IsEffectiveAncestor(DependencyObject d1, DependencyObject d2 789internal void ChangeLogicalParent(DependencyObject newParent) 833internal object FindName(string name, out DependencyObject scopeOwner) 893DependencyObject visualParent; 918DependencyObject logicalParent; 945DependencyObject uiCoreParent; 1004internal void ChangeSubtreeHasLoadedChangedHandler(DependencyObject mentor) 1211private DependencyObject _do;
src\Framework\MS\Internal\Helper.cs (57)
86internal static object FindTemplateResourceFromAppOrSystem(DependencyObject target, ArrayList keys, int exactMatch, ref int bestMatch) 202internal static DependencyObject FindMentor(DependencyObject d) 231internal static bool HasDefaultValue(DependencyObject d, DependencyProperty dp) 239internal static bool HasDefaultOrInheritedValue(DependencyObject d, DependencyProperty dp) 247internal static bool HasUnmodifiedDefaultValue(DependencyObject d, DependencyProperty dp) 255internal static bool HasUnmodifiedDefaultOrInheritedValue(DependencyObject d, DependencyProperty dp) 263private static bool HasDefaultOrInheritedValueImpl(DependencyObject d, DependencyProperty dp, 296internal static void DowncastToFEorFCE(DependencyObject d, 329DependencyObject d) 361DependencyObject d) 384internal static bool IsTemplateSelectorDefined(DependencyProperty templateSelectorProperty, DependencyObject d) 400internal static bool IsTemplateDefined(DependencyProperty templateProperty, DependencyObject d) 415internal static object FindNameInTemplate(string name, DependencyObject templatedParent) 427internal static MS.Internal.Controls.IGeneratorHost GeneratorHostForElement(DependencyObject element) 429DependencyObject d = null; 430DependencyObject parent = null; 489internal static DependencyObject GetTemplatedParent(DependencyObject d) 508internal static System.Windows.Data.XmlDataProvider XmlDataProviderForElement(DependencyObject d) 588out DependencyObject targetDependencyObject, 617targetDependencyObject = targetObject as DependencyObject; 776internal static object ReadItemValue(DependencyObject owner, object item, int dpIndex) 798internal static void StoreItemValue(DependencyObject owner, object item, int dpIndex, object value) 829internal static void ClearItemValue(DependencyObject owner, object item, int dpIndex) 854internal static List<KeyValuePair<int, object>> GetItemValues(DependencyObject owner, object item) 859internal static List<KeyValuePair<int, object>> GetItemValues(DependencyObject owner, object item, 874internal static List<KeyValuePair<int, object>> EnsureItemValues(DependencyObject owner, object item) 889internal static WeakDictionary<object, List<KeyValuePair<int, object>>> EnsureItemValueStorage(DependencyObject owner) 907internal static void SetItemValuesOnContainer(DependencyObject owner, DependencyObject container, object item) 1005internal static void StoreItemValues(IContainItemStorage owner, DependencyObject container, object item) 1009DependencyObject ownerDO = (DependencyObject)owner; 1046internal static void ClearItemValueStorage(DependencyObject owner) 1051internal static void ClearItemValueStorage(DependencyObject owner, int[] dpIndices) 1322internal static T FindVisualAncestor<T>(DependencyObject element, Func<DependencyObject, bool> shouldContinueFunc) where T : DependencyObject 1346internal static void InvalidateMeasureOnPath(DependencyObject pathStartElement, DependencyObject pathEndElement, bool duringMeasure) 1356internal static void InvalidateMeasureOnPath(DependencyObject pathStartElement, DependencyObject pathEndElement, bool duringMeasure, bool includePathEnd) 1360DependencyObject element = pathStartElement; 1399internal static void InvalidateMeasureForSubtree(DependencyObject d) 1421DependencyObject child = VisualTreeHelper.GetChild(d, i); 1436internal static bool IsAnyAncestorOf(DependencyObject ancestor, DependencyObject element) 1442return FindAnyAncestor(element, delegate(DependencyObject d) { return d == ancestor; }) != null; 1449internal static DependencyObject FindAnyAncestor(DependencyObject element, 1450Predicate<DependencyObject> predicate) 1467internal static DependencyObject GetAnyParent(DependencyObject element) 1469DependencyObject parent = null; 1485internal static bool IsDefaultValue(DependencyProperty dp, DependencyObject element) 1496internal static bool IsComposing(DependencyObject d, DependencyProperty dp)
src\Framework\MS\Internal\Ink\DrawingAttributesDefaultValueFactory.cs (1)
43internal override object CreateDefaultValue(DependencyObject owner, DependencyProperty property)
src\Framework\MS\Internal\Ink\StrokeCollectionDefaultValueFactory.cs (3)
43internal override object CreateDefaultValue(DependencyObject owner, DependencyProperty property) 72internal StrokeCollectionDefaultPromoter(DependencyObject owner, DependencyProperty property) 108private readonly DependencyObject _owner;
src\Framework\MS\Internal\PrePostDescendentsWalker.cs (2)
65public override void StartWalk(DependencyObject startNode, bool skipStartNode) 104protected override void _VisitNode(DependencyObject d, bool visitedViaVisualTree)
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (3)
48protected BaseParagraph(DependencyObject element, StructuralCache structuralCache) 351internal DependencyObject Element 358protected readonly DependencyObject _element;
src\Framework\MS\Internal\PtsHost\CellParagraph.cs (1)
36internal CellParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\ColumnPropertiesGroup.cs (1)
34internal ColumnPropertiesGroup(DependencyObject o)
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (1)
57internal ContainerParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\EmbeddedObject.cs (3)
56internal abstract DependencyObject Element 117internal override DependencyObject Element 191internal override DependencyObject Element
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (1)
53internal FigureParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
283DependencyObject frameworkParent = FrameworkElement.GetFrameworkParent(_structuralCache.FormattingOwner); 988DependencyObject embeddedObject = searchPosition.GetAdjacentElement(LogicalDirection.Forward);
src\Framework\MS\Internal\PtsHost\Line.cs (4)
224DependencyObject element = (pointer.Parent != null) ? pointer.Parent : _paraClient.Paragraph.Element; 411DependencyObject paragraphElement = _paraClient.Paragraph.Element; 441DependencyObject parent = ((FrameworkElement)inlineObject.UIElementIsland.Root).Parent; 586DependencyObject element = null;
src\Framework\MS\Internal\PtsHost\LineBase.cs (5)
92DependencyObject element; 197DependencyObject parent = inline.Parent; 275DependencyObject parent = inline.Parent; 318DependencyObject embeddedObject = position.GetAdjacentElement(LogicalDirection.Forward) as DependencyObject;
src\Framework\MS\Internal\PtsHost\ListItemParagraph.cs (1)
36internal ListItemParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\ListParagraph.cs (1)
38internal ListParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\MbpInfo.cs (4)
29internal static MbpInfo FromElement(DependencyObject o, double pixelsPerDip) 113private static void ResolveAutoMargin(MbpInfo mbp, DependencyObject o, double lineHeight) 118DependencyObject parent = ((Paragraph)o).Parent; 150private static void ResolveAutoPadding(MbpInfo mbp, DependencyObject o, double lineHeight, double pixelsPerDip)
src\Framework\MS\Internal\PtsHost\OptimalTextSource.cs (1)
175DependencyObject element = (pointer.Parent != null) ? pointer.Parent : _paraClient.Paragraph.Element;
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
867DependencyObject o = structuralCache.Section.Element;
src\Framework\MS\Internal\PtsHost\RowParagraph.cs (1)
45internal RowParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\Section.cs (1)
518internal DependencyObject Element
src\Framework\MS\Internal\PtsHost\StructuralCache.cs (1)
243internal DependencyObject PropertyOwner
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (1)
49internal SubpageParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (1)
45internal TableParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\TextParagraph.cs (1)
58internal TextParagraph(DependencyObject element, StructuralCache structuralCache)
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (1)
539DependencyObject parent = ((BlockUIContainer)Element).Parent;
src\Framework\MS\Internal\SystemXmlHelper.cs (1)
70internal static string GetXmlTagName(object item, DependencyObject target)
src\Framework\MS\Internal\Text\ComplexLine.cs (8)
112DependencyObject element = (pointer.Parent != null) ? pointer.Parent : _owner; 194DependencyObject parent = ((FrameworkElement)inlineObject.Element).Parent; 260DependencyObject element; 340DependencyObject element; 423DependencyObject parent = inline.Parent; 496DependencyObject parent = inline.Parent; 536DependencyObject element = position.GetAdjacentElement(LogicalDirection.Forward) as DependencyObject;
src\Framework\MS\Internal\Text\DynamicPropertyReader.cs (19)
45internal static Typeface GetTypeface(DependencyObject element) 57internal static Typeface GetModifiedTypeface(DependencyObject element, FontFamily fontFamily) 75internal static TextDecorationCollection GetTextDecorationsForInlineObject(DependencyObject element, TextDecorationCollection textDecorations) 79DependencyObject parent = LogicalTreeHelper.GetParent(element); 116internal static TextDecorationCollection GetTextDecorations(DependencyObject element) 125internal static TextEffectCollection GetTextEffects(DependencyObject element) 138private static object GetCollectionValue(DependencyObject element, DependencyProperty property) 163internal static bool GetKeepTogether(DependencyObject element) 172internal static bool GetKeepWithNext(DependencyObject element) 181internal static int GetMinWidowLines(DependencyObject element) 190internal static int GetMinOrphanLines(DependencyObject element) 210internal static double GetLineHeightValue(DependencyObject d) 234internal static Brush GetBackgroundBrush(DependencyObject element) 279internal static BaselineAlignment GetBaselineAlignment(DependencyObject element) 301internal static BaselineAlignment GetBaselineAlignmentForInlineObject(DependencyObject element) 309internal static CultureInfo GetCultureInfo(DependencyObject element) 326internal static NumberSubstitution GetNumberSubstitution(DependencyObject element) 337private static bool CanApplyBackgroundBrush(DependencyObject element) 352private static bool BaselineAlignmentIsDefault(DependencyObject element)
src\Framework\MS\Internal\Text\LineProperties.cs (4)
111DependencyObject element, 112DependencyObject contentHost, 123DependencyObject element, 124DependencyObject contentHost,
src\Framework\MS\Internal\Text\TextProperties.cs (3)
131internal TextProperties(DependencyObject target, StaticTextPointer position, bool inlineObjects, bool getBackground, double pixelsPerDip) 205private void InitCommon(DependencyObject target) 262private static TypographyProperties GetTypographyProperties(DependencyObject element)
src\Framework\MS\Internal\TraceData.cs (3)
169else if (o is DependencyObject) 223static public void DescribeTarget(AvTraceBuilder traceBuilder, DependencyObject targetElement, DependencyProperty targetProperty) 243static public string DescribeTarget(DependencyObject targetElement, DependencyProperty targetProperty)
src\Framework\MS\Internal\Utility\BindUriHelper.cs (1)
94static internal Uri GetUriToNavigate(DependencyObject element, Uri baseUri, Uri inputUri)
src\Framework\System\ComponentModel\DesignerProperties.cs (2)
73public static bool GetIsInDesignMode(DependencyObject element) 83public static void SetIsInDesignMode(DependencyObject element, bool value)
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
409DependencyObject firstElement = VisualTreeHelper.GetChild(dpv, 0);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (10)
301DependencyObject viewer = sender as DependencyObject; 315DependencyObject viewer = sender as DependencyObject; 329DependencyObject viewer = sender as DependencyObject; 344DependencyObject viewer = sender as DependencyObject; 359DependencyObject viewer = sender as DependencyObject;
src\Framework\System\Windows\Annotations\AnnotationService.cs (19)
157internal AnnotationService(DependencyObject root) 376internal void LoadAnnotations(DependencyObject element) 418internal void UnloadAnnotations(DependencyObject element) 555internal static AnnotationService GetService(DependencyObject d) 577internal static AnnotationComponentChooser GetChooser(DependencyObject d) 604internal static void SetSubTreeProcessorId(DependencyObject d, String id) 623internal static String GetSubTreeProcessorId(DependencyObject d) 647internal static void SetDataId(DependencyObject d, String id) 666internal static String GetDataId(DependencyObject d) 717internal DependencyObject Root 759private void Initialize(DependencyObject root) 1100static private void VerifyServiceConfiguration(DependencyObject root) 1120static private void GetViewerAndDocument(DependencyObject root, out DocumentViewerBase documentViewerBase, out IDocumentPaginatorSource document) 1184static private bool VerifyNoServiceOnNode(DependencyObject node, object data, bool visitedViaVisualTree) 1227private IList GetAllAttachedAnnotationsFor(DependencyObject element) 1246private bool GetAttachedAnnotationsFor(DependencyObject node, List<IAttachedAnnotation> result, bool visitedViaVisualTree) 1534DependencyObject element = attachedAnnotation.Parent; 1560DependencyObject element = attachedAnnotation.Parent; 1791private DependencyObject _root;
src\Framework\System\Windows\AttachedPropertyBrowsableForChildrenAttribute.cs (2)
96internal override bool IsBrowsable(DependencyObject d, DependencyProperty dp) 101DependencyObject walk = d;
src\Framework\System\Windows\Automation\Peers\ContentTextAutomationPeer.cs (2)
40internal DependencyObject ElementFromProvider(IRawElementProviderSimple provider) 42DependencyObject element = null;
src\Framework\System\Windows\Automation\Peers\FrameworkElementAutomationPeer.cs (1)
97DependencyObject owner = Owner;
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
161DependencyObject d = item as DependencyObject; 808DependencyObject _container;
src\Framework\System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (1)
42DependencyObject templatedParent = sv.TemplatedParent;
src\Framework\System\Windows\Automation\Peers\TextAutomationPeer.cs (2)
66internal DependencyObject ElementFromProvider(IRawElementProviderSimple provider) 68DependencyObject element = null;
src\Framework\System\Windows\Automation\Peers\TextBlockAutomationPeer.cs (1)
70DependencyObject templatedParent = tb.TemplatedParent;
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (2)
84private static bool iterate(TreeViewItemAutomationPeer logicalParentAp, DependencyObject parent, IteratorCallback callback, ItemPeersStorage<ItemAutomationPeer> dataChildren, ItemPeersStorage<ItemAutomationPeer> oldChildren) 94DependencyObject child = VisualTreeHelper.GetChild(parent, i);
src\Framework\System\Windows\BroadcastEventHelper.cs (47)
20internal static void AddLoadedCallback(DependencyObject d, DependencyObject logicalParent) 41internal static void RemoveLoadedCallback(DependencyObject d, object[] loadedPending) 68internal static void AddUnloadedCallback(DependencyObject d, DependencyObject logicalParent) 89internal static void RemoveUnloadedCallback(DependencyObject d, object[] unloadedPending) 127DependencyObject d, 128DependencyObject oldParent, 129DependencyObject newParent) 163DependencyObject rootDO = (DependencyObject)root; 181internal static void BroadcastLoadedSynchronously(DependencyObject rootDO, bool isLoaded) 200DependencyObject rootDO = (DependencyObject)root; 218internal static void BroadcastUnloadedSynchronously(DependencyObject rootDO, bool isLoaded) 233internal BroadcastEventData(DependencyObject root, RoutedEvent routedEvent, List<DependencyObject> eventRoute) 240internal DependencyObject Root; 242internal List<DependencyObject> EventRoute; 254private static void BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) 258List<DependencyObject> eventRoute = new List<DependencyObject>(); 270DependencyObject d = eventRoute[i]; 286private static bool OnBroadcastCallback(DependencyObject d, BroadcastEventData data, bool visitedViaVisualTree) 288DependencyObject root = data.Root; 290List<DependencyObject> eventRoute = data.EventRoute; 419private static bool SubtreeHasLoadedChangeHandlerHelper(DependencyObject d) 432private static void FireLoadedOnDescendentsHelper(DependencyObject d) 444private static void FireUnloadedOnDescendentsHelper(DependencyObject d) 456private static bool IsLoadedHelper(DependencyObject d) 464internal static bool IsParentLoaded(DependencyObject d) 467DependencyObject parent = fo.EffectiveParent; 507internal static FrameworkElementFactory GetFEFTreeRoot(DependencyObject templatedParent) 533DependencyObject d, 534DependencyObject oldParent, 535DependencyObject newParent) 557internal static void AddHasLoadedChangeHandlerFlagInAncestry(DependencyObject d) 562internal static void RemoveHasLoadedChangeHandlerFlagInAncestry(DependencyObject d) 602DependencyObject child = o as DependencyObject; 622private static void UpdateHasLoadedChangeHandlerFlagInAncestry(DependencyObject d, bool addHandler) 636DependencyObject coreParent = (fo.IsFE) ? VisualTreeHelper.GetParent(fo.FE) : null; 637DependencyObject logicalParent = fo.Parent; 638DependencyObject parent = null; 691DependencyObject coreParent = null; 723DependencyObject parent) 755DependencyObject parent)
src\Framework\System\Windows\Controls\AccessText.cs (2)
503private static void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 711private static void OnTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\AVElementHelper.cs (2)
102internal static AVElementHelper GetHelper(DependencyObject d) 726internal static void OnSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Border.cs (1)
136private static void OnClearPenCache(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Button.cs (5)
79private static void OnIsDefaultChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 103private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 143private static void OnIsCancelChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 207DependencyObject focusDO = focus as DependencyObject;
src\Framework\System\Windows\Controls\Calendar.cs (12)
211private static void OnDisplayDateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 221private static object CoerceDisplayDate(DependencyObject d, object value) 267private static void OnDisplayDateEndChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 276private static object CoerceDisplayDateEnd(DependencyObject d, object value) 328private static void OnDisplayDateStartChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 338private static object CoerceDisplayDateStart(DependencyObject d, object value) 385private static void OnDisplayModePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 456private static void OnFirstDayOfWeekChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 490private static void OnIsTodayHighlightedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 505private static void OnLanguageChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 543private static void OnSelectedDateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 629private static void OnSelectionModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Canvas.cs (1)
200private static void OnPositioningChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\ComboBox.cs (19)
161private static object CoerceIsDropDownOpen(DependencyObject d, object value) 176private static object CoerceToolTipIsEnabled(DependencyObject d, object value) 216private static void OnIsDropDownOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 352private static void OnIsEditableChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 624private static void OnTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 901DependencyObject logicalElement = item as DependencyObject; 934DependencyObject parent = VisualTreeHelper.GetParent(_clonedElement); 1050protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 1143DependencyObject currentFocus = Keyboard.FocusedElement as DependencyObject; 1299protected override DependencyObject GetContainerForItemOverride() 1583DependencyObject container = ItemContainerGenerator.ContainerFromIndex(i); 1595DependencyObject d = o as DependencyObject; 1606private static string ExtractString(DependencyObject d) 1622strValue += ExtractString((DependencyObject)(VisualTreeHelper.GetChild(visual, i))); 1695if (Mouse.Captured == null || !MenuBase.IsDescendant(comboBox, Mouse.Captured as DependencyObject)) 1702if (MenuBase.IsDescendant(comboBox, e.OriginalSource as DependencyObject))
src\Framework\System\Windows\Controls\ContentControl.cs (11)
74DependencyObject templatedParent = this.TemplatedParent; 77DependencyObject d = content as DependencyObject; 80DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 252private static void OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 275DependencyObject d = newContent as DependencyObject; 278DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 361private static void OnContentTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 410private static void OnContentTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 457private static void OnContentStringFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\ContentPresenter.cs (7)
181private static void OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 279private static void OnContentTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 340private static void OnContentTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 391private static void OnContentStringFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 634internal static object DataTypeForItem(object item, DependencyObject target, out Type type) 807private static void OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1162public override DataTemplate SelectTemplate(object item, DependencyObject container)
src\Framework\System\Windows\Controls\ContextMenu.cs (9)
93private static object CoerceHorizontalOffset(DependencyObject d, object value) 117private static object CoerceVerticalOffset(DependencyObject d, object value) 155private static void OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 186private static object CoercePlacementTarget(DependencyObject d, object value) 210private static object CoercePlacementRectangle(DependencyObject d, object value) 233private static object CoercePlacement(DependencyObject d, object value) 257private static object CoerceHasDropShadow(DependencyObject d, object value) 400protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 684protected internal override void OnVisualParentChanged(DependencyObject oldParent)
src\Framework\System\Windows\Controls\ContextMenuService.cs (36)
40[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 41public static ContextMenu GetContextMenu(DependencyObject element) 69public static void SetContextMenu(DependencyObject element, ContextMenu value) 93[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 94public static double GetHorizontalOffset(DependencyObject element) 108public static void SetHorizontalOffset(DependencyObject element, double value) 132[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 133public static double GetVerticalOffset(DependencyObject element) 147public static void SetVerticalOffset(DependencyObject element, double value) 169[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 170public static bool GetHasDropShadow(DependencyObject element) 184public static void SetHasDropShadow(DependencyObject element, bool value) 207[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 208public static UIElement GetPlacementTarget(DependencyObject element) 222public static void SetPlacementTarget(DependencyObject element, UIElement value) 245[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 246public static Rect GetPlacementRectangle(DependencyObject element) 260public static void SetPlacementRectangle(DependencyObject element, Rect value) 283[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 284public static PlacementMode GetPlacement(DependencyObject element) 298public static void SetPlacement(DependencyObject element, PlacementMode value) 321[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 322public static bool GetShowOnDisabled(DependencyObject element) 336public static void SetShowOnDisabled(DependencyObject element, bool value) 359[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 360public static bool GetIsEnabled(DependencyObject element) 374public static void SetIsEnabled(DependencyObject element, bool value) 405public static void AddContextMenuOpeningHandler(DependencyObject element, ContextMenuEventHandler handler) 415public static void RemoveContextMenuOpeningHandler(DependencyObject element, ContextMenuEventHandler handler) 434public static void AddContextMenuClosingHandler(DependencyObject element, ContextMenuEventHandler handler) 444public static void RemoveContextMenuClosingHandler(DependencyObject element, ContextMenuEventHandler handler) 460DependencyObject o = sender as DependencyObject; 476internal static bool ContextMenuIsEnabled(DependencyObject o) 533internal DependencyObject TargetElement 552private DependencyObject _targetElement;
src\Framework\System\Windows\Controls\Control.cs (2)
446private static void OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 682internal static void OnVisualStatePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\DataGrid.cs (57)
199private static void OnColumnSizeConstraintChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 472private static void OnNotifyCellsPresenterPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 480private static void OnNotifyColumnAndCellPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 488private static void OnNotifyColumnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 496private static void OnNotifyColumnAndColumnHeaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 504private static void OnNotifyColumnHeaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 512private static void OnNotifyHeaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 520private static void OnNotifyDataGridAndRowPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 528private static void OnNotifyGridLinePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 545private static void OnNotifyRowPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 553private static void OnNotifyRowHeaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 561private static void OnNotifyRowAndRowHeaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 569private static void OnNotifyRowAndDetailsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 577private static void OnNotifyHorizontalOffsetPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 591internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 605internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 618foreach (DependencyObject container in ItemContainerGenerator.RecyclableContainers) 813protected override DependencyObject GetContainerForItemOverride() 823protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 853protected override void ClearContainerForItemOverride(DependencyObject element, object item) 903private static void OnRowStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 908private static object OnCoerceItemContainerStyle(DependencyObject d, object baseValue) 1015private static void OnRowStyleSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1020private static object OnCoerceItemContainerStyleSelector(DependencyObject d, object baseValue) 1030private static object OnCoerceIsSynchronizedWithCurrentItem(DependencyObject d, object baseValue) 1076private static object OnCoerceAlternationCount(DependencyObject d, object baseValue) 1261private static void OnNotifyRowHeaderWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2784private static void OnIsReadOnlyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2820private static void OnCurrentItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2863private static void OnCurrentColumnChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2896private static void OnCurrentCellChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3099DependencyObject currentContainer = currentCell.ItemInfo.Container; 3467private static void OnCanUserAddRowsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3472private static object OnCoerceCanUserAddRows(DependencyObject d, object baseValue) 3517private static void OnCanUserDeleteRowsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3523private static object OnCoerceCanUserDeleteRows(DependencyObject d, object baseValue) 4452private static void OnSelectionModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 4514private static void OnSelectionUnitChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5414private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5430private static void OnIsKeyboardFocusWithinChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5449ItemsControl itemsControl = ItemsControlFromItemContainer(e.OriginalSource as DependencyObject); 5604DependencyObject nextFocusTarget = this.PredictFocus(KeyToTraversalDirection(e.Key)); 5717DependencyObject nextFocusTarget = keyboardNavigation.PredictFocusedElement(currentCellContainer, KeyToTraversalDirection(rtlKey), 5763DependencyObject nextFocusTarget = keyboardNavigation.PredictFocusedElement(currentCellContainer, KeyToTraversalDirection(rtlKey), 5797DependencyObject nextFocusTarget = keyboardNavigation.PredictFocusedElement(currentCellContainer, KeyToTraversalDirection(rtlKey), 5832DependencyObject nextFocusTarget = keyboardNavigation.PredictFocusedElement(currentCellContainer, KeyToTraversalDirection(rtlKey), 7091private static object OnCoerceCanUserSortColumns(DependencyObject d, object baseValue) 7103private static void OnCanUserSortColumnsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 7623private static object OnCoerceItemsSourceProperty(DependencyObject d, object baseValue) 7922private static void OnAutoGenerateColumnsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 7968private static object OnCoerceFrozenColumnCount(DependencyObject d, object baseValue) 7986private static void OnFrozenColumnCountPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 8075private static void OnEnableRowVirtualizationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 8091private static object OnCoerceIsVirtualizingProperty(DependencyObject d, object baseValue) 8124private static void OnEnableColumnVirtualizationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 8238private static void OnClipboardCopyModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 8475private static void CellsPanelActualWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\DataGridBoundColumn.cs (2)
34private static object OnCoerceSortMemberPath(DependencyObject d, object baseValue) 104internal void ApplyBinding(DependencyObject target, DependencyProperty property)
src\Framework\System\Windows\Controls\DataGridCell.cs (8)
213private static void OnNotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 221private static void OnNotifyIsReadOnlyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 239internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 294private static object OnCoerceStyle(DependencyObject d, object baseValue) 388RemoveBindingExpressions(bindingGroup, Content as DependencyObject); 421private void RemoveBindingExpressions(BindingGroup bindingGroup, DependencyObject element) 531private static object OnCoerceIsReadOnly(DependencyObject d, object baseValue) 1014private static object OnCoerceClip(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\DataGridColumn.cs (29)
55private static object OnCoerceHeaderStyle(DependencyObject d, object baseValue) 130private static object OnCoerceCellStyle(DependencyObject d, object baseValue) 156private static object OnCoerceIsReadOnly(DependencyObject d, object baseValue) 224private static void OnWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 314private static void OnMinWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 353private static void OnMaxWidthPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 391private static object OnCoerceWidth(DependencyObject d, object baseValue) 419private static object OnCoerceMinWidth(DependencyObject d, object baseValue) 433private static object OnCoerceMaxWidth(DependencyObject d, object baseValue) 485private static object OnCoerceActualWidth(DependencyObject d, object baseValue) 769private static object GetOriginalValue(DependencyObject obj) 774private static void SetOriginalValue(DependencyObject obj, object value) 779private static void ClearOriginalValue(DependencyObject obj) 794internal static void OnNotifyCellPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 802private static void OnNotifyColumnHeaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 810private static void OnNotifyColumnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 818internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 907internal static void NotifyPropertyChangeForRefreshContent(DependencyObject d, DependencyPropertyChangedEventArgs e) 982private static object OnCoerceDisplayIndex(DependencyObject d, object baseValue) 997private static void DisplayIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1061internal static object OnCoerceCanUserSort(DependencyObject d, object baseValue) 1091private static void OnCanUserSortPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1127private static void OnNotifySortPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1276private static void OnNotifyFrozenPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1288private static object OnCoerceIsFrozen(DependencyObject d, object baseValue) 1326private static object OnCoerceCanUserReorder(DependencyObject d, object baseValue) 1352private static object OnCoerceDragIndicatorStyle(DependencyObject d, object baseValue) 1485private static object OnCoerceCanUserResize(DependencyObject d, object baseValue) 1522private static void OnVisibilityPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs eventArgs)
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
166internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target)
src\Framework\System\Windows\Controls\DataGridColumnDropSeparator.cs (2)
41private static object OnCoerceWidth(DependencyObject d, object baseValue) 52private static object OnCoerceHeight(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (4)
43private static void OnWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 58private static object OnCoerceWidth(DependencyObject d, object baseValue) 70private static void OnHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 85private static object OnCoerceHeight(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\DataGridComboBoxColumn.cs (2)
57private static object OnCoerceSortMemberPath(DependencyObject d, object baseValue) 325private static void ApplyBinding(BindingBase binding, DependencyObject target, DependencyProperty property)
src\Framework\System\Windows\Controls\DataGridHelper.cs (21)
196public static bool TreeHasFocusAndTabStop(DependencyObject element) 223DependencyObject child = VisualTreeHelper.GetChild(element, i) as DependencyObject; 335public static bool IsDefaultValue(DependencyObject d, DependencyProperty dp) 341DependencyObject baseObject, 344DependencyObject parentObject, 372DependencyObject baseObject, 375DependencyObject parentObject, 377DependencyObject grandParentObject, 430public static void TransferProperty(DependencyObject d, DependencyProperty p) 438private static Dictionary<DependencyProperty, bool> GetPropertyTransferEnabledMapForObject(DependencyObject d) 451internal static bool IsPropertyTransferEnabled(DependencyObject d, DependencyProperty p) 471private static ConditionalWeakTable<DependencyObject, Dictionary<DependencyProperty, bool>> _propertyTransferEnabledMap = new ConditionalWeakTable<DependencyObject, Dictionary<DependencyProperty, bool>>(); 562DependencyObject targetElement = beb.TargetElement; 565DependencyObject contextElement = FindContextElement(beb); 580private static DependencyObject FindContextElement(BindingExpressionBase beb) 607DependencyObject result = FindContextElement(childBEB); 664DependencyObject targetElement = beb.TargetElement; 674internal static void SyncColumnProperty(DependencyObject column, DependencyObject content, DependencyProperty contentProperty, DependencyProperty columnProperty)
src\Framework\System\Windows\Controls\DataGridHyperlinkColumn.cs (1)
88private void ApplyContentBinding(DependencyObject target, DependencyProperty property)
src\Framework\System\Windows\Controls\DataGridRow.cs (18)
505private void PersistAttachedItemValue(DependencyObject objectWithProperty, DependencyProperty property) 516private void RestoreAttachedItemValue(DependencyObject objectWithProperty, DependencyProperty property) 615private static object OnCoerceHeaderStyle(DependencyObject d, object baseValue) 626private static object OnCoerceHeaderTemplate(DependencyObject d, object baseValue) 637private static object OnCoerceHeaderTemplateSelector(DependencyObject d, object baseValue) 648private static object OnCoerceBackground(DependencyObject d, object baseValue) 678private static object OnCoerceValidationErrorTemplate(DependencyObject d, object baseValue) 689private static object OnCoerceDetailsTemplate(DependencyObject d, object baseValue) 700private static object OnCoerceDetailsTemplateSelector(DependencyObject d, object baseValue) 711private static object OnCoerceDetailsVisibility(DependencyObject d, object baseValue) 749private static object OnCoerceVisibility(DependencyObject d, object baseValue) 766private static object OnCoerceShouldCacheContainerSize(DependencyObject d, object baseValue) 783private static void OnNotifyRowPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 788private static void OnNotifyRowAndRowHeaderPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 793private static void OnNotifyDetailsTemplatePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 815private static void OnNotifyDetailsVisibilityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 871internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 879internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target)
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (2)
37private static void OnTemplateColumnSortMemberPathChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 43private static object OnCoerceTemplateColumnCanUserSort(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\DataTemplateSelector.cs (1)
35public virtual DataTemplate SelectTemplate(object item, DependencyObject container)
src\Framework\System\Windows\Controls\DatePicker.cs (12)
169private static object CoerceDisplayDate(DependencyObject d, object value) 207private static void OnDisplayDateEndChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 215private static object CoerceDisplayDateEnd(DependencyObject d, object value) 253private static void OnDisplayDateStartChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 262private static object CoerceDisplayDateStart(DependencyObject d, object value) 318private static object OnCoerceIsDropDownOpen(DependencyObject d, object baseValue) 336private static void OnIsDropDownOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 363private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 424private static void OnSelectedDateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 482private static object CoerceSelectedDate(DependencyObject d, object value) 520private static void OnSelectedDateFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 572private static void OnTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\DefinitionBase.cs (6)
157internal static void OnUserSizePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 201internal static void OnUserMinSizePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 230internal static void OnUserMaxSizePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 264internal static void OnIsSharedSizeScopePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 511private static void OnSharedSizeGroupPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 593private static void OnPrivateSharedSizeScopePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\DockPanel.cs (1)
131private static void OnDockChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\DocumentViewer.cs (13)
939protected override void OnBringIntoView(DependencyObject element, Rect rect, int pageNumber) 2471private static void OnHorizontalOffsetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2491private static void OnVerticalOffsetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2508private static void OnExtentWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2516private static void OnExtentHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2524private static void OnViewportWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2533private static void OnViewportHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2545private static void OnShowPageBordersChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2558private static object CoerceZoom(DependencyObject d, object value) 2577private static void OnZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2624private static void OnMaxPagesAcrossChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2655private static void OnVerticalPageSpacingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2671private static void OnHorizontalPageSpacingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Expander.cs (1)
130private static void OnIsExpandedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\FlowDocumentReader.cs (16)
894internal override bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastCoreTree) 921DependencyObject focusedElement = null; 939focusedElement = Keyboard.FocusedElement as DependencyObject; 996DependencyObject focusedElement = Keyboard.FocusedElement as DependencyObject; 1644private static void ViewingModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1679private static void ViewingModeEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1709private static void IsFindEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1730private static void IsPrintEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1742private static void DocumentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1755private static void ZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1770private static object CoerceZoom(DependencyObject d, object value) 1795private static void MaxZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1807private static object CoerceMaxZoom(DependencyObject d, object value) 1819private static void MinZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1843private static void UpdateCaretElement(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (19)
812DependencyObject document = this.Document as DependencyObject; 815DependencyObject branchNode = route.PeekBranchNode() as DependencyObject; 826internal override bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastCoreTree) 830DependencyObject document = this.Document as DependencyObject; 833DependencyObject branchNode = (branchNodeStack.Count > 0) ? branchNodeStack.Peek() : null; 1104DependencyObject child; 1105DependencyObject document; 1631private static void DocumentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1643private static void ZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1661private static object CoerceZoom(DependencyObject d, object value) 1686private static void MaxZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1698private static object CoerceMaxZoom(DependencyObject d, object value) 1710private static void MinZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1747private static void IsSelectionEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1758private static void IsToolBarVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1772private static void UpdateCaretElement(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Frame.cs (12)
147private static object CoerceContent(DependencyObject d, object value) 226DependencyObject doContent = Content as DependencyObject; 258private static object CoerceSource(DependencyObject d, object value) 283private static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 403private static void OnSandboxExternalContentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 417private static object CoerceSandBoxExternalContentValue(DependencyObject d, object value) 449private static void OnJournalOwnershipPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 506private static object CoerceJournalOwnership(DependencyObject d, object newValue) 769private static void OnParentNavigationServiceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1324DependencyObject d; 1325if (!HasTemplateGeneratedSubTree && (d = Content as DependencyObject) != null)
src\Framework\System\Windows\Controls\Grid.cs (4)
802DependencyObject visualAdded, 803DependencyObject visualRemoved) 3025private static void OnShowGridLinesPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3041private static void OnCellAttachedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\GridSplitter.cs (2)
118private static void UpdateCursor(DependencyObject o, DependencyPropertyChangedEventArgs e) 123private static object CoerceCursor(DependencyObject o, object value)
src\Framework\System\Windows\Controls\GridView.cs (5)
170public static GridViewColumnCollection GetColumnCollection(DependencyObject element) 181public static void SetColumnCollection(DependencyObject element, GridViewColumnCollection collection) 201public static bool ShouldSerializeColumnCollection(DependencyObject obj) 290private static void OnColumnHeaderTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 328private static void OnColumnHeaderTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\GridViewColumn.cs (14)
122private static void OnHeaderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 153private static void OnHeaderContainerStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 184private static void OnHeaderTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 222private static void OnHeaderTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 262private static void OnHeaderStringFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 335private static void OnCellTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 367private static void OnCellTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 401private static void OnWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 498DependencyObject d = Header as DependencyObject; 691internal override DependencyObject InheritanceContext 697internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 709internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 720DependencyObject _inheritanceContext;
src\Framework\System\Windows\Controls\GridViewColumnCollection.cs (2)
172internal DependencyObject Owner 201private DependencyObject _owner = null;
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
549private static void PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (4)
215private static void PropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 920DependencyObject d = header as DependencyObject; 959DependencyObject logicalParent = LogicalTreeHelper.GetParent(d);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
86private static void OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\GroupItem.cs (3)
379DependencyObject parent = this; 398DependencyObject parentPanel = VisualTreeHelper.GetParent(this); 401DependencyObject owner = ItemsControl.GetItemsOwnerInternal(parentPanel);
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (4)
82private static void OnHeaderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 158private static void OnHeaderTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 207private static void OnHeaderTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 254private static void OnHeaderStringFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (4)
72private static void OnHeaderChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 146private static void OnHeaderTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 193private static void OnHeaderTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 239private static void OnHeaderStringFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Image.cs (2)
463private static void OnSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 483private static void UpdateBaseUri(DependencyObject d, ImageSource source)
src\Framework\System\Windows\Controls\InkCanvas.cs (7)
573private static void OnPositioningChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 619private static void OnStrokesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 741private static void OnDefaultDrawingAttributesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 852private static void OnEditingModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 880private static void OnEditingModeInvertedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1731internal void RaiseOnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved)
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
136private static void OnStrokesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\ItemCollection.cs (3)
78internal ItemCollection(DependencyObject modelParent) 1507internal DependencyObject ModelParent 1509get { return (DependencyObject)_modelParent.Target; }
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (45)
54: this(null, host, host as DependencyObject, 0) 67private ItemContainerGenerator(ItemContainerGenerator parent, IGeneratorHost host, DependencyObject peer, int level) 115DependencyObject d = Host as DependencyObject; 230DependencyObject IItemContainerGenerator.GenerateNext() 239DependencyObject IItemContainerGenerator.GenerateNext(out bool isNewlyRealized) 261void IItemContainerGenerator.PrepareItemContainer(DependencyObject container) 325DependencyObject container = rblock.ContainerAt(offset); 495_recyclableContainers = new Queue<DependencyObject>(); 573public object ItemFromContainer(DependencyObject container) 595public DependencyObject ContainerFromItem(object item) 598DependencyObject container; 602delegate(object o, DependencyObject d) { return ItemsControl.EqualsEx(o, item); }, 612public int IndexFromContainer(DependencyObject container) 621public int IndexFromContainer(DependencyObject container, bool returnLocalIndex) 630DependencyObject dummy; 633delegate(object o, DependencyObject d) { return (d == container); }, 640internal bool FindItem(Func<object, DependencyObject, bool> match, 641out DependencyObject container, out int itemIndex) 691private bool DoLinearSearch(Func<object, DependencyObject, bool> match, 692out object item, out DependencyObject container, out int itemIndex, 899public DependencyObject ContainerFromIndex(int index) 935DependencyObject container = block.ContainerAt(index); 1067DependencyObject peer = Peer; 1377public DependencyObject GenerateNext(bool stopAtRealized, out bool isNewlyRealized) 1379DependencyObject container = null; 1627DependencyObject Peer 1721void Realize(UnrealizedItemBlock block, int offset, object item, DependencyObject container) 1929DependencyObject ContainerForGroup(CollectionViewGroup group) 2276internal static void LinkContainerToItem(DependencyObject container, object item) 2298private void UnlinkContainerFromItem(DependencyObject container, object item) 2303internal static void UnlinkContainerFromItem(DependencyObject container, object item, IGeneratorHost host) 2541DependencyObject container = null; // the corresponding container 2618DependencyObject container = rib.ContainerAt(offsetFromBlockStart); 2631DependencyObject newContainer = _host.GetContainerForItem(newItem); 2656DependencyObject container = null; // the corresponding container 2741DependencyObject parent = VisualTreeHelper.GetParentInternal(container); 2803private DependencyObject _peer; 2813private Queue<DependencyObject> _recyclableContainers = new Queue<DependencyObject>(); 2874public virtual DependencyObject ContainerAt(int index) { return null; } 2994public override DependencyObject ContainerAt(int index) 3056public void RealizeItem(int index, object item, DependencyObject container) 3080public DependencyObject Container { get { return _container; } set { _container = value; } } 3083private DependencyObject _container;
src\Framework\System\Windows\Controls\ItemsControl.cs (69)
73private static void OnScrollingModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 79private static object CoerceScrollingMode(DependencyObject d, object baseValue) 94private static void OnCacheSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 101private static object CoerceVirtualizationCacheLengthUnit(DependencyObject d, object baseValue) 191private static void OnItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 394private static void OnDisplayMemberPathChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 481private static void OnItemTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 537private static void OnItemTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 588private static void OnItemStringFormatChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 638private static void OnItemBindingGroupChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 709private static void OnItemContainerStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 765private static void OnItemContainerStyleSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 792public static ItemsControl GetItemsOwner(DependencyObject element) 817internal static DependencyObject GetItemsOwnerInternal(DependencyObject element) 830internal static DependencyObject GetItemsOwnerInternal(DependencyObject element, out ItemsControl itemsControl) 832DependencyObject container = null; 893private static void OnItemsPanelChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 930private static void OnIsGroupingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1005private static void OnGroupStyleSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1061private static void OnAlternationCountChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1100public static int GetAlternationIndex(DependencyObject element) 1110internal static void SetAlternationIndex(DependencyObject d, int value) 1117internal static void ClearAlternationIndex(DependencyObject d) 1169public static ItemsControl ItemsControlFromItemContainer(DependencyObject container) 1199public static DependencyObject ContainerFromElement(ItemsControl itemsControl, DependencyObject element) 1232public DependencyObject ContainerFromElement(DependencyObject element) 1238private static bool IsContainerForItemsControl(DependencyObject element, ItemsControl itemsControl) 1324DependencyObject IGeneratorHost.GetContainerForItem(object item) 1326DependencyObject container; 1330container = item as DependencyObject; 1366void IGeneratorHost.PrepareItemContainer(DependencyObject container, object item) 1416void IGeneratorHost.ClearContainerForItem(DependencyObject container, object item) 1451bool IGeneratorHost.IsHostForItemContainer(DependencyObject container) 1466DependencyObject parent = LogicalTreeHelper.GetParent(container); 1582protected virtual DependencyObject GetContainerForItemOverride() 1591protected virtual void PrepareContainerForItemOverride(DependencyObject element, object item) 1640protected virtual void ClearContainerForItemOverride(DependencyObject element, object item) 1683(e.OriginalSource == this || ItemsControlFromItemContainer(e.OriginalSource as DependencyObject) == this)) 1735protected virtual bool ShouldApplyItemContainerStyle(DependencyObject container, object item) 1875DependencyObject startingElement = Keyboard.FocusedElement as DependencyObject; 1882startingElement = KeyboardNavigation.GetParent(startingElement) as DependencyObject; 2004DependencyObject startingParent = VisualTreeHelper.GetParent(startingElement); 3259for (DependencyObject current = _itemsHost; current != this && current != null; current = VisualTreeHelper.GetParent(current)) 3398internal static DependencyObject TryGetTreeViewItemHeader(DependencyObject element) 3420private void ApplyItemContainerStyle(DependencyObject container, object item) 3461private void RemoveItemContainerStyle(DependencyObject container) 3472internal object GetItemOrContainerFromContainer(DependencyObject container) 3511internal ItemInfo NewItemInfo(object item, DependencyObject container=null, int index=-1) 3517internal ItemInfo ItemInfoFromContainer(DependencyObject container) 3536internal DependencyObject ContainerFromItemInfo(ItemInfo info) 3538DependencyObject container = info.Container; 3574DependencyObject container = info.Container; 3592List<DependencyObject> claimedContainers = new List<DependencyObject>(); 3597DependencyObject container = info.Container; 3608DependencyObject container = info.Container; 3622delegate(object o, DependencyObject d) 3762internal DependencyObject Container { get; set; } 3765internal static readonly DependencyObject SentinelContainer = new DependencyObject(); 3766internal static readonly DependencyObject UnresolvedContainer = new DependencyObject(); 3767internal static readonly DependencyObject KeyContainer = new DependencyObject(); 3768internal static readonly DependencyObject RemovedContainer = new DependencyObject(); 3780public ItemInfo(object item, DependencyObject container=null, int index=-1)
src\Framework\System\Windows\Controls\ItemsPresenter.cs (2)
145private static void OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 211DependencyObject templatedParent = this.TemplatedParent;
src\Framework\System\Windows\Controls\Label.cs (2)
108private static void OnTargetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 154internal static Label GetLabeledBy(DependencyObject o)
src\Framework\System\Windows\Controls\ListBox.cs (6)
168private static void OnSelectionModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 174private static object OnGetSelectionMode(DependencyObject d) 242protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 550DependencyObject oldFocus = e.OldFocus as DependencyObject; 610protected override DependencyObject GetContainerForItemOverride()
src\Framework\System\Windows\Controls\ListBoxItem.cs (2)
91private static void OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 335protected internal override void OnVisualParentChanged(DependencyObject oldParent)
src\Framework\System\Windows\Controls\ListView.cs (4)
86private static void OnViewChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 151protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 175protected override void ClearContainerForItemOverride(DependencyObject element, object item) 192protected override DependencyObject GetContainerForItemOverride()
src\Framework\System\Windows\Controls\MediaElement.cs (6)
806private static void VolumePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 821private static void BalancePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 836private static void IsMutedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 851private static void ScrubbingEnabledPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 869DependencyObject d, 889DependencyObject d,
src\Framework\System\Windows\Controls\Menu.cs (3)
114private static void OnIsMainMenuChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 177private static object OnGetIsMainMenu(DependencyObject d) 194protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
src\Framework\System\Windows\Controls\MenuItem.cs (20)
345private static object CoerceHeader(DependencyObject d, object value) 407private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 551private static object CoerceIsSubmenuOpen(DependencyObject d, object value) 567private static object CoerceToolTipIsEnabled(DependencyObject d, object value) 592private static void OnIsSubmenuOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 824private static void OnIsCheckableChanged(DependencyObject target, DependencyPropertyChangedEventArgs e) 948private static void OnIsCheckedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1006private static void OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1111private static void OnInputGestureTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1119private static object CoerceInputGestureText(DependencyObject d, object value) 1299protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 1309internal static void PrepareMenuItem(DependencyObject element, object item) 1634DependencyObject source = e.Source as DependencyObject; 2137protected override bool ShouldApplyItemContainerStyle(DependencyObject container, object item) 2150protected override DependencyObject GetContainerForItemOverride() 2163return itemContainer as DependencyObject; 2179protected internal override void OnVisualParentChanged(DependencyObject oldParent) 2189DependencyObject newParent = VisualTreeHelper.GetParentInternal(this); 2653private static object OnCoerceAcceleratorKey(DependencyObject d, object value)
src\Framework\System\Windows\Controls\Page.cs (7)
373static private void OnTitleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 556private static void OnTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 644protected internal sealed override void OnVisualParentChanged(DependencyObject oldParent) 698DependencyObject parent = feParent as DependencyObject; 743private static void OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 755private static void _OnWindowServiceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Panel.cs (5)
240private static void OnIsItemsHostChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 256DependencyObject parent = ItemsControl.GetItemsOwnerInternal(this); 872DependencyObject visualAdded, 873DependencyObject visualRemoved) 954private static void OnZIndexPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\PasswordBox.cs (5)
912private static object ForceToFalse(DependencyObject d, object value) 920private static void OnPasswordCharChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1128private static void OnPaddingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1148private static void OnParentNavigationServiceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 1254private static void UpdateCaretElement(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (2)
262DependencyObject ITextContainer.GetParent(StaticTextPointer position) 433DependencyObject ITextContainer.Parent
src\Framework\System\Windows\Controls\PopupControlService.cs (42)
85PresentationSource source = PresentationSource.CriticalFromVisual((DependencyObject)directlyOver); 162InspectElementForToolTip(directlyOver as DependencyObject, ToolTip.ToolTipTrigger.Mouse); 172InspectElementForToolTip(focusedElement as DependencyObject, ToolTip.ToolTipTrigger.KeyboardFocus); 244result = InspectElementForToolTip(focusedElement as DependencyObject, ToolTip.ToolTipTrigger.KeyboardShortcut); 284private bool InspectElementForToolTip(DependencyObject o, ToolTip.ToolTipTrigger triggerAction) 286DependencyObject origObj = o; 374private bool LocateNearestToolTip(ref DependencyObject o, ToolTip.ToolTipTrigger triggerAction, ref bool showToolTip) 405internal bool StopLookingForToolTip(DependencyObject o) 416private bool WithinCurrentToolTip(DependencyObject o) 424DependencyObject v = o as Visual; 474DependencyObject o = LastObjectWithToolTip; 555DependencyObject o = LastObjectWithToolTip; 691private DependencyObject LastMouseOverWithToolTip 697DependencyObject o = (DependencyObject)_lastMouseOverWithToolTip.Target; 729private DependencyObject LastObjectWithToolTip 735DependencyObject o = (DependencyObject)_lastObjectWithToolTip.Target; 767private DependencyObject LastChecked 773DependencyObject o = (DependencyObject)_lastChecked.Target; 848DependencyObject sourceDO = source as DependencyObject; 879DependencyObject o = args.TargetElement; 924DependencyObject o = (DependencyObject)cm.GetValue(OwnerProperty); 948private static bool IsPresentationSourceNull(DependencyObject uie) 957internal static DependencyObject FindParent(DependencyObject o) 960DependencyObject v = o as Visual; 992internal static DependencyObject FindContentElementParent(ContentElement ce) 994DependencyObject nearestVisual = null; 995DependencyObject o = ce; 1034internal static bool IsElementEnabled(DependencyObject o) 1089private static UIElement GetTarget(DependencyObject o) 1097DependencyObject ceParent = FindContentElementParent(ce); 1141typeof(DependencyObject), // Type 1143new FrameworkPropertyMetadata((DependencyObject)null, // Default Value 1147private static void OnOwnerChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 1171internal static object CoerceProperty(DependencyObject o, object value, DependencyProperty dp) 1173DependencyObject owner = (DependencyObject)o.GetValue(OwnerProperty);
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
395DependencyObject child = VisualTreeHelper.GetChild(cp, 0);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (2)
141private static void OnIsPressedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 282private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (10)
199private static object OnCoerceHeight(DependencyObject d, object baseValue) 210private static object OnCoerceMinHeight(DependencyObject d, object baseValue) 299protected override DependencyObject GetContainerForItemOverride() 309protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 327protected override void ClearContainerForItemOverride(DependencyObject element, object item) 367private static void OnNotifyHeightPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 375internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 383internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 501private static void OnIsVirtualizingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 514private static object OnCoerceIsVirtualizingProperty(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (15)
171private static object OnCoerceDisplayIndex(DependencyObject d, object baseValue) 190private static void OnDisplayIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 394private static void OnNotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 402internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 608private static object OnCoerceContent(DependencyObject d, object baseValue) 622FrameworkObject fo = new FrameworkObject(content as DependencyObject); 634private static object OnCoerceContentTemplate(DependencyObject d, object baseValue) 648private static object OnCoerceContentTemplateSelector(DependencyObject d, object baseValue) 662private static object OnCoerceStringFormat(DependencyObject d, object baseValue) 676private static object OnCoerceStyle(DependencyObject d, object baseValue) 786private static object OnCoerceHeight(DependencyObject d, object baseValue) 818private static object OnCoerceCanUserSort(DependencyObject d, object baseValue) 834private static object OnCoerceSortDirection(DependencyObject d, object baseValue) 892private static object OnCoerceIsFrozen(DependencyObject d, object baseValue) 909private static object OnCoerceClip(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (7)
196protected override DependencyObject GetContainerForItemOverride() 225protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 253protected override void ClearContainerForItemOverride(DependencyObject element, object item) 281internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 289internal void NotifyPropertyChanged(DependencyObject d, string propertyName, DependencyPropertyChangedEventArgs e, DataGridNotificationTarget target) 374private static void OnIsVirtualizingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 387private static object OnCoerceIsVirtualizingProperty(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (6)
50private static object OnCoerceContentTemplate(DependencyObject d, object baseValue) 68private static object OnCoerceContentTemplateSelector(DependencyObject d, object baseValue) 87protected internal override void OnVisualParentChanged(DependencyObject oldParent) 112if (!PresentationSource.UnderSamePresentationSource(e.OriginalSource as DependencyObject, this)) 177private static void OnNotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 182internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (8)
255private static void OnNotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 263internal void NotifyPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 324private static object OnCoerceContent(DependencyObject d, object baseValue) 338private static object OnCoerceContentTemplate(DependencyObject d, object baseValue) 356private static object OnCoerceContentTemplateSelector(DependencyObject d, object baseValue) 374private static object OnCoerceStyle(DependencyObject d, object baseValue) 390private static object OnCoerceWidth(DependencyObject d, object baseValue) 540private static object OnCoerceIsRowSelected(DependencyObject d, object baseValue)
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (5)
147private T ExtractTemplatePart<T>(string partName) where T : DependencyObject 149DependencyObject obj = GetTemplateChild(partName); 153private static T ExtractTemplatePart<T>(string partName, DependencyObject obj) where T : DependencyObject 192private static void OnWatermarkPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
952private static void OnPageNumberChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (16)
340public static bool GetIsMasterPage(DependencyObject element) 354public static void SetIsMasterPage(DependencyObject element, bool value) 509protected virtual void OnBringIntoView(DependencyObject element, Rect rect, int pageNumber) 1140DependencyObject child; 1141DependencyObject parent; 1147if (args != null && args.TargetObject != null && _document is DependencyObject) 1153parent = _document as DependencyObject; 1328DependencyObject doDocument; 1349DependencyObject depObj = oldDocument as DependencyObject; 1358doDocument = _document as DependencyObject; 1390DependencyObject doc = _document as DependencyObject; 1626private static void DocumentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1715internal BringIntoViewState(DocumentViewerBase source, ContentPosition contentPosition, DependencyObject targetObject, Rect targetRect) 1724internal DependencyObject TargetObject;
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
254private static void ColumnsPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\IItemContainerGenerator.cs (3)
56DependencyObject GenerateNext(); 68DependencyObject GenerateNext(out bool isNewlyRealized); 84void PrepareItemContainer(DependencyObject container);
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (8)
392private bool IsDescendant(DependencyObject node) 397internal static bool IsDescendant(DependencyObject reference, DependencyObject node) 401DependencyObject curr = node; 501protected override DependencyObject GetContainerForItemOverride() 514return itemContainer as DependencyObject; 554if (Mouse.Captured == null || !MenuBase.IsDescendant(menu, Mouse.Captured as DependencyObject)) 561if (MenuBase.IsDescendant(menu, e.OriginalSource as DependencyObject))
src\Framework\System\Windows\Controls\Primitives\Popup.cs (20)
69private static object CoerceVisibility(DependencyObject d, object value) 135private static void OnChildChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 310private static object CoerceIsOpen(DependencyObject d, object value) 346private static void OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 484private static void OnPlacementChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 557private static void OnStaysOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 603private static void OnOffsetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 665private static void OnPlacementTargetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 722DependencyObject parent = this; 787private static object CoercePopupAnimation(DependencyObject o, object value) 820private static void OnAllowsTransparencyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 825private static object CoerceAllowsTransparency(DependencyObject d, object value) 856private static object CoerceHasDropShadow(DependencyObject d, object value) 1249bool newCaptureInsidePopup = childPopupTookCapture || (Mouse.Captured != null && MenuBase.IsDescendant(root, Mouse.Captured as DependencyObject)); 1350protected internal override DependencyObject GetUIParentCore() 1426DependencyObject parent; 1427DependencyObject root = child; 1817DependencyObject parent = VisualTreeHelper.GetParent(this); 3373DependencyObject root = null; 3374DependencyObject dependencyObject = v;
src\Framework\System\Windows\Controls\Primitives\RangeBase.cs (5)
102private static void OnMinimumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 142private static object CoerceMaximum(DependencyObject d, object value) 166private static void OnMaximumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 207internal static object ConstrainToRange(DependencyObject d, object value) 239private static void OnValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\ResizeGrip.cs (1)
76private static void _OnWindowServiceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (2)
729private static void ViewChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 793private static object CoerceContextMenu(DependencyObject o, object value)
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
860static private void OnCanContentScrollChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (3)
36public static SelectiveScrollingOrientation GetSelectiveScrollingOrientation(DependencyObject obj) 46public static void SetSelectiveScrollingOrientation(DependencyObject obj, SelectiveScrollingOrientation value) 56private static void OnSelectiveScrollingOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (29)
115public static void AddSelectedHandler(DependencyObject element, RoutedEventHandler handler) 126public static void RemoveSelectedHandler(DependencyObject element, RoutedEventHandler handler) 144public static void AddUnselectedHandler(DependencyObject element, RoutedEventHandler handler) 155public static void RemoveUnselectedHandler(DependencyObject element, RoutedEventHandler handler) 196public static bool GetIsSelectionActive(DependencyObject element) 223public static bool GetIsSelected(DependencyObject element) 239public static void SetIsSelected(DependencyObject element, bool isSelected) 277private static void OnIsSynchronizedWithCurrentItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 352private static void OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 369private static object CoerceSelectedIndex(DependencyObject d, object value) 406private static void OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 416private static object CoerceSelectedItem(DependencyObject d, object value) 477private static void OnSelectedValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 667private static object CoerceSelectedValue(DependencyObject d, object value) 718private static void OnSelectedValuePathChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 993protected override void ClearContainerForItemOverride(DependencyObject element, object item) 1012internal void RaiseIsSelectedChangedAutomationEvent(DependencyObject container, bool isSelected) 1344DependencyObject currentFocus = Keyboard.FocusedElement as DependencyObject; 1389protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 1815DependencyObject container = info.Container; 1825DependencyObject element = info.Item as DependencyObject; 1840DependencyObject container = info.Container; 1857DependencyObject element = item as DependencyObject; 1885internal static bool UiGetIsSelectable(DependencyObject o) 2286private DependencyObject _clearingContainer; 2747public void Add(object item, DependencyObject container, int index)
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (4)
111protected override DependencyObject GetContainerForItemOverride() 124return itemContainer as DependencyObject; 139protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 158protected override bool ShouldApplyItemContainerStyle(DependencyObject container, object item)
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (7)
1989private static object OnPageHeightGetValue(DependencyObject d) 2091private static void OnIsReadOnlyCaretVisiblePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2156internal static void OnScrollViewerPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2175private static void OnIsUndoEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2190private static void OnUndoLimitChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2208private static void OnInputMethodEnabledPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2229private static void UpdateCaretElement(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
132private static void OnIsDraggingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\ToggleButton.cs (2)
161private static object OnGetIsChecked(DependencyObject d) {return ((ToggleButton)d).IsChecked;} 168private static void OnIsCheckedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (2)
84DependencyObject visualParent = VisualTreeHelper.GetParent(child); 440DependencyObject visualParent = VisualTreeHelper.GetParent(child);
src\Framework\System\Windows\Controls\Primitives\Track.cs (1)
772private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\ProgressBar.cs (3)
100private static void OnIsIndeterminateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 118private static void OnForegroundChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 155private static void OnOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\RadioButton.cs (2)
54private static void OnGroupNameChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 169DependencyObject parent = this.Parent;
src\Framework\System\Windows\Controls\RichTextBox.cs (3)
705private static void OnFormattingPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 743private static void OnBehavioralPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 815private static void OnIsDocumentEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\ScrollViewer.cs (20)
462public static void SetCanContentScroll(DependencyObject element, bool canContentScroll) 475public static bool GetCanContentScroll(DependencyObject element) 502public static void SetHorizontalScrollBarVisibility(DependencyObject element, ScrollBarVisibility horizontalScrollBarVisibility) 515public static ScrollBarVisibility GetHorizontalScrollBarVisibility(DependencyObject element) 542public static void SetVerticalScrollBarVisibility(DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility) 555public static ScrollBarVisibility GetVerticalScrollBarVisibility(DependencyObject element) 812public static bool GetIsDeferredScrollingEnabled(DependencyObject element) 827public static void SetIsDeferredScrollingEnabled(DependencyObject element, bool value) 980DependencyObject predictedFocus = null; 981DependencyObject focusedElement = Keyboard.FocusedElement as DependencyObject; 1052private bool IsInViewport(ScrollContentPresenter scp, DependencyObject element) 1470public static void SetPanningMode(DependencyObject element, PanningMode panningMode) 1483public static PanningMode GetPanningMode(DependencyObject element) 1496private static void OnPanningModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1552public static void SetPanningDeceleration(DependencyObject element, double value) 1565public static double GetPanningDeceleration(DependencyObject element) 1598public static void SetPanningRatio(DependencyObject element, double value) 1611public static double GetPanningRatio(DependencyObject element) 1703if (!PresentationSource.UnderSamePresentationSource(e.OriginalSource as DependencyObject, this))
src\Framework\System\Windows\Controls\SinglePageViewer.cs (14)
791DependencyObject document = this.Document as DependencyObject; 794DependencyObject branchNode = route.PeekBranchNode() as DependencyObject; 805internal override bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastCoreTree) 809DependencyObject document = this.Document as DependencyObject; 812DependencyObject branchNode = (branchNodeStack.Count > 0) ? branchNodeStack.Peek() : null; 1383private static object CoerceZoom(DependencyObject d, object value) 1409private static object CoerceMaxZoom(DependencyObject d, object value) 1425private static void ZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1434private static void MaxZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1443private static void MinZoomChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1463private static void UpdateCaretElement(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\Slider.cs (5)
623private static void OnSelectionStartChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 633private static object CoerceSelectionStart(DependencyObject d, object value) 673private static void OnSelectionEndChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 679private static object CoerceSelectionEnd(DependencyObject d, object value) 703private static object OnGetSelectionEnd(DependencyObject d)
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (1)
82private static void OnSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\SpellCheck.cs (3)
207private static void OnIsEnabledChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 227private static void OnSpellingReformChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 260internal override object CreateDefaultValue(DependencyObject owner, DependencyProperty property)
src\Framework\System\Windows\Controls\Stack.cs (3)
859DependencyObject dependencyObjectChild = child; 861DependencyObject parent = VisualTreeHelper.GetParent(child); 1021private static void OnOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\StickyNote.cs (4)
810private static void _OnIsExpandedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 817private static void OnFontPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 831private static void _UpdateInkDrawingAttributes(DependencyObject d, DependencyPropertyChangedEventArgs e) 1390DependencyObject parent = _attachedAnnotation.Parent;
src\Framework\System\Windows\Controls\StyleSelector.cs (1)
43public virtual Style SelectStyle(object item, DependencyObject container)
src\Framework\System\Windows\Controls\TabControl.cs (2)
87private static void OnTabStripPlacementPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 492protected override DependencyObject GetContainerForItemOverride()
src\Framework\System\Windows\Controls\TabItem.cs (2)
95private static void OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 191private static object CoerceTabStripPlacement(DependencyObject d, object value)
src\Framework\System\Windows\Controls\TextAdaptor.cs (2)
563DependencyObject childElement; 591DependencyObject parent = LogicalTreeHelper.GetParent(childElement);
src\Framework\System\Windows\Controls\TextBlock.cs (29)
568public static void SetBaselineOffset(DependencyObject element, double value) 582public static double GetBaselineOffset(DependencyObject element) 624private static object CoerceText(DependencyObject d, object value) 674public static void SetFontFamily(DependencyObject element, FontFamily value) 688public static FontFamily GetFontFamily(DependencyObject element) 719public static void SetFontStyle(DependencyObject element, FontStyle value) 733public static FontStyle GetFontStyle(DependencyObject element) 764public static void SetFontWeight(DependencyObject element, FontWeight value) 778public static FontWeight GetFontWeight(DependencyObject element) 809public static void SetFontStretch(DependencyObject element, FontStretch value) 823public static FontStretch GetFontStretch(DependencyObject element) 857public static void SetFontSize(DependencyObject element, double value) 872public static double GetFontSize(DependencyObject element) 904public static void SetForeground(DependencyObject element, Brush value) 918public static Brush GetForeground(DependencyObject element) 1009public static void SetLineHeight(DependencyObject element, double value) 1024public static double GetLineHeight(DependencyObject element) 1054public static void SetLineStackingStrategy(DependencyObject element, LineStackingStrategy value) 1068public static LineStackingStrategy GetLineStackingStrategy(DependencyObject element) 1117public static void SetTextAlignment(DependencyObject element, TextAlignment value) 1131public static TextAlignment GetTextAlignment(DependencyObject element) 2892private static void OnTypographyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3661DependencyObject embeddedObject = position.GetAdjacentElement(LogicalDirection.Forward); 3683internal void OnChildBaselineOffsetChanged(DependencyObject source) 3703private static void OnBaselineOffsetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3712DependencyObject parent = te.TextContainer.Parent; 4047private static object CoerceBaselineOffset(DependencyObject d, object value) 4074private static void OnTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 4079private static void OnTextChanged(DependencyObject d, string newText)
src\Framework\System\Windows\Controls\TextBox.cs (6)
1487private static object CoerceHorizontalScrollBarVisibility(DependencyObject d, object value) 1533private static void OnMinMaxChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1543private static void OnTextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1783private static void OnTextWrappingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1915private static object CoerceText(DependencyObject d, object value) 1926private static void OnTypographyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\TextSearch.cs (11)
92public static void SetTextPath(DependencyObject element, string path) 107[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 108public static string GetTextPath(DependencyObject element) 130public static void SetText(DependencyObject element, string text) 145[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 146public static string GetText(DependencyObject element) 589private static string GetPrimaryText(object item, BindingExpression primaryTextBinding, DependencyObject primaryTextBindingHome) 598DependencyObject itemDO = item as DependencyObject; 741private static TextSearch GetInstance(DependencyObject d) 831private static CultureInfo GetCulture(DependencyObject element)
src\Framework\System\Windows\Controls\ToolBar.cs (12)
123private static object CoerceOrientation(DependencyObject d, object value) 215private static object CoerceIsOverflowOpen(DependencyObject d, object value) 230private static object CoerceToolTipIsEnabled(DependencyObject d, object value) 252private static void OnOverflowOpenChanged(DependencyObject element, DependencyPropertyChangedEventArgs e) 357internal static void SetIsOverflowItem(DependencyObject element, object value) 367public static bool GetIsOverflowItem(DependencyObject element) 393private static void OnOverflowModeChanged(DependencyObject element, DependencyPropertyChangedEventArgs e) 436public static void SetOverflowMode(DependencyObject element, OverflowMode mode) 451public static OverflowMode GetOverflowMode(DependencyObject element) 477protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 619DependencyObject child = GetTemplateChild(ToolBarPanelTemplateName); 642DependencyObject child = GetTemplateChild(ToolBarOverflowPanelTemplateName);
src\Framework\System\Windows\Controls\ToolBarTray.cs (3)
110private static void OnOrientationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 158public static void SetIsLocked(DependencyObject element, bool value) 172public static bool GetIsLocked(DependencyObject element)
src\Framework\System\Windows\Controls\ToolTip.cs (8)
109private static object CoerceHorizontalOffset(DependencyObject d, object value) 140private static object CoerceVerticalOffset(DependencyObject d, object value) 176private static void OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 221private static object CoerceHasDropShadow(DependencyObject d, object value) 251private static object CoercePlacementTarget(DependencyObject d, object value) 276private static object CoercePlacementRectangle(DependencyObject d, object value) 300private static object CoercePlacement(DependencyObject d, object value) 456protected internal override void OnVisualParentChanged(DependencyObject oldParent)
src\Framework\System\Windows\Controls\ToolTipService.cs (48)
40[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 41public static object GetToolTip(DependencyObject element) 61public static void SetToolTip(DependencyObject element, object value) 85[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 86public static double GetHorizontalOffset(DependencyObject element) 100public static void SetHorizontalOffset(DependencyObject element, double value) 124[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 125public static double GetVerticalOffset(DependencyObject element) 139public static void SetVerticalOffset(DependencyObject element, double value) 162[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 163public static bool GetHasDropShadow(DependencyObject element) 177public static void SetHasDropShadow(DependencyObject element, bool value) 200[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 201public static UIElement GetPlacementTarget(DependencyObject element) 215public static void SetPlacementTarget(DependencyObject element, UIElement value) 238[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 239public static Rect GetPlacementRectangle(DependencyObject element) 253public static void SetPlacementRectangle(DependencyObject element, Rect value) 276[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 277public static PlacementMode GetPlacement(DependencyObject element) 291public static void SetPlacement(DependencyObject element, PlacementMode value) 314[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 315public static bool GetShowOnDisabled(DependencyObject element) 329public static void SetShowOnDisabled(DependencyObject element, bool value) 357[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 358public static bool GetIsOpen(DependencyObject element) 372private static void SetIsOpen(DependencyObject element, bool value) 395[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 396public static bool GetIsEnabled(DependencyObject element) 410public static void SetIsEnabled(DependencyObject element, bool value) 439[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 440public static int GetShowDuration(DependencyObject element) 454public static void SetShowDuration(DependencyObject element, int value) 478[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 479public static int GetInitialShowDelay(DependencyObject element) 493public static void SetInitialShowDelay(DependencyObject element, int value) 517[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 518public static int GetBetweenShowDelay(DependencyObject element) 532public static void SetBetweenShowDelay(DependencyObject element, int value) 565public static void AddToolTipOpeningHandler(DependencyObject element, ToolTipEventHandler handler) 575public static void RemoveToolTipOpeningHandler(DependencyObject element, ToolTipEventHandler handler) 596public static void AddToolTipClosingHandler(DependencyObject element, ToolTipEventHandler handler) 606public static void RemoveToolTipClosingHandler(DependencyObject element, ToolTipEventHandler handler) 632DependencyObject o = sender as DependencyObject; 655private static bool ToolTipIsEnabled(DependencyObject o, ToolTip.ToolTipTrigger triggerAction) 727internal DependencyObject TargetElement 755private DependencyObject _targetElement;
src\Framework\System\Windows\Controls\TreeView.cs (6)
141private static void OnSelectedValuePathChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 409protected override DependencyObject GetContainerForItemOverride() 762DependencyObject currentFocus = Keyboard.FocusedElement as DependencyObject; 813private static DependencyObject FindParent(DependencyObject o)
src\Framework\System\Windows\Controls\TreeViewItem.cs (11)
91private static void OnIsExpandedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 158private static void OnIsSelectedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 479protected internal override void OnVisualParentChanged(DependencyObject oldParent) 716DependencyObject currentFocus = Keyboard.FocusedElement as DependencyObject; 719DependencyObject predict = UIElementHelper.PredictFocus(currentFocus, direction); 887protected override DependencyObject GetContainerForItemOverride() 945internal static void IsVirtualizingPropagationHelper(DependencyObject parent, DependencyObject element) 953internal static void SynchronizeValue(DependencyProperty dp, DependencyObject parent, DependencyObject child)
src\Framework\System\Windows\Controls\Validation.cs (50)
59public static void AddErrorHandler(DependencyObject element, EventHandler<ValidationErrorEventArgs> handler) 69public static void RemoveErrorHandler(DependencyObject element, EventHandler<ValidationErrorEventArgs> handler) 99public static ReadOnlyObservableCollection<ValidationError> GetErrors(DependencyObject element) 119private static void OnErrorsInternalChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 133internal static ValidationErrorCollection GetErrorsInternal(DependencyObject target) 153private static void OnHasErrorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 171public static bool GetHasError(DependencyObject element) 199[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 200public static ControlTemplate GetErrorTemplate(DependencyObject element) 210public static void SetErrorTemplate(DependencyObject element, ControlTemplate value) 222private static void OnErrorTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 238typeof(DependencyObject), typeof(Validation), 239new FrameworkPropertyMetadata((DependencyObject)null, 245[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 246public static DependencyObject GetValidationAdornerSite(DependencyObject element) 251return element.GetValue(ValidationAdornerSiteProperty) as DependencyObject; 256public static void SetValidationAdornerSite(DependencyObject element, DependencyObject value) 265private static void OnValidationAdornerSiteChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 271DependencyObject oldSite = (DependencyObject)e.OldValue; 272DependencyObject newSite = (DependencyObject)e.NewValue; 306typeof(DependencyObject), typeof(Validation), 307new FrameworkPropertyMetadata((DependencyObject)null, 313[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 314public static DependencyObject GetValidationAdornerSiteFor(DependencyObject element) 319return element.GetValue(ValidationAdornerSiteForProperty) as DependencyObject; 324public static void SetValidationAdornerSiteFor(DependencyObject element, DependencyObject value) 333private static void OnValidationAdornerSiteForChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 339DependencyObject oldSiteFor = (DependencyObject)e.OldValue; 340DependencyObject newSiteFor = (DependencyObject)e.NewValue; 357internal static void ShowValidationAdorner(DependencyObject targetElement, bool show) 364DependencyObject adornerSite = GetValidationAdornerSite(targetElement); 414private static void ShowValidationAdornerHelper(DependencyObject targetElement, DependencyObject adornerSite, bool show) 422DependencyObject targetElement = (DependencyObject)args[0]; 423DependencyObject adornerSite = (DependencyObject)args[1]; 431private static void ShowValidationAdornerHelper(DependencyObject targetElement, DependencyObject adornerSite, bool show, bool tryAgain) 507internal static void AddValidationError(ValidationError validationError, DependencyObject targetElement, bool shouldRaiseEvent) 545internal static void RemoveValidationError(ValidationError validationError, DependencyObject targetElement, bool shouldRaiseEvent) 584static void OnValidationError(DependencyObject source, ValidationError validationError, ValidationErrorEventAction action)
src\Framework\System\Windows\Controls\ViewBase.cs (4)
71internal override DependencyObject InheritanceContext 77internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 88internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 99DependencyObject _inheritanceContext;
src\Framework\System\Windows\Controls\ViewPort3D.cs (1)
108private static void OnCameraChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (20)
70public static bool GetIsVirtualizing(DependencyObject element) 85public static void SetIsVirtualizing(DependencyObject element, bool value) 110public static VirtualizationMode GetVirtualizationMode(DependencyObject element) 125public static void SetVirtualizationMode(DependencyObject element, VirtualizationMode value) 148public static bool GetIsVirtualizingWhenGrouping(DependencyObject element) 163public static void SetIsVirtualizingWhenGrouping(DependencyObject element, bool value) 185public static ScrollUnit GetScrollUnit(DependencyObject element) 199public static void SetScrollUnit(DependencyObject element, ScrollUnit value) 226public static VirtualizationCacheLength GetCacheLength(DependencyObject element) 242public static void SetCacheLength(DependencyObject element, VirtualizationCacheLength value) 266public static VirtualizationCacheLengthUnit GetCacheLengthUnit(DependencyObject element) 281public static void SetCacheLengthUnit(DependencyObject element, VirtualizationCacheLengthUnit value) 304public static bool GetIsContainerVirtualizable(DependencyObject element) 319public static void SetIsContainerVirtualizable(DependencyObject element, bool value) 342internal static bool GetShouldCacheContainerSize(DependencyObject element) 386private static object CoerceIsVirtualizingWhenGrouping(DependencyObject d, object baseValue) 392internal static void OnVirtualizationPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 422private static void VirtualizationPropertyChangePropagationRecursive(DependencyObject parent, Panel itemsHost) 431TreeViewItem.IsVirtualizingPropagationHelper(parent, (DependencyObject)virtualizingChild); 436VirtualizationPropertyChangePropagationRecursive((DependencyObject)virtualizingChild, childItemsHost);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (47)
787delegate(DependencyObject d) 1065DependencyObject element = _scrollData._firstContainerInViewport; 1068DependencyObject parent = VisualTreeHelper.GetParent(element); 1097Action<DependencyObject> action, 1111Action<DependencyObject> action, 1935public static void AddCleanUpVirtualizedItemHandler(DependencyObject element, CleanUpVirtualizedItemEventHandler handler) 1945public static void RemoveCleanUpVirtualizedItemHandler(DependencyObject element, CleanUpVirtualizedItemEventHandler handler) 3069DependencyObject itemsOwner = itemStorageProvider as DependencyObject; 3172DependencyObject offsetHost = virtualizationInfoProvider as DependencyObject; 3465DependencyObject offsetHost = virtualizationInfoProvider as DependencyObject; 3685DependencyObject itemsOwner = ItemsControl.GetItemsOwnerInternal(this); 4010DependencyObject itemsOwner = ItemsControl.GetItemsOwnerInternal(this, out itemsControl); 4018private static IHierarchicalVirtualizationAndScrollInfo GetVirtualizingProvider(DependencyObject element) 4033private static IHierarchicalVirtualizationAndScrollInfo GetVirtualizingChild(DependencyObject element) 4039private static IHierarchicalVirtualizationAndScrollInfo GetVirtualizingChild(DependencyObject element, ref bool isChildHorizontal) 4065DependencyObject itemsOwner = ItemsControl.GetItemsOwnerInternal(itemsHost, out itemsControl); 4097DependencyObject itemsOwner = ItemsControl.GetItemsOwnerInternal(this, out itemsControl); 4203Helper.ClearItemValueStorage((DependencyObject)itemStorageProvider, _indicesStoredInItemValueStorage); 4445DependencyObject container = virtualizationInfoProvider as DependencyObject; 5547DependencyObject firstContainer, 5586DependencyObject container = virtualizationInfoProvider as DependencyObject; 6442DependencyObject parent = container; 6462private object GetItemFromContainer(DependencyObject container) 9318list.Add(ContainerPath((DependencyObject)children[startIndex + i])); 9338list.Add(ContainerPath((DependencyObject)children[startIndex + i])); 10891DependencyObject child = v; 10892DependencyObject element = VisualTreeHelper.GetParent(child); 10953child = (DependencyObject)virtualizingElement; 10989private DependencyObject FindDirectDescendentOfItemsHost(Panel itemsHost, DependencyObject child) 10999DependencyObject parent = VisualTreeHelper.GetParent(child); 11165private static void OnOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 11483private DependencyObject BringIntoViewLeafContainer 11591private DependencyObject _bringIntoViewContainer; // pointer to the container we're about to bring into view; it can't be recycled even if it's offscreen. 11672internal DependencyObject _bringIntoViewLeafContainer; // pointer to the container we are in the process of making visible. We remember it until the container has been successfully brought into view because this may require a few measure iterations. 11788public DependencyObject FirstContainer; // first container visible in viewport 11792public FirstContainerInformation(ref Rect viewport, DependencyObject firstContainer, int firstItemIndex, double firstItemOffset) 11988DependencyObject itemsOwner, 12720internal DependencyObject _bringIntoViewContainer; 12721internal DependencyObject _bringIntoViewLeafContainer; 12881private string ContainerPath(DependencyObject container) 12900DependencyObject parentContainer = ItemsControl.ContainerFromElement(null, vsp);
src\Framework\System\Windows\Controls\WrapPanel.cs (1)
169private static void OnOrientationChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Data\Binding.cs (7)
116public static void AddSourceUpdatedHandler(DependencyObject element, EventHandler<DataTransferEventArgs> handler) 126public static void RemoveSourceUpdatedHandler(DependencyObject element, EventHandler<DataTransferEventArgs> handler) 146public static void AddTargetUpdatedHandler(DependencyObject element, EventHandler<DataTransferEventArgs> handler) 156public static void RemoveTargetUpdatedHandler(DependencyObject element, EventHandler<DataTransferEventArgs> handler) 184public static XmlNamespaceManager GetXmlNamespaceManager(DependencyObject target) 194public static void SetXmlNamespaceManager(DependencyObject target, XmlNamespaceManager value) 685internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
src\Framework\System\Windows\Data\BindingBase.cs (4)
199DependencyObject targetDependencyObject; 297internal abstract BindingExpressionBase CreateBindingExpressionOverride(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner); 408internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty) 418internal BindingExpressionBase CreateBindingExpression(DependencyObject targetObject, DependencyProperty targetProperty, BindingExpressionBase owner)
src\Framework\System\Windows\Data\BindingExpression.cs (35)
118DependencyObject target = TargetElement; 123DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 142DependencyObject IDataBindEngineClient.TargetElement 170DependencyObject target = TargetElement; 221internal override void OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) 311internal DependencyObject ContextElement 316return _ctxElement.Target as DependencyObject; 404internal static BindingExpression CreateBindingExpression(DependencyObject d, 468internal static bool HasLocalDataContext(DependencyObject d) 521internal override bool AttachOverride(DependencyObject target, DependencyProperty dp) 529DependencyObject mentor = Helper.FindMentor(target); 583DependencyObject target = TargetElement; 615DependencyObject target = TargetElement; 674DependencyObject mentor = !UsingMentor ? target : Helper.FindMentor(target); 696DependencyObject contextElement = null; // no context element 730contextElement = o as DependencyObject; // ref to another element's DataContext 872DependencyObject target = TargetElement; 895DependencyObject target = TargetElement; 919DependencyObject contextElement = ContextElement; 943DependencyObject target = TargetElement; 1051object GetInitialValue(DependencyObject target, out ValidationError error) 1206DependencyObject contextElement = ContextElement; 1259DependencyObject target = TargetElement; 1766DependencyObject target = TargetElement; 1797DependencyObject target = TargetElement; 2255DependencyObject contextElement = ContextElement; 2258DependencyObject target = TargetElement; 2409private void OnDataContextChanged(DependencyObject contextElement) 2591DependencyObject target = TargetElement; 2602internal static void OnTargetUpdated(DependencyObject d, DependencyProperty dp) 2617internal static void OnSourceUpdated(DependencyObject d, DependencyProperty dp) 2631internal override void HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) 2646DependencyObject contextElement = ContextElement; 2700object GetDataSourceForDataContext(DependencyObject d) 2703DependencyObject ancestor;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (29)
201public DependencyObject Target { get { return TargetElement; } } 371internal sealed override void OnAttach(DependencyObject d, DependencyProperty dp) 389internal sealed override void OnDetach(DependencyObject d, DependencyProperty dp) 400internal override object GetValue(DependencyObject d, DependencyProperty dp) 412internal override bool SetValue(DependencyObject d, DependencyProperty dp, object value) 433internal override void OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) 475DependencyObject d = _sources[k].DependencyObject; 496internal override Expression Copy( DependencyObject targetObject, DependencyProperty targetDP ) 522internal static BindingExpressionBase CreateUntargetedBindingExpression(DependencyObject d, BindingBase binding) 532internal void Attach(DependencyObject d) 832DependencyObject target = TargetElement; 913internal virtual bool AttachOverride(DependencyObject target, DependencyProperty dp) 1004internal abstract void HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args); 1014HandlePropertyInvalidation((DependencyObject)args[0], (DependencyPropertyChangedEventArgs)args[1]); 1055DependencyObject target = TargetElement; 1275DependencyObject target = TargetElement; 1378internal bool ShouldUpdateWithCurrentValue(DependencyObject target, out object currentValue) 1523DependencyObject target = TargetElement; 1636internal void JoinBindingGroup(bool isReflective, DependencyObject contextElement) 1660internal void RejoinBindingGroup(bool isReflective, DependencyObject contextElement) 1690internal BindingGroup FindBindingGroup(bool isReflective, DependencyObject contextElement) 1732DependencyObject groupContextElement = bg.InheritanceContext; 1965internal DependencyObject TargetElement 1971DependencyObject result = _targetElement.Target as DependencyObject; 2046internal void Attach(DependencyObject target, DependencyProperty dp) 2859internal static void InitializeTracing(BindingExpressionBase expr, DependencyObject d, DependencyProperty dp) 2888void ChangeSources(DependencyObject target, DependencyProperty dp, WeakDependencySource[] newSources) 2899DependencyObject sourceDO = newSources[i].DependencyObject;
src\Framework\System\Windows\Data\BindingGroup.cs (24)
88public DependencyObject Owner 292DependencyObject mentor = Helper.FindMentor(this); 566internal override DependencyObject InheritanceContext 570DependencyObject inheritanceContext; 580internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 590DependencyObject inheritanceContext; 597_inheritanceContext = (inheritanceContext == null) ? NullInheritanceContext : new WeakReference<DependencyObject>(inheritanceContext); 626internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 628DependencyObject inheritanceContext; 635_inheritanceContext = (inheritanceContext == null) ? NullInheritanceContext : new WeakReference<DependencyObject>(inheritanceContext); 645void CheckDetach(DependencyObject newOwner) 744DependencyObject mentor = Helper.FindMentor(this); 754DependencyObject mentor = Helper.FindMentor(this); 777DependencyObject mentor = Helper.FindMentor(this); 822DependencyObject mentor = Helper.FindMentor(this); 921DependencyObject mentor = Helper.FindMentor(this); 961DependencyObject mentor = Helper.FindMentor(this); 1027DependencyObject mentor = Helper.FindMentor(this); 1316DependencyObject mentor = Helper.FindMentor(this); 1423void PrepareProposedValuesForUpdate(DependencyObject mentor, bool isUpdating) 1466void ResetProposedValuesAfterUpdate(DependencyObject mentor, bool isFullUpdate) 1573static WeakReference<DependencyObject> NullInheritanceContext = new WeakReference<DependencyObject>(null); 1574WeakReference<DependencyObject> _inheritanceContext = NullInheritanceContext;
src\Framework\System\Windows\Data\BindingOperations.cs (14)
73public static BindingExpressionBase SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding) 103public static BindingBase GetBindingBase(DependencyObject target, DependencyProperty dp) 119public static Binding GetBinding(DependencyObject target, DependencyProperty dp) 134public static PriorityBinding GetPriorityBinding(DependencyObject target, DependencyProperty dp) 149public static MultiBinding GetMultiBinding(DependencyObject target, DependencyProperty dp) 164public static BindingExpressionBase GetBindingExpressionBase(DependencyObject target, DependencyProperty dp) 186public static BindingExpression GetBindingExpression(DependencyObject target, DependencyProperty dp) 207public static MultiBindingExpression GetMultiBindingExpression(DependencyObject target, DependencyProperty dp) 222public static PriorityBindingExpression GetPriorityBindingExpression(DependencyObject target, DependencyProperty dp) 239public static void ClearBinding(DependencyObject target, DependencyProperty dp) 256public static void ClearAllBindings(DependencyObject target) 286public static bool IsDataBound(DependencyObject target, DependencyProperty dp) 404public static ReadOnlyCollection<BindingExpressionBase> GetSourceUpdatingBindings(DependencyObject root) 415public static ReadOnlyCollection<BindingGroup> GetSourceUpdatingBindingGroups(DependencyObject root)
src\Framework\System\Windows\Data\CollectionContainer.cs (2)
335private static object OnGetCollection(DependencyObject d) 341private static void OnCollectionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Data\CollectionViewSource.cs (10)
119private static void OnSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 180private static void OnCollectionViewTypeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 299private static void OnIsLiveSortingRequestedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 422private static void OnIsLiveFilteringRequestedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 543private static void OnIsLiveGroupingRequestedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 824internal static CollectionView GetDefaultCollectionView(object source, DependencyObject d, Func<object, object> GetSourceItem=null) 849internal override DependencyObject InheritanceContext 855internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 876internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 1285DependencyObject _inheritanceContext;
src\Framework\System\Windows\Data\DataTransferEventArgs.cs (3)
35internal DataTransferEventArgs(DependencyObject targetObject, DependencyProperty dp) : base() 50public DependencyObject TargetObject 92private DependencyObject _targetObject;
src\Framework\System\Windows\Data\MultiBinding.cs (1)
349internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
src\Framework\System\Windows\Data\MultiBindingExpression.cs (13)
91DependencyObject IDataBindEngineClient.TargetElement 170internal static MultiBindingExpression CreateBindingExpression(DependencyObject d, DependencyProperty dp, MultiBinding binding, BindingExpressionBase owner) 188DependencyObject target = TargetElement; 354internal override bool AttachOverride(DependencyObject d, DependencyProperty dp) 359DependencyObject target = TargetElement; 401DependencyObject target = TargetElement; 468DependencyObject target = TargetElement; 510DependencyObject target = TargetElement; 1002DependencyObject target = TargetElement; 1021internal override void HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) 1154DependencyObject target = TargetElement; 1367DependencyObject target = TargetElement; 1390DependencyObject target = TargetElement;
src\Framework\System\Windows\Data\PriorityBinding.cs (1)
110internal override BindingExpressionBase CreateBindingExpressionOverride(DependencyObject target, DependencyProperty dp, BindingExpressionBase owner)
src\Framework\System\Windows\Data\PriorityBindingExpression.cs (9)
117internal override bool SetValue(DependencyObject d, DependencyProperty dp, object value) 153internal static PriorityBindingExpression CreateBindingExpression(DependencyObject d, DependencyProperty dp, PriorityBinding binding, BindingExpressionBase owner) 191internal override bool AttachOverride(DependencyObject d, DependencyProperty dp) 196DependencyObject target = TargetElement; 243DependencyObject target = TargetElement; 305DependencyObject target = TargetElement; 518DependencyObject target = TargetElement; 535void ChooseActiveBindingExpression(DependencyObject target) 577internal override void HandlePropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args)
src\Framework\System\Windows\DataTrigger.cs (1)
189internal override bool GetCurrentState(DependencyObject container, UncommonField<HybridDictionary[]> dataField)
src\Framework\System\Windows\DependencyPropertyHelper.cs (3)
172public static ValueSource GetValueSource(DependencyObject dependencyObject, DependencyProperty dependencyProperty) 200public static bool IsTemplatedValueDynamic(DependencyObject elementInTemplate, DependencyProperty dependencyProperty) 209DependencyObject templatedParent = child.TemplatedParent;
src\Framework\System\Windows\DescendentsWalker.cs (12)
39public void StartWalk(DependencyObject startNode) 48public virtual void StartWalk(DependencyObject startNode, bool skipStartNode) 74private void IterateChildren(DependencyObject d) 144DependencyObject childVisual = v.InternalGet2DOr3DVisualChild(i); 171DependencyObject childVisual = v.InternalGet2DOr3DVisualChild(i); 205DependencyObject child = logicalChildren.Current as DependencyObject; 381DependencyObject dependencyObjectParent = VisualTreeHelper.GetParent(fe); 382DependencyObject logicalParent = fe.Parent; 399private void VisitNode(DependencyObject d, bool visitedViaVisualTree) 426protected virtual void _VisitNode(DependencyObject d, bool visitedViaVisualTree) 452internal delegate bool VisitedCallback<T>(DependencyObject d, T data, bool visitedViaVisualTree);
src\Framework\System\Windows\DescendentsWalkerBase.cs (7)
24_nodes = new FrugalStructList<DependencyObject>(); 29internal bool WasVisited(DependencyObject d) 31DependencyObject ancestor = d; 35DependencyObject logicalParent; 42DependencyObject dependencyObjectParent = VisualTreeHelper.GetParent(fe); 67internal DependencyObject _startNode; 70internal FrugalStructList<DependencyObject> _nodes;
src\Framework\System\Windows\Documents\Block.cs (8)
103public static void SetIsHyphenationEnabled(DependencyObject element, bool value) 117public static bool GetIsHyphenationEnabled(DependencyObject element) 241public static void SetTextAlignment(DependencyObject element, TextAlignment value) 255public static TextAlignment GetTextAlignment(DependencyObject element) 308public static void SetLineHeight(DependencyObject element, double value) 323public static double GetLineHeight(DependencyObject element) 360public static void SetLineStackingStrategy(DependencyObject element, LineStackingStrategy value) 374public static LineStackingStrategy GetLineStackingStrategy(DependencyObject element)
src\Framework\System\Windows\Documents\BlockCollection.cs (1)
32internal BlockCollection(DependencyObject owner, bool isOwnerParent)
src\Framework\System\windows\Documents\CaretElement.cs (1)
845DependencyObject node = uiScope;
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
176DependencyObject owner = _textView.TextContainer.Parent;
src\Framework\System\Windows\Documents\DocumentReference.cs (1)
156static void OnSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Documents\DocumentSequenceTextContainer.cs (3)
47internal DocumentSequenceTextContainer(DependencyObject parent) 156DependencyObject ITextContainer.GetParent(StaticTextPointer position) 281DependencyObject ITextContainer.Parent
src\Framework\System\Windows\Documents\FixedDocument.cs (3)
477DependencyObject element = o as DependencyObject; 493DependencyObject el = element;
src\Framework\System\Windows\Documents\FixedHyperlink.cs (1)
53public static void OnNavigationServiceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Documents\FixedPage.cs (14)
571protected internal override void OnVisualParentChanged(DependencyObject oldParent) 611private static object CoerceFlowDirection(DependencyObject page, Object flowDirection) 636DependencyObject dpo = element as DependencyObject; 873DependencyObject node ; 906internal DependencyObject GetElement(FixedNode node) 921DependencyObject element = this.Children[currentLevelIndex]; 936IEnumerable currentChildrens = LogicalTreeHelper.GetChildren((DependencyObject)element); 952element = (DependencyObject)itor.Current; 1043internal int[] _CreateChildIndex(DependencyObject e) 1048DependencyObject parent = LogicalTreeHelper.GetParent(e); 1097private static String GetStartPartUriString(DependencyObject current) 1101DependencyObject obj = current; 1118DependencyObject parent = LogicalTreeHelper.GetParent(current);
src\Framework\System\Windows\Documents\FixedSOMImage.cs (1)
35private FixedSOMImage(Rect imageRect, GeneralTransform trans, Uri sourceUri, FixedNode node, DependencyObject o) : base(node, trans)
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
250DependencyObject obj = _fixedPage.GetElement(node); 380private void _ProcessImage(DependencyObject obj, FixedNode fixedNode)
src\Framework\System\Windows\Documents\FixedTextContainer.cs (5)
52internal FixedTextContainer(DependencyObject parent) 141DependencyObject ITextContainer.GetParent(StaticTextPointer position) 250DependencyObject ITextContainer.Parent 444DependencyObject o = page.GetElement(fn); 664private DependencyObject _parent;
src\Framework\System\Windows\Documents\FixedTextView.cs (5)
214DependencyObject element = this.FixedPage.GetElement(fixedp.Node); 459DependencyObject element = this.FixedPage.GetElement(fixedp.Node); 530DependencyObject element = this.FixedPage.GetElement(fixedp.Node); 619DependencyObject element = FixedPage.GetElement(lastNode); 792DependencyObject v = (result != null) ? result.VisualHit : null;
src\Framework\System\Windows\Documents\FlowDocument.cs (14)
894DependencyObject parentOfEmbeddedElement; 916parentOfEmbeddedElement = LogicalTreeHelper.GetParent((DependencyObject)element); 1047internal override void OnNewParent(DependencyObject newParent) 1049DependencyObject oldParent = this.Parent; 1204private static void OnTypographyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1247private static void OnPageMetricsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1274private static void OnMinPageWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1283private static void OnMinPageHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1292private static void OnMaxPageWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1300private static void OnMaxPageHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1308private static object CoerceMaxPageWidth(DependencyObject d, object value) 1323private static object CoerceMaxPageHeight(DependencyObject d, object value) 1338private static object CoercePageWidth(DependencyObject d, object value) 1364private static object CoercePageHeight(DependencyObject d, object value)
src\Framework\System\Windows\Documents\Glyphs.cs (3)
716private static void FillChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 726private static void GlyphRunPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 733private static void OriginPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Documents\Hyperlink.cs (17)
174private static void OnCommandChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 352internal static object CoerceNavigateUri(DependencyObject d, object value) 564private static void CacheNavigateUri(DependencyObject d, Uri targetUri) 593DependencyObject dObj = (DependencyObject)sourceElement; 645DependencyObject dObject = (DependencyObject)sender; 697CacheNavigateUri((DependencyObject)sender, null); 928internal static void OnNavigateUriChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1030CacheNavigateUri((DependencyObject)sender, null); 1051DependencyObject dp = (DependencyObject)sender; 1097DependencyObject dp = (DependencyObject)sender; 1188CacheNavigateUri((DependencyObject)sender, null); 1219DependencyObject dObject = (DependencyObject)sender;
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
1962DependencyObject parent; 1993DependencyObject parent;
src\Framework\System\Windows\Documents\Inline.cs (2)
160internal static Run CreateImplicitRun(DependencyObject parent) 165internal static InlineUIContainer CreateImplicitInlineUIContainer(DependencyObject parent)
src\Framework\System\Windows\Documents\InlineCollection.cs (1)
35internal InlineCollection(DependencyObject owner, bool isOwnerParent)
src\Framework\System\Windows\Documents\ITextContainer.cs (2)
60DependencyObject GetParent(StaticTextPointer position); 119DependencyObject Parent { get; }
src\Framework\System\Windows\Documents\List.cs (1)
206DependencyObject element = textNav.GetAdjacentElementFromOuterPosition(LogicalDirection.Forward);
src\Framework\System\Windows\Documents\ListItemCollection.cs (1)
29internal ListItemCollection(DependencyObject owner, bool isOwnerParent)
src\Framework\System\Windows\Documents\NullTextContainer.cs (2)
128DependencyObject ITextContainer.GetParent(StaticTextPointer position) 232DependencyObject ITextContainer.Parent
src\Framework\System\Windows\Documents\PageContent.cs (1)
245static void OnSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Documents\RangeContentEnumerator.cs (1)
336DependencyObject node = _start.Parent;
src\Framework\System\Windows\Documents\Run.cs (2)
228private static void OnTextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 300private static object CoerceText(DependencyObject d, object baseValue)
src\Framework\System\Windows\Documents\StaticTextPointer.cs (1)
162internal DependencyObject Parent
src\Framework\System\Windows\Documents\TableCell.cs (4)
102internal override void OnNewParent(DependencyObject newParent) 104DependencyObject oldParent = this.Parent; 585private static void OnColumnSpanChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 605private static void OnRowSpanChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Documents\TableColumn.cs (2)
276private static void OnWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 288private static void OnBackgroundChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Documents\TableRow.cs (2)
108internal override void OnNewParent(DependencyObject newParent) 110DependencyObject oldParent = this.Parent;
src\Framework\System\Windows\Documents\TableRowGroup.cs (2)
324internal override void OnNewParent(DependencyObject newParent) 326DependencyObject oldParent = this.Parent;
src\Framework\System\Windows\Documents\TextContainer.cs (17)
144internal TextContainer(DependencyObject parent, bool plainTextOnly) 590DependencyObject adjacentElement; 622DependencyObject ITextContainer.GetParent(StaticTextPointer position) 740DependencyObject parent = GetScopingNode(position).GetDependencyParent(); 961DependencyObject parentLogicalNode; 1187internal void InsertEmbeddedObjectInternal(TextPointer position, DependencyObject embeddedObject) 1191DependencyObject parentLogicalNode; 1706internal DependencyObject Parent 1758DependencyObject ITextContainer.Parent 2080private void ReparentLogicalChildren(SplayTreeNode containerNode, DependencyObject newParentLogicalNode, DependencyObject oldParentLogicalNode) 2088private void ReparentLogicalChildren(SplayTreeNode firstChildNode, SplayTreeNode lastChildNode, DependencyObject newParentLogicalNode, DependencyObject oldParentLogicalNode) 2091DependencyObject logicalTreeNode; 2447DependencyObject logicalParent; 2795DependencyObject oldLogicalParent; 3656private readonly DependencyObject _parent;
src\Framework\System\windows\Documents\TextEditor.cs (3)
1163return (element is DependencyObject) ? (((DependencyObject)element).ReadLocalValue(InstanceProperty) as TextEditor) : null; 1689private static void OnIsReadOnlyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
src\Framework\System\windows\Documents\TextEditorMouse.cs (3)
775DependencyObject textContainerOwner = textEditor.TextContainer.Parent; 794DependencyObject hitElement = textEditor.UiScope.InputHitTest(point) as DependencyObject;
src\Framework\System\Windows\Documents\TextEffectResolver.cs (3)
136private DependencyObject _element; 140DependencyObject element, 157public DependencyObject Element
src\Framework\System\Windows\Documents\TextElement.cs (14)
492public static void SetFontFamily(DependencyObject element, FontFamily value) 506public static FontFamily GetFontFamily(DependencyObject element) 543public static void SetFontStyle(DependencyObject element, FontStyle value) 557public static FontStyle GetFontStyle(DependencyObject element) 594public static void SetFontWeight(DependencyObject element, FontWeight value) 608public static FontWeight GetFontWeight(DependencyObject element) 645public static void SetFontStretch(DependencyObject element, FontStretch value) 659public static FontStretch GetFontStretch(DependencyObject element) 699public static void SetFontSize(DependencyObject element, double value) 714public static double GetFontSize(DependencyObject element) 753public static void SetForeground(DependencyObject element, Brush value) 767public static Brush GetForeground(DependencyObject element) 1086internal static TypographyProperties GetTypographyProperties(DependencyObject element) 1382private static void OnTypographyChanged(DependencyObject element, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Documents\TextElementCollection.cs (4)
40internal TextElementCollection(DependencyObject owner, bool isOwnerParent) 701internal DependencyObject Owner 711internal DependencyObject Parent 1066private DependencyObject _owner;
src\Framework\System\Windows\Documents\TextElementCollectionHelper.cs (7)
34internal static void MarkDirty(DependencyObject parent) 62internal static void MarkClean(DependencyObject parent, object collection) 83internal static bool IsCleanParent(DependencyObject parent, object collection) 124private static int GetCleanParentIndex(DependencyObject parent, object collection, out int firstFreeIndex) 177internal ParentCollectionPair(DependencyObject parent, object collection) 183internal DependencyObject Parent { get { return _parent; } } 187private readonly DependencyObject _parent;
src\Framework\System\Windows\Documents\TextPointer.cs (13)
820public DependencyObject GetAdjacentElement(LogicalDirection direction) 1560public DependencyObject Parent 1833internal static DependencyObject GetAdjacentElement(TextTreeNode node, ElementEdge edge, LogicalDirection direction) 1836DependencyObject element; 2436DependencyObject element; 2522DependencyObject parent; 2572DependencyObject element; 2969internal DependencyObject GetLogicalTreeNode() 3606internal static DependencyObject GetCommonAncestor(TextPointer position1, TextPointer position2) 3611DependencyObject commonAncestor; 3648DependencyObject element = this.Parent; 3897DependencyObject parentBlock = this.Parent; 4090private DependencyObject GetDependencyParent()
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
457DependencyObject element = ((TextPointer)pointer).Parent as TextElement;
src\Framework\System\Windows\Documents\TextRangeEdit.cs (6)
797DependencyObject parent = start.TextContainer.Parent; 838private static void SetPropertyOnParagraphOrBlockUIContainer(DependencyObject parent, Block block, DependencyProperty property, object value, PropertyValueAction propertyValueAction) 1950DependencyObject commonAncestor = TextPointer.GetCommonAncestor(start, end); 2166DependencyObject forwardElement = start.GetAdjacentElement(LogicalDirection.Forward); 2167DependencyObject backwardElement = end.GetAdjacentElement(LogicalDirection.Backward); 2258private static bool ValidateApplyStructuralInlineProperty(TextPointer start, TextPointer end, DependencyObject commonAncestor, DependencyProperty property)
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
823DependencyObject parent = position.Parent;
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (12)
594DependencyObject complexProperties = new DependencyObject(); 706DependencyObject complexProperties = new DependencyObject(); 709WriteInheritablePropertiesForFlowDocument((DependencyObject)((TextPointer)context).Parent, xmlWriter, complexProperties); 735private static void WriteInheritablePropertiesForFlowDocument(DependencyObject context, XmlWriter xmlWriter, DependencyObject complexProperties) 776private static void WriteInheritableProperties(Type elementTypeStandardized, ITextPointer context, XmlWriter xmlWriter, bool onlyAffected, DependencyObject complexProperties) 841private static void WriteNoninheritableProperties(Type elementTypeStandardized, ITextPointer context, XmlWriter xmlWriter, bool onlyAffected, DependencyObject complexProperties) 921private static void WriteNoninheritableProperty(XmlWriter xmlWriter, DependencyProperty property, object propertyValue, Type propertyOwnerType, bool onlyAffected, DependencyObject complexProperties, object localValue) 961private static void WriteLocallySetProperties(Type elementTypeStandardized, ITextPointer context, XmlWriter xmlWriter, DependencyObject complexProperties) 1075private static void WriteComplexProperties(XmlWriter xmlWriter, DependencyObject complexProperties, Type elementType) 1143private static void WriteXamlAtomicElement(DependencyObject element, XmlWriter xmlWriter, bool reduceElement) 1200DependencyObject complexProperties = new DependencyObject();
src\Framework\System\Windows\Documents\TextSchema.cs (1)
161DependencyObject parent = position.Parent;
src\Framework\System\windows\Documents\TextSelection.cs (10)
1472private void SpringloadCurrentFormatting(DependencyObject parent) 1489DependencyObject element = parent; 2469DependencyObject element = TextView.RenderScope; 2554private static bool IsRootElement(DependencyObject element) 2565DependencyObject element = this.UiScope; 2566DependencyObject parent = this.UiScope; 2587private static DependencyObject GetParentElement(DependencyObject element) 2589DependencyObject parent; 2743private DependencyObject _springloadFormatting;
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (2)
384DependencyObject embeddedObject = null; 394embeddedObject = (DependencyObject)XamlReader.Load(new XmlTextReader(new StringReader(_xml)));
src\Framework\System\Windows\Documents\TextTreeNode.cs (4)
296internal DependencyObject GetDependencyParent() 299DependencyObject parent; 330internal DependencyObject GetLogicalTreeNode() 336DependencyObject logicalTreeNode;
src\Framework\System\Windows\Documents\TextTreeObjectNode.cs (3)
34internal TextTreeObjectNode(DependencyObject embeddedElement) 303internal DependencyObject EmbeddedElement 350private readonly DependencyObject _embeddedElement;
src\Framework\System\Windows\Documents\TextTreeUndoUnit.cs (2)
138internal static PropertyRecord[] GetPropertyRecordArray(DependencyObject d) 180DependencyObject obj;
src\Framework\System\Windows\Documents\Typography.cs (131)
46internal Typography(DependencyObject owner) 384public static void SetStandardLigatures(DependencyObject element, bool value) 399[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 400public static bool GetStandardLigatures(DependencyObject element) 416public static void SetContextualLigatures(DependencyObject element, bool value) 431[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 432public static bool GetContextualLigatures(DependencyObject element) 448public static void SetDiscretionaryLigatures(DependencyObject element, bool value) 463[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 464public static bool GetDiscretionaryLigatures(DependencyObject element) 480public static void SetHistoricalLigatures(DependencyObject element, bool value) 495[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 496public static bool GetHistoricalLigatures(DependencyObject element) 512public static void SetAnnotationAlternates(DependencyObject element, int value) 527[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 528public static int GetAnnotationAlternates(DependencyObject element) 544public static void SetContextualAlternates(DependencyObject element, bool value) 559[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 560public static bool GetContextualAlternates(DependencyObject element) 576public static void SetHistoricalForms(DependencyObject element, bool value) 591[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 592public static bool GetHistoricalForms(DependencyObject element) 608public static void SetKerning(DependencyObject element, bool value) 623[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 624public static bool GetKerning(DependencyObject element) 640public static void SetCapitalSpacing(DependencyObject element, bool value) 655[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 656public static bool GetCapitalSpacing(DependencyObject element) 672public static void SetCaseSensitiveForms(DependencyObject element, bool value) 687[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 688public static bool GetCaseSensitiveForms(DependencyObject element) 704public static void SetStylisticSet1(DependencyObject element, bool value) 719[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 720public static bool GetStylisticSet1(DependencyObject element) 736public static void SetStylisticSet2(DependencyObject element, bool value) 751[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 752public static bool GetStylisticSet2(DependencyObject element) 768public static void SetStylisticSet3(DependencyObject element, bool value) 783[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 784public static bool GetStylisticSet3(DependencyObject element) 800public static void SetStylisticSet4(DependencyObject element, bool value) 815[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 816public static bool GetStylisticSet4(DependencyObject element) 832public static void SetStylisticSet5(DependencyObject element, bool value) 847[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 848public static bool GetStylisticSet5(DependencyObject element) 864public static void SetStylisticSet6(DependencyObject element, bool value) 879[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 880public static bool GetStylisticSet6(DependencyObject element) 896public static void SetStylisticSet7(DependencyObject element, bool value) 911[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 912public static bool GetStylisticSet7(DependencyObject element) 928public static void SetStylisticSet8(DependencyObject element, bool value) 943[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 944public static bool GetStylisticSet8(DependencyObject element) 960public static void SetStylisticSet9(DependencyObject element, bool value) 975[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 976public static bool GetStylisticSet9(DependencyObject element) 992public static void SetStylisticSet10(DependencyObject element, bool value) 1007[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1008public static bool GetStylisticSet10(DependencyObject element) 1024public static void SetStylisticSet11(DependencyObject element, bool value) 1039[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1040public static bool GetStylisticSet11(DependencyObject element) 1056public static void SetStylisticSet12(DependencyObject element, bool value) 1071[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1072public static bool GetStylisticSet12(DependencyObject element) 1088public static void SetStylisticSet13(DependencyObject element, bool value) 1103[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1104public static bool GetStylisticSet13(DependencyObject element) 1120public static void SetStylisticSet14(DependencyObject element, bool value) 1135[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1136public static bool GetStylisticSet14(DependencyObject element) 1152public static void SetStylisticSet15(DependencyObject element, bool value) 1167[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1168public static bool GetStylisticSet15(DependencyObject element) 1184public static void SetStylisticSet16(DependencyObject element, bool value) 1199[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1200public static bool GetStylisticSet16(DependencyObject element) 1216public static void SetStylisticSet17(DependencyObject element, bool value) 1231[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1232public static bool GetStylisticSet17(DependencyObject element) 1248public static void SetStylisticSet18(DependencyObject element, bool value) 1263[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1264public static bool GetStylisticSet18(DependencyObject element) 1280public static void SetStylisticSet19(DependencyObject element, bool value) 1295[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1296public static bool GetStylisticSet19(DependencyObject element) 1312public static void SetStylisticSet20(DependencyObject element, bool value) 1327[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1328public static bool GetStylisticSet20(DependencyObject element) 1344public static void SetFraction(DependencyObject element, FontFraction value) 1359[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1360public static FontFraction GetFraction(DependencyObject element) 1376public static void SetSlashedZero(DependencyObject element, bool value) 1391[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1392public static bool GetSlashedZero(DependencyObject element) 1408public static void SetMathematicalGreek(DependencyObject element, bool value) 1423[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1424public static bool GetMathematicalGreek(DependencyObject element) 1440public static void SetEastAsianExpertForms(DependencyObject element, bool value) 1455[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1456public static bool GetEastAsianExpertForms(DependencyObject element) 1472public static void SetVariants(DependencyObject element, FontVariants value) 1487[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1488public static FontVariants GetVariants(DependencyObject element) 1504public static void SetCapitals(DependencyObject element, FontCapitals value) 1519[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1520public static FontCapitals GetCapitals(DependencyObject element) 1536public static void SetNumeralStyle(DependencyObject element, FontNumeralStyle value) 1551[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1552public static FontNumeralStyle GetNumeralStyle(DependencyObject element) 1568public static void SetNumeralAlignment(DependencyObject element, FontNumeralAlignment value) 1583[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1584public static FontNumeralAlignment GetNumeralAlignment(DependencyObject element) 1600public static void SetEastAsianWidths(DependencyObject element, FontEastAsianWidths value) 1615[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1616public static FontEastAsianWidths GetEastAsianWidths(DependencyObject element) 1632public static void SetEastAsianLanguage(DependencyObject element, FontEastAsianLanguage value) 1647[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1648public static FontEastAsianLanguage GetEastAsianLanguage(DependencyObject element) 1664public static void SetStandardSwashes(DependencyObject element, int value) 1679[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1680public static int GetStandardSwashes(DependencyObject element) 1696public static void SetContextualSwashes(DependencyObject element, int value) 1711[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1712public static int GetContextualSwashes(DependencyObject element) 1728public static void SetStylisticAlternates(DependencyObject element, int value) 1743[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 1744public static int GetStylisticAlternates(DependencyObject element) 2246private DependencyObject _owner;
src\Framework\System\Windows\DynamicResourceExtension.cs (1)
68DependencyObject targetDependencyObject;
src\Framework\System\Windows\EventTrigger.cs (2)
193DependencyObject action = _actions[i] as DependencyObject;
src\Framework\System\Windows\FrameworkContentElement.cs (31)
120private static void NumberSubstitutionChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 158private static void OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 211private static void OnThemeStyleKeyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 233internal static void OnThemeStyleChanged(DependencyObject d, object oldValue, object newValue) 247public DependencyObject TemplatedParent 613DependencyObject parentDO = parentFE; 788(!DependencyObject.IsTreeWalkOperation(e.OperationType) || PotentiallyHasMentees)) 822if (!DependencyObject.IsTreeWalkOperation(e.OperationType)) 939static private void OnCursorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 971static private void OnForceCursorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1031public sealed override DependencyObject PredictFocus(FocusNavigationDirection direction) 1172private static void OnDataContextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1239protected internal override DependencyObject GetUIParentCore() 1278DependencyObject logicalSource = args.Source as DependencyObject; 1332DependencyObject visualParent = (DependencyObject) ContentOperations.GetParent(this); 1333DependencyObject modelParent = this._parent; 1344DependencyObject branchNode = route.PeekBranchNode() as DependencyObject; 1399private bool IsLogicalDescendent(DependencyObject child) 1414internal override bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastCoreTree) 1419DependencyObject visualParent = (DependencyObject) ContentOperations.GetParent(this); 1420DependencyObject modelParent = this._parent; 1422DependencyObject branchNode = branchNodeStack.Count > 0 ? branchNodeStack.Peek() : null; 1457internal override void OnContentParentChanged(DependencyObject oldParent) 1459DependencyObject newParent = ContentOperations.GetParent(this); 2028DependencyObject child =enumerator.Current as DependencyObject; 2197internal DependencyObject _templatedParent; // Non-null if this object was created as a result of a Template.VisualTree
src\Framework\System\Windows\FrameworkContextData.cs (1)
69public bool WasNodeVisited(DependencyObject d, object data)
src\Framework\System\Windows\FrameworkElement.cs (79)
179private static void OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 230private static void OnUseLayoutRoundingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 258private static void OnThemeStyleKeyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 280internal static void OnThemeStyleChanged(DependencyObject d, object oldValue, object newValue) 490DependencyObject targetObject = null; 570public DependencyObject TemplatedParent 803protected internal DependencyObject GetTemplateChild(string childName) 816return StyleHelper.FindNameInTemplateContent(this, childName, template) as DependencyObject; 900DependencyObject boundaryElement = null; 970DependencyObject boundaryElement = fce.TemplatedParent; 1042DependencyObject boundaryElement, 1171DependencyObject boundaryElement, 1368DependencyObject unlinkedParentAsDO = unlinkedParent as DependencyObject; 1378DependencyObject doParent = GetFrameworkParent(unlinkedParent); 1425internal static object FindTemplateResourceInternal(DependencyObject target, object item, Type templateType) 1485private static object FindTemplateResourceInTree(DependencyObject target, ArrayList keys, int exactMatch, ref int bestMatch) 1760internal static INameScope FindScope(DependencyObject d) 1762DependencyObject scopeOwner; 1767internal static INameScope FindScope(DependencyObject d, out DependencyObject scopeOwner) 1778DependencyObject parent = LogicalTreeHelper.GetParent(d); 2011DependencyObject parentDO = parentFE; 2158(!DependencyObject.IsTreeWalkOperation(e.OperationType) || PotentiallyHasMentees)) 2192if (!DependencyObject.IsTreeWalkOperation(e.OperationType)) 2283internal static DependencyObject GetFrameworkParent(object current) 2285FrameworkObject fo = new FrameworkObject(current as DependencyObject); 2317internal static bool GetContainingFrameworkElement(DependencyObject current, out FrameworkElement fe, out FrameworkContentElement fce) 2338DependencyObject templatedParent, 2422private static void TextRenderingMode_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e) 2464protected internal override void OnVisualParentChanged(DependencyObject oldParent) 2466DependencyObject newParent = VisualTreeHelper.GetParentInternal(this); 2513DependencyObject parent = (newParent != null) ? newParent : oldParent; 2741private static void OnDataContextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 2811protected internal override DependencyObject GetUIParentCore() 2851DependencyObject logicalSource = args.Source as DependencyObject; 2900DependencyObject visualParent = VisualTreeHelper.GetParent(this); 2901DependencyObject modelParent = GetUIParentCore(); 2912DependencyObject branchNode = route.PeekBranchNode() as DependencyObject; 2993DependencyObject source = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 2996DependencyObject templatedParent = null; 3052DependencyObject source, 3070internal override bool InvalidateAutomationAncestorsCore(Stack<DependencyObject> branchNodeStack, out bool continuePastCoreTree) 3097DependencyObject child = enumerator.Current as DependencyObject; 3111internal bool InvalidateAutomationAncestorsCoreHelper(Stack<DependencyObject> branchNodeStack, out bool continuePastCoreTree, bool shouldInvalidateIntermediateElements) 3116DependencyObject visualParent = VisualTreeHelper.GetParent(this); 3117DependencyObject modelParent = GetUIParentCore(); 3119DependencyObject branchNode = branchNodeStack.Count > 0 ? branchNodeStack.Peek() : null; 3161DependencyObject mergePoint, 3162DependencyObject modelTreeNode) 3348private static object GetActualWidth(DependencyObject d, out BaseValueSourceInternal source) 3393private static object GetActualHeight(DependencyObject d, out BaseValueSourceInternal source) 3451private static void OnLayoutTransformChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3475private static void OnTransformDirty(DependencyObject d, DependencyPropertyChangedEventArgs e) 3662private static object CoerceFlowDirectionProperty(DependencyObject d, object value) 3674private static void OnFlowDirectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3701public static FlowDirection GetFlowDirection(DependencyObject element) 3711public static void SetFlowDirection(DependencyObject element, FlowDirection value) 3884static private void OnCursorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3919static private void OnForceCursorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 3979DependencyObject parentVisual = VisualTreeHelper.GetParent(fe); 4011private static FlowDirection GetFlowDirectionFromVisual(DependencyObject visual) 4015for (DependencyObject v = visual; v != null; v = VisualTreeHelper.GetParent(v)) 5330public sealed override DependencyObject PredictFocus(FocusNavigationDirection direction) 5344if (activeElement != null && activeElement != sender && Keyboard.IsFocusable(activeElement as DependencyObject)) 5531private static void NumberSubstitutionChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 5549private static object CoerceFontFamily(DependencyObject o, object value) 5560private static object CoerceFontSize(DependencyObject o, object value) 5571private static object CoerceFontStyle(DependencyObject o, object value) 5582private static object CoerceFontWeight(DependencyObject o, object value) 6086DependencyObject mergePoint, 6089DependencyObject modelTreeNode) 6128private bool IsLogicalDescendent(DependencyObject child) 6402internal DependencyObject _templatedParent; // Non-null if this object was created as a result of a Template.VisualTree
src\Framework\System\Windows\FrameworkElementFactory.cs (20)
488private DependencyObject CreateDependencyObject() 495return _knownTypeFactory.Invoke() as DependencyObject; 498return (DependencyObject)Activator.CreateInstance(_type); 659internal DependencyObject InstantiateTree( 661DependencyObject container, 662DependencyObject parent, 663List<DependencyObject> affectedChildren, 664ref List<DependencyObject> noChildIndexChildren, 672DependencyObject treeNode = null; 777noChildIndexChildren = new List<DependencyObject>(4); 911private void AddNodeToParent( DependencyObject parent, FrameworkObject childFrameworkObject ) 1034List<DependencyObject> affectedChildren, ref List<DependencyObject> noChildIndexChildren ) 1051affectedChildren.Add(treeNodeIsFE ? (DependencyObject)treeNodeFE : (DependencyObject)treeNodeFCE); 1060noChildIndexChildren = new List<DependencyObject>(4); 1063noChildIndexChildren.Add(treeNodeIsFE ? (DependencyObject)treeNodeFE : (DependencyObject)treeNodeFCE); 1111DependencyObject container, bool isContainerAnFE, 1134internal static void AddNodeToLogicalTree( DependencyObject parent, Type type,
src\Framework\System\Windows\FrameworkTemplate.cs (24)
552public DependencyObject LoadContent() 569internal DependencyObject LoadContent( 570DependencyObject container, 571List<DependencyObject> affectedChildren) 724object value, DependencyObject templatedParent) 726DependencyObject dependencyObject = targetObject as DependencyObject; 903private DependencyObject LoadOptimizedTemplateContent(DependencyObject container, 905IStyleConnector styleConnector, List<DependencyObject> affectedChildren, UncommonField<Hashtable> templatedNonFeChildrenField) 911DependencyObject rootObject = null; 1116ref DependencyObject rootObject, 1117DependencyObject container, 1135ref DependencyObject rootObject, 1136DependencyObject container, 1153private static DependencyObject WireRootObjectToParent(object createdObject, DependencyObject rootObject, DependencyObject container, FrameworkElement feContainer, INameScope nameScope) 1155rootObject = createdObject as DependencyObject; 1192private void InvalidatePropertiesOnTemplate(DependencyObject container, Object currentObject) 1196DependencyObject dObject = currentObject as DependencyObject; 1334(element as DependencyObject).SetValue(valueLookup.Property, value); //sharedDp.Dp, value ); 1620internal ConditionalWeakTable<DependencyObject,List<DeferredAction>> DeferredActions = null;
src\Framework\System\Windows\Generated\FrameworkContentElement.cs (33)
55public new DependencyObject Parent 111DependencyObject scopeOwner; 116internal object FindName(string name, out DependencyObject scopeOwner) 183internal DependencyObject ContextVerifiedGetParent() 216FrameworkObject fo = new FrameworkObject(child as DependencyObject); 254FrameworkObject fo = new FrameworkObject(child as DependencyObject); 288internal void ChangeLogicalParent(DependencyObject newParent) 333DependencyObject oldParent = _parent; 349DependencyObject parent = (newParent != null) ? newParent : oldParent; 360internal virtual void OnNewParent(DependencyObject newParent) 368DependencyObject oldParent = _parent; 479DependencyObject templatedParent = null; 501DependencyObject parent = null; 654DependencyObject toolTip = 659RequestFlags.DeferredReferences).Value as DependencyObject; 699DependencyObject parent = Parent; 728DependencyObject parent = Parent; 753internal override bool ShouldProvideInheritanceContext(DependencyObject target, DependencyProperty property) 761internal override DependencyObject InheritanceContext 773internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 808internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 838DependencyObject oldMentor = MentorField.GetValue(this); 839DependencyObject newMentor = Helper.FindMentor(InheritanceContext); 857void ConnectMentor(DependencyObject mentor) 891void DisconnectMentor(DependencyObject mentor) 925internal void ChangeSubtreeHasLoadedChangedHandler(DependencyObject mentor) 943FrameworkObject foMentor = new FrameworkObject((DependencyObject)sender); 957FrameworkObject foMentor = new FrameworkObject((DependencyObject)sender); 1255private new DependencyObject _parent; 1258private static readonly UncommonField<DependencyObject> InheritanceContextField = new UncommonField<DependencyObject>(); 1259private static readonly UncommonField<DependencyObject> MentorField = new UncommonField<DependencyObject>();
src\Framework\System\Windows\Generated\FrameworkElement.cs (33)
55public DependencyObject Parent 111DependencyObject scopeOwner; 116internal object FindName(string name, out DependencyObject scopeOwner) 183internal DependencyObject ContextVerifiedGetParent() 216FrameworkObject fo = new FrameworkObject(child as DependencyObject); 254FrameworkObject fo = new FrameworkObject(child as DependencyObject); 288internal void ChangeLogicalParent(DependencyObject newParent) 333DependencyObject oldParent = _parent; 346DependencyObject parent = (newParent != null) ? newParent : oldParent; 357internal virtual void OnNewParent(DependencyObject newParent) 365DependencyObject oldParent = _parent; 494DependencyObject templatedParent = null; 516DependencyObject parent = null; 674DependencyObject toolTip = 679RequestFlags.DeferredReferences).Value as DependencyObject; 719DependencyObject parent = Parent; 753DependencyObject parent = Parent; 783internal override bool ShouldProvideInheritanceContext(DependencyObject target, DependencyProperty property) 791internal override DependencyObject InheritanceContext 803internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 838internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 868DependencyObject oldMentor = MentorField.GetValue(this); 869DependencyObject newMentor = Helper.FindMentor(InheritanceContext); 887void ConnectMentor(DependencyObject mentor) 921void DisconnectMentor(DependencyObject mentor) 955internal void ChangeSubtreeHasLoadedChangedHandler(DependencyObject mentor) 973FrameworkObject foMentor = new FrameworkObject((DependencyObject)sender); 987FrameworkObject foMentor = new FrameworkObject((DependencyObject)sender); 1302private new DependencyObject _parent; 1305private static readonly UncommonField<DependencyObject> InheritanceContextField = new UncommonField<DependencyObject>(); 1306private static readonly UncommonField<DependencyObject> MentorField = new UncommonField<DependencyObject>();
src\Framework\System\Windows\InheritablePropertyChangeInfo.cs (3)
27DependencyObject rootElement, 42internal DependencyObject RootElement 66private DependencyObject _rootElement;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (237)
106internal static DependencyObject GetTabOnceActiveElement(DependencyObject d) 111DependencyObject activeElement = weakRef.Target as DependencyObject; 121internal static void SetTabOnceActiveElement(DependencyObject d, DependencyObject value) 129private static DependencyObject GetControlTabOnceActiveElement(DependencyObject d) 134DependencyObject activeElement = weakRef.Target as DependencyObject; 144private static void SetControlTabOnceActiveElement(DependencyObject d, DependencyObject value) 149private DependencyObject GetActiveElement(DependencyObject d) 154private void SetActiveElement(DependencyObject d, DependencyObject value) 167internal static Visual GetVisualRoot(DependencyObject d) 280private static object CoerceShowKeyboardCues(DependencyObject d, object value) 345public static void SetTabIndex(DependencyObject element, int index) 360[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 361public static int GetTabIndex(DependencyObject element) 376public static void SetIsTabStop(DependencyObject element, bool isTabStop) 391[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 392public static bool GetIsTabStop(DependencyObject element) 407public static void SetTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 423[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 424public static KeyboardNavigationMode GetTabNavigation(DependencyObject element) 439public static void SetControlTabNavigation(DependencyObject element, KeyboardNavigationMode mode) 455[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 456public static KeyboardNavigationMode GetControlTabNavigation(DependencyObject element) 471public static void SetDirectionalNavigation(DependencyObject element, KeyboardNavigationMode mode) 487[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 488public static KeyboardNavigationMode GetDirectionalNavigation(DependencyObject element) 503public static void SetAcceptsReturn(DependencyObject element, bool enabled) 518[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 519public static bool GetAcceptsReturn(DependencyObject element) 826DependencyObject parent = ich as DependencyObject; 893Current.ShowFocusVisual(Keyboard.FocusedElement as DependencyObject); 896private void ShowFocusVisual(DependencyObject element) 972internal static void UpdateFocusedElement(DependencyObject focusTarget) 974DependencyObject focusScope = FocusManager.GetFocusScope(focusTarget); 988internal void UpdateActiveElement(DependencyObject activeElement) 997private void UpdateActiveElement(DependencyObject activeElement, DependencyProperty dp) 1000DependencyObject container = GetGroupParent(activeElement); 1004internal void UpdateActiveElement(DependencyObject container, DependencyObject activeElement) 1013private void UpdateActiveElement(DependencyObject container, DependencyObject activeElement, DependencyProperty dp) 1028internal bool Navigate(DependencyObject currentElement, TraversalRequest request) 1036private bool Navigate(DependencyObject currentElement, TraversalRequest request, ModifierKeys modifierKeys, bool fromProcessInputTabKey = false) 1041private bool Navigate(DependencyObject currentElement, TraversalRequest request, ModifierKeys modifierKeys, DependencyObject firstElement, bool fromProcessInputTabKey = false) 1044DependencyObject nextTab = null; 1159private bool NavigateOutsidePresentationSource(DependencyObject currentElement, TraversalRequest request, bool fromProcessInput, ref bool shouldCycle) 1203private bool ShouldNavigateOutsidePresentationSource(DependencyObject currentElement, TraversalRequest request) 1213DependencyObject parent = null; 1279DependencyObject sourceElement = keyEventArgs.OriginalSource as DependencyObject; 1293DependencyObject innerElement = keyEventArgs.KeyboardDevice.Target as DependencyObject; 1333internal static void EnableKeyboardCues(DependencyObject element, bool enable) 1370internal DependencyObject PredictFocusedElement(DependencyObject sourceElement, FocusNavigationDirection direction) 1375internal DependencyObject PredictFocusedElement(DependencyObject sourceElement, FocusNavigationDirection direction, bool treeViewNavigation) 1380internal DependencyObject PredictFocusedElement(DependencyObject sourceElement, 1396internal DependencyObject PredictFocusedElementAtViewportEdge( 1397DependencyObject sourceElement, 1401DependencyObject container) 1420private DependencyObject PredictFocusedElementAtViewportEdgeRecursive( 1421DependencyObject sourceElement, 1425DependencyObject container) 1444DependencyObject result = FindElementAtViewportEdge(sourceElement, 1457DependencyObject groupResult = result; 1483internal bool Navigate(DependencyObject sourceElement, Key key, ModifierKeys modifiers, bool fromProcessInput = false) 1525private static bool IsInNavigationTree(DependencyObject visual) 1541private DependencyObject GetPreviousSibling(DependencyObject e) 1543DependencyObject parent = GetParent(e); 1555return previousElement as DependencyObject; 1571DependencyObject parentAsUIElement = parent as UIElement; 1576DependencyObject elementAsVisual = e as Visual; 1585DependencyObject prev = null; 1588DependencyObject vchild = VisualTreeHelper.GetChild(parentAsUIElement, i); 1599private DependencyObject GetNextSibling(DependencyObject e) 1601DependencyObject parent = GetParent(e); 1615return current as DependencyObject; 1632DependencyObject parentAsUIElement = parent as UIElement; 1637DependencyObject elementAsVisual = e as Visual; 1650DependencyObject vchild = VisualTreeHelper.GetChild(parentAsUIElement, i); 1657DependencyObject visual = VisualTreeHelper.GetChild(parentAsUIElement, i); 1671private DependencyObject FocusedElement(DependencyObject e) 1677DependencyObject focusedElement = FocusManager.GetFocusedElement(e) as DependencyObject; 1711private DependencyObject GetFirstChild(DependencyObject e) 1714DependencyObject focusedElement = FocusedElement(e); 1728return current as DependencyObject; 1741DependencyObject uiElement = e as UIElement; 1750DependencyObject elementAsVisual = e as Visual; 1761DependencyObject visual = VisualTreeHelper.GetChild(elementAsVisual, i); 1766DependencyObject firstChild = GetFirstChild(visual); 1778private DependencyObject GetLastChild(DependencyObject e) 1781DependencyObject focusedElement = FocusedElement(e); 1803return last as DependencyObject; 1807DependencyObject uiElement = e as UIElement; 1815DependencyObject elementAsVisual = e as Visual; 1826DependencyObject visual = VisualTreeHelper.GetChild(elementAsVisual, i); 1831DependencyObject lastChild = GetLastChild(visual); 1842internal static DependencyObject GetParent(DependencyObject e) 1847DependencyObject visual = e; 1864return MS.Internal.Documents.ContentHostHelper.FindContentHost(contentElement) as DependencyObject; 1884private DependencyObject GetNextInTree(DependencyObject e, DependencyObject container) 1889DependencyObject result = null; 1897DependencyObject parent = e; 1900DependencyObject sibling = GetNextSibling(parent); 1922private DependencyObject GetPreviousInTree(DependencyObject e, DependencyObject container) 1927DependencyObject result = GetPreviousSibling(e); 1941private DependencyObject GetLastInTree(DependencyObject container) 1943DependencyObject result; 1956private DependencyObject GetGroupParent(DependencyObject e) 1963private DependencyObject GetGroupParent(DependencyObject e, bool includeCurrent) 1967DependencyObject result = e; // Keep the last non null element 1998private bool IsTabStop(DependencyObject e) 2012private bool IsGroup(DependencyObject e) 2017internal bool IsFocusableInternal(DependencyObject element) 2034private bool IsElementEligible(DependencyObject element, bool treeViewNavigation) 2046private bool IsGroupElementEligible(DependencyObject element, bool treeViewNavigation) 2058private KeyboardNavigationMode GetKeyNavigationMode(DependencyObject e) 2063private bool IsTabStopOrGroup(DependencyObject e) 2068private static int GetTabIndexHelper(DependencyObject d) 2076internal DependencyObject GetFirstTabInGroup(DependencyObject container) 2078DependencyObject firstTabElement = null; 2081DependencyObject currElement = container; 2099private DependencyObject GetNextTabWithSameIndex(DependencyObject e, DependencyObject container) 2102DependencyObject currElement = e; 2115private DependencyObject GetNextTabWithNextIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2119DependencyObject nextTabElement = null; 2120DependencyObject firstTabElement = null; 2125DependencyObject currElement = container; 2156private DependencyObject GetNextTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2171DependencyObject nextTabElement = GetNextTabWithSameIndex(e, container); 2178private DependencyObject GetNextTab(DependencyObject e, DependencyObject container, bool goDownOnly) 2190DependencyObject activeElement = GetActiveElement(container); 2202DependencyObject parentContainer = GetGroupParent(container); 2209DependencyObject loopStartElement = null; 2210DependencyObject nextTabElement = e; 2224DependencyObject firstTabElementInside = GetNextTab(null, nextTabElement, true); 2249internal DependencyObject GetLastTabInGroup(DependencyObject container) 2251DependencyObject lastTabElement = null; 2253DependencyObject currElement = GetLastInTree(container); 2272private DependencyObject GetPrevTabWithSameIndex(DependencyObject e, DependencyObject container) 2275DependencyObject currElement = GetPreviousInTree(e, container); 2287private DependencyObject GetPrevTabWithPrevIndex(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2291DependencyObject lastTabElement = null; 2292DependencyObject nextTabElement = null; 2296DependencyObject currElement = GetLastInTree(container); 2328private DependencyObject GetPrevTabInGroup(DependencyObject e, DependencyObject container, KeyboardNavigationMode tabbingType) 2346DependencyObject nextTabElement = GetPrevTabWithSameIndex(e, container); 2353private DependencyObject GetPrevTab(DependencyObject e, DependencyObject container, bool goDownOnly) 2365DependencyObject activeElement = GetActiveElement(container); 2374DependencyObject firstTabElement = GetNextTabInGroup(null, container, tabbingType); 2407DependencyObject loopStartElement = null; 2408DependencyObject nextTabElement = e; 2428DependencyObject lastTabElementInside = GetPrevTab(null, nextTabElement, true); 2459internal static Rect GetRectangle(DependencyObject element) 2552private Rect GetRepresentativeRectangle(DependencyObject element) 2712private bool IsFocusScope(DependencyObject e) 2717private bool IsAncestorOf(DependencyObject sourceElement, DependencyObject targetElement) 2732internal bool IsAncestorOfEx(DependencyObject sourceElement, DependencyObject targetElement) 2748private bool IsInRange(DependencyObject sourceElement, DependencyObject targetElement, Rect sourceRect, Rect targetRect, FocusNavigationDirection direction, double startRange, double endRange) 2802private DependencyObject GetNextInDirection(DependencyObject sourceElement, FocusNavigationDirection direction) 2807private DependencyObject GetNextInDirection(DependencyObject sourceElement, FocusNavigationDirection direction, bool treeViewNavigation) 2812private DependencyObject GetNextInDirection(DependencyObject sourceElement, 2818DependencyObject targetElement = MoveNext(sourceElement, null, direction, BASELINE_DEFAULT, BASELINE_DEFAULT, treeViewNavigation, considerDescendants); 2887private bool IsEndlessLoop(DependencyObject element, DependencyObject container) 2925private DependencyObject FindNextInDirection(DependencyObject sourceElement, 2927DependencyObject container, 2934DependencyObject result = null; 2938DependencyObject currElement = container; 2982private DependencyObject MoveNext(DependencyObject sourceElement, 2983DependencyObject container, 3030DependencyObject result = FindNextInDirection(sourceElement, sourceRect, container, direction, startRange, endRange, treeViewNavigation, considerDescendants); 3052DependencyObject activeElement = GetActiveElementChain(result, treeViewNavigation); 3058DependencyObject insideElement = MoveNext(null, result, direction, startRange, endRange, treeViewNavigation, considerDescendants:true); 3065private DependencyObject GetActiveElementChain(DependencyObject element, bool treeViewNavigation) 3067DependencyObject validActiveElement = null; 3068DependencyObject activeElement = element; 3082private DependencyObject FindElementAtViewportEdge( 3083DependencyObject sourceElement, 3085DependencyObject container, 3104DependencyObject result = null; 3108DependencyObject partialResult = null; 3112DependencyObject currElement = container; 3117DependencyObject currentRectElement = currElement; 3310EnableKeyboardCues(keyEventArgs.Source as DependencyObject, true);
src\Framework\System\Windows\Localization.cs (4)
118DependencyObject dependencyObject = element as DependencyObject; 142DependencyObject dependencyObject = element as DependencyObject;
src\Framework\System\Windows\LogicalTreeHelper.cs (12)
69public static DependencyObject FindLogicalNode( DependencyObject logicalTreeNode, string elementName ) 84DependencyObject namedElement = null; 85DependencyObject childNode = null; 111childNode = childEnumerator.Current as DependencyObject; 130public static DependencyObject GetParent(DependencyObject current) 157public static IEnumerable GetChildren(DependencyObject current) 208public static void BringIntoView(DependencyObject current) 390internal static void AddLogicalChild(DependencyObject parent, object child) 425internal static void RemoveLogicalChild(DependencyObject parent, object child) 461internal static IEnumerator GetLogicalChildren(DependencyObject current)
src\Framework\System\Windows\LostFocusEventManager.cs (8)
44public static void AddListener(DependencyObject source, IWeakEventListener listener) 57public static void RemoveListener(DependencyObject source, IWeakEventListener listener) 70public static void AddHandler(DependencyObject source, EventHandler<RoutedEventArgs> handler) 81public static void RemoveHandler(DependencyObject source, EventHandler<RoutedEventArgs> handler) 110DependencyObject typedSource = (DependencyObject)source; 126DependencyObject typedSource = (DependencyObject)source;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (3)
65return typeof(System.Windows.DependencyObject); 77case 2: assembly = typeof(System.Windows.DependencyObject).Assembly; break; 227case 135: t = () => typeof(DependencyObject); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3349typeof(System.Windows.DependencyObject),
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMemberInvoker.cs (6)
24return ((DependencyObject)instance).GetValue(_member.DependencyProperty); 36((DependencyObject)instance).SetValue(_member.DependencyProperty, value); 52Type[] args = new Type[] { typeof(DependencyObject) }; ; 70var args = new object[] { instance as DependencyObject }; 83DependencyObject dObject = instance as DependencyObject;
src\Framework\System\Windows\Markup\Baml2006\WpfMemberInvoker.cs (8)
22DependencyObject dObject = instance as DependencyObject; 46DependencyObject dObject = instance as DependencyObject; 72Type[] args = new Type[] { typeof(DependencyObject) }; ; 90var args = new object[] { instance as DependencyObject }; 103DependencyObject dObject = instance as DependencyObject;
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (2)
111case 2: assembly = new Baml6Assembly(typeof(System.Windows.DependencyObject).Assembly); break; 284internal Type ResolvePrefixedNameWithAdditionalWpfSemantics(string prefixedName, DependencyObject element)
src\Framework\System\Windows\Markup\BamlCollectionHolder.cs (4)
33_propDef = new WpfPropertyDefinition(reader, attributeId, parent is DependencyObject); 134DependencyObject dpParent = Parent as DependencyObject; 174_defaultCollection = ((DependencyObject)Parent).GetValue(PropertyDefinition.DependencyProperty);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (33)
744DependencyObject currentParent = GetCurrentObjectData() as DependencyObject; 912ReaderFlags flags = (typeof(DependencyObject).IsAssignableFrom(elementType) ? ReaderFlags.DependencyObject : 960internal void SetDependencyValue(DependencyObject dependencyObject, DependencyProperty dependencyProperty, object value) 977internal virtual void SetDependencyValueCore(DependencyObject dependencyObject, DependencyProperty dependencyProperty, object value) 1282ReaderFlags flags = (elementType.IsAssignableFrom(typeof(DependencyObject)) ? 1335WpfPropertyDefinition propertyDefinition = new WpfPropertyDefinition(this, attributeId, parent is DependencyObject); 1340Debug.Assert(parent is DependencyObject); 1344contentProperty = ((DependencyObject)parent).GetValue(propertyDefinition.DependencyProperty) as IList; 1991WpfPropertyDefinition propertyDefinition = new WpfPropertyDefinition(this, attributeId, element is DependencyObject); 2054xmlSerializable = ((DependencyObject)parent).GetValue(dp) as IXmlSerializable; 2243WpfPropertyDefinition propertyDefinition = new WpfPropertyDefinition(this, attributeId, element is DependencyObject); 2276Debug.Assert(element is DependencyObject, "Guaranteed by PropertyDefinition constructor"); 2277SetDependencyValue((DependencyObject)element, propertyDefinition.DependencyProperty, valueObject); 2483WpfPropertyDefinition propertyDefinition = new WpfPropertyDefinition(this, attributeId, element is DependencyObject); 2571Debug.Assert(o is DependencyObject); 2572SetDependencyValue((DependencyObject)o, propertyDefinition.DependencyProperty, value); 2689WpfPropertyDefinition propertyDefinition = new WpfPropertyDefinition(this, attributeId, element is DependencyObject); 2763WpfPropertyDefinition propertyDefinition = new WpfPropertyDefinition(this, attributeId, element is DependencyObject); 2788Debug.Assert(element is DependencyObject); 2791(DependencyObject)element, 3559(DependencyObject)GetParentObjectData(), 3697DependencyProperty dp = currentTarget is DependencyObject ? attribInfo.DP : null; 3749Debug.Assert(currentTarget is DependencyObject); 3750SetDependencyValue((DependencyObject)currentTarget, dp, o); 3974DependencyObject e = CurrentContext.ObjectData as DependencyObject; 4141DependencyObject feOrfceParent = (DependencyObject)stackData.ObjectData; 4513DependencyObject doRoot = element as DependencyObject; 4992DependencyObject dpo = container as DependencyObject;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5679case KnownElements.DependencyObject: t = typeof(System.Windows.DependencyObject); break;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (7)
279if (parameters[0].ParameterType == typeof(DependencyObject)) 281args = new object[] { instance as DependencyObject }; 293args = new object[] { instance as DependencyObject, manager }; 426private static Type[] _shouldSerializeArgsObject = new Type[] { typeof(DependencyObject) }; 429private static Type[] _shouldSerializeArgsObjectManager = new Type[] { typeof(DependencyObject), typeof(XamlDesignerSerializationManager) }; 815DependencyObject DO = _object.Instance as DependencyObject;
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (7)
46DependencyObject depObj = rootObject as DependencyObject; 105DependencyObject dObject = args.Instance as DependencyObject; 228DependencyObject dependencyObject = xamlWriter.Result as DependencyObject; 368if (typeof(DependencyObject).IsAssignableFrom(stack.CurrentFrame.Type.UnderlyingType))
src\Framework\System\Windows\Markup\XamlReader.cs (8)
287DependencyObject dObject = args.Instance as DependencyObject; 387if (rootObject is DependencyObject) 390(rootObject as DependencyObject).SetValue(BaseUriHelper.BaseUriProperty, parserContext.BaseUri); 874DependencyObject dObject = root as DependencyObject; 1045DependencyObject dObject = root as DependencyObject;
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
2249internal static Type GetTypeFromName(string typeName, DependencyObject element)
src\Framework\System\Windows\Markup\XmlAttributeProperties.cs (12)
197[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 198public static string GetXmlSpace(DependencyObject dependencyObject) 211public static void SetXmlSpace(DependencyObject dependencyObject, string value) 231[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 232public static XmlnsDictionary GetXmlnsDictionary(DependencyObject dependencyObject) 245public static void SetXmlnsDictionary(DependencyObject dependencyObject, XmlnsDictionary value) 269[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 270public static string GetXmlnsDefinition(DependencyObject dependencyObject) 283public static void SetXmlnsDefinition(DependencyObject dependencyObject, string value) 306[AttachedPropertyBrowsableForType(typeof(DependencyObject))] 307public static string GetXmlNamespaceMaps(DependencyObject dependencyObject) 323public static void SetXmlNamespaceMaps(DependencyObject dependencyObject, string value)
src\Framework\System\Windows\Media\Animation\BeginStoryboard.cs (3)
193Begin( (fe != null ) ? (DependencyObject)fe : (DependencyObject)fce, nameScope, layer ); 203private void Begin( DependencyObject targetObject, INameScope nameScope, Int64 layer )
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimation.cs (1)
415private static void AnimationFunction_Changed(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Media\Animation\Storyboard.cs (59)
37TargetProperty = DependencyProperty.RegisterAttached("Target", typeof(DependencyObject), typeof(Storyboard), targetPropertyMetadata); 83public static void SetTarget(DependencyObject element, DependencyObject value) 98public static DependencyObject GetTarget(DependencyObject element) 101return (DependencyObject)element.GetValue(TargetProperty); 105DependencyObject d, 132public static void SetTargetName(DependencyObject element, String name) 142public static string GetTargetName(DependencyObject element) 162public static void SetTargetProperty(DependencyObject element, PropertyPath path) 172public static PropertyPath GetTargetProperty(DependencyObject element) 187public ObjectPropertyPair(DependencyObject o, DependencyProperty p) 215public DependencyObject DependencyObject { get { return _object; } } 218private DependencyObject _object; 239internal static DependencyObject ResolveTargetName( 242DependencyObject element ) 246DependencyObject targetObject = null; 281targetObject = namedObject as DependencyObject; 373DependencyObject containingObject, /* Remains the same through all the recursive calls */ 375DependencyObject parentObject, 384DependencyObject targetObject = parentObject; 404DependencyObject localTargetObject = (DependencyObject) currentTimeline.GetValue(TargetProperty); 429DependencyObject mentor = Helper.FindMentor(containingObject); 530private static void ApplyMediaClock( INameScope nameScope, DependencyObject containingObject, 531DependencyObject currentObject, string currentObjectName, MediaClock mediaClock ) 538DependencyObject mentor = Helper.FindMentor(containingObject); 740DependencyObject intermediateDO = intermediateObject as DependencyObject; 807private void ProcessComplexPath( HybridDictionary clockMappings, DependencyObject targetObject, 837DependencyObject animatedObject = path.LastItem as DependencyObject; 882animatedObject = path.LastItem as DependencyObject; 929private void VerifyComplexPathSupport( DependencyObject targetObject ) 955DependencyObject targetObject, 1197DependencyObject containingObject = this; // Helper.FindMentor(this); 1209internal void BeginCommon( DependencyObject containingObject, INameScope nameScope, 1325private Nullable<Double> GetCurrentGlobalSpeedImpl( DependencyObject containingObject ) 1374private Nullable<Int32> GetCurrentIterationImpl( DependencyObject containingObject ) 1422private Nullable<Double> GetCurrentProgressImpl( DependencyObject containingObject ) 1461private ClockState GetCurrentStateImpl( DependencyObject containingObject ) 1510private Nullable<TimeSpan> GetCurrentTimeImpl( DependencyObject containingObject ) 1550private bool GetIsPausedImpl( DependencyObject containingObject ) 1590private void PauseImpl(DependencyObject containingObject) 1633private void RemoveImpl(DependencyObject containingObject) 1684private void ResumeImpl( DependencyObject containingObject ) 1743private void SeekImpl( DependencyObject containingObject, TimeSpan offset, TimeSeekOrigin origin ) 1794private void SeekAlignedToLastTickImpl( DependencyObject containingObject, TimeSpan offset, TimeSeekOrigin origin ) 1835private void SetSpeedRatioImpl( DependencyObject containingObject, double speedRatio ) 1872private void SkipToFillImpl( DependencyObject containingObject ) 1909private void StopImpl( DependencyObject containingObject ) 1944private Clock GetStoryboardClock(DependencyObject o) 1957private Clock GetStoryboardClock(DependencyObject o, bool throwIfNull, InteractiveOperation operation) 2019private void SetStoryboardClock(DependencyObject o, Clock clock) 2051private static CloneCacheEntry GetComplexPathClone(DependencyObject o, DependencyProperty dp) 2069DependencyObject o, 2119internal ChangeListener( DependencyObject target, Freezable clone, DependencyProperty property, Freezable original ) 2165DependencyObject target, 2223DependencyObject _target; // The object to invalidate
src\Framework\System\Windows\Media\TextOptions.cs (6)
68public static void SetTextFormattingMode(DependencyObject element, TextFormattingMode value) 78public static TextFormattingMode GetTextFormattingMode(DependencyObject element) 88public static void SetTextRenderingMode(DependencyObject element, TextRenderingMode value) 98public static TextRenderingMode GetTextRenderingMode(DependencyObject element) 109public static void SetTextHintingMode(DependencyObject element, TextHintingMode value) 119public static TextHintingMode GetTextHintingMode(DependencyObject element)
src\Framework\System\Windows\MultiDataTrigger.cs (1)
150internal override bool GetCurrentState(DependencyObject container, UncommonField<HybridDictionary[]> dataField)
src\Framework\System\Windows\MultiTrigger.cs (1)
124internal override bool GetCurrentState(DependencyObject container, UncommonField<HybridDictionary[]> dataField)
src\Framework\System\Windows\Navigation\JournalEntry.cs (4)
170public static string GetName(DependencyObject dependencyObject) 182public static void SetName(DependencyObject dependencyObject, string name) 202public static bool GetKeepAlive(DependencyObject dependencyObject) 219public static void SetKeepAlive(DependencyObject dependencyObject, bool keepAlive)
src\Framework\System\Windows\Navigation\JournalEntryListConverter.cs (3)
93public static JournalEntryPosition GetJournalEntryPosition(DependencyObject element) 106public static void SetJournalEntryPosition(DependencyObject element, JournalEntryPosition position) 176DependencyObject current = new DependencyObject();
src\Framework\System\Windows\Navigation\NavigationService.cs (28)
126DependencyObject dobj = e.OriginalSource as DependencyObject; 370DependencyObject targetElement = null; 384targetElement = LogicalTreeHelper.FindLogicalNode((DependencyObject)_bp, elementId) as DependencyObject; 427BringIntoView(_bp as DependencyObject); 431private static void BringIntoView(DependencyObject elem) 711NavigationService newParent = ((DependencyObject)INavigatorHost).GetValue(NavigationServiceProperty) as NavigationService; 863DependencyObject o = _bp as DependencyObject; 892private void SetBaseUri(DependencyObject dobj, Uri fullUri) 920DependencyObject dobj = oldTree as DependencyObject; 957DependencyObject focusScope = (DependencyObject)INavigatorHost; 1099DependencyObject dobj = newTree as DependencyObject; 1485public static NavigationService GetNavigationService(DependencyObject dependencyObject) 3562DependencyObject dependencyObject = _bp as DependencyObject; 3792DependencyObject navigator = INavigatorHost as DependencyObject; 4104DependencyObject dobj = parentElem as DependencyObject; 4109var host = this.INavigatorHost as DependencyObject; 4767DependencyObject dobj = node as DependencyObject;
src\Framework\System\Windows\Navigation\NavigationWindow.cs (4)
93private static void OnSandboxExternalContentPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 107private static object CoerceSandBoxExternalContentValue(DependencyObject d, object value) 602private static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 1020private static object CoerceContent(DependencyObject d, object value)
src\Framework\System\Windows\PropertyPath.cs (3)
618(item is INotifyPropertyChanged || item is DependencyObject)) 891DependencyObject hostElement = context as DependencyObject;
src\Framework\System\Windows\RequestBringIntoViewEventArgs.cs (3)
12internal RequestBringIntoViewEventArgs(DependencyObject target, Rect targetRect) 21public DependencyObject TargetObject 51private DependencyObject _target; // The object to Bring Into View
src\Framework\System\Windows\ResourceDictionary.cs (13)
1457DependencyObject inheritanceContext = owner as DependencyObject; 2304DependencyObject inheritanceContext = InheritanceContext; 2318private void AddInheritanceContext(DependencyObject inheritanceContext, object value) 2332DependencyObject doValue = value as DependencyObject; 2343DependencyObject inheritanceContext = InheritanceContext; 2364DependencyObject doValue = value as DependencyObject; 2365DependencyObject inheritanceContext = InheritanceContext; 2406private DependencyObject InheritanceContext 2411? (DependencyObject)_inheritanceContext.Target 2631private static readonly DependencyObject DummyInheritanceContext = new DependencyObject();
src\Framework\System\Windows\ResourceReferenceExpression.cs (8)
52internal override object GetValue(DependencyObject d, DependencyProperty dp) 73internal override Expression Copy( DependencyObject targetObject, DependencyProperty targetDP ) 90internal object GetRawValue(DependencyObject d, out object source, DependencyProperty dp) 201internal override bool SetValue(DependencyObject d, DependencyProperty dp, object value) 211internal override void OnAttach(DependencyObject d, DependencyProperty dp) 233internal override void OnDetach(DependencyObject d, DependencyProperty dp) 492private DependencyObject _mentorCache; 495private DependencyObject _targetObject;
src\Framework\System\Windows\ResourcesChangeInfo.cs (3)
75DependencyObject container) 203internal DependencyObject Container 335private DependencyObject _container;
src\Framework\System\Windows\Shapes\Shape.cs (1)
114private static void OnPenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\Shell\ThumbButtonInfo.cs (1)
106private static object CoerceDescription(DependencyObject d, object value)
src\Framework\System\Windows\Shell\WindowChrome.cs (9)
60private static void _OnChromeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 117var dobj = inputElement as DependencyObject; 130var dobj = inputElement as DependencyObject; 149var dobj = inputElement as DependencyObject; 162var dobj = inputElement as DependencyObject;
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
168private static void _OnChromeWorkerChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
src\Framework\System\Windows\StyleHelper.cs (108)
67DependencyObject d = fe; 103DependencyObject d = fe; 296DependencyObject d = fe; 1347DependencyObject container = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 1371DependencyObject container, 1412DependencyObject container, 1413DependencyObject child, 1434DependencyObject container, 1484DependencyObject container, 1498DependencyObject container, 1534DependencyObject container, 1535DependencyObject child, 1573DependencyObject target, 1622DependencyObject target, 1771DependencyObject container, 1795List<DependencyObject> affectedChildren = new List<DependencyObject>(lastChildIndex); 1805List<DependencyObject> noChildIndexChildren = null; 1810DependencyObject treeRoot = templateRoot.InstantiateTree( 1854List<DependencyObject> affectedChildren = new List<DependencyObject>(lastChildIndex); 1860DependencyObject treeRoot; 2048DependencyObject container, 2054DependencyObject walkNode = container; 2055DependencyObject nextParent = null; 2142List<DependencyObject> templatedChildren; 2154DependencyObject rootNode = null; 2221List<DependencyObject> templateChain, 2238DependencyObject walk = templateChain[i]; 2269DependencyObject walk = templateChain[i]; 2332internal static void SpecialDowncastToFEorFCE(DependencyObject d, 2406Helper.DowncastToFEorFCE((DependencyObject)sender, out fe, out fce, false); 2461Helper.DowncastToFEorFCE((DependencyObject)sender, out fe, out fce, false); 2463DependencyObject templatedParent; 2564DependencyObject container, 2618DependencyObject container, 2670DependencyObject sourceNode; 2867DependencyObject container, 2909DependencyObject container, 2918DependencyObject child = null; 3005entry.ResetValue(DependencyObject.ExpressionInAlternativeStore, true); 3006entry.SetExpressionValue(expr.GetValue(child, dp), DependencyObject.ExpressionInAlternativeStore); 3166DependencyObject container = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 3248DependencyObject container = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 3314DependencyObject container; 3450DependencyObject container, 3491DependencyObject container, 3602internal static void UpdateLoadedFlag( DependencyObject d, 3619internal static void UpdateLoadedFlag( DependencyObject d, 3646DependencyObject container, 3688DependencyObject container, 3707DependencyObject target = child.DO; 3723DependencyObject container, 3762DependencyObject container, 3845DependencyObject target = fo.DO; 4062DependencyObject container, 4067List<DependencyObject> styledChildren = TemplatedFeChildrenField.GetValue(container); 4080DependencyObject child = null; 4131DependencyObject container, 4132DependencyObject child, 4194DependencyObject container, 4302DependencyObject container, 4377DependencyObject container, 4386DependencyObject child = null; 4401List<DependencyObject> styledChildren = TemplatedFeChildrenField.GetValue(container); 4435DependencyObject triggerContainer, BindingBase binding, BindingValueChangedEventArgs bindingChangedArgs, 4472DependencyObject triggerContainer, DependencyProperty changedProperty, 4525DependencyObject triggerContainer = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 4555DependencyObject triggerContainer = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 4563private static void ExecuteOnApplyEnterExitActionsLoop( DependencyObject triggerContainer, TriggerCollection triggers, 4651bool oldState, bool newState, DependencyObject triggerContainer, 4681TriggerBase triggerBase, DependencyObject triggerContainer, 4709private static bool CanInvokeActionsNow( DependencyObject container, 4757DependencyObject triggerContainer, TriggerActionCollection actions, 4761ConditionalWeakTable<DependencyObject, List<DeferredAction>> deferredActions; 4772deferredActions = new ConditionalWeakTable<DependencyObject, List<DeferredAction>>(); 4799internal static void InvokeDeferredActions( DependencyObject triggerContainer, 4825DependencyObject triggerContainer, TriggerActionCollection actions, 4843DependencyObject triggerContainer, DependencyProperty changedProperty, DependencyPropertyChangedEventArgs changedArgs, 4887DependencyObject triggerContainer, 4910DependencyObject triggerContainer, DependencyProperty changedProperty, DependencyPropertyChangedEventArgs changedArgs, 4915DependencyObject evaluationNode = null; 4982DependencyObject triggerContainer, 5132DependencyObject container = bindingExpr.TargetElement; 5169DependencyObject container = bindingExpr.TargetElement; 5212DependencyObject container = bindingExpr.TargetElement; 5247DependencyObject container, 5388DependencyObject container, 5425internal static DependencyObject GetChild(DependencyObject container, int childIndex) 5434internal static DependencyObject GetChild(List<DependencyObject> styledChildren, int childIndex) 5451DependencyObject child = styledChildren[childIndex - 1]; 5475DependencyObject.RegisterForAlternativeExpressionStorage( 5481DependencyObject d, 5507DependencyObject d, 5642internal static readonly UncommonField<List<DependencyObject>> TemplatedFeChildrenField = new UncommonField<List<DependencyObject>>();
src\Framework\System\Windows\SystemResources.cs (1)
540_windowsBase = typeof(DependencyObject).Assembly;
src\Framework\System\Windows\TemplateBindingExpression.cs (1)
54internal override object GetValue(DependencyObject d, DependencyProperty dp)
src\Framework\System\Windows\TemplateNameScope.cs (11)
43internal TemplateNameScope(DependencyObject templatedParent) 50DependencyObject templatedParent, 51List<DependencyObject> affectedChildren, 91Helper.DowncastToFEorFCE( scopedElement as DependencyObject, 146_affectedChildren.Add(scopedElement as DependencyObject); 178BroadcastEventHelper.AddHasLoadedChangeHandlerFlagInAncestry((fe != null) ? (DependencyObject)fe : (DependencyObject)fce); 188(fe!=null) ? (DependencyObject)fe : (DependencyObject)fce, 261private List<DependencyObject> _affectedChildren; 267private DependencyObject _templatedParent;
src\Framework\System\Windows\TreeChangeInfo.cs (7)
32public TreeChangeInfo(DependencyObject root, DependencyObject parent, bool isAddOperation) 55DependencyObject d, 56DependencyObject parent, 78DependencyObject inheritanceParent = parent.InheritanceParent; 238internal DependencyObject Root 250private DependencyObject _rootOfChange;
src\Framework\System\Windows\TreeWalkHelper.cs (24)
40DependencyObject parent, 75DependencyObject d = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 166DependencyObject d, 210DependencyObject d, 253DependencyObject d = fe != null ? (DependencyObject)fe : (DependencyObject)fce; 315DependencyObject d, 477DependencyObject d = (fe != null) ? (DependencyObject)fe : (DependencyObject)fce; 502DependencyObject d, 518DependencyObject d, 684DependencyObject d, 746DependencyObject d, 919DependencyObject d = fo.DO; 940DependencyObject d, 966DependencyObject parent = FrameworkElement.GetFrameworkParent(d); 1011DependencyObject logicalParent = LogicalTreeHelper.GetParent(d); 1014DependencyObject visualParent = VisualTreeHelper.GetParent(d); 1102internal static void OnInheritedPropertyChanged(DependencyObject d, 1121DependencyObject d,
src\Framework\System\Windows\Trigger.cs (1)
236internal override bool GetCurrentState(DependencyObject container, UncommonField<HybridDictionary[]> dataField)
src\Framework\System\Windows\TriggerAction.cs (4)
121internal override DependencyObject InheritanceContext 127internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 136internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 156private DependencyObject _inheritanceContext = null;
src\Framework\System\Windows\TriggerActionCollection.cs (4)
171InheritanceContextHelper.RemoveContextFromObject(Owner, oldValue as DependencyObject); 192InheritanceContextHelper.ProvideContextForObject(_owner, value as DependencyObject); 276internal DependencyObject Owner 327private DependencyObject _owner = null;
src\Framework\System\Windows\TriggerBase.cs (5)
319internal override DependencyObject InheritanceContext 325internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 334internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 375internal virtual bool GetCurrentState(DependencyObject container, UncommonField<HybridDictionary[]> dataField) 400private DependencyObject _inheritanceContext = null;
src\Framework\System\Windows\VisualStateManager.cs (3)
544DependencyObject target = Storyboard.GetTarget(source); 549target = root.FindName(targetName) as DependencyObject; 834private DependencyObject _target;
src\Framework\System\Windows\Window.cs (42)
604public static Window GetWindow(DependencyObject dependencyObject) 823private static void OnAllowsTransparencyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 827private static object CoerceAllowsTransparency(DependencyObject d, object value) 1500private static object CoerceWindowStyle(DependencyObject d, object value) 1782/// This corresponds to <see cref="OnVisualChildrenChanged(DependencyObject, DependencyObject)"/>. 1785/// need to know which children have changed. Therefore the <see cref="DependencyObject"/> 1786/// parameters of <see cref="OnVisualChildrenChanged(DependencyObject, DependencyObject)"/> are 1824protected internal sealed override void OnVisualParentChanged(DependencyObject oldParent) 2138DependencyObject doContent = Content as DependencyObject; 2163protected internal override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved) 5255private static void _OnIconChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5281private static void _OnTitleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5299private static void _OnShowInTaskbarChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5370private static void _OnWindowStateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5507private static void _OnWindowStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5538private static void _OnTopmostChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5572private static object CoerceVisibility(DependencyObject d, object value) 5596private static void _OnVisibilityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5903private static object _SizeToContentGetValueOverride(DependencyObject d) 5914private static void _OnSizeToContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 5975private static void _OnHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6002private static void _OnMinHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6041private static void _OnMaxHeightChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6079private static void _OnWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6100private static void _OnMinWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6141private static void _OnMaxWidthChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6346private static object CoerceTop(DependencyObject d, object value) 6383private static void _OnTopChanged (DependencyObject d , DependencyPropertyChangedEventArgs e) 6422private static object CoerceLeft(DependencyObject d, object value) 6458private static void _OnLeftChanged (DependencyObject d, DependencyPropertyChangedEventArgs e) 6543private static void _OnResizeModeChanged (DependencyObject d, DependencyPropertyChangedEventArgs e) 6567private static object VerifyAccessCoercion(DependencyObject d, object value) 6575private static void _OnFlowDirectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6598private static object CoerceRenderTransform(DependencyObject d, object value) 6615private static void _OnRenderTransformChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 6619private static object CoerceClipToBounds(DependencyObject d, object value) 6628private static void _OnClipToBoundsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 7380if (!PresentationSource.UnderSamePresentationSource(e.OriginalSource as DependencyObject, this))
PresentationFramework.Aero (16)
Microsoft\Windows\Themes\BulletChrome.cs (5)
41private static void OnIsEnabledChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 117private static void OnRenderMouseOverChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 339private static void OnRenderPressedChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 495private static void OnIsCheckedChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 574private static void OnIsRoundChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
Microsoft\Windows\Themes\ButtonChrome.cs (3)
115private static void OnRenderDefaultedChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 204private static void OnRenderMouseOverChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 295private static void OnRenderPressedChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
Microsoft\Windows\Themes\ListBoxChrome.cs (2)
131private static void OnRenderMouseOverChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 197private static void OnRenderFocusedChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
Microsoft\Windows\Themes\ScrollChrome.cs (5)
69public static ScrollGlyph GetScrollGlyph(DependencyObject element) 81public static void SetScrollGlyph(DependencyObject element, ScrollGlyph value) 105private static void OnEnabledChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 213private static void OnRenderMouseOverChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 317private static void OnRenderPressedChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
91private static void ClearBrushes(DependencyObject o, DependencyPropertyChangedEventArgs e)
PresentationFramework.Classic (2)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
408private static void BorderBrushesChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
91private static void ClearBrushes(DependencyObject o, DependencyPropertyChangedEventArgs e)
PresentationFramework.Luna (4)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
64private static void OnThemeColorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
106public static ScrollGlyph GetScrollGlyph(DependencyObject element) 118public static void SetScrollGlyph(DependencyObject element, ScrollGlyph value)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
91private static void ClearBrushes(DependencyObject o, DependencyPropertyChangedEventArgs e)
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\ScrollChrome.cs (2)
88public static ScrollGlyph GetScrollGlyph(DependencyObject element) 100public static void SetScrollGlyph(DependencyObject element, ScrollGlyph value)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
91private static void ClearBrushes(DependencyObject o, DependencyPropertyChangedEventArgs e)
System.Activities.Core.Presentation (62)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (2)
210static void OnValueChanged(DependencyObject sender, DependencyPropertyChangedEventArgs eventArgs) 215static void OnValueTypeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs eventArgs)
System\Activities\Core\Presentation\Factories\GenericForEachWithBodyFactory.cs (1)
12public Activity Create(DependencyObject target)
System\Activities\Core\Presentation\Factories\GenericParallelForEachWithBodyFactory.cs (1)
12public Activity Create(DependencyObject target)
System\Activities\Core\Presentation\Factories\PickWithTwoBranchesFactory.cs (1)
12public Activity Create(DependencyObject target)
System\Activities\Core\Presentation\Factories\StateMachineWithInitialStateFactory.cs (1)
23public Activity Create(DependencyObject target)
System\Activities\Core\Presentation\FlowchartDesigner.Helpers.cs (1)
31DependencyObject obj = result.VisualHit;
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (13)
362internal static List<ConnectionPoint> GetConnectionPoints(DependencyObject obj) 367internal static ConnectionPoint GetFalseConnectionPoint(DependencyObject obj) 372internal static ModelItem GetLinkModelItem(DependencyObject obj) 377internal static ModelItem GetFlowElementModelItem(DependencyObject obj) 382internal static ConnectionPoint GetTrueConnectionPoint(DependencyObject obj) 492static void SetConnectionPoints(DependencyObject obj, List<ConnectionPoint> connectionPoints) 498static void SetFalseConnectionPoint(DependencyObject obj, ConnectionPoint connectionPoint) 503static void SetLinkModelItem(DependencyObject obj, ModelItem modelItem) 508static void SetFlowElementModelItem(DependencyObject obj, ModelItem modelItem) 513static void SetTrueConnectionPoint(DependencyObject obj, ConnectionPoint connectionPoint) 956if (object.Equals(primarySelection, FlowchartDesigner.GetLinkModelItem(sender as DependencyObject))) 1207FlowchartDesigner.SetFlowElementModelItem(view as DependencyObject, flowElementMI); 2042UIElement destElement = VisualTreeUtils.FindVisualAncestor<VirtualizedContainerService.VirtualizingContainer>(e.OriginalSource as DependencyObject);
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (1)
202static void OnShowAllConditionsChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (1)
35public FlowSwitchCaseEditorDialog(ModelItem activity, EditingContext context, DependencyObject owner, string title, Type genericType)
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (1)
260static void OnShowAllConditionsChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
System\Activities\Core\Presentation\FlowSwitchLink.cs (3)
324static void OnCasePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 330static void OnIsDefaultCasePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 399static void OnDefaultCaseDisplayNamePropertyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
System\Activities\Core\Presentation\ReorderableListEditor.xaml.cs (1)
56ListBoxItem item = VisualTreeUtils.FindVisualAncestor<ListBoxItem>(e.OriginalSource as DependencyObject);
System\Activities\Core\Presentation\StateContainerEditor.Utilities.cs (5)
25internal static ModelItem GetConnectorModelItem(DependencyObject obj) 30static void SetConnectorModelItem(DependencyObject obj, ModelItem modelItem) 35internal static List<ConnectionPoint> GetConnectionPoints(DependencyObject obj) 48static void SetConnectionPoints(DependencyObject obj, List<ConnectionPoint> connectionPoints) 108DependencyObject obj = result.VisualHit;
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (7)
1236VisualTreeUtils.FindVisualAncestor<VirtualizedContainerService.VirtualizingContainer>(Mouse.DirectlyOver as DependencyObject); 1333DependencyObject startDot = (DependencyObject)sender; 1357if (object.Equals(primarySelection, StateContainerEditor.GetConnectorModelItem(sender as DependencyObject))) 1433this.DesignerView.MakeRootDesigner(StateContainerEditor.GetConnectorModelItem(sender as DependencyObject)); 1442ModelItem connectorModelItem = StateContainerEditor.GetConnectorModelItem(sender as DependencyObject); 1739VirtualizedContainerService.VirtualizingContainer destElement = VisualTreeUtils.FindVisualAncestor<VirtualizedContainerService.VirtualizingContainer>(e.OriginalSource as DependencyObject);
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
544for (DependencyObject obj = result.VisualHit;
System\Activities\Presentation\ActivityDesignerHelper.cs (1)
128public static string GenerateUniqueVariableNameForContext(DependencyObject context, string prefix)
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (2)
314static void OnIsDirectionReadOnlyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 833static void OnArgumentPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System\Activities\Presentation\DynamicArgumentDialog.cs (2)
20DynamicArgumentDialog(ModelItem activity, ModelItem data, EditingContext context, DependencyObject owner, DynamicArgumentDesignerOptions options) 45public static bool ShowDialog(ModelItem activity, ModelItem data, EditingContext context, DependencyObject owner, DynamicArgumentDesignerOptions options)
System\Activities\Presentation\TypeCollectionPropertyEditor.cs (1)
83public EditorWindow(ModelItem activity, IEnumerable<Type> data, EditingContext context, DependencyObject owner, bool allowDuplicate, Func<Type, bool> filter, Type defaultType)
System\ServiceModel\Activities\Presentation\BindingEditor.xaml.cs (1)
91static void OnBindingChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (2)
244static void OnIsSelectionValidChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 249static void OnTypesToExpandChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System\ServiceModel\Activities\Presentation\CorrelationDataDesigner.xaml.cs (3)
110static void OnActivityChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 119static void OnCorrelationDataChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 221static void OnKeyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System\ServiceModel\Activities\Presentation\CorrelationInitializerDesigner.xaml.cs (1)
129static void OnActivityChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System\ServiceModel\Activities\Presentation\Factories\ReceiveAndSendReplyFactory.cs (1)
24public Activity Create(DependencyObject target)
System\ServiceModel\Activities\Presentation\Factories\SendAndReceiveReplyFactory.cs (1)
24public Activity Create(DependencyObject target)
System\ServiceModel\Activities\Presentation\MessageQueryEditor.xaml.cs (1)
85protected override DependencyObject GetContainerForItemOverride()
System\ServiceModel\Activities\Presentation\MessageQuerySetDesigner.xaml.cs (2)
216static void OnActivityChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 227static void OnMessageQuerySetContainerChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System\ServiceModel\Activities\Presentation\ReceiveContentDialog.xaml.cs (2)
27ReceiveContentDialog(ModelItem activity, EditingContext context, DependencyObject owner) 47public static bool ShowDialog(ModelItem activity, EditingContext context, DependencyObject owner)
System\ServiceModel\Activities\Presentation\SendContentDialog.xaml.cs (2)
27SendContentDialog(ModelItem activity, EditingContext context, DependencyObject owner) 47public static bool ShowDialog(ModelItem activity, EditingContext context, DependencyObject owner)
System.Activities.Presentation (307)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateInfoPresenter.xaml.cs (1)
35private static void OnDelegateInfoChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (2)
116private static void OnActivityDelegateChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 121private static void OnHandlerChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (2)
65public static AdornerLocation GetAnchor(DependencyObject obj) 70public static void SetAnchor(DependencyObject obj, AdornerLocation anchor)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (1)
543PropertyDescriptor p = DependencyPropertyDescriptor.FromName(kvMember.Key, kv.Key, typeof(DependencyObject));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryContainerAutomationPeer.cs (2)
277bool curVal = PropertySelection.GetIsSelected(sender as DependencyObject); 553bool curVal = PropertySelection.GetIsSelected(sender as DependencyObject);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\PropertyContainerAutomationPeer.cs (1)
143bool curVal = PropertySelection.GetIsSelected(sender as DependencyObject);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CategoryList.cs (7)
288protected override DependencyObject GetContainerForItemOverride() 295protected override void PrepareContainerForItemOverride(DependencyObject element, object item) 535DependencyObject newSelection = SelectionPathResolver.ResolveSelectionPath(this, path, out pendingGeneration); 551Select(e.OriginalSource as DependencyObject); 569Select(e.OriginalSource as DependencyObject); 706private void SelectAndFocus(DependencyObject element, StealFocusMode focusMode) 714private void Select(DependencyObject visualSource)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CiderCategoryContainer.cs (1)
181private static object CoerceIsEmpty(DependencyObject obj, object value)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CiderCategoryLayoutContainer.cs (1)
22protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\CiderStandardCategoryLayout.cs (1)
25protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (3)
60public static bool GetApplyFix(DependencyObject obj) 76public static void SetApplyFix(DependencyObject obj, bool value) 87private static void OnApplyFixPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (1)
36static void OnFlagTypeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\quickitemtemplateselector.cs (2)
44public override DataTemplate SelectTemplate(object item, DependencyObject container) 49private bool HasChoiceEditorParent(DependencyObject element)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyEditor.cs (3)
234private static void OnPropertyEntryChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 270private static void OnIsExpandedChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 302private static void OnCurrentQuickTypeChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Diagnostics\AutomationId.cs (2)
25public static string GetId(DependencyObject o) 35public static void SetId(DependencyObject o, string val)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Controls\WorkaroundPopup.cs (2)
75else if (this.IsDescendentOfPopup(sender as DependencyObject)) 102private bool IsDescendentOfPopup(DependencyObject currentObject)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (9)
160public static void SetOwningCategoryContainer(DependencyObject dependencyObject, CategoryContainer value) 174public static CategoryContainer GetOwningCategoryContainer(DependencyObject dependencyObject) 183public static Popup GetPopupHost(DependencyObject target) 188public static void SetPopupHost(DependencyObject target, Popup value) 193private static void OnPopupHostChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 210private static void OnCategoryPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 339private static void OnExpandedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 358private static void OnAdvancedPropertyMatchesFilterChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 367private static object CoerceShowAdvancedHeader(DependencyObject d, object value)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryLayoutContainer.cs (1)
18protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\IPropertyInspector.cs (4)
36public static void SetOwningPropertyInspectorModel(DependencyObject dependencyObject, IPropertyInspector value) 50public static IPropertyInspector GetOwningPropertyInspectorModel(DependencyObject dependencyObject) 66public static void SetOwningPropertyInspectorElement(DependencyObject dependencyObject, UIElement value) 80public static UIElement GetOwningPropertyInspectorElement(DependencyObject dependencyObject)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\PropertyContainerPopupHelper.cs (2)
52DependencyObject potentialDescendant = Mouse.Captured as DependencyObject;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\StandardCategoryLayout.cs (2)
23protected override DependencyObject GetContainerForItemOverride() 28protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (9)
143DependencyObject newFocusObject = e.NewFocus as DependencyObject; 215public static void SetFocusScopePriority(DependencyObject element, int value) 228public static int GetFocusScopePriority(DependencyObject element) 237public static void SetAllowedFocus(DependencyObject element, bool value) 246public static bool GetAllowedFocus(DependencyObject element) 255private static void FocusScopePriorityChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 260private static object FocusManager_CoerceFocusedElement(DependencyObject d, object value) 270private static void AllowedFocusChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (9)
591private static void ValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 604private static void ValueIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 614private static void ItemsSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 623private static void IsEditableChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 633private static void IsNinchedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 642private static object CoerceShowFullControl(DependencyObject target, object value) 670private static void ItemTemplateChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 679private static void ItemTemplateSelectorChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 688private static object CoerceUseItemTemplateForSelection(DependencyObject target, object value)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (3)
119private static void ValueChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 128private static void IsNinchedChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) 137private static void IsEditingChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (2)
32public static bool GetHandlesCommitKeys(DependencyObject dependencyObject) 37public static void SetHandlesCommitKeys(DependencyObject dependencyObject, bool value)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyToolBar.cs (2)
222private static void OnCurrentViewManagerChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 264private static void OnCategoryListChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (2)
179DependencyObject source = showDialogCommandSource as DependencyObject;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (2)
204DependencyObject source = e.OriginalSource as DependencyObject;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryContainerSelectionPathInterpreter.cs (4)
53public DependencyObject ResolveSelectionPath(CategoryList root, SelectionPath path, out bool pendingGeneration) 78DependencyObject categoryVisual = root.FindCategoryEntryVisual(category); 84DependencyObject searchStart; 98return PropertySelection.FindNeighborSelectionStop<DependencyObject>(searchStart, SearchDirection.Next);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\CategoryEditorSelectionPathInterpreter.cs (1)
48public DependencyObject ResolveSelectionPath(CategoryList root, SelectionPath path, out bool pendingGeneration)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\ISelectionPathInterpreter.cs (1)
32DependencyObject ResolveSelectionPath(CategoryList root, SelectionPath path, out bool pendingGeneration);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelection.cs (31)
92internal static bool GetIsSelected(DependencyObject obj) 104internal static void SetIsSelected(DependencyObject obj, bool value) 122internal static ISelectionStop GetSelectionStop(DependencyObject obj) 137internal static void SetSelectionStop(DependencyObject obj, ISelectionStop value) 151internal static void ClearSelectionStop(DependencyObject obj) 169internal static bool GetIsSelectionStopDoubleClickTarget(DependencyObject obj) 184internal static void SetIsSelectionStopDoubleClickTarget(DependencyObject obj, bool value) 198internal static void ClearIsSelectionStopDoubleClickTarget(DependencyObject obj) 213private static void OnIsSelectionStopDoubleClickTargetChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 255DependencyObject target = e.OriginalSource as DependencyObject; 297internal static bool GetIsSelectionScope(DependencyObject obj) 312internal static void SetIsSelectionScope(DependencyObject obj, bool value) 329internal static FrameworkElement GetKeyDownTarget(DependencyObject obj) 344internal static void SetKeyDownTarget(DependencyObject obj, FrameworkElement value) 356private static void OnKeyDownTargetChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 414DependencyObject keySender = sender as DependencyObject; 456internal static T FindParentSelectionStop<T>(DependencyObject element) where T : DependencyObject 486internal static T FindNeighborSelectionStop<T>(DependencyObject element, SearchDirection direction) where T : DependencyObject 512DependencyObject parent = element; 588private static DependencyObject GetEligibleParent(DependencyObject element, out int childIndex, out int childrenCount, out int childDepth, out bool isSelectionStop, out bool isSelectionScope) 617private static T FindChildSelectionStop<T>(DependencyObject parent, int leftIndex, int rightIndex, SearchDirection iterationDirection, int maxDepth, MatchDirection matchDirection) 618where T : DependencyObject 632DependencyObject child = VisualTreeHelper.GetChild(parent, index); 676private static bool IsExpanded(DependencyObject element) 685private static bool IsEligibleSelectionStop<T>(DependencyObject element) where T : DependencyObject
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\PropertySelectionPathInterpreter.cs (2)
48public DependencyObject ResolveSelectionPath(CategoryList root, SelectionPath path, out bool pendingGeneration) 81DependencyObject lastFoundContainer = currentContainer;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Selection\SelectionPathResolver.cs (1)
61public static DependencyObject ResolveSelectionPath(CategoryList root, SelectionPath path, out bool pendingGeneration)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\SharedPropertyValueColumnWidthContainer.cs (2)
159public static void SetOwningSharedPropertyValueColumnWidthContainer(DependencyObject obj, SharedPropertyValueColumnWidthContainer value) 175public static SharedPropertyValueColumnWidthContainer GetOwningSharedPropertyValueColumnWidthContainer(DependencyObject obj)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\VisualTreeUtils.cs (11)
36public static T GetNamedChild<T>(DependencyObject container, string name) 51public static T GetNamedChild<T>(DependencyObject container, string name, int searchDepth) 101public static T GetTemplateChild<T>(DependencyObject element) where T : DependencyObject 135public static T FindVisualAncestor<T>(DependencyObject child) where T : DependencyObject 227public static DependencyObject GetIndexedVisualParent(DependencyObject child, out int childrenCount, out int childIndex) 230DependencyObject parent = VisualTreeHelper.GetParent(child); 279public static ICollection<T> PrunVisualTree<T>(Visual root) where T : DependencyObject 329public static uint GetTreeDepth(DependencyObject element)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (2)
60private static object OnCoerceEditModeProperty(DependencyObject obj, object value) { 141private static void OnSyncModeToOwningContainerChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) {
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (6)
105private static void PropertyEntryPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 158private static void OnActiveEditModePropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 243public static void SetOwningPropertyContainer(DependencyObject dependencyObject, PropertyContainer value) 257public static PropertyContainer GetOwningPropertyContainer(DependencyObject dependencyObject) 299private static void RowTemplateChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 418private static void DefaultPropertyValueEditorChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItem.cs (1)
125public abstract DependencyObject View { get; }
System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Services\ViewService.cs (2)
36public abstract ModelItem GetModel(DependencyObject view); 50public abstract DependencyObject GetView(ModelItem model);
System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToModelItemConverter.cs (4)
152DependencyProperty.Register("WorkflowViewElement", typeof(DependencyObject), typeof(Container), new UIPropertyMetadata(null)); 157public Container(ModelItem item, EditingContext context, DependencyObject viewElement, PropertyValue value) 177public DependencyObject WorkflowViewElement 179get { return (DependencyObject)GetValue(WorkflowViewElementProperty); }
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (4)
121DependencyObject parent = container as DependencyObject; 127internal static WorkflowViewElement GetParentViewElement(DependencyObject obj) 461DependencyObject visualHit = null;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (4)
322public static IEnumerable<object> GetDroppedObjects(DependencyObject dropTarget, DragEventArgs e, EditingContext context) 384public static object GetDroppedObject(DependencyObject dropTarget, DragEventArgs e, EditingContext context) 398internal static object GetDroppedObjectInstance(DependencyObject dropTarget, EditingContext context, Type type, IDataObject dataObject) 460static Type ResolveGenericParameters(DependencyObject dropTarget, EditingContext context, Type type)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (17)
52internal static Rect GetAutoConnectHitRect(DependencyObject target) 115internal static Point CalculateDropLocation(Size droppedSize, DependencyObject autoConnectTarget, AutoConnectDirections direction, HashSet<Point> shapeLocations) 176internal static DependencyObject GetShapeContainingPoint(Point point, List<DependencyObject> shapes) 178DependencyObject result = null; 180foreach (DependencyObject shape in shapes) 199internal DependencyObject FindTarget(Point point, DependencyObject dragged, out AutoConnectDirections directions) 202List<DependencyObject> childShapes = this.panel.GetChildShapes(dragged); 203DependencyObject target = GetShapeContainingPoint(point, childShapes); 221DependencyObject currentTarget = this.CurrentTarget; 233DependencyObject draggedView = draggedModelItem != null ? draggedModelItem.View : null; 264private static void RemoveDirectionsInCollision(List<DependencyObject> childShapes, DependencyObject target, List<Rect> hitTestRects, ref AutoConnectDirections directions) 266foreach (DependencyObject shape in childShapes) 304private AutoConnectDirections GetAutoConnectDirections(AutoConnectDirections directions, List<DependencyObject> childShapes, DependencyObject target)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (14)
62public static Size GetChildSize(DependencyObject obj) 67public static void SetChildSize(DependencyObject obj, Size size) 170public static ConnectionPoint GetDestinationConnectionPoint(DependencyObject obj) 175public static void SetDestinationConnectionPoint(DependencyObject obj, ConnectionPoint connectionPoint) 180public static ConnectionPoint GetSourceConnectionPoint(DependencyObject obj) 185public static void SetSourceConnectionPoint(DependencyObject obj, ConnectionPoint connectionPoint) 190public static Point GetLocation(DependencyObject obj) 195public static void SetLocation(DependencyObject obj, Point point) 212internal List<DependencyObject> GetChildShapes(DependencyObject excluded) 214List<DependencyObject> children = new List<DependencyObject>(); 277DependencyObject obj = this; 556if (connector == null || (connector.StartDot != null && connector.StartDot.IsAncestorOf(e.MouseDevice.DirectlyOver as DependencyObject)))
System.Activities.Presentation\System\Activities\Presentation\Hosting\WindowHelperService.cs (2)
40public bool TrySetWindowOwner(DependencyObject source, Window target) 140internal static void TrySetWindowOwner(DependencyObject owner, EditingContext editingContext, Window wnd)
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (1)
48static void OnMapSourceChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\Model\IModelTreeItem.cs (1)
51void SetCurrentView(DependencyObject view);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (3)
35DependencyObject view; 174public override DependencyObject View 279public void SetCurrentView(DependencyObject view)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (3)
36DependencyObject view; 332public override DependencyObject View 595public void SetCurrentView(DependencyObject view)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (3)
40DependencyObject view; 168public override DependencyObject View 254void IModelTreeItem.SetCurrentView(DependencyObject view)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ActivityTemplateFactory.cs (1)
40public Activity Create(DependencyObject target)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ActivityTemplateFactory.Generic.cs (1)
42public T Create(DependencyObject target, IDataObject dataObject)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\IActivityTemplateFactory.cs (2)
11Activity Create(DependencyObject target); 16T Create(DependencyObject target, IDataObject dataObject);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (2)
191static void OnToolboxFileChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 214static void OnToolSelected(DependencyObject sender, DependencyPropertyChangedEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewContainerStyleSelector.cs (1)
122public override Style SelectStyle(object item, DependencyObject container)
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewTemplateSelector.cs (1)
22public override DataTemplate SelectTemplate(object item, DependencyObject container)
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeResolver.xaml.cs (4)
143static void OnEditedTypeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 250ChildType FindChildElement<ChildType>(DependencyObject tree) where ChildType : DependencyObject 255DependencyObject child = VisualTreeHelper.GetChild(tree, i);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (2)
511static void OnActivitySchemaChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 528static void OnContextChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (1)
17public static void AutoScroll(MouseEventArgs e, DependencyObject element, double offsetPerScroll)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (13)
103public static bool GetIsCustomEditor(DependencyObject obj) 108public static void SetIsCustomEditor(DependencyObject obj, bool value) 590var cell = VisualTreeUtils.FindVisualAncestor<DataGridCell>((DependencyObject)args.OriginalSource); 603var cell = VisualTreeUtils.FindVisualAncestor<DataGridCell>((DependencyObject)args.OriginalSource); 951static DataGridHelper GetDGHelper(DependencyObject obj) 956static void SetDGHelper(DependencyObject obj, DataGridHelper value) 961static EditingControlBehavior GetControlBehavior(DependencyObject obj) 966static void SetControlBehavior(DependencyObject obj, EditingControlBehavior value) 971static bool GetNewRowLoaded(DependencyObject obj) 976static void SetNewRowLoaded(DependencyObject obj, bool value) 981static bool GetIsCommitInProgress(DependencyObject obj) 986static void SetIsCommitInProgress(DependencyObject obj, bool value) 1056public static T GetVisualChild<T>(DependencyObject parent) where T : Visual
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (11)
379DependencyObject target = null; 380DependencyObject source = e.OriginalSource as DependencyObject; 386DependencyObject designerPresenterSource = this.designerPresenter.FindCommonVisualAncestor(source); 387DependencyObject extensionSurfaceSource = this.wfViewExtensionSurface.FindCommonVisualAncestor(source); 399if (!CommandMenuMode.Equals(CommandMenuMode.NoCommandMenu, GetCommandMenuMode((DependencyObject)e.OriginalSource))) 1717static FrameworkElement GetMenuItemOrigin(DependencyObject obj) 1722static void SetMenuItemOrigin(DependencyObject obj, FrameworkElement value) 1727public static CommandMenuMode GetCommandMenuMode(DependencyObject obj) 1732public static void SetCommandMenuMode(DependencyObject obj, CommandMenuMode value) 1746public override Style SelectStyle(object item, DependencyObject container)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (7)
249static void OnExpandAllCollapseAllChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) 856static void OnActivitySchemaChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 862static void OnRootDesignerChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 868static void OnIsReadOnlyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 874static void OnInPanModeChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 994DependencyObject focusedElement = Keyboard.FocusedElement as DependencyObject;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
452static void OnInnerControlRelatedPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (2)
33DependencyObject owner = ctx.Services.GetService<DesignerView>(); 51public EditorDialog(DependencyObject owner, PropertyValue propertyValue, EditingContext context, DataTemplate dialogTemplate, string title)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (13)
89static void OnPlacementModeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 98static void OnPlacementTargetChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 104static void OnDesignerChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 118protected override void OnVisualChildrenChanged(DependencyObject visualAdded, DependencyObject visualRemoved) 464public static void SetPlacementTarget(DependencyObject container, FrameworkElement value) 469public static FrameworkElement GetPlacementTarget(DependencyObject container) 474public static void SetAlignment(DependencyObject container, PositionAlignment value) 479public static PositionAlignment GetAlignment(DependencyObject container) 484public static void SetMode(DependencyObject container, PlacementMode value) 489public static PlacementMode GetMode(DependencyObject container) 494public static void SetPosition(DependencyObject container, Point value) 499public static Point GetPosition(DependencyObject container)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (4)
228static void OnDataChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 233static void OnPositionChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 238static void OnVisibilityChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 243protected override void OnVisualParentChanged(DependencyObject oldParent)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (1)
122protected override void OnVisualParentChanged(DependencyObject oldParent)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (1)
74protected override void OnVisualParentChanged(DependencyObject oldParent)
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
429static void OnContextChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeView.xaml.cs (1)
83protected override DependencyObject GetContainerForItemOverride()
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\DesignerTreeViewItem.cs (1)
58protected override Windows.DependencyObject GetContainerForItemOverride()
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
175public bool? ShowDialog(DependencyObject owner)
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (7)
489static void OnContextChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 495static void OnAllowNullChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 501static void OnBrowseTypeDirectlyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 518static void OnTypeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 537static void OnFilterChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 546static void OnMostRecentlyUsedTypesPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args) 555static object OnCoerceMostRecentlyUsedTypes(DependencyObject sender, object value)
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
545static void OnContextChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) 550static void OnVariableScopeChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierDesigner.xaml.cs (3)
106DependencyObject focusScope = FocusManager.GetFocusScope(this.IdentifierTextBox); 129static object OnNameChanging(DependencyObject sender, object newValue) 166static void OnIdentifierChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierName.cs (1)
97static void OnIdentifierNameChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\VersionEditor.xaml.cs (1)
56private static void OnVersionChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
266for (DependencyObject current = visual;
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
367DependencyObject parent = VisualTreeHelper.GetParent(this);
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (2)
192static object OnTextCoerceValue(DependencyObject dp, object value) 728static void OnTextChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (2)
194public override ModelItem GetModel(DependencyObject view) 210public override DependencyObject GetView(ModelItem model)
System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialog.cs (2)
66public DependencyObject Owner 180static void OnModelItemChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (2)
283DependencyObject parent = VisualTreeHelper.GetParent(this); 421static void OnItemChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (6)
190static void OnHintTextChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 196static void OnItemsChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 202static void OnItemsPanelChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e) 325DependencyObject parent = VisualTreeHelper.GetParent(this); 483if (((DependencyObject)sender).ReadLocalValue(IndexProperty) != DependencyProperty.UnsetValue) 485int index = (int)((DependencyObject)sender).GetValue(IndexProperty);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (6)
57static void OnExpandStateChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 63static void OnPinStateChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 70static void OnContextChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 76static void OnShowExpandedChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 82static void OnReadOnlyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) 898static void OnModelItemChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
WindowsBase (175)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (5)
230private bool CanAttachProperty(DependencyProperty dp, DependencyObject instance) 239private static DependencyObject FromObj(object value) 244return (DependencyObject)TypeDescriptor.GetAssociation(typeof(DependencyObject), value); 299private DependencyObject _instance;
Base\MS\Internal\ComponentModel\AttachInfo.cs (1)
169internal bool CanAttach(DependencyObject instance)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (12)
94DependencyObject DO = FromObj(component); 110DependencyObject DO = FromObj(component); 139DependencyObject DO = FromObj(component); 149DependencyObject DO = FromObj(component); 199DependencyObject DO = FromObj(component); 202_trackers = new Dictionary<DependencyObject, PropertyChangeTracker>(); 221DependencyObject DO = FromObj(component); 452private static DependencyObject FromObj(object value) 457return (DependencyObject)TypeDescriptor.GetAssociation(typeof(DependencyObject), value); 810dpType = new Type[] { TypeDescriptor.GetReflectionType(typeof(DependencyObject)) }; 853private Dictionary<DependencyObject, PropertyChangeTracker> _trackers;
Base\MS\Internal\ComponentModel\DependencyObjectProvider.cs (4)
39public DependencyObjectProvider() : base(TypeDescriptor.GetProvider(typeof(DependencyObject))) 48if (args.TypeChanged != null && typeof(DependencyObject).IsAssignableFrom(args.TypeChanged)) 105DependencyObject d = instance as DependencyObject;
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (3)
124DependencyObject filterValue; 128filterValue = (DependencyObject)TypeDescriptor.GetAssociation(_objectType, _instance); 331if (dp != null || typeof(DependencyObject).IsAssignableFrom(prop.ComponentType))
Base\MS\Internal\ComponentModel\PropertyChangeTracker.cs (3)
18internal PropertyChangeTracker(DependencyObject obj, DependencyProperty property) 27internal override void OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) 50private DependencyObject _object;
Base\MS\Internal\DefaultValueFactory.cs (1)
50internal abstract object CreateDefaultValue(DependencyObject owner, DependencyProperty property);
Base\MS\Internal\FreezableDefaultValueFactory.cs (3)
64internal override object CreateDefaultValue(DependencyObject owner, DependencyProperty property) 102internal FreezableDefaultPromoter(DependencyObject owner, DependencyProperty property) 145private readonly DependencyObject _owner;
Base\MS\Internal\InheritanceContextChangedEventManager.cs (8)
46public static void AddListener(DependencyObject source, IWeakEventListener listener) 65public static void RemoveListener(DependencyObject source, IWeakEventListener listener) 78public static void AddHandler(DependencyObject source, EventHandler<EventArgs> handler) 89public static void RemoveHandler(DependencyObject source, EventHandler<EventArgs> handler) 118DependencyObject typedSource = (DependencyObject)source; 127DependencyObject typedSource = (DependencyObject)source;
Base\MS\Internal\InheritanceContextHelper.cs (10)
33DependencyObject context, 34DependencyObject newValue ) 52DependencyObject context, 53DependencyObject oldValue ) 72internal static void AddInheritanceContext(DependencyObject newInheritanceContext, 73DependencyObject value, 75ref DependencyObject inheritanceContext ) 109internal static void RemoveInheritanceContext(DependencyObject oldInheritanceContext, 110DependencyObject value, 112ref DependencyObject inheritanceContext )
Base\MS\Internal\ObservableCollectionDefaultValueFactory.cs (3)
50internal override object CreateDefaultValue(DependencyObject owner, DependencyProperty property) 75internal ObservableCollectionDefaultPromoter(DependencyObject owner, DependencyProperty property, ObservableCollection<T> collection) 118private readonly DependencyObject _owner;
Base\MS\Internal\SystemXmlExtensionMethods.cs (1)
38internal abstract string GetXmlTagName(object item, DependencyObject target);
Base\System\Windows\AttachedPropertyBrowsableAttribute.cs (1)
48internal abstract bool IsBrowsable(DependencyObject d, DependencyProperty dp);
Base\System\Windows\AttachedPropertyBrowsableForTypeAttribute.cs (1)
106internal override bool IsBrowsable(DependencyObject d, DependencyProperty dp)
Base\System\Windows\AttachedPropertyBrowsableWhenAttributePresentAttribute.cs (1)
91internal override bool IsBrowsable(DependencyObject d, DependencyProperty dp)
Base\System\Windows\CoerceValueCallback.cs (1)
6public delegate object CoerceValueCallback(DependencyObject d, object baseValue);
Base\System\Windows\DeferredReference.cs (3)
50internal DeferredMutableDefaultReference(PropertyMetadata metadata, DependencyObject d, DependencyProperty dp) 81protected DependencyObject SourceObject 96private readonly DependencyObject _sourceObject;
Base\System\Windows\DependencyObject.cs (30)
246DependencyObject inheritanceParent = InheritanceParent; 857DependencyObject doValue = value as DependencyObject; 869internal bool ProvideSelfAsInheritanceContext( DependencyObject doValue, DependencyProperty dp ) 885DependencyObject oldInheritanceContext = doValue.InheritanceContext; 903DependencyObject doValue = value as DependencyObject; 915internal bool RemoveSelfAsInheritanceContext( DependencyObject doValue, DependencyProperty dp ) 931DependencyObject oldInheritanceContext = doValue.InheritanceContext; 1058internal static void ChangeExpressionSources(Expression expr, DependencyObject d, DependencyProperty dp, DependencySource[] newSources) 1374DependencyObject inheritanceParent = InheritanceParent; 1514if (DependencyObject.IsTreeWalkOperation(operationType) && 2154DependencyObject inheritanceParent = InheritanceParent; 2401internal static void UpdateSourceDependentLists(DependencyObject d, DependencyProperty dp, DependencySource[] sources, Expression expr, bool add) 2483internal static void ValidateSources(DependencyObject d, DependencySource[] newSources, Expression expr) 2577private static Expression GetExpression(DependencyObject d, DependencyProperty dp, PropertyMetadata metadata) 2612internal virtual DependencyObject InheritanceContext 2632internal virtual void AddInheritanceContext(DependencyObject context, DependencyProperty property) 2645internal virtual void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 2653internal virtual bool ShouldProvideInheritanceContext(DependencyObject target, DependencyProperty property) 2693DependencyObject inheritanceChild = localValue as DependencyObject; 2941internal DependencyObject InheritanceParent 2948return (DependencyObject) _contextStorage; 2962private void SetInheritanceParent(DependencyObject newParent) 3013DependencyObject inheritanceParent = InheritanceParent; 3034internal void SynchronizeInheritanceParent(DependencyObject parent) 3062private void MergeInheritableProperties(DependencyObject inheritanceParent) 3539internal static DependencyObjectType DType = DependencyObjectType.FromSystemTypeInternal(typeof(DependencyObject)); 3551internal delegate Expression AlternativeExpressionStorageCallback(DependencyObject d, DependencyProperty dp, PropertyMetadata metadata);
Base\System\Windows\DependencyObjectType.cs (5)
16/// Every <see cref="DependencyObject"/> stores a reference to its DependencyObjectType. 49if (!typeof(DependencyObject).IsAssignableFrom(systemType)) 65Debug.Assert(systemType != null && typeof(DependencyObject).IsAssignableFrom(systemType), "Invalid systemType argument"); 100if (systemType != typeof(DependencyObject)) 150public bool IsInstanceOfType(DependencyObject dependencyObject)
Base\System\Windows\DependencyProperty.cs (2)
483if (!typeof(DependencyObject).IsAssignableFrom(forType)) 663public PropertyMetadata GetMetadata(DependencyObject dependencyObject)
Base\System\Windows\DependencySource.cs (3)
21public DependencySource(DependencyObject d, DependencyProperty dp) 30public DependencyObject DependencyObject 43private DependencyObject _d;
Base\System\Windows\DependentList.cs (9)
16public void Add(DependencyObject d, DependencyProperty dp, Expression expr) 28public void Remove(DependencyObject d, DependencyProperty dp, Expression expr) 53public void InvalidateDependents(DependencyObject source, DependencyPropertyChangedEventArgs sourceArgs) 68DependencyObject dependencyObject = snapList[i].DO; 149public Dependent(DependencyObject o, DependencyProperty p, Expression e) 156public DependencyObject DO 163return (DependencyObject)_wrDO.Target; 238DependencyObject DO = (DependencyObject)_wrDO.Target;
Base\System\Windows\EffectiveValueEntry.cs (4)
178Debug.Assert(hasExpressionMarker == (value == DependencyObject.ExpressionInAlternativeStore), "hasExpressionMarker flag must match value"); 188entry.BaseValue = DependencyObject.ExpressionInAlternativeStore; 197Value = DependencyObject.ExpressionInAlternativeStore; 198SetExpressionValue(value, DependencyObject.ExpressionInAlternativeStore);
Base\System\Windows\Expression.cs (11)
38/// need to keep a reference to the target <see cref="DependencyObject"/> 120internal virtual Expression Copy( DependencyObject targetObject, DependencyProperty targetDP ) 142internal virtual object GetValue(DependencyObject d, DependencyProperty dp) 154internal virtual bool SetValue(DependencyObject d, DependencyProperty dp, object value) 164internal virtual void OnAttach(DependencyObject d, DependencyProperty dp) 173internal virtual void OnDetach(DependencyObject d, DependencyProperty dp) 183internal virtual void OnPropertyInvalidation(DependencyObject d, DependencyPropertyChangedEventArgs args) 199internal void ChangeSources(DependencyObject d, DependencyProperty dp, DependencySource[] newSources) 216DependencyObject.ValidateSources(d, newSources, this); 221DependencyObject.ChangeExpressionSources(this, null, null, newSources); 225DependencyObject.ChangeExpressionSources(this, d, dp, newSources);
Base\System\Windows\Freezable.cs (34)
571DependencyObject context = SingletonContext; 588DependencyObject lastDO = null; 595DependencyObject currentDO = (DependencyObject)currentContext.Owner.Target; 680DependencyObject oldValue, 681DependencyObject newValue 697DependencyObject oldValue, 698DependencyObject newValue, 1040private static void EnsureConsistentDispatchers(DependencyObject owner, DependencyObject child) 1072private void RemoveContextInformation(DependencyObject context, DependencyProperty property) 1176internal override void AddInheritanceContext(DependencyObject context, DependencyProperty property) 1186DependencyObject oldInheritanceContext = InheritanceContext; 1204internal override void RemoveInheritanceContext(DependencyObject context, DependencyProperty property) 1210DependencyObject oldInheritanceContext = InheritanceContext; 1228internal void AddContextInformation(DependencyObject context, DependencyProperty property) 1284private void AddSingletonContext(DependencyObject context, DependencyProperty property) 1316private void AddContextToList(DependencyObject context, DependencyProperty property) 1325DependencyObject lastContext = null; 1338DependencyObject currentContext = (DependencyObject)list[i].Owner.Target; 1697private DependencyObject SingletonContext 1708return (DependencyObject)ptrStorage._contextStorage; 1712return (DependencyObject)_contextStorage; 1761internal override DependencyObject InheritanceContext 1770DependencyObject singletonContext = SingletonContext; 1784DependencyObject currentContext = (DependencyObject)list[i].Owner.Target; 1828public FreezableContextPair(DependencyObject dependObject, DependencyProperty dependProperty) 2017DependencyObject owner = (DependencyObject) context.Owner.Target; 2040private void Debug_VerifyContextIsValid(DependencyObject owner, DependencyProperty property) 2071DependencyObject ownerAsDO = (DependencyObject) owner;
Base\System\Windows\FreezeValueCallback.cs (1)
6internal delegate bool FreezeValueCallback(DependencyObject d, DependencyProperty dp, EntryIndex entryIndex, PropertyMetadata metadata, bool isChecking);
Base\System\Windows\NameScope.cs (4)
134DependencyObject objAsDO = obj as DependencyObject; 163public static void SetNameScope(DependencyObject dependencyObject, INameScope value) 179public static INameScope GetNameScope(DependencyObject dependencyObject)
Base\System\Windows\PropertyChangedCallback.cs (1)
6public delegate void PropertyChangedCallback(DependencyObject d, DependencyPropertyChangedEventArgs e);
Base\System\Windows\PropertyMetadata.cs (7)
136internal object GetDefaultValue(DependencyObject owner, DependencyProperty property) 207private object GetCachedDefaultValue(DependencyObject owner, DependencyProperty property) 219private void SetCachedDefaultValue(DependencyObject owner, DependencyProperty property, object value) 247internal void ClearCachedDefaultValue(DependencyObject owner, DependencyProperty property) 260internal static void PromoteAllCachedDefaultValues(DependencyObject owner) 438DependencyObject d, 782internal delegate object GetReadOnlyValueCallback(DependencyObject d, out BaseValueSourceInternal source);
Base\System\Windows\UncommonField.cs (3)
45public void SetValue(DependencyObject instance, T value) 73public T GetValue(DependencyObject instance) 108public void ClearValue(DependencyObject instance)