xaml-sdk/Map/WPF/HowToResizeMapShapesWithMou.../MainWindow.xaml

25 строки
1.1 KiB
XML

<Window x:Class="HowToResizeMapShapesWithMouseDragging.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
Title="MainWindow" Height="800" Width="1200">
<Grid>
<telerik:RadMap x:Name="radMap"
InitializeCompleted="radMap_InitializeCompleted"
Center="40,-100"
MouseClickMode="None"
MouseDragMode="None"
MouseDoubleClickMode="None"
ZoomLevel="4">
<telerik:RadMap.Provider>
<!-- Please specify different user agent string in your application -->
<telerik:OpenStreetMapProvider StandardModeUserAgent="Telerik UI for WPF SDK Samples"/>
</telerik:RadMap.Provider>
<telerik:InformationLayer x:Name="polylineLayer" />
<telerik:InformationLayer x:Name="pointLayer" />
</telerik:RadMap>
</Grid>
</Window>