<UserControl x:Class="UsingIconColumnWidth.Example"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:local="clr-namespace:UsingIconColumnWidth"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.DataContext>
            <local:ViewModel />
        </Grid.DataContext>

        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <Button Content="Outside RadMenu" Command="{Binding OutsideMenuButtonCommand}"/>
            <telerik:RadMenu VerticalAlignment="Top" ClickToOpen="False" IconColumnWidth="0" >
                <telerik:RadHyperlinkButton  Content="Inside RadMenu" Command="{Binding InsideMenuButtonCommand}" Click="Button_Click"/>
            </telerik:RadMenu>
        </StackPanel>

        <!--<StackPanel Orientation="Horizontal">
            <Button Content="Outside RadMenu" Command="{Binding OutsideMenuButtonCommand}"/>
            <Menu VerticalAlignment="Top"  >
                <Button Content="Inside RadMenu" Command="{Binding InsideMenuButtonCommand}"/>
            </Menu>
        </StackPanel>-->
        <TextBox x:Name="textBox" Text="{Binding TextBoxText, Mode=TwoWay}" Grid.Row="1" />

    </Grid>
</UserControl>
