PageRenderTime 45ms CodeModel.GetById 22ms RepoModel.GetById 0ms 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. <Grid x:Name="LayoutRoot">
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition />
  12. <ColumnDefinition Width="Auto"/>
  13. </Grid.ColumnDefinitions>
  14. <RadioButton x:Name="NavigateToCalendarRadioButton" GroupName="MainNavigation" Click="Button_Click" Style="{StaticResource MainViewRadioButtonStyle}" AutomationProperties.AutomationId="CalendarRadioButton">Calendar</RadioButton>
  15. <GuidanceTools:InfoTipToggleButton Grid.Column="1">
  16. <StackPanel MinWidth="100" MinHeight="24" MaxWidth="400">
  17. <TextBlock TextWrapping="Wrap">This button demonstrates navigation to a view that that supports cross-navigation to another area.</TextBlock>
  18. </StackPanel>
  19. </GuidanceTools:InfoTipToggleButton>
  20. </Grid>
  21. </UserControl>