author | cavaliet |
Tue, 24 Nov 2009 22:08:57 +0100 | |
changeset 229 | 05aba5def1fc |
parent 141 | 923687896770 |
permissions | -rw-r--r-- |
103 | 1 |
<UserControl |
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 |
x:Class="FingersDance.Control.Close.UserControlClose" |
|
141
923687896770
UserControlClose more readable and MainSurfaceWindow now uses the ConfirmYesOrNo event.
cavaliet
parents:
140
diff
changeset
|
8 |
Width="Auto" Height="90" MinWidth="250" xmlns:Custom="http://schemas.microsoft.com/surface/2008" BorderBrush="White" x:Name="myUC"> |
140
fc7c12f9da30
Add a confirm dialog box before deleting an annotation by drag and drop. Now the UserControlClose is a generic confirm dialog box sending a ConfirmYesOrNo Event.
cavaliet
parents:
131
diff
changeset
|
9 |
<UserControl.Background> |
fc7c12f9da30
Add a confirm dialog box before deleting an annotation by drag and drop. Now the UserControlClose is a generic confirm dialog box sending a ConfirmYesOrNo Event.
cavaliet
parents:
131
diff
changeset
|
10 |
<SolidColorBrush Color="Black" Opacity="0.8"/> |
fc7c12f9da30
Add a confirm dialog box before deleting an annotation by drag and drop. Now the UserControlClose is a generic confirm dialog box sending a ConfirmYesOrNo Event.
cavaliet
parents:
131
diff
changeset
|
11 |
</UserControl.Background> |
fc7c12f9da30
Add a confirm dialog box before deleting an annotation by drag and drop. Now the UserControlClose is a generic confirm dialog box sending a ConfirmYesOrNo Event.
cavaliet
parents:
131
diff
changeset
|
12 |
<Grid x:Name="LayoutRoot" > |
141
923687896770
UserControlClose more readable and MainSurfaceWindow now uses the ConfirmYesOrNo event.
cavaliet
parents:
140
diff
changeset
|
13 |
<TextBlock Margin="10,5,10,0" Text="{Binding Path=Question, ElementName=myUC}" Foreground="White" |
140
fc7c12f9da30
Add a confirm dialog box before deleting an annotation by drag and drop. Now the UserControlClose is a generic confirm dialog box sending a ConfirmYesOrNo Event.
cavaliet
parents:
131
diff
changeset
|
14 |
FontSize="18" TextWrapping="Wrap"></TextBlock> |
141
923687896770
UserControlClose more readable and MainSurfaceWindow now uses the ConfirmYesOrNo event.
cavaliet
parents:
140
diff
changeset
|
15 |
<Custom:SurfaceButton x:Name="SurfaceButtonOK" TextBlock.FontSize="16" Content="Oui" Foreground="White" VerticalAlignment="Top" |
923687896770
UserControlClose more readable and MainSurfaceWindow now uses the ConfirmYesOrNo event.
cavaliet
parents:
140
diff
changeset
|
16 |
Margin="35,55,0,0" HorizontalAlignment="Left" Width="85" ContactDown="SurfaceButtonOK_ContactDown" Click="SurfaceButtonOK_Click" Height="26" /> |
923687896770
UserControlClose more readable and MainSurfaceWindow now uses the ConfirmYesOrNo event.
cavaliet
parents:
140
diff
changeset
|
17 |
<Custom:SurfaceButton x:Name="SurfaceButtonNO" TextBlock.FontSize="16" Content="Non" Foreground="White" VerticalAlignment="Top" |
923687896770
UserControlClose more readable and MainSurfaceWindow now uses the ConfirmYesOrNo event.
cavaliet
parents:
140
diff
changeset
|
18 |
Margin="0,55,28,0" HorizontalAlignment="Right" Width="85" ContactDown="SurfaceButtonNO_ContactDown" Click="SurfaceButtonNO_Click" Height="26" /> |
103 | 19 |
</Grid> |
20 |
</UserControl> |