待續, 程式碼及結果如下
<StackPanel VerticalAlignment="Top" Height="20"> <Menu> <MenuItem Header="巡查系統(_L)"> <MenuItem Header="人工登入(_M)" Click="Menu_Click" /> <MenuItem Header="查巡修改(_M)" Click="Menu_Click" /> </MenuItem> <MenuItem Header="列印日誌(_L)"> <MenuItem Header="巡查日誌(_P)" Click="Menu_Click" /> </MenuItem> <MenuItem Header="說明(_H)"> <MenuItem Header="版本(_V)" Click="Menu_Click" /> <MenuItem Header="版權(_L)" Click="Menu_Click"/> </MenuItem> </Menu> </StackPanel> <Frame x:Name="frameContainer" Margin="0,20,0,0" NavigationUIVisibility="Hidden"> <Frame.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FF18E3F7" Offset="0"/> <GradientStop Color="White" Offset="1"/> </LinearGradientBrush> </Frame.Background> </Frame>
asdf