Redigera

Dela via


ScrollViewer.OnCreateAutomationPeer Method

Definition

Provides an appropriate AutomationPeer implementation for this control, as part of the Windows Presentation Foundation (WPF) automation infrastructure.

protected:
 override System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected override System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function OnCreateAutomationPeer () As AutomationPeer

Returns

The appropriate AutomationPeer implementation for this control.

Applies to

See also