<Page
    x:Class="App61.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App61"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="using:Telerik.UI.Xaml.Controls.Primitives"
    mc:Ignorable="d">
    <Page.Resources>
        <local:CustomCommand x:Name="Command"/>
    </Page.Resources>
    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <TextBlock Text="Click me to show menu" VerticalAlignment="Center" HorizontalAlignment="Center">
            <telerik:RadRadialContextMenu.Menu>
                <telerik:RadRadialMenu>
                    <telerik:RadialMenuItem Header="Execute command" Command="{StaticResource Command}"/>
                </telerik:RadRadialMenu>
            </telerik:RadRadialContextMenu.Menu>
            <telerik:RadRadialContextMenu.Behavior>
                <local:CustomTriggerBehavior AttachTriggers="PointerPressed"/>
            </telerik:RadRadialContextMenu.Behavior>
        </TextBlock>
    </Grid>
</Page>
