-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
Test Project
Visual studio 2015
MahApps.Metro.1.2.0.0
.Net Framework - 4.6
MetroWindow.xaml
<controls:MetroWindow x:Class="WpfApplication.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
Title="MainWindow"
Height="600"
Width="800">
<Grid>
<Label x:Name="label" Content="Label" HorizontalAlignment="Left" Margin="81,42,0,0" VerticalAlignment="Top"/>
<Label x:Name="label1" Content="Label" HorizontalAlignment="Left" Margin="81,73,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="textBox" HorizontalAlignment="Left" Height="23" Margin="140,42,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="120"/>
<TextBox x:Name="textBox1" HorizontalAlignment="Left" Height="23" Margin="140,73,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="120"/>
<Button x:Name="button1" Content="Close" HorizontalAlignment="Left" Margin="277,127,0,0" VerticalAlignment="Top" Width="75" Click="button1_Click"/>
</Grid>
</controls:MetroWindow>
namespace WpfApplication
{
public partial class MainWindow : MetroWindow
{
public MainWindow()
{
InitializeComponent();
}
private void button1_Click(object sender, RoutedEventArgs e)
{
Application.Current.Shutdown(1);
}
}
}
when put cursor in first textbox and press TAB key now cursor not show and cursor not shown.