forked from youen/OneWireArduinoSlave
19 lines
1.0 KiB
XML
19 lines
1.0 KiB
XML
<Window x:Class="SerialMonitor.MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="Serial Monitor" Height="490.75" Width="923">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="290" />
|
|
<RowDefinition Height="5" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Canvas Name="Oscilloscope" Style="{DynamicResource Oscilloscope}" Margin="0,0,0,17" />
|
|
<ScrollBar Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Stretch" Height="17" VerticalAlignment="Bottom" Minimum="{Binding MinTime}" Maximum="{Binding MaxTime}" ViewportSize="{Binding ViewportTimeWidth}" Value="{Binding ScrollValue}"/>
|
|
<GridSplitter Grid.Row="1" Height="5" HorizontalAlignment="Stretch" />
|
|
<ScrollViewer Grid.Row="2">
|
|
<TextBlock TextWrapping="Wrap" Style="{DynamicResource Console}" Text="{Binding ConsoleText}"/>
|
|
</ScrollViewer>
|
|
</Grid>
|
|
</Window>
|