Method SetViewInsets
SetViewInsets(Int32, Int32, Int32, Int32)
Gets or sets the viewport padding in pixels.
Declaration
public void SetViewInsets(int left, int top, int right, int bottom)
Parameters
Type | Name | Description |
---|---|---|
System. |
left | Left padding |
System. |
top | Top padding |
System. |
right | Right padding |
System. |
bottom | Bottom padding |
Remarks
The SetmapView.SetViewInsets(sidePanel.Width, 0, 0, 0);
.
If you just want to zoom to a geometry and leave a bit of padding around it, use the Set
The ViewInsets setting currently only applies to Map
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Android | 200.3 - 200.6 |
Xamarin.Android | 100.1 - 100.14 |