├── .gitattributes ├── .gitignore ├── AppBar ├── AppBar.sln ├── AppBar │ ├── App.xaml │ ├── App.xaml.cs │ ├── AppBar.csproj │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── BackgroundChange ├── BackgroundChange.sln ├── BackgroundChange │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── BackgroundChange.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── BackgroundDownloader ├── BackgroundDownloader.sln ├── BackgroundDownloader │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── BackgroundDownloader.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── Button-Flyout-Menu ├── Button-Flyout-Menu.sln ├── Button-Flyout-Menu │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── Button-Flyout-Menu.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── DeviceSpecificView ├── DeviceSpecificView.sln ├── DeviceSpecificView │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── DeviceFamily-Mobile │ │ ├── MainPage.xaml │ │ └── MainPage.xaml.cs │ ├── DeviceSpecificView.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── DragAndDrop ├── DragAndDrop.sln ├── DragAndDrop │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── DragAndDrop.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── FilePicker ├── FilePicker.sln ├── FilePicker │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── FilePicker.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── FlipView ├── FlipView.sln ├── FlipView │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── Controls │ │ └── FlipViewIndicator.cs │ ├── FlipViewDemo.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Model │ │ └── SampleItem.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── Full-Screen-Mode ├── Full-Screen-Mode.sln ├── Full-Screen-Mode │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── Full-Screen-Mode.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── Hamburger-Menu ├── Hamburger-Menu.sln ├── Hamburger-Menu │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── Hamburger-Menu.csproj │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Models │ │ └── MenuItem.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ ├── Themes │ │ └── Generic.xaml │ ├── ViewModels │ │ ├── MainViewModel.cs │ │ └── ViewModelLocator.cs │ ├── Views │ │ ├── Download.xaml │ │ ├── Download.xaml.cs │ │ ├── Favourite.xaml │ │ ├── Favourite.xaml.cs │ │ ├── Home.xaml │ │ ├── Home.xaml.cs │ │ ├── Map.xaml │ │ ├── Map.xaml.cs │ │ ├── Video.xaml │ │ └── Video.xaml.cs │ └── project.json └── README.md ├── MapControl ├── MapControl.sln ├── MapControl │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ ├── Wide310x150Logo.scale-200.png │ │ └── pin.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── MapControl.csproj │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── Mdl2Tool ├── Mdl2Tool.sln ├── Mdl2Tool │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── Mdl2.json │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Mdl2.cs │ ├── Mdl2.xaml │ ├── Mdl2Tool.csproj │ ├── Models │ │ ├── MainViewModel.cs │ │ ├── MdlModel.cs │ │ └── ViewModelLocator.cs │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ ├── Utility │ │ └── Helper.cs │ └── project.json └── README.md ├── MessageDialog ├── MessageDialog.sln ├── MessageDialog │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ └── Wide310x150Logo.scale-200.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── MessageDialog.csproj │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── PDFViewer ├── PDFViewer.sln ├── PDFViewer │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ │ ├── LockScreenLogo.scale-200.png │ │ ├── SplashScreen.scale-200.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── StoreLogo.png │ │ ├── Wide310x150Logo.scale-200.png │ │ └── dummy.pdf │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── PDFViewer.csproj │ ├── Package.appxmanifest │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Default.rd.xml │ └── project.json └── README.md ├── README.md ├── SendEmail-SMS ├── README.md ├── SendEmail-SMS.sln └── SendEmail-SMS │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ ├── SendEmail-SMS.csproj │ └── project.json ├── Sharing ├── README.md ├── Sharing.sln └── Sharing │ ├── App.xaml │ ├── App.xaml.cs │ ├── Assets │ ├── LockScreenLogo.scale-200.png │ ├── SplashScreen.scale-200.png │ ├── Square150x150Logo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ ├── StoreLogo.png │ └── Wide310x150Logo.scale-200.png │ ├── MainPage.xaml │ ├── MainPage.xaml.cs │ ├── Package.appxmanifest │ ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml │ ├── Sharing.csproj │ └── project.json └── Title-Bar-Color-Change ├── README.md ├── Title-Bar-Color-Change.sln └── Title-Bar-Color-Change ├── App.xaml ├── App.xaml.cs ├── Assets ├── LockScreenLogo.scale-200.png ├── SplashScreen.scale-200.png ├── Square150x150Logo.scale-200.png ├── Square44x44Logo.scale-200.png ├── Square44x44Logo.targetsize-24_altform-unplated.png ├── StoreLogo.png └── Wide310x150Logo.scale-200.png ├── MainPage.xaml ├── MainPage.xaml.cs ├── Package.appxmanifest ├── Properties ├── AssemblyInfo.cs └── Default.rd.xml ├── Title-Bar-Color-Change.csproj └── project.json /AppBar/AppBar.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppBar", "AppBar\AppBar.csproj", "{E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|ARM.Build.0 = Debug|ARM 20 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|x64.ActiveCfg = Debug|x64 22 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|x64.Build.0 = Debug|x64 23 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|x64.Deploy.0 = Debug|x64 24 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|x86.ActiveCfg = Debug|x86 25 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|x86.Build.0 = Debug|x86 26 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Debug|x86.Deploy.0 = Debug|x86 27 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|ARM.ActiveCfg = Release|ARM 28 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|ARM.Build.0 = Release|ARM 29 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|ARM.Deploy.0 = Release|ARM 30 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|x64.ActiveCfg = Release|x64 31 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|x64.Build.0 = Release|x64 32 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|x64.Deploy.0 = Release|x64 33 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|x86.ActiveCfg = Release|x86 34 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|x86.Build.0 = Release|x86 35 | {E6D0C3A5-BCE8-4BE5-9CCC-9CAA12B89427}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /AppBar/AppBar/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /AppBar/AppBar/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/AppBar/AppBar/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /AppBar/AppBar/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/AppBar/AppBar/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /AppBar/AppBar/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/AppBar/AppBar/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /AppBar/AppBar/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/AppBar/AppBar/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /AppBar/AppBar/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/AppBar/AppBar/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /AppBar/AppBar/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/AppBar/AppBar/Assets/StoreLogo.png -------------------------------------------------------------------------------- /AppBar/AppBar/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/AppBar/AppBar/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /AppBar/AppBar/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml; 2 | using Windows.UI.Xaml.Controls; 3 | using Windows.UI.Xaml.Media; 4 | 5 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 6 | 7 | namespace AppBar 8 | { 9 | /// 10 | /// An empty page that can be used on its own or navigated to within a Frame. 11 | /// 12 | public sealed partial class MainPage : Page 13 | { 14 | public MainPage() 15 | { 16 | this.InitializeComponent(); 17 | } 18 | 19 | private void LikeButton_Checked(object sender, RoutedEventArgs e) 20 | { 21 | LikeButton.Icon = new SymbolIcon(Symbol.SolidStar); 22 | SolidColorBrush brush = new SolidColorBrush(Windows.UI.Colors.Gold); 23 | LikeButton.Icon.Foreground = brush; 24 | } 25 | 26 | private void LikeButton_Unchecked(object sender, RoutedEventArgs e) 27 | { 28 | LikeButton.Icon = new SymbolIcon(Symbol.OutlineStar); 29 | SolidColorBrush brush = new SolidColorBrush(Windows.UI.Colors.Black); 30 | LikeButton.Icon.Foreground = brush; 31 | } 32 | 33 | private void Play_Checked(object sender, RoutedEventArgs e) 34 | { 35 | Play.Icon = new SymbolIcon(Symbol.Pause); 36 | Play.Label = "Pause"; 37 | } 38 | 39 | private void Play_Unchecked(object sender, RoutedEventArgs e) 40 | { 41 | Play.Icon = new SymbolIcon(Symbol.Play); 42 | Play.Label = "Play"; 43 | } 44 | 45 | private void Volume_Checked(object sender, RoutedEventArgs e) 46 | { 47 | Volume.Icon = new SymbolIcon(Symbol.Mute); 48 | Volume.Label = "Mute"; 49 | } 50 | 51 | private void Volume_Unchecked(object sender, RoutedEventArgs e) 52 | { 53 | Volume.Icon = new SymbolIcon(Symbol.Volume); 54 | Volume.Label = "Volume"; 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /AppBar/AppBar/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | AppBar 18 | J2DN 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /AppBar/AppBar/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("AppBar")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("AppBar")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /AppBar/AppBar/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /AppBar/AppBar/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } -------------------------------------------------------------------------------- /AppBar/README.md: -------------------------------------------------------------------------------- 1 | #App Bar and Command Bar in #UWP 2 | 3 | ### YouTube Video 4 | [![App Bar and Command Bar in #UWP](http://img.youtube.com/vi/NNaoYttwiuk/0.jpg)](https://youtu.be/NNaoYttwiuk "App Bar and Command Bar in #UWP") 5 | -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BackgroundChange", "BackgroundChange\BackgroundChange.csproj", "{22495A62-CF63-46CD-8045-81FB6BED65AA}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|ARM.Build.0 = Debug|ARM 20 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|x64.ActiveCfg = Debug|x64 22 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|x64.Build.0 = Debug|x64 23 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|x64.Deploy.0 = Debug|x64 24 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|x86.ActiveCfg = Debug|x86 25 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|x86.Build.0 = Debug|x86 26 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Debug|x86.Deploy.0 = Debug|x86 27 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|ARM.ActiveCfg = Release|ARM 28 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|ARM.Build.0 = Release|ARM 29 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|ARM.Deploy.0 = Release|ARM 30 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|x64.ActiveCfg = Release|x64 31 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|x64.Build.0 = Release|x64 32 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|x64.Deploy.0 = Release|x64 33 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|x86.ActiveCfg = Release|x86 34 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|x86.Build.0 = Release|x86 35 | {22495A62-CF63-46CD-8045-81FB6BED65AA}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/BackgroundChange/BackgroundChange/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/BackgroundChange/BackgroundChange/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/BackgroundChange/BackgroundChange/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/BackgroundChange/BackgroundChange/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/BackgroundChange/BackgroundChange/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/BackgroundChange/BackgroundChange/Assets/StoreLogo.png -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/BackgroundChange/BackgroundChange/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /BackgroundChange/BackgroundChange/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 12 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Button-Flyout-Menu/Button-Flyout-Menu/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 17 | 18 | namespace Button_Flyout_Menu 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class MainPage : Page 24 | { 25 | public MainPage() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Button-Flyout-Menu/Button-Flyout-Menu/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | Button-Flyout-Menu 18 | Bhaumik 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Button-Flyout-Menu/Button-Flyout-Menu/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Button-Flyout-Menu")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Button-Flyout-Menu")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Button-Flyout-Menu/Button-Flyout-Menu/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Button-Flyout-Menu/Button-Flyout-Menu/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } -------------------------------------------------------------------------------- /Button-Flyout-Menu/README.md: -------------------------------------------------------------------------------- 1 | # Button Flyout Menu in UWP 2 | ``` 3 | 21 | ``` 22 | ### YouTube Video 23 | 24 | [![Button Flyout Menu in UWP](http://img.youtube.com/vi/rcrFPJa_5bk/0.jpg)](https://youtu.be/rcrFPJa_5bk "Button Flyout Menu in UWP") 25 | 26 | 27 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DeviceSpecificView/DeviceSpecificView/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DeviceSpecificView/DeviceSpecificView/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DeviceSpecificView/DeviceSpecificView/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DeviceSpecificView/DeviceSpecificView/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DeviceSpecificView/DeviceSpecificView/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DeviceSpecificView/DeviceSpecificView/Assets/StoreLogo.png -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DeviceSpecificView/DeviceSpecificView/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/DeviceFamily-Mobile/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/DeviceFamily-Mobile/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 4 | 5 | namespace DeviceSpecificView.DeviceFamily_Mobile 6 | { 7 | /// 8 | /// An empty page that can be used on its own or navigated to within a Frame. 9 | /// 10 | public sealed partial class MainPage : Page 11 | { 12 | public MainPage() 13 | { 14 | this.InitializeComponent(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using Windows.UI.Xaml.Controls; 2 | 3 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 4 | 5 | namespace DeviceSpecificView 6 | { 7 | /// 8 | /// An empty page that can be used on its own or navigated to within a Frame. 9 | /// 10 | public sealed partial class MainPage : Page 11 | { 12 | public MainPage() 13 | { 14 | this.InitializeComponent(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | DeviceSpecificView 18 | J2DN 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("DeviceSpecificView")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DeviceSpecificView")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /DeviceSpecificView/DeviceSpecificView/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } -------------------------------------------------------------------------------- /DeviceSpecificView/README.md: -------------------------------------------------------------------------------- 1 | #Develop Different UI For Different Device Family In UWP 2 | 3 | ### YouTube Video 4 | [![Using #DeviceFamily to create device adaptive #layouts](http://img.youtube.com/vi/ND0DnlsZF9g/0.jpg)](https://youtu.be/ND0DnlsZF9g "Using #DeviceFamily to create device adaptive #layouts") 5 | -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DragAndDrop", "DragAndDrop\DragAndDrop.csproj", "{C510CE71-FBEE-4548-A0A0-2E17ACCAC358}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|ARM.Build.0 = Debug|ARM 20 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|x64.ActiveCfg = Debug|x64 22 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|x64.Build.0 = Debug|x64 23 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|x64.Deploy.0 = Debug|x64 24 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|x86.ActiveCfg = Debug|x86 25 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|x86.Build.0 = Debug|x86 26 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Debug|x86.Deploy.0 = Debug|x86 27 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|ARM.ActiveCfg = Release|ARM 28 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|ARM.Build.0 = Release|ARM 29 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|ARM.Deploy.0 = Release|ARM 30 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|x64.ActiveCfg = Release|x64 31 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|x64.Build.0 = Release|x64 32 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|x64.Deploy.0 = Release|x64 33 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|x86.ActiveCfg = Release|x86 34 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|x86.Build.0 = Release|x86 35 | {C510CE71-FBEE-4548-A0A0-2E17ACCAC358}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DragAndDrop/DragAndDrop/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DragAndDrop/DragAndDrop/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DragAndDrop/DragAndDrop/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DragAndDrop/DragAndDrop/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DragAndDrop/DragAndDrop/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DragAndDrop/DragAndDrop/Assets/StoreLogo.png -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/DragAndDrop/DragAndDrop/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 11 | 12 | 13 | 14 | 21 | 25 | 26 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq; 3 | using Windows.ApplicationModel.DataTransfer; 4 | using Windows.Storage; 5 | using Windows.UI; 6 | using Windows.UI.Xaml; 7 | using Windows.UI.Xaml.Controls; 8 | using Windows.UI.Xaml.Media; 9 | using Windows.UI.Xaml.Media.Imaging; 10 | 11 | namespace DragAndDrop 12 | { 13 | /// 14 | /// An empty page that can be used on its own or navigated to within a Frame. 15 | /// 16 | public sealed partial class MainPage : Page 17 | { 18 | public MainPage() 19 | { 20 | this.InitializeComponent(); 21 | } 22 | 23 | private async void DropArea_Drop(object sender, DragEventArgs e) 24 | { 25 | if (e.DataView.Contains(StandardDataFormats.StorageItems)) 26 | { 27 | var items = await 28 | e.DataView.GetStorageItemsAsync(); 29 | if (items.Any()) 30 | { 31 | var storeFile = items[0] as StorageFile; 32 | var bitmapImage = new BitmapImage(); 33 | bitmapImage.SetSource(await storeFile.OpenAsync(FileAccessMode.Read)); 34 | dragedImage.Source = bitmapImage; 35 | } 36 | } 37 | DropArea.Background = new SolidColorBrush(Color.FromArgb(255, 216, 216, 216)); 38 | } 39 | 40 | private void DropArea_DragOver(object sender, DragEventArgs e) 41 | { 42 | e.AcceptedOperation = DataPackageOperation.Copy; 43 | e.DragUIOverride.Caption = "You are dragging a image"; 44 | e.DragUIOverride.IsCaptionVisible = true; 45 | e.DragUIOverride.IsContentVisible = true; 46 | DropArea.Background = new SolidColorBrush(Color.FromArgb(255, 168, 168, 168)); 47 | } 48 | 49 | private void DropArea_DragLeave(object sender, DragEventArgs e) 50 | { 51 | DropArea.Background = new SolidColorBrush(Color.FromArgb(255, 216, 216, 216)); 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | DragAndDrop 18 | J2DN 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("DragAndDrop")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("DragAndDrop")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /DragAndDrop/DragAndDrop/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } -------------------------------------------------------------------------------- /DragAndDrop/README.md: -------------------------------------------------------------------------------- 1 | #Drag and Drop image in UWP 2 | 3 | ### YouTube Video 4 | [![Drag and Drop image in UWP](http://img.youtube.com/vi/K1JpunlzfsI/0.jpg)](https://youtu.be/K1JpunlzfsI "Drag and Drop image in UWP") 5 | -------------------------------------------------------------------------------- /FilePicker/FilePicker.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FilePicker", "FilePicker\FilePicker.csproj", "{4D22CD23-5F43-424B-9F37-6B93A6E9794E}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|ARM.Build.0 = Debug|ARM 20 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|x64.ActiveCfg = Debug|x64 22 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|x64.Build.0 = Debug|x64 23 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|x64.Deploy.0 = Debug|x64 24 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|x86.ActiveCfg = Debug|x86 25 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|x86.Build.0 = Debug|x86 26 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Debug|x86.Deploy.0 = Debug|x86 27 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|ARM.ActiveCfg = Release|ARM 28 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|ARM.Build.0 = Release|ARM 29 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|ARM.Deploy.0 = Release|ARM 30 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|x64.ActiveCfg = Release|x64 31 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|x64.Build.0 = Release|x64 32 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|x64.Deploy.0 = Release|x64 33 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|x86.ActiveCfg = Release|x86 34 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|x86.Build.0 = Release|x86 35 | {4D22CD23-5F43-424B-9F37-6B93A6E9794E}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /FilePicker/FilePicker/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /FilePicker/FilePicker/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/FilePicker/FilePicker/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /FilePicker/FilePicker/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/FilePicker/FilePicker/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /FilePicker/FilePicker/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/FilePicker/FilePicker/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /FilePicker/FilePicker/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/FilePicker/FilePicker/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /FilePicker/FilePicker/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/FilePicker/FilePicker/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /FilePicker/FilePicker/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/FilePicker/FilePicker/Assets/StoreLogo.png -------------------------------------------------------------------------------- /FilePicker/FilePicker/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/FilePicker/FilePicker/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /FilePicker/FilePicker/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Full-Screen-Mode/Full-Screen-Mode/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.ViewManagement; 9 | using Windows.UI.Xaml; 10 | using Windows.UI.Xaml.Controls; 11 | using Windows.UI.Xaml.Controls.Primitives; 12 | using Windows.UI.Xaml.Data; 13 | using Windows.UI.Xaml.Input; 14 | using Windows.UI.Xaml.Media; 15 | using Windows.UI.Xaml.Navigation; 16 | 17 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 18 | 19 | namespace Full_Screen_Mode 20 | { 21 | /// 22 | /// An empty page that can be used on its own or navigated to within a Frame. 23 | /// 24 | public sealed partial class MainPage : Page 25 | { 26 | public MainPage() 27 | { 28 | this.InitializeComponent(); 29 | } 30 | 31 | private void btnMode_Tapped(object sender, TappedRoutedEventArgs e) 32 | { 33 | ApplicationView view = ApplicationView.GetForCurrentView(); 34 | 35 | bool isInFullScreenMode = view.IsFullScreenMode; 36 | 37 | if (isInFullScreenMode) 38 | { 39 | view.ExitFullScreenMode(); 40 | btnMode.Content = "View Full Screen Mode"; 41 | } 42 | else 43 | { 44 | view.TryEnterFullScreenMode(); 45 | btnMode.Content = "Exit Full Screen Mode"; 46 | } 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Full-Screen-Mode/Full-Screen-Mode/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | Full-Screen-Mode 18 | Bhaumik 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Full-Screen-Mode/Full-Screen-Mode/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Full-Screen-Mode")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Full-Screen-Mode")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Full-Screen-Mode/Full-Screen-Mode/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Full-Screen-Mode/Full-Screen-Mode/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } -------------------------------------------------------------------------------- /Full-Screen-Mode/README.md: -------------------------------------------------------------------------------- 1 | # Full Screen Mode in UWP app 2 | ```csharp 3 | ApplicationView view = ApplicationView.GetForCurrentView(); 4 | 5 | bool isInFullScreenMode = view.IsFullScreenMode; 6 | 7 | if (isInFullScreenMode) { 8 | view.ExitFullScreenMode(); 9 | btnMode.Content = "View Full Screen Mode"; 10 | } else { 11 | view.TryEnterFullScreenMode(); 12 | btnMode.Content = "Exit Full Screen Mode"; 13 | } 14 | ``` 15 | ### YouTube Video 16 | 17 | [![Full Screen Mode in UWP app](http://img.youtube.com/vi/4RR3QncR4OI/0.jpg)](https://youtu.be/4RR3QncR4OI "Full Screen Mode in UWP app") 18 | 19 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Hamburger-Menu", "Hamburger-Menu\Hamburger-Menu.csproj", "{552772A1-335A-4200-831F-BD565F47F0A2}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|ARM.Build.0 = Debug|ARM 20 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|x64.ActiveCfg = Debug|x64 22 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|x64.Build.0 = Debug|x64 23 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|x64.Deploy.0 = Debug|x64 24 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|x86.ActiveCfg = Debug|x86 25 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|x86.Build.0 = Debug|x86 26 | {552772A1-335A-4200-831F-BD565F47F0A2}.Debug|x86.Deploy.0 = Debug|x86 27 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|ARM.ActiveCfg = Release|ARM 28 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|ARM.Build.0 = Release|ARM 29 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|ARM.Deploy.0 = Release|ARM 30 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|x64.ActiveCfg = Release|x64 31 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|x64.Build.0 = Release|x64 32 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|x64.Deploy.0 = Release|x64 33 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|x86.ActiveCfg = Release|x86 34 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|x86.Build.0 = Release|x86 35 | {552772A1-335A-4200-831F-BD565F47F0A2}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Hamburger-Menu/Hamburger-Menu/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Hamburger-Menu/Hamburger-Menu/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Hamburger-Menu/Hamburger-Menu/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Hamburger-Menu/Hamburger-Menu/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Hamburger-Menu/Hamburger-Menu/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Hamburger-Menu/Hamburger-Menu/Assets/StoreLogo.png -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Hamburger-Menu/Hamburger-Menu/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using Hamburger_Menu.Models; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.IO; 5 | using System.Linq; 6 | using System.Runtime.InteropServices.WindowsRuntime; 7 | using Windows.ApplicationModel.Core; 8 | using Windows.Foundation; 9 | using Windows.Foundation.Collections; 10 | using Windows.UI.Core; 11 | using Windows.UI.Xaml; 12 | using Windows.UI.Xaml.Controls; 13 | using Windows.UI.Xaml.Controls.Primitives; 14 | using Windows.UI.Xaml.Data; 15 | using Windows.UI.Xaml.Input; 16 | using Windows.UI.Xaml.Media; 17 | using Windows.UI.Xaml.Navigation; 18 | 19 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 20 | 21 | namespace Hamburger_Menu 22 | { 23 | /// 24 | /// An empty page that can be used on its own or navigated to within a Frame. 25 | /// 26 | public sealed partial class MainPage : Page 27 | { 28 | public MainPage() 29 | { 30 | this.InitializeComponent(); 31 | this.Loaded += MainPage_Loaded; 32 | 33 | } 34 | 35 | private void MainPage_Loaded(object sender, RoutedEventArgs e) 36 | { 37 | MenuGrid_Tapped(null, null); 38 | } 39 | 40 | private void MenuGrid_Tapped(object sender, TappedRoutedEventArgs e) 41 | { 42 | if (NavigationPane.IsPaneOpen) 43 | NavigationPane.IsPaneOpen = !NavigationPane.IsPaneOpen; 44 | 45 | MenuItem menu = LeftMenu.SelectedItem as MenuItem; 46 | if (menu != null) 47 | { 48 | if (menu.NavigateTo != null) 49 | CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { FrameContent.Navigate(menu.NavigateTo); }); 50 | } 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Models/MenuItem.cs: -------------------------------------------------------------------------------- 1 | using GalaSoft.MvvmLight; 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Text; 6 | using System.Threading.Tasks; 7 | using Windows.UI.Xaml.Controls; 8 | 9 | namespace Hamburger_Menu.Models 10 | { 11 | public class MenuItem : ViewModelBase 12 | { 13 | public string Title { get; set; } 14 | 15 | public Symbol SymbolIcon { get; set; } 16 | 17 | public Type NavigateTo { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | Hamburger-Menu 18 | J2DN 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Hamburger-Menu")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Hamburger-Menu")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/ViewModels/MainViewModel.cs: -------------------------------------------------------------------------------- 1 | using GalaSoft.MvvmLight; 2 | using Hamburger_Menu.Models; 3 | using Hamburger_Menu.Views; 4 | using System; 5 | using System.Collections.Generic; 6 | using System.Collections.ObjectModel; 7 | using System.Linq; 8 | using System.Text; 9 | using System.Threading.Tasks; 10 | using Windows.UI.Xaml.Controls; 11 | 12 | namespace Hamburger_Menu.ViewModels 13 | { 14 | public class MainViewModel : ViewModelBase 15 | { 16 | public MainViewModel() 17 | { 18 | MenuItems = new ObservableCollection(GetMenuItems()); 19 | SelectedMenuItem = MenuItems.FirstOrDefault(); 20 | } 21 | 22 | public ObservableCollection MenuItems { get; set; } 23 | 24 | private MenuItem selectedMenuItem; 25 | 26 | public MenuItem SelectedMenuItem 27 | { 28 | get { return selectedMenuItem; } 29 | set { selectedMenuItem = value; RaisePropertyChanged(); } 30 | } 31 | 32 | private List GetMenuItems() 33 | { 34 | List menuItems = new List(); 35 | menuItems.Add(new MenuItem() { Title = "Home", SymbolIcon = Symbol.Home, NavigateTo = typeof(Home) }); 36 | menuItems.Add(new MenuItem() { Title = "Favourite", SymbolIcon = Symbol.OutlineStar, NavigateTo = typeof(Favourite) }); 37 | menuItems.Add(new MenuItem() { Title = "Map", SymbolIcon = Symbol.Map, NavigateTo = typeof(Map) }); 38 | menuItems.Add(new MenuItem() { Title = "Video", SymbolIcon = Symbol.Video, NavigateTo = typeof(Video) }); 39 | menuItems.Add(new MenuItem() { Title = "Download", SymbolIcon = Symbol.Download, NavigateTo = typeof(Download) }); 40 | 41 | return menuItems; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/ViewModels/ViewModelLocator.cs: -------------------------------------------------------------------------------- 1 | using GalaSoft.MvvmLight.Ioc; 2 | using Microsoft.Practices.ServiceLocation; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace Hamburger_Menu.ViewModels 10 | { 11 | public class ViewModelLocator 12 | { 13 | public ViewModelLocator() 14 | { 15 | ServiceLocator.SetLocatorProvider(() => SimpleIoc.Default); 16 | 17 | SimpleIoc.Default.Register(); 18 | } 19 | 20 | public MainViewModel MainViewModel 21 | { 22 | get { return ServiceLocator.Current.GetInstance(); } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Download.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 14 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Download.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 17 | 18 | namespace Hamburger_Menu.Views 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class Download : Page 24 | { 25 | public Download() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Favourite.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 14 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Favourite.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 17 | 18 | namespace Hamburger_Menu.Views 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class Favourite : Page 24 | { 25 | public Favourite() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Home.xaml: -------------------------------------------------------------------------------- 1 |  8 | 9 | 10 | 13 | 15 | 16 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Home.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 17 | 18 | namespace Hamburger_Menu.Views 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class Home : Page 24 | { 25 | public Home() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Map.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 14 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Map.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 17 | 18 | namespace Hamburger_Menu.Views 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class Map : Page 24 | { 25 | public Map() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Video.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 14 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/Views/Video.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI.Xaml; 9 | using Windows.UI.Xaml.Controls; 10 | using Windows.UI.Xaml.Controls.Primitives; 11 | using Windows.UI.Xaml.Data; 12 | using Windows.UI.Xaml.Input; 13 | using Windows.UI.Xaml.Media; 14 | using Windows.UI.Xaml.Navigation; 15 | 16 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238 17 | 18 | namespace Hamburger_Menu.Views 19 | { 20 | /// 21 | /// An empty page that can be used on its own or navigated to within a Frame. 22 | /// 23 | public sealed partial class Video : Page 24 | { 25 | public Video() 26 | { 27 | this.InitializeComponent(); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Hamburger-Menu/Hamburger-Menu/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0", 4 | "MvvmLight": "5.3.0", 5 | "WindowsStateTriggers": "1.1.0" 6 | }, 7 | "frameworks": { 8 | "uap10.0": {} 9 | }, 10 | "runtimes": { 11 | "win10-arm": {}, 12 | "win10-arm-aot": {}, 13 | "win10-x86": {}, 14 | "win10-x86-aot": {}, 15 | "win10-x64": {}, 16 | "win10-x64-aot": {} 17 | } 18 | } -------------------------------------------------------------------------------- /Hamburger-Menu/README.md: -------------------------------------------------------------------------------- 1 | # Hamburger Flyout Menu in UWP app 2 | 3 | ![Hamburger Flyout Menu in UWP app](https://2.bp.blogspot.com/-Ju1iTr8yvoQ/V1zTcGkdmQI/AAAAAAAAEpw/i3mKS6Fj3pwUI8rANRoX6qR5CFunv0ZsgCLcB/s640/HamburgerMenu.gif) 4 | 5 | ### YouTube Video 6 | 7 | [![Hamburger Flyout Menu in UWP app](http://img.youtube.com/vi/InVsajohErQ/0.jpg)](https://youtu.be/InVsajohErQ "Hamburger Flyout Menu in UWP app") 8 | -------------------------------------------------------------------------------- /MapControl/MapControl.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25123.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MapControl", "MapControl\MapControl.csproj", "{EEEC75D8-B30E-4884-8D22-DFE950825B87}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|ARM = Debug|ARM 11 | Debug|x64 = Debug|x64 12 | Debug|x86 = Debug|x86 13 | Release|ARM = Release|ARM 14 | Release|x64 = Release|x64 15 | Release|x86 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 18 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|ARM.ActiveCfg = Debug|ARM 19 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|ARM.Build.0 = Debug|ARM 20 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|ARM.Deploy.0 = Debug|ARM 21 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|x64.ActiveCfg = Debug|x64 22 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|x64.Build.0 = Debug|x64 23 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|x64.Deploy.0 = Debug|x64 24 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|x86.ActiveCfg = Debug|x86 25 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|x86.Build.0 = Debug|x86 26 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Debug|x86.Deploy.0 = Debug|x86 27 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|ARM.ActiveCfg = Release|ARM 28 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|ARM.Build.0 = Release|ARM 29 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|ARM.Deploy.0 = Release|ARM 30 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|x64.ActiveCfg = Release|x64 31 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|x64.Build.0 = Release|x64 32 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|x64.Deploy.0 = Release|x64 33 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|x86.ActiveCfg = Release|x86 34 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|x86.Build.0 = Release|x86 35 | {EEEC75D8-B30E-4884-8D22-DFE950825B87}.Release|x86.Deploy.0 = Release|x86 36 | EndGlobalSection 37 | GlobalSection(SolutionProperties) = preSolution 38 | HideSolutionNode = FALSE 39 | EndGlobalSection 40 | EndGlobal 41 | -------------------------------------------------------------------------------- /MapControl/MapControl/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/StoreLogo.png -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /MapControl/MapControl/Assets/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/MapControl/MapControl/Assets/pin.png -------------------------------------------------------------------------------- /MapControl/MapControl/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | 15 | 19 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sharing/Sharing/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | Sharing 18 | J2DN 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Sharing/Sharing/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Sharing")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Sharing")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Sharing/Sharing/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Sharing/Sharing/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } -------------------------------------------------------------------------------- /Title-Bar-Color-Change/README.md: -------------------------------------------------------------------------------- 1 | # Title Bar Color Change in UWP 2 | ``` 3 | // Get the instance of the Title Bar 4 | var titleBar = ApplicationView.GetForCurrentView().TitleBar; 5 | 6 | // Set the color of the Title Bar content 7 | titleBar.BackgroundColor = Colors.Orange; 8 | titleBar.ForegroundColor = Colors.Green; 9 | 10 | // Set the color of the Title Bar buttons 11 | titleBar.ButtonBackgroundColor = Colors.Orange; 12 | titleBar.ButtonForegroundColor = Colors.Green; 13 | ``` 14 | ### YouTube Video 15 | [![Title Bar Color Change in UWP](http://img.youtube.com/vi/6qxgqJlkThE/0.jpg)](https://youtu.be/6qxgqJlkThE "Title Bar Color Change in UWP") 16 | -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/App.xaml: -------------------------------------------------------------------------------- 1 |  7 | 8 | 9 | -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/StoreLogo.png -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jQuery2DotNet/UWP-Samples/37bc6e8f86ea350a8bf3139fc3c17244bbf9c84d/Title-Bar-Color-Change/Title-Bar-Color-Change/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/MainPage.xaml: -------------------------------------------------------------------------------- 1 |  9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | using System.Linq; 5 | using System.Runtime.InteropServices.WindowsRuntime; 6 | using Windows.Foundation; 7 | using Windows.Foundation.Collections; 8 | using Windows.UI; 9 | using Windows.UI.ViewManagement; 10 | using Windows.UI.Xaml; 11 | using Windows.UI.Xaml.Controls; 12 | using Windows.UI.Xaml.Controls.Primitives; 13 | using Windows.UI.Xaml.Data; 14 | using Windows.UI.Xaml.Input; 15 | using Windows.UI.Xaml.Media; 16 | using Windows.UI.Xaml.Navigation; 17 | 18 | // The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409 19 | 20 | namespace Title_Bar_Color_Change 21 | { 22 | /// 23 | /// An empty page that can be used on its own or navigated to within a Frame. 24 | /// 25 | public sealed partial class MainPage : Page 26 | { 27 | public MainPage() 28 | { 29 | this.InitializeComponent(); 30 | } 31 | 32 | protected override void OnNavigatedTo(NavigationEventArgs e) 33 | { 34 | base.OnNavigatedTo(e); 35 | 36 | SetTitleBarBackground(); 37 | } 38 | 39 | private void SetTitleBarBackground() 40 | { 41 | // Get the instance of the Title Bar 42 | var titleBar = ApplicationView.GetForCurrentView().TitleBar; 43 | 44 | // Set the color of the Title Bar content 45 | titleBar.BackgroundColor = Colors.Orange; 46 | titleBar.ForegroundColor = Colors.Green; 47 | 48 | // Set the color of the Title Bar buttons 49 | titleBar.ButtonBackgroundColor = Colors.Orange; 50 | titleBar.ButtonForegroundColor = Colors.Green; 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Package.appxmanifest: -------------------------------------------------------------------------------- 1 |  2 | 3 | 8 | 9 | 13 | 14 | 15 | 16 | 17 | Title-Bar-Color-Change 18 | Bhaumik 19 | Assets\StoreLogo.png 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("Title-Bar-Color-Change")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("")] 12 | [assembly: AssemblyProduct("Title-Bar-Color-Change")] 13 | [assembly: AssemblyCopyright("Copyright © 2016")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Version information for an assembly consists of the following four values: 18 | // 19 | // Major Version 20 | // Minor Version 21 | // Build Number 22 | // Revision 23 | // 24 | // You can specify all the values or you can default the Build and Revision Numbers 25 | // by using the '*' as shown below: 26 | // [assembly: AssemblyVersion("1.0.*")] 27 | [assembly: AssemblyVersion("1.0.0.0")] 28 | [assembly: AssemblyFileVersion("1.0.0.0")] 29 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/Properties/Default.rd.xml: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Title-Bar-Color-Change/Title-Bar-Color-Change/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" 4 | }, 5 | "frameworks": { 6 | "uap10.0": {} 7 | }, 8 | "runtimes": { 9 | "win10-arm": {}, 10 | "win10-arm-aot": {}, 11 | "win10-x86": {}, 12 | "win10-x86-aot": {}, 13 | "win10-x64": {}, 14 | "win10-x64-aot": {} 15 | } 16 | } --------------------------------------------------------------------------------