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 |
---|---|---|
Int32 | left | Left padding |
Int32 | top | Top padding |
Int32 | right | Right padding |
Int32 | 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 |
---|---|
Xamarin.Android | 100.1 - 100.15 |