rendered paste body<UserControl x:Class="Fend.Views.Login.LoginView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:c="clr-namespace:Fend.Common.Controls;assembly=Fend.Common" xmlns:Login="clr-namespace:Fend.Views.Login" d:DataContext="{d:DesignInstance Type=Login:LoginViewModel}" mc:Ignorable="d" Height="350" Width="300"> <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Fend.Views;component/Styles/Default.xaml" /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </UserControl.Resources> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition Height="50" /> <RowDefinition Height="50" /> <RowDefinition Height="50" /> </Grid.RowDefinitions> <Image Height="200" Width="200" Source="{DynamicResource Logo}" Grid.Row="0" Grid.ColumnSpan="2"> <Image.BitmapEffect> <DropShadowBitmapEffect /> </Image.BitmapEffect> </Image> <Label Content="Username" Grid.Row="1" Grid.Column="0" FontWeight="Bold" FontSize="20" Foreground="DarkGoldenrod" VerticalAlignment="Center" HorizontalAlignment="Center" /> <!-- <c:BindablePasswordBox Grid.Row="1" Grid.Column="1" Height="25" Width="100" Password="{Binding Username}" /> --> <TextBox Grid.Column="1" Grid.Row="1" Height="25" Width="100" Text="{Binding Username, UpdateSourceTrigger=PropertyChanged}" /> <Label Content="Password" Grid.Row="2" Grid.Column="0" FontWeight="Bold" FontSize="20" Foreground="DarkGoldenrod" VerticalAlignment="Center" HorizontalAlignment="Center" /> <!-- <c:BindablePasswordBox Grid.Row="2" Grid.Column="1" Height="25" Width="100" Password="{Binding Password}" /> --> <TextBox Grid.Column="1" Grid.Row="2" Height="25" Width="100" Text="{Binding Password, UpdateSourceTrigger=PropertyChanged}" /> <Button Grid.Row="3" Grid.ColumnSpan="2" Height="30" Width="100" Content="Login" FontSize="15" FontWeight="Bold" Command="{Binding LoginCommand}" /> </Grid></UserControl>