comparison SilverlightGlimpse/SilverlightValidation/Views/UserView.xaml @ 77:86ed4919b126

Working version!
author Steven Hollidge <stevenhollidge@hotmail.com>
date Mon, 23 Apr 2012 22:06:05 +0100
parents a0bcd783e612
children dd6bcd2535b6
comparison
equal deleted inserted replaced
76:441fdfce70a7 77:86ed4919b126
1 <c:ChildWindow x:Class="SilverlightValidation.Views.UserView" 1 <c:ChildWindow x:Class="SilverlightValidation.Views.UserView"
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 xmlns:c="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" 4 xmlns:c="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
5 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
7 xmlns:p="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls"
8 xmlns:s="clr-namespace:System;assembly=mscorlib"
9 xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 5 xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
10 Title="Add User" 6 Title="Add User"
11 Width="500" 7 Width="500"
12 Height="400"> 8 Height="400">
13 9
118 Text="Description:" /> 114 Text="Description:" />
119 115
120 <TextBox Grid.Row="5" 116 <TextBox Grid.Row="5"
121 Grid.Column="2" 117 Grid.Column="2"
122 Style="{StaticResource TextBoxStyle}" 118 Style="{StaticResource TextBoxStyle}"
123 Text="{Binding Description}" /> 119 Text="{Binding DONEITGAIN}" />
124 <StackPanel Grid.Row="6" 120 <StackPanel Grid.Row="6"
125 Grid.Column="2" 121 Grid.Column="2"
126 HorizontalAlignment="Right" 122 HorizontalAlignment="Right"
127 Orientation="Horizontal"> 123 Orientation="Horizontal">
124 <Button x:Name="btnThrowException"
125 Width="120"
126 Margin="0,0,50,0"
127 Click="btnThrowException_OnClick"
128 Content="Throw Exception"
129 Style="{StaticResource ButtonStyle}" />
128 <Button Command="{Binding OkCommand}" 130 <Button Command="{Binding OkCommand}"
129 Content="OK" 131 Content="OK"
130 Style="{StaticResource ButtonStyle}" /> 132 Style="{StaticResource ButtonStyle}" />
131 <Button Command="{Binding CancelCommand}" 133 <Button Command="{Binding CancelCommand}"
132 Content="Cancel" 134 Content="Cancel"