PageRenderTime 35ms CodeModel.GetById 4ms RepoModel.GetById 0ms app.codeStats 0ms

/Visual Studio 2008/CSSL3LocalMessage/MainPage.xaml

#
XAML | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | 4b2e3c3288a4395e6e96d6140634fc39 MD5 | raw file
  1. <UserControl x:Class="CSSL3LocalMessage.MainPage"
  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:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
  8. <Grid x:Name="LayoutRoot" Background="AliceBlue">
  9. <Grid.RowDefinitions>
  10. <RowDefinition Height="auto"/>
  11. <RowDefinition/>
  12. </Grid.RowDefinitions>
  13. <Border Name="titlebr">
  14. <TextBlock FontSize="32" Text="Draw on this region." Name="titletb"/>
  15. </Border>
  16. <Border Grid.Row="1" Name="drawbr" Padding="5" CornerRadius="5">
  17. <InkPresenter Grid.Row="1" Name="inkP" Background="White"
  18. MouseLeftButtonDown="InkPresenter_MouseLeftButtonDown"
  19. MouseLeftButtonUp="InkPresenter_MouseLeftButtonUp"
  20. MouseMove="InkPresenter_MouseMove"/>
  21. </Border>
  22. <Grid Grid.RowSpan="2" Name="disablegrid" Background="Black" Opacity=".5" Visibility="Collapsed"/>
  23. </Grid>
  24. </UserControl>