mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Window Control Focus Changes
- set the default focus control for all the windows.
This commit is contained in:
parent
4199ab6160
commit
0b5d7c933a
41 changed files with 115 additions and 73 deletions
|
|
@ -11,6 +11,7 @@
|
|||
xmlns:enum="clr-namespace:ServerManagerTool.Enums"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
FocusManager.FocusedElement="{Binding ElementName=ProfileNameTextBox}"
|
||||
x:Name="SettingsControl">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
|
|
@ -83,7 +84,7 @@
|
|||
|
||||
<DockPanel Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="2" DataContext="{Binding Profile}" VerticalAlignment="Center" >
|
||||
<Label DockPanel.Dock="Left" FontSize="15" Content="{DynamicResource ServerSettings_ProfileLabel}" ToolTip="{Binding ProfileToolTip}"/>
|
||||
<TextBox VerticalContentAlignment="Center" SourceUpdated="ProfileName_SourceUpdated">
|
||||
<TextBox x:Name="ProfileNameTextBox" VerticalContentAlignment="Center" SourceUpdated="ProfileName_SourceUpdated">
|
||||
<Validation.ErrorTemplate>
|
||||
<ControlTemplate>
|
||||
<StackPanel>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue