RGBController/RGBController2/Views/Tabs/ChromaDeviceTabView.xaml

24 lines
1.6 KiB
XML

<UserControl x:Class="RGBController2.Views.Tabs.ChromaDeviceTabView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:RGBController2"
mc:Ignorable="d"
d:DesignHeight="280" d:DesignWidth="700"
Background="White">
<Grid>
<Label Content="Lighting Mode" Margin="0,5,0,0"/>
<ComboBox VerticalAlignment="top" HorizontalAlignment="left" Margin="100,5,0,0" Width="150" x:Name="lightingModeSelectionComboBox" SelectedIndex="{Binding LightingMode}" IsEnabled="{Binding EnableSelectLightingMode}">
<ComboBoxItem Content="Static Colour"></ComboBoxItem>
<ComboBoxItem Content="Animations"></ComboBoxItem>
<ComboBoxItem Content="Quake Live"></ComboBoxItem>
</ComboBox>
<Label Content="Device" VerticalAlignment="top" HorizontalAlignment="left" Margin="280,5,0,0"/>
<ComboBox VerticalAlignment="top" HorizontalAlignment="left" Margin="330,5,0,0" Width="150" ItemsSource="{Binding AvailableDevices}" SelectedItem="{Binding SelectedDevice}">
</ComboBox>
<Label Content="{Binding ConnectionStatus}" VerticalAlignment="top" HorizontalAlignment="left" Margin="500,5,0,0"/>
<ContentControl Content="{Binding SelectedLightingMode}" VerticalAlignment="top" HorizontalAlignment="left" Margin="0,30,0,0" Width="700" Height="250"/>
</Grid>
</UserControl>