Share via


MapControl.ViewPadding Property

Definition

Gets or sets the padding inside a map control.

public:
 property Thickness ViewPadding { Thickness get(); void set(Thickness value); };
Thickness ViewPadding();

void ViewPadding(Thickness value);
public Thickness ViewPadding { get; set; }
var thickness = mapControl.viewPadding;
mapControl.viewPadding = thickness;
Public Property ViewPadding As Thickness

Property Value

The amount of space between the content of a MapControl and its Margin or Border. The default is a Thickness with values of 0 on all four sides.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Remarks

For more information about how this property behaves, see the Control.Padding property.

Applies to