Back to Devexpress

MapElementOptions.Margin Property

wpf-devexpress-dot-xpf-dot-map-dot-mapelementoptions-45d71428.md

latest1.8 KB
Original Source

MapElementOptions.Margin Property

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

Declaration

csharp
public Thickness Margin { get; set; }
vb
Public Property Margin As Thickness

Property Value

TypeDescription
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

xml
<dxm:MapControl.ZoomTrackbarOptions>
    <dxm:ZoomTrackbarOptions Margin="16" Orientation="Horizontal" VerticalAlignment="Bottom" />
</dxm:MapControl.ZoomTrackbarOptions>

See Also

MapElementOptions Class

MapElementOptions Members

DevExpress.Xpf.Map Namespace