diff --git a/Sources/MicSwitch/MainWindow/Views/MainWindow.xaml b/Sources/MicSwitch/MainWindow/Views/MainWindow.xaml index 6efde58..c79fe98 100644 --- a/Sources/MicSwitch/MainWindow/Views/MainWindow.xaml +++ b/Sources/MicSwitch/MainWindow/Views/MainWindow.xaml @@ -1,25 +1,32 @@  + 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:tb="http://www.hardcodet.net/taskbar" + xmlns:hotkeys="clr-namespace:PoeShared.UI.Hotkeys;assembly=PoeShared.Wpf" + xmlns:blue="http://www.nuget.org/Blue.MVVM" + xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + xmlns:eye="http://coderush.net/poeeye/" + xmlns:viewModels="clr-namespace:MicSwitch.MainWindow.ViewModels" + mc:Ignorable="d" + d:DataContext="{d:DesignInstance viewModels:MainWindowViewModel}" + WindowState="{Binding WindowState}" + WindowStartupLocation="CenterScreen" + ResizeMode="CanMinimize" + WindowStyle="SingleBorderWindow" + ShowInTaskbar="{Binding ShowInTaskbar, Mode=TwoWay}" + Loaded="OnLoaded" + Unloaded="OnUnloaded" + Title="{Binding Title}" Width="400" SizeToContent="Height"> + + + + @@ -38,125 +45,113 @@ - - - + + - - - + - - - - - - - - - + + - - + + + + + + + + + - - - - + + - - - - - - - + + + - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - + + Text="Push-to-talk:" /> + + + + + + + + + + + + + + + + + + + + CommandParameter="{Binding IsChecked, RelativeSource={RelativeSource Self}}" /> - - + + + eye:CommandWrapperHelper.Text="Unlock overlay" /> + eye:CommandWrapperHelper.Text="Lock overlay" /> - - -