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
|
|
@ -7,8 +7,10 @@
|
|||
xmlns:en="clr-namespace:ServerManagerTool.Enums"
|
||||
xmlns:vm="clr-namespace:ServerManagerTool.Lib.ViewModel"
|
||||
MinWidth="300" MinHeight="200" Width="300" Height="500" ResizeMode="CanResizeWithGrip" WindowStyle="ToolWindow"
|
||||
SizeChanged="Window_SizeChanged" LocationChanged="Window_LocationChanged"
|
||||
Name="PlayerList" Icon="../Art/favicon.ico" Title="{Binding PlayerListParameters.WindowTitle}">
|
||||
SizeChanged="Window_SizeChanged" LocationChanged="Window_LocationChanged"
|
||||
Icon="../Art/favicon.ico" Title="{Binding PlayerListParameters.WindowTitle}"
|
||||
FocusManager.FocusedElement="{Binding ElementName=PlayerListFilterStringTextBox}"
|
||||
Name="PlayerList">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
|
|
@ -56,7 +58,7 @@
|
|||
<Button DockPanel.Dock="Right" Margin="5,0,5,0" Width="22" Height="22" HorizontalAlignment="Right" VerticalAlignment="Center" Click="FilterPlayerList_Click" ToolTip="{DynamicResource General_FilterButtonTooltip}">
|
||||
<Image Source="{com:Icon Path=/ConanServerManager;component/Art/Filter.ico,Size=32}"/>
|
||||
</Button>
|
||||
<TextBox DockPanel.Dock="Left" Text="{Binding PlayerListFilterString, Mode=TwoWay}" BorderBrush="LightGray" VerticalAlignment="Center" VerticalContentAlignment="Center" IsTabStop="True" Margin="0" Padding="2"/>
|
||||
<TextBox x:Name="PlayerListFilterStringTextBox" DockPanel.Dock="Left" Text="{Binding PlayerListFilterString, Mode=TwoWay}" BorderBrush="LightGray" VerticalAlignment="Center" VerticalContentAlignment="Center" IsTabStop="True" Margin="0" Padding="2"/>
|
||||
</DockPanel>
|
||||
|
||||
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue