Commit | Line | Data |
---|---|---|
d667d1cd S |
1 | <Window x:Class="SpeedportHybridControl.MainWindow" |
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |
4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | |
5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
6 | xmlns:local="clr-namespace:SpeedportHybridControl" | |
7 | mc:Ignorable="d" | |
491f6e3b S |
8 | Height="350" |
9 | Width="530" | |
10 | MinHeight="350" | |
11 | MinWidth="530" | |
12 | Title="Speedport Hybrid Konfigurationsprogramm" | |
13 | Icon="t-com icon.ico"> | |
14 | <Grid DataContext="{StaticResource MainWindowModel}" > | |
15 | <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Left"> | |
16 | <StackPanel.Resources> | |
17 | <Style TargetType="{x:Type Button}"> | |
18 | <Setter Property="Margin" Value="3,0,0,0"/> | |
19 | </Style> | |
20 | </StackPanel.Resources> | |
21 | ||
3fcd2f96 | 22 | <Button Command="{Binding Path=SwitchToLoginPage}" Background="{Binding Path=ButtonLoginPageBackground}" x:Name="btnLogin" Content="{Binding Path=LoginButtonContent}"/> |
a3157ac3 | 23 | <Button Command="{Binding Path=SwitchToStatusPage}" Background="{Binding Path=ButtonStatusPageBackground}" x:Name="btnStatus" Content="Status"/> |
c60797cb S |
24 | <Button Command="{Binding Path=SwitchToOverviewPage}" IsEnabled="{Binding Path=ButtonOverviewPageIsActive}" Background="{Binding Path=ButtonOverviewPageBackground}" x:Name="btnOverview" Content="Overview"/> |
25 | <Button Command="{Binding Path=SwitchToDSLPage}" IsEnabled="{Binding Path=ButtonDSLPageIsActive}" Background="{Binding Path=ButtonDSLPageBackground}" x:Name="btnDsl" Content="DSL"/> | |
26 | <Button Command="{Binding Path=SwitchToLteInfoPage}" IsEnabled="{Binding Path=ButtonLteInfoPageIsActive}" Background="{Binding Path=ButtonLteInfoPageBackground}" x:Name="btnLteInfo" Content="LteInfo"/> | |
27 | <Button Command="{Binding Path=SwitchToSyslogPage}" IsEnabled="{Binding Path=ButtonSyslogPageIsActive}" Background="{Binding Path=ButtonSyslogPageBackground}" x:Name="btnSyslog" Content="Syslog"/> | |
28 | <Button Command="{Binding Path=SwitchToTR181Page}" IsEnabled="{Binding Path=ButtonTR181PageIsActive}" Background="{Binding Path=ButtonTR181PageBackground}" x:Name="btnTR181" Content="TR-181"/> | |
29 | <Button Command="{Binding Path=SwitchToPhonePage}" IsEnabled="{Binding Path=ButtonPhonePageIsActive}" Background="{Binding Path=ButtonPhonePageBackground}" x:Name="btnPhone" Content="Anrufe"/> | |
30 | <Button Command="{Binding Path=SwitchToLanPage}" IsEnabled="{Binding Path=ButtonLanPageIsActive}" Background="{Binding Path=ButtonLanPageBackground}" x:Name="btnLan" Content="Lan"/> | |
31 | <Button Command="{Binding Path=SwitchToControlsPage}" IsEnabled="{Binding Path=ButtonControlsPageIsActive}" Background="{Binding Path=ButtonControlsPageBackground}" x:Name="btnControls" Content="Controls"/> | |
491f6e3b S |
32 | </StackPanel> |
33 | ||
c60797cb | 34 | <Button Command="{Binding Path=SwitchToAboutPage}" Background="{Binding Path=ButtonAboutPageBackground}" x:Name="btnAbout" Content="Über" VerticalAlignment="Top" HorizontalAlignment="Right" Width="32" Margin="0,0,3,0"/> |
491f6e3b S |
35 | |
36 | <DockPanel Margin="0,22,0,0"> | |
a3157ac3 | 37 | <Frame x:Name="frame" NavigationUIVisibility="Hidden" Panel.ZIndex="1" Content="{Binding Path=FrameSource, NotifyOnSourceUpdated=True}"/> |
491f6e3b | 38 | </DockPanel> |
d667d1cd S |
39 | </Grid> |
40 | </Window> |