<Window x:Class="WPF_TabIndexDemo.MainWindow" 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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WPF_TabIndexDemo" mc:Ignorable="d" Title="MainWindow" Height="350" Width="525"> <Border BorderThickness="0" BorderBrush="#FF999999" Margin="1,1,1,1"> <Border.Effect> <DropShadowEffect Color="#cccccc" Opacity="0.83" Direction="60" BlurRadius="50"/> </Border.Effect> <Grid Background="White"> <Grid.RowDefinitions> <RowDefinition Height="0*"/> <RowDefinition/> </Grid.RowDefinitions> <Label x:Name="Label" Content="JioCloud" Grid.RowSpan="2" VerticalAlignment="Top" VerticalContentAlignment="Center" Margin="-1,-1,-1,0" Height="26" Padding="30,0,0,0" FontFamily="/JioCloud;component/Views/Fonts/#JioType-Light" FontSize="13" FontWeight="Regular"> <Label.Style> <Style TargetType="{x:Type Label}"> <Setter Property="Background"> <Setter.Value> <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="#f4f4f4" Offset="0"/> <GradientStop Color="#d4d1d4" Offset="1"/> </LinearGradientBrush> </Setter.Value> </Setter> </Style> </Label.Style> </Label> <Image x:Name="Image" HorizontalAlignment="Left" Height="16" Margin="8,4,0,0" Grid.Row="0" Grid.RowSpan="2" VerticalAlignment="Top" Width="16" RenderTransformOrigin="0.5,-3.286" /> <Button x:Name="BtnClose" Command="{Binding CloseWindowCommand}" Width="24" Height="24" Margin="606,-1,-2,416" Grid.Row="0" Grid.RowSpan="2"> <Image Width="12" Height="12" Margin="4,6,4,2" /> </Button> <Button x:Name="BtnMinimize" Command="{Binding MinimizeWindowCommand}" Height="24" Width="24" Margin="584,2,20,413" Grid.Row="0" Grid.RowSpan="2"> <Image Width="12" Height="12" Margin="6,9,6,3" /> </Button> <Grid Margin="141,122,136,50" Grid.Row="0" Grid.RowSpan="2" Background="White" > <Grid.ColumnDefinitions> <ColumnDefinition Width="0*"/> <ColumnDefinition/> </Grid.ColumnDefinitions> <TextBox HorizontalAlignment="Left" x:Name="TbEmailAddress" VerticalContentAlignment="Center" VerticalAlignment="Center" Width="350" BorderThickness="0,0,0,2" Margin="0,79,0,162" TextOptions.TextHintingMode="Animated" FontFamily="/JioCloud;component/Views/Fonts/#JioType-Bold" FontSize="15" Grid.ColumnSpan="2" Foreground="Black" Background="White" Height="25" BorderBrush="#FF9B9B9B" > <TextBox.Style> <Style TargetType="{x:Type TextBox}"> <Setter Property="BorderBrush" Value="#c41215"/> <Style.Triggers> <DataTrigger Binding="{Binding Ele