src/FingersDance.Control.Close/UserControlClose.xaml
author ARIAS Santiago
Sun, 25 Oct 2009 12:38:45 +0100
changeset 168 d70ee2002f75
parent 141 923687896770
permissions -rw-r--r--
Thumb Timeline Rotation and Debug Closing Panels
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
103
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
     1
<UserControl
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
     2
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
     3
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
     4
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
     5
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
     6
	mc:Ignorable="d"
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
     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
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
    19
	</Grid>
6eb5b39f8e97 Add Project Control Close
sarias
parents:
diff changeset
    20
</UserControl>