/Visual Studio 2008/CSSL3LocalMessage/MainPage.xaml
XAML | 24 lines | 24 code | 0 blank | 0 comment | 0 complexity | 4b2e3c3288a4395e6e96d6140634fc39 MD5 | raw file
- <UserControl x:Class="CSSL3LocalMessage.MainPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
- <Grid x:Name="LayoutRoot" Background="AliceBlue">
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Border Name="titlebr">
- <TextBlock FontSize="32" Text="Draw on this region." Name="titletb"/>
- </Border>
- <Border Grid.Row="1" Name="drawbr" Padding="5" CornerRadius="5">
- <InkPresenter Grid.Row="1" Name="inkP" Background="White"
- MouseLeftButtonDown="InkPresenter_MouseLeftButtonDown"
- MouseLeftButtonUp="InkPresenter_MouseLeftButtonUp"
- MouseMove="InkPresenter_MouseMove"/>
- </Border>
- <Grid Grid.RowSpan="2" Name="disablegrid" Background="Black" Opacity=".5" Visibility="Collapsed"/>
- </Grid>
- </UserControl>