﻿<UserControl x:Class="DriveDotNetGuiClient.CANObjects.KvaserCANObject"
             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" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100"/>
            <ColumnDefinition/>
            <ColumnDefinition Width="130"/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <TextBlock Grid.Row="0" Grid.Column="2" Text="Channel Baud Rate:" Height="25" Margin="20,2,0,0"/>
        <TextBlock Grid.Row="0" Grid.Column="0" Text="Bus ID:" Height="25" HorizontalAlignment="Stretch" Margin="0,2,0,0" />
        <TextBlock Grid.Row="1" Grid.Column="2" Text="Node ID:" Height="25" Margin="20,2,0,0"/>
        <TextBlock Grid.Row="1" Grid.Column="0" Text="Node Type:" Height="25" Margin="0,2,0,0"/>
        <ComboBox Grid.Row="0" Grid.Column="3" Text="{Binding CANBaudRate}" SelectedItem="{Binding CanBuadRate}" ItemsSource="{Binding CanBuadRates}" Height="25" Margin="0,2,0,0"/>
        <TextBox Grid.Row="0" Grid.Column="1" Text="{Binding BusID}" Height="25" Margin="0,2,0,0"/>
        <TextBox Grid.Row="1" Grid.Column="3" Text="{Binding CANNodeID}" Height="25" Margin="0,2,0,0"/>
        <ComboBox Grid.Row="1" Grid.Column="1" ItemsSource="{Binding NodeTypes}" SelectedItem="{Binding SelectedNodeType}" Height="25" Margin="0,2,0,0"/>
    </Grid>
</UserControl>
