diff --git a/PhoneToolkitSample/Samples/ButtonsSample.xaml b/PhoneToolkitSample/Samples/ButtonsSample.xaml index 193ac50..de59296 100644 --- a/PhoneToolkitSample/Samples/ButtonsSample.xaml +++ b/PhoneToolkitSample/Samples/ButtonsSample.xaml @@ -13,7 +13,7 @@ shell:SystemTray.IsVisible="True" Style="{StaticResource PageStyle}"> - + diff --git a/PhoneToolkitSample/Samples/HubTileSample.xaml b/PhoneToolkitSample/Samples/HubTileSample.xaml index da95d93..0350f03 100644 --- a/PhoneToolkitSample/Samples/HubTileSample.xaml +++ b/PhoneToolkitSample/Samples/HubTileSample.xaml @@ -21,7 +21,7 @@ - + diff --git a/PhoneToolkitSample/Samples/PhoneTextBoxSample.xaml b/PhoneToolkitSample/Samples/PhoneTextBoxSample.xaml index 26738d3..8db1299 100644 --- a/PhoneToolkitSample/Samples/PhoneTextBoxSample.xaml +++ b/PhoneToolkitSample/Samples/PhoneTextBoxSample.xaml @@ -20,7 +20,7 @@ Style="{StaticResource PageStyle}"> - + diff --git a/PhoneToolkitSample/Samples/SlideInEffectSample.xaml b/PhoneToolkitSample/Samples/SlideInEffectSample.xaml index 169b794..029d4b8 100644 --- a/PhoneToolkitSample/Samples/SlideInEffectSample.xaml +++ b/PhoneToolkitSample/Samples/SlideInEffectSample.xaml @@ -22,7 +22,7 @@ - + diff --git a/PhoneToolkitSample/Samples/TiltEffectSample.xaml b/PhoneToolkitSample/Samples/TiltEffectSample.xaml index 0803d37..d0c5943 100644 --- a/PhoneToolkitSample/Samples/TiltEffectSample.xaml +++ b/PhoneToolkitSample/Samples/TiltEffectSample.xaml @@ -48,7 +48,7 @@ diff --git a/PhoneToolkitSample/Samples/WrapPanelSample.xaml b/PhoneToolkitSample/Samples/WrapPanelSample.xaml index 23ef812..79d9f8b 100644 --- a/PhoneToolkitSample/Samples/WrapPanelSample.xaml +++ b/PhoneToolkitSample/Samples/WrapPanelSample.xaml @@ -38,7 +38,7 @@ - + diff --git a/PhoneToolkitSample8/App.xaml b/PhoneToolkitSample8/App.xaml index 9b3ccc7..7ff559b 100644 --- a/PhoneToolkitSample8/App.xaml +++ b/PhoneToolkitSample8/App.xaml @@ -44,6 +44,7 @@ diff --git a/PhoneToolkitSample8/Assets/AlignmentGrid.png b/PhoneToolkitSample8/Assets/AlignmentGrid.png deleted file mode 100644 index f7d2e97..0000000 Binary files a/PhoneToolkitSample8/Assets/AlignmentGrid.png and /dev/null differ diff --git a/PhoneToolkitSample8/MainPage.xaml b/PhoneToolkitSample8/MainPage.xaml index 85cee78..47b0bb1 100644 --- a/PhoneToolkitSample8/MainPage.xaml +++ b/PhoneToolkitSample8/MainPage.xaml @@ -10,12 +10,12 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" shell:SystemTray.IsVisible="True" - Style="{StaticResource PageStyle}" - Margin="0,0,0,72"> + SupportedOrientations="PortraitOrLandscape" + Style="{StaticResource PageStyle}"> - + @@ -23,12 +23,10 @@ - - - + @@ -41,10 +39,10 @@ - + + IsEnabled="True" Click="ApplicationBarIconSettingsButton_Click"/> \ No newline at end of file diff --git a/PhoneToolkitSample8/MainPage.xaml.cs b/PhoneToolkitSample8/MainPage.xaml.cs index 770ad51..4a50108 100644 --- a/PhoneToolkitSample8/MainPage.xaml.cs +++ b/PhoneToolkitSample8/MainPage.xaml.cs @@ -69,10 +69,20 @@ private void InitializeData() }; } + private void lls_SelectionChanged(object sender, SelectionChangedEventArgs e) + { + var item = lls.SelectedItem as SampleItem; + if (item != null) + { + lls.SelectedItem = null; + NavigationService.Navigate(new Uri(item.Url, UriKind.Relative)); + } + } + private void ApplicationBarIconSettingsButton_Click(object sender, EventArgs e) { NavigationService.Navigate(new Uri("/Settings.xaml", UriKind.RelativeOrAbsolute)); - } + } } public class SampleItem diff --git a/PhoneToolkitSample8/PhoneToolkitSample.WP8.csproj b/PhoneToolkitSample8/PhoneToolkitSample.WP8.csproj index fe1492b..6ad5733 100644 --- a/PhoneToolkitSample8/PhoneToolkitSample.WP8.csproj +++ b/PhoneToolkitSample8/PhoneToolkitSample.WP8.csproj @@ -769,7 +769,6 @@ ar-SA;az-Latn-AZ;be-BY;bg-BG;ca-ES;cs-CZ;da-DK;de-DE;el-GR;en-GB;en-US;es-ES;es- Toolkit.Content\ApplicationBar.Select.png - PreserveNewest diff --git a/PhoneToolkitSample8/Properties/WMAppManifest.xml b/PhoneToolkitSample8/Properties/WMAppManifest.xml index 01a8247..935bdd3 100644 --- a/PhoneToolkitSample8/Properties/WMAppManifest.xml +++ b/PhoneToolkitSample8/Properties/WMAppManifest.xml @@ -1,7 +1,7 @@  - + Assets\ApplicationIcon.png @@ -23,11 +23,11 @@ Assets\Tiles\IconicTileSmall.png 0 Assets\Tiles\IconicTileMediumLarge.png - Toolkit Sample 8 + WPToolkit Sample 8 #68217A - True + False diff --git a/PhoneToolkitSample8/Samples/LabelSample.xaml b/PhoneToolkitSample8/Samples/LabelSample.xaml index df27e19..44d97b5 100644 --- a/PhoneToolkitSample8/Samples/LabelSample.xaml +++ b/PhoneToolkitSample8/Samples/LabelSample.xaml @@ -27,7 +27,7 @@ - + diff --git a/PhoneToolkitSample8/Samples/LongListMultiSelectorSample.xaml b/PhoneToolkitSample8/Samples/LongListMultiSelectorSample.xaml index fc0f902..8401f27 100644 --- a/PhoneToolkitSample8/Samples/LongListMultiSelectorSample.xaml +++ b/PhoneToolkitSample8/Samples/LongListMultiSelectorSample.xaml @@ -145,7 +145,7 @@ - - - +