Merge branch '1.0-pre12'
[GitHub/Stricted/SpeedportHybridControl.git] / SpeedportHybridControl / MainWindow.xaml
CommitLineData
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"
913a0c17
S
12 DataContext="{StaticResource MainWindowModel}"
13 Title="{Binding Path=Title}"
491f6e3b 14 Icon="t-com icon.ico">
913a0c17 15 <Grid>
491f6e3b
S
16 <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Left">
17 <StackPanel.Resources>
18 <Style TargetType="{x:Type Button}">
19 <Setter Property="Margin" Value="3,0,0,0"/>
20 </Style>
21 </StackPanel.Resources>
22
3fcd2f96 23 <Button Command="{Binding Path=SwitchToLoginPage}" Background="{Binding Path=ButtonLoginPageBackground}" x:Name="btnLogin" Content="{Binding Path=LoginButtonContent}"/>
a3157ac3 24 <Button Command="{Binding Path=SwitchToStatusPage}" Background="{Binding Path=ButtonStatusPageBackground}" x:Name="btnStatus" Content="Status"/>
c60797cb
S
25 <Button Command="{Binding Path=SwitchToOverviewPage}" IsEnabled="{Binding Path=ButtonOverviewPageIsActive}" Background="{Binding Path=ButtonOverviewPageBackground}" x:Name="btnOverview" Content="Overview"/>
26 <Button Command="{Binding Path=SwitchToDSLPage}" IsEnabled="{Binding Path=ButtonDSLPageIsActive}" Background="{Binding Path=ButtonDSLPageBackground}" x:Name="btnDsl" Content="DSL"/>
27 <Button Command="{Binding Path=SwitchToLteInfoPage}" IsEnabled="{Binding Path=ButtonLteInfoPageIsActive}" Background="{Binding Path=ButtonLteInfoPageBackground}" x:Name="btnLteInfo" Content="LteInfo"/>
28 <Button Command="{Binding Path=SwitchToSyslogPage}" IsEnabled="{Binding Path=ButtonSyslogPageIsActive}" Background="{Binding Path=ButtonSyslogPageBackground}" x:Name="btnSyslog" Content="Syslog"/>
29 <Button Command="{Binding Path=SwitchToTR181Page}" IsEnabled="{Binding Path=ButtonTR181PageIsActive}" Background="{Binding Path=ButtonTR181PageBackground}" x:Name="btnTR181" Content="TR-181"/>
30 <Button Command="{Binding Path=SwitchToPhonePage}" IsEnabled="{Binding Path=ButtonPhonePageIsActive}" Background="{Binding Path=ButtonPhonePageBackground}" x:Name="btnPhone" Content="Anrufe"/>
31 <Button Command="{Binding Path=SwitchToLanPage}" IsEnabled="{Binding Path=ButtonLanPageIsActive}" Background="{Binding Path=ButtonLanPageBackground}" x:Name="btnLan" Content="Lan"/>
9e12be1a 32 <Button Command="{Binding Path=SwitchToInterfacePage}" IsEnabled="{Binding Path=ButtonInterfacePageIsActive}" Background="{Binding Path=ButtonInterfacePageBackground}" x:Name="btnInterface" Content="Interface"/>
c60797cb 33 <Button Command="{Binding Path=SwitchToControlsPage}" IsEnabled="{Binding Path=ButtonControlsPageIsActive}" Background="{Binding Path=ButtonControlsPageBackground}" x:Name="btnControls" Content="Controls"/>
491f6e3b
S
34 </StackPanel>
35
c60797cb 36 <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
37
38 <DockPanel Margin="0,22,0,0">
a3157ac3 39 <Frame x:Name="frame" NavigationUIVisibility="Hidden" Panel.ZIndex="1" Content="{Binding Path=FrameSource, NotifyOnSourceUpdated=True}"/>
491f6e3b 40 </DockPanel>
d667d1cd
S
41 </Grid>
42</Window>