Map.SetView Method (LocationRectangle, Thickness, MapAnimationKind)
Namespace: Microsoft.Phone.Maps.Controls
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Syntax
'Declaration
Public Sub SetView ( _
boundingRectangle As LocationRectangle, _
desiredMargins As Thickness, _
animationKind As MapAnimationKind _
)
public void SetView(
LocationRectangle boundingRectangle,
Thickness desiredMargins,
MapAnimationKind animationKind
)
public:
void SetView(
LocationRectangle^ boundingRectangle,
Thickness desiredMargins,
MapAnimationKind animationKind
)
member SetView :
boundingRectangle:LocationRectangle *
desiredMargins:Thickness *
animationKind:MapAnimationKind -> unit
Parameters
- boundingRectangle
Type: Microsoft.Phone.Maps.Controls.LocationRectangle
- desiredMargins
Type: System.Windows.Thickness
- animationKind
Type: Microsoft.Phone.Maps.Controls.MapAnimationKind
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.