All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
UserControl
x:Class
=
"DetectShapeAtLocation.MainPage"
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"
xmlns:d
"http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc
"http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable
"d"
d:DesignHeight
"400"
d:DesignWidth
>
Grid
x:Name
"LayoutRoot"
Background
"White"
telerik:RadMap
"RadMap1"
Center
"56.1260873546439,10.1076291138805"
ZoomLevel
"3"
MouseRightButtonDown
"MapMouseRightButtonDown"
MouseRightButtonUp
"MapMouseRightButtonUp"
telerik:RadMap.Provider
telerik:OpenStreetMapProvider
/>
</
telerik:RadContextMenu.ContextMenu
telerik:RadContextMenu
telerik:RadMenuItem
Header
"Menu 1"
Click
"MenuItemClicked"
private
Location menuLocation = Location.Empty;
void
MenuItemClicked(
object
sender, Telerik.Windows.RadRoutedEventArgs e)
{
if
(!
this
.menuLocation.IsEmpty)
// Perform operation
}
MapMouseRightButtonDown(
sender, System.Windows.Input.MouseButtonEventArgs e)
e.Handled =
true
;
MapMouseRightButtonUp(
.menuLocation = Location.GetCoordinates(
.RadMap1, e.GetPosition(
.RadMap1));
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!