TreeViewItemAutomationPeer.FindOrCreateItemAutomationPeer(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an ItemAutomationPeer for the specified object.
protected public:
override System::Windows::Automation::Peers::ItemAutomationPeer ^ FindOrCreateItemAutomationPeer(System::Object ^ item);
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
protected internal override System.Windows.Automation.Peers.ItemAutomationPeer FindOrCreateItemAutomationPeer (object item);
protected internal override System.Windows.Automation.Peers.ItemAutomationPeer FindOrCreateItemAutomationPeer (object item);
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
override this.FindOrCreateItemAutomationPeer : obj -> System.Windows.Automation.Peers.ItemAutomationPeer
override this.FindOrCreateItemAutomationPeer : obj -> System.Windows.Automation.Peers.ItemAutomationPeer
Protected Friend Overrides Function FindOrCreateItemAutomationPeer (item As Object) As ItemAutomationPeer
Parameters
- item
- Object
The item to get an ItemAutomationPeer for.
Returns
An ItemAutomationPeer for the specified object.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.