/// public TreeViewDataItemAutomationPeer(object item, ItemsControlAutomationPeer itemsControlAutomationPeer, TreeViewDataItemAutomationPeer parentDataItemAutomationPeer) : base(item, null) { if(itemsControlAutomationPeer.Owner is TreeView || parentDataItemAutomationPeer == null) ItemsControlAutomationPeer = itemsControlAutomationPeer; _parentDataItemAutomationPeer = parentDataItemAutomationPeer; }
/// public TreeViewDataItemAutomationPeer(object item, ItemsControlAutomationPeer itemsControlAutomationPeer, TreeViewDataItemAutomationPeer parentDataItemAutomationPeer) : base(item, null) { if (itemsControlAutomationPeer.Owner is TreeView || parentDataItemAutomationPeer == null) { ItemsControlAutomationPeer = itemsControlAutomationPeer; } _parentDataItemAutomationPeer = parentDataItemAutomationPeer; }
// Token: 0x0600288A RID: 10378 RVA: 0x000BCB4C File Offset: 0x000BAD4C internal override IDisposable UpdateChildren() { TreeViewDataItemAutomationPeer treeViewDataItemAutomationPeer = base.EventsSource as TreeViewDataItemAutomationPeer; if (treeViewDataItemAutomationPeer != null) { treeViewDataItemAutomationPeer.UpdateChildrenInternal(5); } else { base.UpdateChildrenInternal(5); } base.WeakRefElementProxyStorage.PurgeWeakRefCollection(); return(null); }
// override internal void UpdateChildren() { // To ensure that the Updation of children should be initiated from DataPeer so as to have the right parent value stored for children TreeViewDataItemAutomationPeer dataPeer = EventsSource as TreeViewDataItemAutomationPeer; if (dataPeer != null) { dataPeer.UpdateChildrenInternal(AutomationInteropProvider.ItemsInvalidateLimit); } else { UpdateChildrenInternal(AutomationInteropProvider.ItemsInvalidateLimit); } WeakRefElementProxyStorage.PurgeWeakRefCollection(); }
public TreeViewDataItemAutomationPeer(Object item, ItemsControlAutomationPeer itemsControlAutomationPeer, TreeViewDataItemAutomationPeer parentDataItemAutomationPeer) : base (default(Object), default(ItemsControlAutomationPeer)) { Contract.Requires(itemsControlAutomationPeer != null); }
/// <summary> internal void AddDataPeerInfo(TreeViewDataItemAutomationPeer dataPeer) { EventsSource = dataPeer; UpdateWeakRefStorageFromDataPeer(); }
/// <summary> internal void AddDataPeerInfo(TreeViewDataItemAutomationPeer dataPeer) { EventsSource = dataPeer; UpdateWeakRefStorageFromDataPeer(); }
public TreeViewDataItemAutomationPeer(Object item, ItemsControlAutomationPeer itemsControlAutomationPeer, TreeViewDataItemAutomationPeer parentDataItemAutomationPeer) : base(default(Object), default(ItemsControlAutomationPeer)) { Contract.Requires(itemsControlAutomationPeer != null); }