file360

Log | Files | Refs

SecurityPage.xaml (2462B)


      1 <phone:PhoneApplicationPage
      2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      4     xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
      5     xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
      6     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      7     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      8     xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
      9     x:Class="File360.SecurityPage"
     10     FontFamily="{StaticResource PhoneFontFamilyNormal}"
     11     FontSize="{StaticResource PhoneFontSizeNormal}"
     12     Foreground="{StaticResource PhoneForegroundBrush}"
     13     SupportedOrientations="Portrait" Orientation="Portrait"
     14     mc:Ignorable="d"
     15     shell:SystemTray.IsVisible="True">
     16 
     17     <!--LayoutRoot is the root grid where all page content is placed-->
     18     <Grid x:Name="LayoutRoot" Background="Transparent">
     19         <Grid.RowDefinitions>
     20             <RowDefinition Height="Auto"/>
     21             <RowDefinition Height="*"/>
     22         </Grid.RowDefinitions>
     23         <phone:Pivot HorizontalAlignment="Left" Height="768" Title="FILE360°" VerticalAlignment="Top" Width="480" Grid.RowSpan="2">
     24             <phone:PivotItem CacheMode="{x:Null}" Header="security"></phone:PivotItem>
     25         </phone:Pivot>
     26 
     27         <toolkit:ToggleSwitch x:Name="passw" Checked="passw_Checked" Unchecked="passw_Unchecked" HorizontalAlignment="Left" Margin="10,157,0,0" Grid.Row="1" VerticalAlignment="Top" Width="460" Content="password"/>
     28         <toolkit:ToggleSwitch x:Name="shake" Checked="shake_Checked" Unchecked="shake_Unchecked" HorizontalAlignment="Left" Margin="10,265,0,0" Grid.Row="1" VerticalAlignment="Top" Width="460" Content="shake to hide"/>
     29         <Button Click="Video_Tap" HorizontalAlignment="Left" Margin="325,36,0,0" VerticalAlignment="Top" Height="62" Width="108" Grid.Row="1" BorderBrush="{x:Null}" Foreground="{StaticResource PhoneBackgroundBrush}" Background="{StaticResource PhoneBackgroundBrush}"/>
     30         <TextBox x:Name="pb" GotFocus="pb_GotFocus" HorizontalAlignment="Left" Height="84" Margin="10,368,0,0" Grid.RowSpan="2" TextWrapping="Wrap" VerticalAlignment="Top" Width="460" TextChanged="PSetter" Foreground="{StaticResource PhoneBackgroundBrush}" SelectionBackground="{x:Null}" SelectionForeground="{x:Null}"/>
     31     </Grid>
     32 
     33 </phone:PhoneApplicationPage>