Switch to fast pass rendering
This commit is contained in:
Родитель
bf80275f5f
Коммит
76215966a7
|
@ -158,7 +158,7 @@
|
|||
Grid.Column="1"
|
||||
animations:Implicit.Animations="{StaticResource ImplicitOffset}">
|
||||
<StackPanel>
|
||||
<TextBlock Style="{StaticResource AboutPageHeader}">Recent Activity</TextBlock>
|
||||
<TextBlock Style="{StaticResource AboutPageHeader}" Text="Recent Activity"/>
|
||||
|
||||
<Grid Margin="0,16,0,0">
|
||||
<TextBlock FontFamily="Segoe UI"
|
||||
|
@ -195,7 +195,7 @@
|
|||
|
||||
<StackPanel x:Name="ReleaseNotesPanel"
|
||||
animations:Implicit.Animations="{StaticResource ImplicitOffset}">
|
||||
<TextBlock Style="{StaticResource AboutPageHeader}">Release Notes</TextBlock>
|
||||
<TextBlock Style="{StaticResource AboutPageHeader}" Text="Release Notes"/>
|
||||
<ItemsControl Margin="0,16,0,0"
|
||||
ItemTemplate="{StaticResource ReleaseNoteTemplate}"
|
||||
ItemsSource="{x:Bind GitHubReleases, Mode=OneWay}" />
|
||||
|
@ -254,7 +254,7 @@
|
|||
animations:Implicit.Animations="{StaticResource ImplicitOffset}"
|
||||
NavigateUri="https://go.microsoft.com/fwlink/?LinkId=521839"
|
||||
Style="{StaticResource AboutHyperlinkButtonStyle}">
|
||||
<TextBlock>Privacy statement</TextBlock>
|
||||
<TextBlock Text="Privacy statement"/>
|
||||
</HyperlinkButton>
|
||||
</Grid>
|
||||
</ScrollViewer>
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
<ComboBox x:Name="FrameSourceGroupCombo" Header="Frame Source Group" HorizontalAlignment="Left" Width="Auto">
|
||||
<ComboBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding DisplayName}"></TextBlock>
|
||||
<TextBlock Text="{Binding DisplayName}"/>
|
||||
</DataTemplate>
|
||||
</ComboBox.ItemTemplate>
|
||||
</ComboBox>
|
||||
<TextBlock x:Name="CameraErrorTextBlock" Style="{StaticResource ErrorMessageStyle}" Margin="0,0,0,10" Visibility="Collapsed"></TextBlock>
|
||||
<TextBlock x:Name="CameraErrorTextBlock" Style="{StaticResource ErrorMessageStyle}" Margin="0,0,0,10" Visibility="Collapsed"/>
|
||||
<Button x:Name="CaptureButton" Content="Capture Video Frame" Margin="0,10" Click="CaptureButton_Click"></Button>
|
||||
<Image x:Name="CurrentFrameImage" MinWidth="300" Width="400" HorizontalAlignment="Left"></Image>
|
||||
</StackPanel>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<StackPanel Orientation="Vertical" Margin="20">
|
||||
<controls:CameraPreview x:Name="CameraPreviewControl">
|
||||
</controls:CameraPreview>
|
||||
<TextBlock x:Name="ErrorMessage"></TextBlock>
|
||||
<TextBlock x:Name="ErrorMessage"/>
|
||||
<Image x:Name="CurrentFrameImage" MinWidth="300" Width="400" HorizontalAlignment="Left"></Image>
|
||||
</StackPanel>
|
||||
</Page>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<StackPanel Orientation="Vertical" Margin="20">
|
||||
<controls:CameraPreview x:Name="CameraPreviewControl">
|
||||
</controls:CameraPreview>
|
||||
<TextBlock x:Name="ErrorMessage" Style="{StaticResource ErrorMessageStyle}"></TextBlock>
|
||||
<TextBlock x:Name="ErrorMessage" Style="{StaticResource ErrorMessageStyle}"/>
|
||||
<Image x:Name="CurrentFrameImage" MinWidth="300" Width="400" HorizontalAlignment="Left"></Image>
|
||||
</StackPanel>
|
||||
</Page>
|
|
@ -36,8 +36,8 @@
|
|||
MaxWidth="500"
|
||||
animations:Connected.AnchorElement="{x:Bind HeroElement}">
|
||||
|
||||
<TextBlock Text="Header" FontSize="50"></TextBlock>
|
||||
<TextBlock TextWrapping="WrapWholeWords">Lorem ipsum ...</TextBlock>
|
||||
<TextBlock Text="Header" FontSize="50"/>
|
||||
<TextBlock TextWrapping="WrapWholeWords" Text="Lorem ipsum ..."/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
|
@ -77,9 +77,9 @@
|
|||
animations:Connected.AnchorElement="{x:Bind ItemHeroElement}">
|
||||
|
||||
<TextBlock Text="{x:Bind item.Title}"
|
||||
FontSize="50"></TextBlock>
|
||||
FontSize="50"/>
|
||||
|
||||
<TextBlock TextWrapping="WrapWholeWords">Lorem ipsum ...</TextBlock>
|
||||
<TextBlock TextWrapping="WrapWholeWords" Text="Lorem ipsum ..."/>
|
||||
|
||||
</StackPanel>
|
||||
|
||||
|
@ -90,7 +90,7 @@
|
|||
</StackPanel>
|
||||
|
||||
<TextBlock Margin="0,40"
|
||||
TextWrapping="WrapWholeWords">Lorem Ipsum ...</TextBlock>
|
||||
TextWrapping="WrapWholeWords" Text="Lorem Ipsum ..."/>
|
||||
</StackPanel>
|
||||
<!-- /Page -->
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<Grid Padding="20">
|
||||
|
||||
<TextBlock VerticalAlignment="Bottom" HorizontalAlignment="Center">This is the first page, Click/Tap the box to navigate to the next page</TextBlock>
|
||||
<TextBlock VerticalAlignment="Bottom" HorizontalAlignment="Center" Text="This is the first page, Click/Tap the box to navigate to the next page"/>
|
||||
|
||||
<Border Height="100"
|
||||
Width="100"
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
animations:Connected.Key="item"></Border>
|
||||
|
||||
<StackPanel x:Name="HeroDetailsElement" Margin="20,0" VerticalAlignment="Bottom" MaxWidth="500" animations:Connected.AnchorElement="{x:Bind HeroElement}">
|
||||
<TextBlock Text="Header" FontSize="50"></TextBlock>
|
||||
<TextBlock TextWrapping="WrapWholeWords">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eleifend ex sit amet blandit lobortis. Curabitur ut diam fringilla, interdum massa sit amet, facilisis erat. Donec vulputate sed ex vel pellentesque. In sodales odio non felis interdum viverra. Morbi in mi mollis, ullamcorper nibh sit amet, sagittis ex. Maecenas dapibus commodo venenatis. Donec at egestas est.</TextBlock>
|
||||
<TextBlock Text="Header" FontSize="50"/>
|
||||
<TextBlock TextWrapping="WrapWholeWords" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eleifend ex sit amet blandit lobortis. Curabitur ut diam fringilla, interdum massa sit amet, facilisis erat. Donec vulputate sed ex vel pellentesque. In sodales odio non felis interdum viverra. Morbi in mi mollis, ullamcorper nibh sit amet, sagittis ex. Maecenas dapibus commodo venenatis. Donec at egestas est."/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
VerticalAlignment="Bottom"
|
||||
MaxWidth="500"
|
||||
animations:Connected.AnchorElement="{x:Bind ItemHeroElement}">
|
||||
<TextBlock Text="{x:Bind item.Title}" FontSize="50"></TextBlock>
|
||||
<TextBlock TextWrapping="WrapWholeWords">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eleifend ex sit amet blandit lobortis. Curabitur ut diam fringilla, interdum massa sit amet, facilisis erat. Donec vulputate sed ex vel pellentesque. In sodales odio non felis interdum viverra. Morbi in mi mollis, ullamcorper nibh sit amet, sagittis ex. Maecenas dapibus commodo venenatis. Donec at egestas est.</TextBlock>
|
||||
<TextBlock Text="{x:Bind item.Title}" FontSize="50"/>
|
||||
<TextBlock TextWrapping="WrapWholeWords" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eleifend ex sit amet blandit lobortis. Curabitur ut diam fringilla, interdum massa sit amet, facilisis erat. Donec vulputate sed ex vel pellentesque. In sodales odio non felis interdum viverra. Morbi in mi mollis, ullamcorper nibh sit amet, sagittis ex. Maecenas dapibus commodo venenatis. Donec at egestas est."/>
|
||||
</StackPanel>
|
||||
<Image x:Name="ItemHeroElement"
|
||||
Height="300" Width="300"
|
||||
|
@ -24,7 +24,7 @@
|
|||
animations:Connected.Key="listItem"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock x:Name="Content" Margin="0,40" TextWrapping="WrapWholeWords" > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eleifend ex sit amet blandit lobortis. Curabitur ut diam fringilla, interdum massa sit amet, facilisis erat. Donec vulputate sed ex vel pellentesque. In sodales odio non felis interdum viverra. Morbi in mi mollis, ullamcorper nibh sit amet, sagittis ex. Maecenas dapibus commodo venenatis. Donec at egestas est. Donec sit amet ante gravida, feugiat arcu quis, ullamcorper justo. Donec finibus erat lectus, pretium ultrices erat lobortis eu. Nulla sodales libero nisi, a varius urna vehicula et. In rhoncus magna sed felis ultricies aliquet. Sed rhoncus mi id elementum faucibus. Fusce blandit, urna sit amet maximus ultrices, lorem neque fermentum felis, id elementum tellus erat eu eros. Vivamus egestas, est eu sagittis vehicula, lorem nulla hendrerit elit, eu consectetur leo magna eu lorem. Nulla pulvinar augue vitae libero pretium molestie. Nam eget dui velit. Curabitur eu vehicula velit, eu convallis orci. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum et ipsum turpis. Ut volutpat condimentum elit, sit amet faucibus libero dignissim ac. Aenean vitae euismod lorem. Cras enim neque, hendrerit et dui vitae, viverra porttitor nisi. Aliquam suscipit dictum leo id consequat. Pellentesque condimentum elementum neque. Donec hendrerit nisi quis lorem sagittis, et aliquam dui suscipit. Cras at ligula vitae magna dignissim condimentum nec sagittis mauris. In hac habitasse platea dictumst. Donec tempor, dui et pretium pretium, libero magna iaculis eros, sed consequat nisi orci tempus est. Fusce in rutrum odio. Donec vitae porta metus, et pellentesque turpis. Nullam vestibulum lacus a metus sollicitudin vestibulum. Quisque lacinia quam et urna iaculis mattis. Vestibulum in justo ligula. Donec in dolor lacinia, semper risus eget, bibendum libero. Phasellus elementum odio vel facilisis gravida. Aliquam ac rutrum lacus, et aliquam arcu. Sed tempor rhoncus ipsum, nec viverra diam suscipit non. Nam fermentum commodo auctor. Praesent et nunc id nibh dignissim interdum. Phasellus fermentum mauris tortor, vel laoreet leo maximus sed. Nam sagittis risus lacinia quam dictum rutrum. Pellentesque mollis elit vel mauris eleifend auctor. Donec nec tincidunt odio. Morbi eleifend, turpis ullamcorper convallis vehicula, eros enim lobortis sapien, sit amet consequat risus lorem eu ligula. Quisque hendrerit scelerisque justo vel ultricies. Duis nec erat vulputate, sagittis nisi ut, congue tellus. Integer eget risus nec justo rutrum gravida. Sed eu aliquam nisl, consectetur euismod lacus. Etiam erat ligula, laoreet sed risus non, auctor sollicitudin lacus. Ut tincidunt lectus nec tempor interdum. Proin varius nisi enim, sed finibus urna tincidunt et. Suspendisse venenatis ex ut risus porttitor tempor. Vestibulum mauris ante, blandit in bibendum ac, aliquet quis leo. Aenean at facilisis nunc. Nullam blandit erat at orci tincidunt, in iaculis lorem viverra. Maecenas nec dui porta, tempus nulla nec, rhoncus felis. Ut vitae lectus a metus varius pretium at ut enim. Suspendisse potenti.</TextBlock>
|
||||
<TextBlock x:Name="Content" Margin="0,40" TextWrapping="WrapWholeWords" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eleifend ex sit amet blandit lobortis. Curabitur ut diam fringilla, interdum massa sit amet, facilisis erat. Donec vulputate sed ex vel pellentesque. In sodales odio non felis interdum viverra. Morbi in mi mollis, ullamcorper nibh sit amet, sagittis ex. Maecenas dapibus commodo venenatis. Donec at egestas est. Donec sit amet ante gravida, feugiat arcu quis, ullamcorper justo. Donec finibus erat lectus, pretium ultrices erat lobortis eu. Nulla sodales libero nisi, a varius urna vehicula et. In rhoncus magna sed felis ultricies aliquet. Sed rhoncus mi id elementum faucibus. Fusce blandit, urna sit amet maximus ultrices, lorem neque fermentum felis, id elementum tellus erat eu eros. Vivamus egestas, est eu sagittis vehicula, lorem nulla hendrerit elit, eu consectetur leo magna eu lorem. Nulla pulvinar augue vitae libero pretium molestie. Nam eget dui velit. Curabitur eu vehicula velit, eu convallis orci. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum et ipsum turpis. Ut volutpat condimentum elit, sit amet faucibus libero dignissim ac. Aenean vitae euismod lorem. Cras enim neque, hendrerit et dui vitae, viverra porttitor nisi. Aliquam suscipit dictum leo id consequat. Pellentesque condimentum elementum neque. Donec hendrerit nisi quis lorem sagittis, et aliquam dui suscipit. Cras at ligula vitae magna dignissim condimentum nec sagittis mauris. In hac habitasse platea dictumst. Donec tempor, dui et pretium pretium, libero magna iaculis eros, sed consequat nisi orci tempus est. Fusce in rutrum odio. Donec vitae porta metus, et pellentesque turpis. Nullam vestibulum lacus a metus sollicitudin vestibulum. Quisque lacinia quam et urna iaculis mattis. Vestibulum in justo ligula. Donec in dolor lacinia, semper risus eget, bibendum libero. Phasellus elementum odio vel facilisis gravida. Aliquam ac rutrum lacus, et aliquam arcu. Sed tempor rhoncus ipsum, nec viverra diam suscipit non. Nam fermentum commodo auctor. Praesent et nunc id nibh dignissim interdum. Phasellus fermentum mauris tortor, vel laoreet leo maximus sed. Nam sagittis risus lacinia quam dictum rutrum. Pellentesque mollis elit vel mauris eleifend auctor. Donec nec tincidunt odio. Morbi eleifend, turpis ullamcorper convallis vehicula, eros enim lobortis sapien, sit amet consequat risus lorem eu ligula. Quisque hendrerit scelerisque justo vel ultricies. Duis nec erat vulputate, sagittis nisi ut, congue tellus. Integer eget risus nec justo rutrum gravida. Sed eu aliquam nisl, consectetur euismod lacus. Etiam erat ligula, laoreet sed risus non, auctor sollicitudin lacus. Ut tincidunt lectus nec tempor interdum. Proin varius nisi enim, sed finibus urna tincidunt et. Suspendisse venenatis ex ut risus porttitor tempor. Vestibulum mauris ante, blandit in bibendum ac, aliquet quis leo. Aenean at facilisis nunc. Nullam blandit erat at orci tincidunt, in iaculis lorem viverra. Maecenas nec dui porta, tempus nulla nec, rhoncus felis. Ut vitae lectus a metus varius pretium at ut enim. Suspendisse potenti."/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Page>
|
|
@ -38,7 +38,7 @@
|
|||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal" Margin="12">
|
||||
<TextBlock Text="DataGrid Sample : Mountains" VerticalAlignment="Center" Margin="5,0" Style="{ThemeResource SubtitleTextBlockStyle}"></TextBlock>
|
||||
<TextBlock Text="DataGrid Sample : Mountains" VerticalAlignment="Center" Margin="5,0" Style="{ThemeResource SubtitleTextBlockStyle}"/>
|
||||
<AppBarButton Icon="Filter" Label="Filter by">
|
||||
<AppBarButton.Flyout>
|
||||
<MenuFlyout>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
mc:Ignorable="d" >
|
||||
|
||||
<Grid>
|
||||
<TextBlock Margin="5" Text="In this demo you can't add a child after a Stretch child"></TextBlock>
|
||||
<TextBlock Margin="5" Text="In this demo you can't add a child after a Stretch child"/>
|
||||
<Grid Padding="48">
|
||||
<controls:DockPanel x:Name="SampleDockPanel"
|
||||
Background="LightGray"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<Grid>
|
||||
<ScrollViewer Margin="15" VerticalScrollBarVisibility="Auto">
|
||||
<StackPanel>
|
||||
<TextBlock Style="{StaticResource TitleText}" >TextBlock</TextBlock>
|
||||
<TextBlock Style="{StaticResource TitleText}" Text="TextBlock"/>
|
||||
<Border Style="{StaticResource DividingBorder}" />
|
||||
|
||||
<controls:DropShadowPanel BlurRadius="@[BlurRadius:DoubleSlider:8.0:0.0-10.0]"
|
||||
|
@ -35,17 +35,10 @@
|
|||
VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center"
|
||||
IsMasked="@[Is Masked:Bool:true]">
|
||||
<TextBlock TextWrapping="Wrap">
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eget sem luctus, gravida diam cursus, rutrum ipsum.
|
||||
Pellentesque semper magna nec sapien ornare tincidunt. Sed pellentesque, turpis quis laoreet pellentesque, urna sapien efficitur nulla,
|
||||
at interdum dolor sapien ut odio. Sed ullamcorper sapien velit, id finibus risus gravida vitae. Morbi ac ultrices lectus. Aenean felis
|
||||
justo, aliquet a risus ut, condimentum malesuada metus. Duis vehicula pharetra dolor vel finibus. Nunc auctor tortor nunc, in varius velit
|
||||
lobortis vel. Duis viverra, ante id mollis mattis, sem mauris ullamcorper dolor, sed rhoncus est erat eget ligula. Aliquam rutrum velit et
|
||||
felis sollicitudin, eget dapibus dui accumsan.
|
||||
</TextBlock>
|
||||
<TextBlock TextWrapping="Wrap" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eget sem luctus, gravida diam cursus, rutrum ipsum. Pellentesque semper magna nec sapien ornare tincidunt. Sed pellentesque, turpis quis laoreet pellentesque, urna sapien efficitur nulla, at interdum dolor sapien ut odio. Sed ullamcorper sapien velit, id finibus risus gravida vitae. Morbi ac ultrices lectus. Aenean felis justo, aliquet a risus ut, condimentum malesuada metus. Duis vehicula pharetra dolor vel finibus. Nunc auctor tortor nunc, in varius velit lobortis vel. Duis viverra, ante id mollis mattis, sem mauris ullamcorper dolor, sed rhoncus est erat eget ligula. Aliquam rutrum velit et felis sollicitudin, eget dapibus dui accumsan."/>
|
||||
</controls:DropShadowPanel>
|
||||
|
||||
<TextBlock Style="{StaticResource TitleText}" >Shapes</TextBlock>
|
||||
<TextBlock Style="{StaticResource TitleText}" Text="Shapes"/>
|
||||
<Border Style="{StaticResource DividingBorder}" />
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
@ -83,7 +76,7 @@
|
|||
</controls:DropShadowPanel>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Style="{StaticResource TitleText}">Images</TextBlock>
|
||||
<TextBlock Style="{StaticResource TitleText}" Text="Images"/>
|
||||
<Border Style="{StaticResource DividingBorder}" />
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
|
|
|
@ -52,8 +52,7 @@
|
|||
VerticalAlignment="Center"
|
||||
Text=""
|
||||
Foreground="{ThemeResource Brush-Alt}"
|
||||
FontFamily="Segoe MDL2 Assets">
|
||||
</TextBlock>
|
||||
FontFamily="Segoe MDL2 Assets"/>
|
||||
</Grid>
|
||||
</controls:GridSplitter.Element>
|
||||
</controls:GridSplitter>
|
||||
|
|
|
@ -37,40 +37,28 @@
|
|||
|
||||
<Border Grid.Column="0"
|
||||
Grid.Row="0">
|
||||
<TextBlock>
|
||||
This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect RowDefinition MinHeight="100"
|
||||
</TextBlock>
|
||||
<TextBlock Text="This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect RowDefinition MinHeight='100'"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1"
|
||||
Grid.Row="0">
|
||||
<TextBlock>
|
||||
This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect
|
||||
</TextBlock>
|
||||
<TextBlock Text="This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect"/>
|
||||
</Border>
|
||||
<Border Grid.Column="2"
|
||||
Grid.Row="0">
|
||||
<TextBlock>
|
||||
This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect
|
||||
</TextBlock>
|
||||
<TextBlock Text="This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect"/>
|
||||
</Border>
|
||||
|
||||
<Border Grid.Column="0"
|
||||
Grid.Row="1">
|
||||
<TextBlock>
|
||||
This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect
|
||||
</TextBlock>
|
||||
<TextBlock Text="This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect"/>
|
||||
</Border>
|
||||
<Border Grid.Column="1"
|
||||
Grid.Row="1">
|
||||
<TextBlock>
|
||||
This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect
|
||||
</TextBlock>
|
||||
<TextBlock Text="This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect"/>
|
||||
</Border>
|
||||
<Border Grid.Column="2"
|
||||
Grid.Row="1">
|
||||
<TextBlock>
|
||||
This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect
|
||||
</TextBlock>
|
||||
<TextBlock Text="This text to simulate the resizing feature of the Grid Splitter Control, try to move the splitter to see the effect"/>
|
||||
</Border>
|
||||
|
||||
<!--Column Grid Splitter-->
|
||||
|
@ -103,8 +91,7 @@
|
|||
VerticalAlignment="Center"
|
||||
Text=""
|
||||
Foreground="White"
|
||||
FontFamily="Segoe MDL2 Assets">
|
||||
</TextBlock>
|
||||
FontFamily="Segoe MDL2 Assets"/>
|
||||
</controls:GridSplitter.Element>
|
||||
</controls:GridSplitter>
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
|
||||
<Page.Resources>
|
||||
<DataTemplate x:Name="NormalTemplate">
|
||||
<TextBlock Text="{Binding Title}" Foreground="Green"></TextBlock>
|
||||
<TextBlock Text="{Binding Title}" Foreground="Green"/>
|
||||
</DataTemplate>
|
||||
|
||||
<DataTemplate x:Name="AlternateTemplate">
|
||||
<TextBlock Text="{Binding Title}" Foreground="Red"></TextBlock>
|
||||
<TextBlock Text="{Binding Title}" Foreground="Red"/>
|
||||
</DataTemplate>
|
||||
</Page.Resources>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<StackPanel Margin="0,64,0,0">
|
||||
<wgt:PeoplePicker x:Name="PeopleChooser"
|
||||
Visibility="{Binding ElementName=LoginButton, Path=UserDetails, Converter={StaticResource NullToVisibilityConverter}}"/>
|
||||
<TextBlock Margin="0,8,0,0" FontWeight="Bold">Picked People:</TextBlock>
|
||||
<TextBlock Margin="0,8,0,0" FontWeight="Bold" Text="Picked People:"/>
|
||||
<ItemsControl ItemsSource="{Binding PickedPeople, ElementName=PeopleChooser}"
|
||||
Margin="8,0,0,0">
|
||||
<ItemsControl.ItemTemplate>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
ui:TextBoxExtensions.Regex="^[a-zA-Z]{6}$"
|
||||
Header="Confirmation code"
|
||||
PlaceholderText="6 letters" />
|
||||
<TextBlock Visibility="{Binding (ui:TextBoxExtensions.IsValid), ElementName=ConfirmationCodeValidator}">Thanks for entering a valid code!</TextBlock>
|
||||
<TextBlock Visibility="{Binding (ui:TextBoxExtensions.IsValid), ElementName=ConfirmationCodeValidator}" Text="Thanks for entering a valid code!"/>
|
||||
</StackPanel>
|
||||
</controls:Case>
|
||||
<controls:Case Value="E-ticket number">
|
||||
|
@ -35,7 +35,7 @@
|
|||
ui:TextBoxExtensions.Regex="(^\d{10}$)|(^\d{13}$)"
|
||||
Header="E-ticket number"
|
||||
PlaceholderText="10 or 13 numbers" />
|
||||
<TextBlock Visibility="{Binding (ui:TextBoxExtensions.IsValid), ElementName=TicketValidator}">Thanks for entering a valid code!</TextBlock>
|
||||
<TextBlock Visibility="{Binding (ui:TextBoxExtensions.IsValid), ElementName=TicketValidator}" Text="Thanks for entering a valid code!"/>
|
||||
</StackPanel>
|
||||
</controls:Case>
|
||||
<controls:Case Value="Mileage Plan number">
|
||||
|
@ -45,7 +45,7 @@
|
|||
</controls:Case>
|
||||
<!-- You can also provide a default case if no match is found -->
|
||||
<controls:Case IsDefault="True">
|
||||
<TextBlock>Please select a way to lookup your reservation above...</TextBlock>
|
||||
<TextBlock Text="Please select a way to lookup your reservation above..."/>
|
||||
</controls:Case>
|
||||
</controls:SwitchPresenter>
|
||||
|
||||
|
@ -60,22 +60,22 @@
|
|||
TargetType="enums:Animal"
|
||||
Padding="16">
|
||||
<controls:Case Value="Cat">
|
||||
<TextBlock FontSize="32">🐈</TextBlock>
|
||||
<TextBlock FontSize="32" Text="🐈"/>
|
||||
</controls:Case>
|
||||
<controls:Case Value="Dog">
|
||||
<TextBlock FontSize="32">🐕</TextBlock>
|
||||
<TextBlock FontSize="32" Text="🐕"/>
|
||||
</controls:Case>
|
||||
<controls:Case Value="Bunny">
|
||||
<TextBlock FontSize="32">🐇</TextBlock>
|
||||
<TextBlock FontSize="32" Text="🐇"/>
|
||||
</controls:Case>
|
||||
<controls:Case Value="Llama">
|
||||
<TextBlock FontSize="32">🦙</TextBlock>
|
||||
<TextBlock FontSize="32" Text="🦙"/>
|
||||
</controls:Case>
|
||||
<controls:Case Value="Parrot">
|
||||
<TextBlock FontSize="32">🦜</TextBlock>
|
||||
<TextBlock FontSize="32" Text="🦜"/>
|
||||
</controls:Case>
|
||||
<controls:Case Value="Squirrel">
|
||||
<TextBlock FontSize="32">🐿</TextBlock>
|
||||
<TextBlock FontSize="32" Text="🐿"/>
|
||||
</controls:Case>
|
||||
</controls:SwitchPresenter>
|
||||
</StackPanel>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
Margin="20 20 20 5"
|
||||
HorizontalAlignment="Left"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center">Orientation field in print dialog</TextBlock>
|
||||
<TextBlock VerticalAlignment="Center" Text="Orientation field in print dialog"/>
|
||||
<ToggleSwitch Margin="10,0,0,0"
|
||||
Name="ShowOrientationSwitch"
|
||||
OnContent="Show"
|
||||
|
@ -40,7 +40,7 @@
|
|||
Margin="20 5 20 20"
|
||||
HorizontalAlignment="Left"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock VerticalAlignment="Center">Default orientation setting</TextBlock>
|
||||
<TextBlock VerticalAlignment="Center" Text="Default orientation setting"/>
|
||||
<ComboBox Margin="10,0,0,0"
|
||||
Name="DefaultOrientationComboBox">
|
||||
</ComboBox>
|
||||
|
|
|
@ -23,19 +23,19 @@
|
|||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="0">IsValidEmail</TextBlock>
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="0" Text="IsValidEmail"/>
|
||||
<TextBlock Grid.Column="1" Grid.Row="0" x:Name="IsValidEmailResult" Foreground="Blue" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="1">IsValidNumber</TextBlock>
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="1" Text="IsValidNumber"/>
|
||||
<TextBlock Grid.Column="1" Grid.Row="1" x:Name="IsValidNumberResult" Foreground="Blue" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="2">IsValidDecimal</TextBlock>
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="2" Text="IsValidDecimal"/>
|
||||
<TextBlock Grid.Column="1" Grid.Row="2" x:Name="IsValidDecimalResult" Foreground="Blue" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="3">IsValidString</TextBlock>
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="3" Text="IsValidString"/>
|
||||
<TextBlock Grid.Column="1" Grid.Row="3" x:Name="IsValidStringResult" Foreground="Blue" />
|
||||
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="4">IsValidPhoneNumber</TextBlock>
|
||||
<TextBlock HorizontalAlignment="Right" Padding="5,0" Grid.Column="0" Grid.Row="4" Text="IsValidPhoneNumber"/>
|
||||
<TextBlock Grid.Column="1" Grid.Row="4" x:Name="IsValidPhoneNumberResult" Foreground="Blue" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
OffsetY="@[OffsetY:Slider:0:0-150]"
|
||||
ScrollOrientation="@[Scroll Orientation:Enum:ScrollOrientation.Both]">
|
||||
<Border Style="{StaticResource BorderStyle}">
|
||||
<TextBlock Style="{StaticResource TextBlockStyle}" Text="Simple Content"></TextBlock>
|
||||
<TextBlock Style="{StaticResource TextBlockStyle}" Text="Simple Content"/>
|
||||
</Border>
|
||||
</controls:TileControl>
|
||||
|
||||
|
@ -64,11 +64,11 @@
|
|||
<FlipView x:Name="FlipView">
|
||||
|
||||
<Border Style="{StaticResource BorderStyle}">
|
||||
<TextBlock Style="{StaticResource TextBlockStyle}" Text="Parallax with FlipView >"></TextBlock>
|
||||
<TextBlock Style="{StaticResource TextBlockStyle}" Text="Parallax with FlipView >"/>
|
||||
</Border>
|
||||
|
||||
<Border Style="{StaticResource BorderStyle}">
|
||||
<TextBlock Style="{StaticResource TextBlockStyle}" Text="< Parallax with FlipView"></TextBlock>
|
||||
<TextBlock Style="{StaticResource TextBlockStyle}" Text="< Parallax with FlipView"/>
|
||||
</Border>
|
||||
</FlipView>
|
||||
</controls:TileControl>
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
mc:Ignorable="d">
|
||||
|
||||
<Grid>
|
||||
<TextBlock Margin="16">
|
||||
Modify the XAML to change the Title.
|
||||
</TextBlock>
|
||||
<TextBlock Margin="16" Text="Modify the XAML to change the Title."/>
|
||||
</Grid>
|
||||
</Page>
|
|
@ -42,7 +42,7 @@
|
|||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Orientation="Horizontal" Margin="12">
|
||||
<TextBlock Text="DataGrid Sample : Mountains" VerticalAlignment="Center" Margin="5,0" Style="{ThemeResource SubtitleTextBlockStyle}"></TextBlock>
|
||||
<TextBlock Text="DataGrid Sample : Mountains" VerticalAlignment="Center" Margin="5,0" Style="{ThemeResource SubtitleTextBlockStyle}"/>
|
||||
<AppBarButton Icon="Filter" Label="Filter by">
|
||||
<AppBarButton.Flyout>
|
||||
<MenuFlyout>
|
||||
|
|
Загрузка…
Ссылка в новой задаче