Edit

Share via


ListBoxItem.OnCreateAutomationPeer Method

Definition

Provides an appropriate ListBoxItemAutomationPeer implementation for this control, as part of the WPF automation infrastructure.

C#
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer();

Returns

The type-specific AutomationPeer implementation.

Applies to