RGBController/RGBController2/Views/Dialogs/NewTabDialogView.xaml

22 lines
1.3 KiB
XML

<Window x:Class="RGBController2.Views.Dialogs.NewTabDialogView"
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:RGBController2.Views.Dialogs"
mc:Ignorable="d"
ResizeMode="NoResize"
Title="New Tab" Height="150" Width="300">
<Grid>
<Label Content="Device Type" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,5,0,0"/>
<ComboBox VerticalAlignment="Top" HorizontalAlignment="Left" Margin="90,5,0,0" Width="150" SelectedIndex="{Binding SelectedDeviceType}">
<ComboBoxItem>Arduino</ComboBoxItem>
<ComboBoxItem>Corsair CUE Device</ComboBoxItem>
<ComboBoxItem>Razer Chroma Device</ComboBoxItem>
</ComboBox>
<Label Content="Device Name" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="5,30,0,0"/>
<TextBox VerticalAlignment="Top" HorizontalAlignment="Left" Margin="90,35,0,0" Width="150" Text="{Binding DeviceName}"/>
<Button VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,80,0,0" Content="Add Device" Command="{Binding AddTabCommand}"/>
</Grid>
</Window>