Scale.OnCreateAutomationPeer Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Enables the ability to provide custom handling when an automation peer is created.

Namespace: Microsoft.Maps.MapControl.Overlays
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Protected Overrides Function OnCreateAutomationPeer As AutomationPeer
protected override AutomationPeer OnCreateAutomationPeer ()
protected:
virtual AutomationPeer^ OnCreateAutomationPeer () override
protected AutomationPeer OnCreateAutomationPeer ()
protected override function OnCreateAutomationPeer () : AutomationPeer

Return Value

Returns AutomationPeer.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

Scale Class
Scale Members
Microsoft.Maps.MapControl.Overlays Namespace