PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/V4/Quickstarts/View-Switching Navigation/Silverlight/View-Switching Navigation/ViewSwitchingNavigation.Calendar/Views/CalendarNavigationItemView.xaml

#
XAML | 22 lines | 21 code | 1 blank | 0 comment | 0 complexity | 921fe9561cd7fcd092250aab2f93ee9c MD5 | raw file
 1<UserControl x:Class="ViewSwitchingNavigation.Calendar.Views.CalendarNavigationItemView"
 2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 5    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 6    mc:Ignorable="d"
 7    xmlns:GuidanceTools="clr-namespace:Microsoft.Practices.Prism.GuidanceTools;assembly=Microsoft.Practices.Prism.GuidanceTools" 
 8             d:DesignHeight="300" d:DesignWidth="400">
 9
10    <Grid x:Name="LayoutRoot">
11        <Grid.ColumnDefinitions>
12            <ColumnDefinition />
13            <ColumnDefinition Width="Auto"/>
14        </Grid.ColumnDefinitions>
15        <RadioButton x:Name="NavigateToCalendarRadioButton" GroupName="MainNavigation" Click="Button_Click" Style="{StaticResource MainViewRadioButtonStyle}" AutomationProperties.AutomationId="CalendarRadioButton">Calendar</RadioButton>
16        <GuidanceTools:InfoTipToggleButton Grid.Column="1">
17            <StackPanel MinWidth="100" MinHeight="24" MaxWidth="400">
18                <TextBlock TextWrapping="Wrap">This button demonstrates navigation to a view that that supports cross-navigation to another area.</TextBlock>
19            </StackPanel>
20        </GuidanceTools:InfoTipToggleButton>
21    </Grid>
22</UserControl>