MapControl.ViewPadding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.