wpf-devexpress-dot-xpf-dot-map-dot-mapelementoptions-45d71428.md
Gets or sets the Map UI element’s margin.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public Thickness Margin { get; set; }
Public Property Margin As Thickness
| Type | Description |
|---|---|
| Thickness |
The Map UI element’s margin.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Margin property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-map-connect-to-openstreetmap/CS/MainWindow.xaml#L16
<dxm:MapControl.ZoomTrackbarOptions>
<dxm:ZoomTrackbarOptions Margin="16" Orientation="Horizontal" VerticalAlignment="Bottom" />
</dxm:MapControl.ZoomTrackbarOptions>
See Also