<Page x:Class="SpeedportHybridControl.page.OverviewPage"
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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:SpeedportHybridControl"
- mc:Ignorable="d"
+ mc:Ignorable="d"
Width="Auto" Height="Auto"
Title="OverviewPage">
- <Grid DataContext="{StaticResource OverviewModel}">
+ <Grid DataContext="{StaticResource OverviewPageModel}">
<GroupBox Header="Internet" HorizontalAlignment="Left" VerticalAlignment="Top" Width="174">
<Grid>
<StackPanel>
</GroupBox>
<TextBlock Text="{Binding datetime}" Margin="0,0,10,0" HorizontalAlignment="Right" VerticalAlignment="Bottom" />
- <Button x:Name="reload" Content="Aktualisieren" Margin="218,0,218,0" VerticalAlignment="Bottom" Click="button_click" />
+ <Button Command="{Binding Path=ReloadCommand}" x:Name="reload" Content="Aktualisieren" Margin="218,0,218,0" VerticalAlignment="Bottom" />
</Grid>
</Page>