void InitializeImpl( DependencyObject pItem, LoopingSelectorAutomationPeer pOwner) { //AutomationPeerFactory spInnerFactory; //AutomationPeer spInnerInstance; //DependencyObject spInnerInspectable; //LoopingSelectorItemDataAutomationPeerGenerated.InitializeImpl(pItem, pOwner); //(wf.GetActivationFactory( // wrl_wrappers.Hstring(RuntimeClass_Microsoft_UI_Xaml_Automation_Peers_AutomationPeer), // &spInnerFactory)); //(spInnerFactory.CreateInstance( // (LoopingSelectorItemDataAutomationPeer)(this), // &spInnerInspectable, // &spInnerInstance)); //(SetComposableBasePointers( // spInnerInspectable, // spInnerFactory)); SetParent(pOwner); SetItem(pItem); }
internal LoopingSelectorItemDataAutomationPeer( DependencyObject pItem, LoopingSelectorAutomationPeer pOwner) { _itemIndex = -1; InitializeImpl(pItem, pOwner); }
void SetParent(LoopingSelectorAutomationPeer pOwner) { AutomationPeer spThisAsAP; //(QueryInterface( // __uuidof(AutomationPeer), // &spThisAsAP)); spThisAsAP = this; //LoopingSelectorAutomationPeer(pOwner).AsWeak(_wrParent); _wrParent = new WeakReference <LoopingSelectorAutomationPeer>(pOwner); if (pOwner is { })