├── .github
└── workflows
│ ├── CPP-CI.yml
│ ├── Contoso-CI.yml
│ ├── WPF-CI.yml
│ └── WinForms-CI.yml
├── .gitignore
├── CODE_OF_CONDUCT.md
├── LICENSE
├── MFCXamlIslands.sln
├── NativeXamlIslands.sln
├── NuGet.config
├── README.md
├── SECURITY.md
├── Samples
├── MFC
│ ├── MFCApp.Package
│ │ ├── Images
│ │ │ ├── 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
│ │ │ ├── imageicon.png
│ │ │ ├── journalicon.png
│ │ │ ├── journalsicon.png
│ │ │ ├── photosicon.png
│ │ │ └── videoicon.png
│ │ ├── MFCApp.Package.wapproj
│ │ ├── MFCApp.Package_TemporaryKey.pfx
│ │ ├── Package.appinstaller
│ │ └── Package.appxmanifest
│ ├── MFCApp
│ │ ├── Assets
│ │ │ ├── 1.jpg
│ │ │ ├── 2.jpg
│ │ │ ├── 3.jpg
│ │ │ ├── 4.png
│ │ │ ├── 5.jpg
│ │ │ ├── 6.jpg
│ │ │ ├── 7.png
│ │ │ ├── 8.jpg
│ │ │ ├── Hubble.png
│ │ │ ├── Telescope.gltf
│ │ │ └── world.mp4
│ │ ├── ChildFrm.cpp
│ │ ├── ChildFrm.h
│ │ ├── ClassView.cpp
│ │ ├── ClassView.h
│ │ ├── FileView.cpp
│ │ ├── FileView.h
│ │ ├── MFCApp.cpp
│ │ ├── MFCApp.h
│ │ ├── MFCApp.rc
│ │ ├── MFCApp.vcxproj
│ │ ├── MFCApp.vcxproj.filters
│ │ ├── MFCAppDoc.cpp
│ │ ├── MFCAppDoc.h
│ │ ├── MFCAppView.cpp
│ │ ├── MFCAppView.h
│ │ ├── MainFrm.cpp
│ │ ├── MainFrm.h
│ │ ├── OutputWnd.cpp
│ │ ├── OutputWnd.h
│ │ ├── PropertiesWnd.cpp
│ │ ├── PropertiesWnd.h
│ │ ├── Resource.h
│ │ ├── ViewTree.cpp
│ │ ├── ViewTree.h
│ │ ├── app.manifest
│ │ ├── framework.h
│ │ ├── packages.config
│ │ ├── pch.cpp
│ │ ├── pch.h
│ │ ├── res
│ │ │ ├── MFCApp.ico
│ │ │ ├── MFCApp.rc2
│ │ │ ├── MFCAppDoc.ico
│ │ │ ├── Toolbar.bmp
│ │ │ ├── Toolbar256.bmp
│ │ │ ├── class_view.ico
│ │ │ ├── class_view_hc.ico
│ │ │ ├── classview.bmp
│ │ │ ├── classview_hc.bmp
│ │ │ ├── explorer.bmp
│ │ │ ├── explorer_hc.bmp
│ │ │ ├── file_view.ico
│ │ │ ├── file_view_hc.ico
│ │ │ ├── fileview.bmp
│ │ │ ├── fileview_hc.bmp
│ │ │ ├── menuimages.bmp
│ │ │ ├── menuimages_hc.bmp
│ │ │ ├── output_wnd.ico
│ │ │ ├── output_wnd_hc.ico
│ │ │ ├── properties.bmp
│ │ │ ├── properties_hc.bmp
│ │ │ ├── properties_wnd.ico
│ │ │ ├── properties_wnd_hc.ico
│ │ │ ├── sort.bmp
│ │ │ ├── sort_hc.bmp
│ │ │ └── userimages.bmp
│ │ └── targetver.h
│ ├── README.md
│ ├── WindowsDesktopHost.cpp
│ └── WindowsDesktopHost.h
├── Managed
│ ├── Helpers
│ │ ├── DataTransferManagerHelper.cs
│ │ └── Helpers.csproj
│ ├── SampleLibraryCS
│ │ ├── CustomUserControl.xaml
│ │ ├── CustomUserControl.xaml.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── SampleLibraryCS.csproj
│ ├── UILibrary
│ │ ├── Controls
│ │ │ ├── AttachedProperties.Dimensions.cs
│ │ │ ├── AttachedProperties.Style.cs
│ │ │ └── CustomControl.cs
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ ├── Themes
│ │ │ └── Generic.xaml
│ │ └── UILibrary.csproj
│ └── UWPApplication
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Assets
│ │ ├── LockScreenLogo.scale-200.png
│ │ ├── SampleMedia
│ │ │ ├── LandscapeImage1.jpg
│ │ │ ├── LandscapeImage2.jpg
│ │ │ ├── LandscapeImage3.jpg
│ │ │ ├── LandscapeImage4.jpg
│ │ │ ├── LandscapeImage5.jpg
│ │ │ ├── LandscapeImage6.jpg
│ │ │ ├── LandscapeImage7.jpg
│ │ │ ├── LandscapeImage8.jpg
│ │ │ ├── MirrorPCConsent.svg
│ │ │ ├── cliff.jpg
│ │ │ ├── fishes.wmv
│ │ │ ├── grapes.jpg
│ │ │ ├── ladybug.wmv
│ │ │ ├── notepad.jpg
│ │ │ ├── rainier.jpg
│ │ │ ├── sunset.jpg
│ │ │ ├── treetops.jpg
│ │ │ └── valley.jpg
│ │ ├── 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_Pages
│ │ ├── AnimationsCardPage.xaml
│ │ ├── AnimationsCardPage.xaml.cs
│ │ ├── AnimationsPage.xaml
│ │ ├── AnimationsPage.xaml.cs
│ │ ├── BasicInputPage.xaml
│ │ ├── BasicInputPage.xaml.cs
│ │ ├── CollectionsPage.xaml
│ │ ├── CollectionsPage.xaml.cs
│ │ ├── DateAndTimePage.xaml
│ │ ├── DateAndTimePage.xaml.cs
│ │ ├── DialogsAndFlyoutsPage.xaml
│ │ ├── DialogsAndFlyoutsPage.xaml.cs
│ │ ├── LayoutPage.xaml
│ │ ├── LayoutPage.xaml.cs
│ │ ├── MediaPage.xaml
│ │ ├── MediaPage.xaml.cs
│ │ ├── MenuToolbarPage.xaml
│ │ ├── MenuToolbarPage.xaml.cs
│ │ ├── RevealPage.xaml
│ │ ├── RevealPage.xaml.cs
│ │ ├── TextPage.xaml
│ │ ├── TextPage.xaml.cs
│ │ ├── Win32IntegrationPage.xaml
│ │ ├── Win32IntegrationPage.xaml.cs
│ │ ├── WinUIPage.xaml
│ │ └── WinUIPage.xaml.cs
│ │ ├── Helpers
│ │ ├── DisplayInformation.cs
│ │ └── WordGenerator.cs
│ │ ├── Images
│ │ ├── LockScreenLogo.scale-200.png
│ │ ├── SplashScreen.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
│ │ ├── SettingsPage.xaml
│ │ ├── SettingsPage.xaml.cs
│ │ ├── Strings
│ │ ├── en-US
│ │ │ └── Resources.resw
│ │ └── es-ES
│ │ │ └── Resources.resw
│ │ ├── UWPApplication.csproj
│ │ ├── WelcomePage.xaml
│ │ ├── WelcomePage.xaml.cs
│ │ └── WinRTHost
│ │ ├── arm64
│ │ ├── winrthost.dll
│ │ └── winrthost.pdb
│ │ ├── runtimeconfig.json
│ │ ├── x64
│ │ ├── winrthost.dll
│ │ └── winrthost.pdb
│ │ └── x86
│ │ ├── winrthost.dll
│ │ └── winrthost.pdb
├── Native
│ ├── MyApp
│ │ ├── 3DViewControl.xaml
│ │ ├── App.base.h
│ │ ├── App.cpp
│ │ ├── App.h
│ │ ├── App.idl
│ │ ├── App.xaml
│ │ ├── Display3DUserControl.cpp
│ │ ├── Display3DUserControl.h
│ │ ├── Display3DUserControl.xaml
│ │ ├── Display3DuserControl.idl
│ │ ├── FilePathToBitmapImageConverter.cpp
│ │ ├── FilePathToBitmapImageConverter.h
│ │ ├── FilePathToBitmapImageConverter.idl
│ │ ├── ImagePreviewerUserControl.cpp
│ │ ├── ImagePreviewerUserControl.h
│ │ ├── ImagePreviewerUserControl.idl
│ │ ├── ImagePreviewerUserControl.xaml
│ │ ├── Images
│ │ │ ├── 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
│ │ ├── MainUserControl.cpp
│ │ ├── MainUserControl.h
│ │ ├── MainUserControl.idl
│ │ ├── MainUserControl.xaml
│ │ ├── MediaPlayerControl.cpp
│ │ ├── MediaPlayerControl.h
│ │ ├── MediaPlayerControl.idl
│ │ ├── MediaPlayerControl.xaml
│ │ ├── MyApp.vcxproj
│ │ ├── MyApp.vcxproj.filters
│ │ ├── MyUserControl01.xaml
│ │ ├── MyUserControl01.xaml.cpp
│ │ ├── MyUserControl01.xaml.h
│ │ ├── Package.appxmanifest
│ │ ├── ReadMe.md
│ │ ├── TreeViewHostUserControl.cpp
│ │ ├── TreeViewHostUserControl.h
│ │ ├── TreeViewHostUserControl.idl
│ │ ├── TreeViewHostUserControl.xaml
│ │ ├── TreeViewNodeViewModel.cpp
│ │ ├── TreeViewNodeViewModel.h
│ │ ├── TreeViewNodeViewModel.idl
│ │ ├── WinRTHost
│ │ │ ├── arm64
│ │ │ │ ├── winrthost.dll
│ │ │ │ └── winrthost.pdb
│ │ │ ├── runtimeconfig.json
│ │ │ ├── x64
│ │ │ │ ├── winrthost.dll
│ │ │ │ └── winrthost.pdb
│ │ │ └── x86
│ │ │ │ ├── winrthost.dll
│ │ │ │ └── winrthost.pdb
│ │ ├── dummy.exe
│ │ ├── packages.config
│ │ ├── pch.cpp
│ │ └── pch.h
│ ├── Native_SwapChainPanel_Comp
│ │ ├── CustomRenderer.cpp
│ │ ├── CustomRenderer.h
│ │ ├── Direct2DPanel.cpp
│ │ ├── Direct2DPanel.h
│ │ ├── DirectXHelper.h
│ │ ├── Native_SwapChainPanel_Comp.filters
│ │ ├── Native_SwapChainPanel_Comp.vcxproj
│ │ ├── pch.cpp
│ │ └── pch.h
│ ├── SampleUserControl
│ │ ├── InternalUserControl.cpp
│ │ ├── InternalUserControl.h
│ │ ├── InternalUserControl.idl
│ │ ├── InternalUserControl.xaml
│ │ ├── MyUserControl.cpp
│ │ ├── MyUserControl.h
│ │ ├── MyUserControl.idl
│ │ ├── MyUserControl.xaml
│ │ ├── ReadMe.md
│ │ ├── SampleUserControl.def
│ │ ├── SampleUserControl.vcxproj
│ │ ├── SampleUserControl.vcxproj.filters
│ │ ├── packages.config
│ │ ├── pch.cpp
│ │ └── pch.h
│ └── Solution.props
├── Solution.props
├── WPF
│ ├── WAP
│ │ ├── Images
│ │ │ └── _dont_delete.txt
│ │ ├── Package.appxmanifest
│ │ ├── WAP.wapproj
│ │ └── WAP_TemporaryKey.pfx
│ └── WPF_XAMLIslands_v1
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── Program.cs
│ │ └── WPF_XAMLIslands_v1.csproj
├── Win32
│ ├── ReadMe.md
│ ├── SampleCppApp.Package
│ │ ├── Images
│ │ │ └── dummy.txt
│ │ ├── Package.appxmanifest
│ │ ├── SampleCppApp.Package.wapproj
│ │ └── SampleCppApp.Package_TemporaryKey.pfx
│ ├── SampleCppApp
│ │ ├── Application.manifest
│ │ ├── Button1.xaml
│ │ ├── ReadMe.md
│ │ ├── Resource.h
│ │ ├── SampleApp.cpp
│ │ ├── SampleApp.h
│ │ ├── SampleCppApp.ico
│ │ ├── SampleCppApp.rc
│ │ ├── SampleCppApp.vcxproj
│ │ ├── SampleCppApp.vcxproj.filters
│ │ ├── XamlBridge.cpp
│ │ ├── XamlBridge.h
│ │ ├── framework.h
│ │ ├── packages.config
│ │ ├── pch.cpp
│ │ ├── pch.h
│ │ ├── resources.pri
│ │ ├── small.ico
│ │ └── targetver.h
│ ├── Screenshoot.png
│ └── Solution.props
└── WinForms
│ ├── WAP
│ ├── Images
│ │ └── ForceFolder.txt
│ ├── Package.appxmanifest
│ ├── WAP.wapproj
│ └── WAP_TemporaryKey.pfx
│ └── WinForms_XAMLIslands_v1
│ ├── MainForm.Designer.cs
│ ├── MainForm.cs
│ ├── MainForm.resx
│ ├── Program.cs
│ └── WinForms_XAMLIslands_v1.csproj
├── Solution.props
├── Standalone_Samples
├── Contoso
│ ├── App
│ │ ├── Application.manifest
│ │ ├── Contoso.App.cpp
│ │ ├── Contoso.App.csproj
│ │ ├── Contoso.App.h
│ │ ├── Contoso.App.ico
│ │ ├── Contoso.App.rc
│ │ ├── Contoso.App.vcxproj.filters
│ │ ├── MainForm.Designer.cs
│ │ ├── MainForm.cs
│ │ ├── MainForm.resx
│ │ ├── MainUserControl.Designer.cs
│ │ ├── MainUserControl.cs
│ │ ├── MainUserControl.resx
│ │ ├── Program.cs
│ │ ├── Resource.h
│ │ ├── XamlBridge.cpp
│ │ ├── XamlBridge.h
│ │ ├── app.manifest
│ │ ├── framework.h
│ │ ├── packages.config
│ │ ├── pch.cpp
│ │ ├── pch.h
│ │ ├── small.ico
│ │ └── targetver.h
│ ├── Contoso.sln
│ ├── Interop
│ │ ├── CommonUserControl.xaml
│ │ ├── CommonUserControl.xaml.cs
│ │ ├── Contoso.Interop.csproj
│ │ └── MainFormInterop.cs
│ ├── Package
│ │ ├── Contoso.Package.wapproj
│ │ ├── Images
│ │ │ ├── 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
│ │ └── Package.appxmanifest
│ ├── Solution.props
│ ├── Web
│ │ ├── Contoso.Web.csproj
│ │ ├── ContosoWebControl.Designer.cs
│ │ ├── ContosoWebControl.cs
│ │ └── ContosoWebControl.resx
│ ├── Xaml
│ │ ├── 3DViewControl.xaml
│ │ ├── App.base.h
│ │ ├── App.cpp
│ │ ├── App.h
│ │ ├── App.idl
│ │ ├── App.xaml
│ │ ├── Contoso.Xaml.vcxproj
│ │ ├── Contoso.Xaml.vcxproj.filters
│ │ ├── Images
│ │ │ ├── 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
│ │ ├── MainUserControl.cpp
│ │ ├── MainUserControl.h
│ │ ├── MainUserControl.idl
│ │ ├── MainUserControl.xaml
│ │ ├── MyUserControl01.xaml
│ │ ├── MyUserControl01.xaml.cpp
│ │ ├── MyUserControl01.xaml.h
│ │ ├── Package.appxmanifest
│ │ ├── ReadMe.md
│ │ ├── dummy.exe
│ │ ├── packages.config
│ │ ├── pch.cpp
│ │ └── pch.h
│ └── packages
│ │ ├── Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2
│ │ ├── .signature.p7s
│ │ ├── Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2.nupkg
│ │ ├── build
│ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlApplication.props
│ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlApplication.targets
│ │ │ └── native
│ │ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlApplication.props
│ │ │ │ └── Microsoft.Toolkit.Win32.UI.XamlApplication.targets
│ │ ├── lib
│ │ │ └── uap10.0
│ │ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlHost.winmd
│ │ │ │ └── Microsoft.Toolkit.Win32.UI.XamlHost.xml
│ │ └── runtimes
│ │ │ ├── win10-arm
│ │ │ └── native
│ │ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlHost.dll
│ │ │ │ └── Microsoft.Toolkit.Win32.UI.XamlHost.pri
│ │ │ ├── win10-arm64
│ │ │ └── native
│ │ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlHost.dll
│ │ │ │ └── Microsoft.Toolkit.Win32.UI.XamlHost.pri
│ │ │ ├── win10-x64
│ │ │ └── native
│ │ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlHost.dll
│ │ │ │ └── Microsoft.Toolkit.Win32.UI.XamlHost.pri
│ │ │ └── win10-x86
│ │ │ └── native
│ │ │ ├── Microsoft.Toolkit.Win32.UI.XamlHost.dll
│ │ │ └── Microsoft.Toolkit.Win32.UI.XamlHost.pri
│ │ ├── Microsoft.UI.Xaml.2.3.191125001-prerelease
│ │ ├── .signature.p7s
│ │ ├── Microsoft.UI.Xaml.2.3.191125001-prerelease.nupkg
│ │ ├── build
│ │ │ ├── Microsoft.UI.Xaml.targets
│ │ │ └── native
│ │ │ │ └── Microsoft.UI.Xaml.targets
│ │ ├── buildTransitive
│ │ │ └── Microsoft.UI.Xaml.targets
│ │ ├── lib
│ │ │ └── uap10.0
│ │ │ │ ├── Design
│ │ │ │ └── Microsoft.UI.Xaml.Design.dll
│ │ │ │ ├── Microsoft.UI.Xaml.winmd
│ │ │ │ ├── Microsoft.UI.Xaml.xml
│ │ │ │ └── Microsoft.UI.Xaml
│ │ │ │ └── Themes
│ │ │ │ └── Generic.xaml
│ │ ├── license.txt
│ │ ├── readme.txt
│ │ ├── runtimes
│ │ │ ├── win10-arm
│ │ │ │ └── native
│ │ │ │ │ ├── Microsoft.UI.Xaml.dll
│ │ │ │ │ ├── Microsoft.UI.Xaml.pri
│ │ │ │ │ └── Microsoft.UI.Xaml
│ │ │ │ │ └── Assets
│ │ │ │ │ └── NoiseAsset_256x256_PNG.png
│ │ │ ├── win10-arm64
│ │ │ │ └── native
│ │ │ │ │ ├── Microsoft.UI.Xaml.dll
│ │ │ │ │ ├── Microsoft.UI.Xaml.pri
│ │ │ │ │ └── Microsoft.UI.Xaml
│ │ │ │ │ └── Assets
│ │ │ │ │ └── NoiseAsset_256x256_PNG.png
│ │ │ ├── win10-x64
│ │ │ │ └── native
│ │ │ │ │ ├── Microsoft.UI.Xaml.dll
│ │ │ │ │ ├── Microsoft.UI.Xaml.pri
│ │ │ │ │ └── Microsoft.UI.Xaml
│ │ │ │ │ └── Assets
│ │ │ │ │ └── NoiseAsset_256x256_PNG.png
│ │ │ └── win10-x86
│ │ │ │ └── native
│ │ │ │ ├── Microsoft.UI.Xaml.dll
│ │ │ │ ├── Microsoft.UI.Xaml.pri
│ │ │ │ └── Microsoft.UI.Xaml
│ │ │ │ └── Assets
│ │ │ │ └── NoiseAsset_256x256_PNG.png
│ │ └── tools
│ │ │ └── VisualStudioToolsManifest.xml
│ │ ├── Microsoft.Windows.CppWinRT.2.0.200729.8
│ │ ├── .signature.p7s
│ │ ├── LICENSE
│ │ ├── Microsoft.Windows.CppWinRT.2.0.200729.8.nupkg
│ │ ├── bin
│ │ │ └── cppwinrt.exe
│ │ ├── build
│ │ │ └── native
│ │ │ │ ├── CppWinrtRules.Project.xml
│ │ │ │ ├── Microsoft.Windows.CppWinRT.props
│ │ │ │ ├── Microsoft.Windows.CppWinRT.targets
│ │ │ │ └── lib
│ │ │ │ ├── arm
│ │ │ │ └── cppwinrt_fast_forwarder.lib
│ │ │ │ ├── arm64
│ │ │ │ └── cppwinrt_fast_forwarder.lib
│ │ │ │ ├── win32
│ │ │ │ └── cppwinrt_fast_forwarder.lib
│ │ │ │ └── x64
│ │ │ │ └── cppwinrt_fast_forwarder.lib
│ │ └── readme.txt
│ │ └── SceneLoaderComponent.1.0.0.1
│ │ ├── SceneLoaderComponent.1.0.0.1.nupkg
│ │ ├── build
│ │ └── native
│ │ │ ├── SceneLoaderComponent.props
│ │ │ └── SceneLoaderComponent.targets
│ │ ├── lib
│ │ └── uap10.0
│ │ │ ├── SceneLoaderComponent.winmd
│ │ │ └── SceneLoaderComponent.xml
│ │ └── runtimes
│ │ ├── win10-arm
│ │ └── native
│ │ │ ├── SceneLoaderComponent.dll
│ │ │ └── SceneLoaderComponent.pri
│ │ ├── win10-x64
│ │ └── native
│ │ │ ├── SceneLoaderComponent.dll
│ │ │ └── SceneLoaderComponent.pri
│ │ └── win10-x86
│ │ └── native
│ │ ├── SceneLoaderComponent.dll
│ │ └── SceneLoaderComponent.pri
├── CppWinRT_Basic_Win32App
│ └── ReadMe.md
└── CppWinRT_Desktop_Win32App
│ └── ReadMe.md
├── WPF_XAMLIslands_v1.sln
├── WinForms_XAMLIslands_v1.sln
├── build.ps1
├── dummy.txt
└── libs
└── SceneLoaderComponent.1.0.0.1.nupkg
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Microsoft Open Source Code of Conduct
2 |
3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4 |
5 | Resources:
6 |
7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
10 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Microsoft Corporation.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE
22 |
--------------------------------------------------------------------------------
/NuGet.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 | # Contributing
3 |
4 | This project welcomes contributions and suggestions. Most contributions require you to agree to a
5 | Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
6 | the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
7 |
8 | When you submit a pull request, a CLA bot will automatically determine whether you need to provide
9 | a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
10 | provided by the bot. You will only need to do this once across all repos using our CLA.
11 |
12 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
13 | For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
14 | contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
15 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/StoreLogo.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/imageicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/imageicon.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/journalicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/journalicon.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/journalsicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/journalsicon.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/photosicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/photosicon.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Images/videoicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/Images/videoicon.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/MFCApp.Package_TemporaryKey.pfx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp.Package/MFCApp.Package_TemporaryKey.pfx
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp.Package/Package.appinstaller:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/1.jpg
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/2.jpg
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/3.jpg
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/4.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/5.jpg
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/6.jpg
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/7.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/8.jpg
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/Hubble.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/Hubble.png
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/Assets/world.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/Assets/world.mp4
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/ChildFrm.cpp:
--------------------------------------------------------------------------------
1 |
2 | // ChildFrm.cpp : implementation of the CChildFrame class
3 | //
4 |
5 | #include "pch.h"
6 | #include "framework.h"
7 | #include "MFCApp.h"
8 |
9 | #include "ChildFrm.h"
10 |
11 | #ifdef _DEBUG
12 | #define new DEBUG_NEW
13 | #endif
14 | #include "MFCAppDoc.h"
15 |
16 | // CChildFrame
17 |
18 | IMPLEMENT_DYNCREATE(CChildFrame, CMDIChildWndEx)
19 |
20 | BEGIN_MESSAGE_MAP(CChildFrame, CMDIChildWndEx)
21 | END_MESSAGE_MAP()
22 |
23 | // CChildFrame construction/destruction
24 |
25 | CChildFrame::CChildFrame() noexcept
26 | {
27 | // TODO: add member initialization code here
28 | }
29 |
30 | CChildFrame::~CChildFrame()
31 | {
32 | }
33 |
34 |
35 | BOOL CChildFrame::PreCreateWindow(CREATESTRUCT& cs)
36 | {
37 | // TODO: Modify the Window class or styles here by modifying the CREATESTRUCT cs
38 | if( !CMDIChildWndEx::PreCreateWindow(cs) )
39 | return FALSE;
40 |
41 | return TRUE;
42 | }
43 |
44 | // CChildFrame diagnostics
45 |
46 | #ifdef _DEBUG
47 | void CChildFrame::AssertValid() const
48 | {
49 | CMDIChildWndEx::AssertValid();
50 | }
51 |
52 | void CChildFrame::Dump(CDumpContext& dc) const
53 | {
54 | CMDIChildWndEx::Dump(dc);
55 | }
56 | #endif //_DEBUG
57 |
58 | // CChildFrame message handlers
59 |
60 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/ChildFrm.h:
--------------------------------------------------------------------------------
1 |
2 | // ChildFrm.h : interface of the CChildFrame class
3 | //
4 |
5 | #pragma once
6 |
7 | class CChildFrame : public CMDIChildWndEx
8 | {
9 | DECLARE_DYNCREATE(CChildFrame)
10 | public:
11 | CChildFrame() noexcept;
12 |
13 | // Attributes
14 | protected:
15 | CSplitterWndEx m_wndSplitter;
16 | public:
17 |
18 | // Operations
19 | public:
20 |
21 | // Overrides
22 | virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
23 | // Implementation
24 | public:
25 | virtual ~CChildFrame();
26 | #ifdef _DEBUG
27 | virtual void AssertValid() const;
28 | virtual void Dump(CDumpContext& dc) const;
29 | #endif
30 |
31 | // Generated message map functions
32 | protected:
33 | DECLARE_MESSAGE_MAP()
34 | };
35 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/ClassView.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/ClassView.cpp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/ClassView.h:
--------------------------------------------------------------------------------
1 |
2 | #pragma once
3 |
4 | #include "ViewTree.h"
5 |
6 | #include "WindowsDesktopHost.h"
7 |
8 | class CClassView : public CDockablePane
9 | {
10 | public:
11 | CClassView() noexcept;
12 | virtual ~CClassView();
13 |
14 | void AdjustLayout();
15 | void TreeViewodeSelectedHandler(winrt::Windows::Foundation::IInspectable const& sender, winrt::MyApp::TreeViewNodeViewModel const& args);
16 |
17 | private:
18 | CWindowsDesktopHost m_treeViewHost;
19 | winrt::MyApp::TreeViewHostUserControl m_treeView{ nullptr };
20 |
21 | protected:
22 |
23 | // Overrides
24 | public:
25 | virtual BOOL PreTranslateMessage(MSG* pMsg);
26 |
27 | protected:
28 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
29 | afx_msg void OnSize(UINT nType, int cx, int cy);
30 | afx_msg void OnPaint();
31 |
32 | DECLARE_MESSAGE_MAP()
33 | public:
34 | afx_msg void OnClose();
35 | };
36 |
37 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/FileView.h:
--------------------------------------------------------------------------------
1 |
2 | #pragma once
3 |
4 | #include "ViewTree.h"
5 |
6 | class CFileViewToolBar : public CMFCToolBar
7 | {
8 | virtual void OnUpdateCmdUI(CFrameWnd* /*pTarget*/, BOOL bDisableIfNoHndler)
9 | {
10 | CMFCToolBar::OnUpdateCmdUI((CFrameWnd*) GetOwner(), bDisableIfNoHndler);
11 | }
12 |
13 | virtual BOOL AllowShowOnList() const { return FALSE; }
14 | };
15 |
16 | class CFileView : public CDockablePane
17 | {
18 | // Construction
19 | public:
20 | CFileView() noexcept;
21 |
22 | void AdjustLayout();
23 | void OnChangeVisualStyle();
24 |
25 | // Attributes
26 | protected:
27 |
28 | CViewTree m_wndFileView;
29 | CImageList m_FileViewImages;
30 | CFileViewToolBar m_wndToolBar;
31 |
32 | protected:
33 | void FillFileView();
34 |
35 | // Implementation
36 | public:
37 | virtual ~CFileView();
38 |
39 | protected:
40 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
41 | afx_msg void OnSize(UINT nType, int cx, int cy);
42 | afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
43 | afx_msg void OnProperties();
44 | afx_msg void OnFileOpen();
45 | afx_msg void OnFileOpenWith();
46 | afx_msg void OnDummyCompile();
47 | afx_msg void OnEditCut();
48 | afx_msg void OnEditCopy();
49 | afx_msg void OnEditClear();
50 | afx_msg void OnPaint();
51 | afx_msg void OnSetFocus(CWnd* pOldWnd);
52 |
53 | DECLARE_MESSAGE_MAP()
54 | };
55 |
56 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/MFCApp.h:
--------------------------------------------------------------------------------
1 |
2 | // MFCApp.h : main header file for the MFCApp application
3 | //
4 | #pragma once
5 |
6 | #ifndef __AFXWIN_H__
7 | #error "include 'pch.h' before including this file for PCH"
8 | #endif
9 |
10 | #include "resource.h" // main symbols
11 |
12 |
13 | // CMFCAppApp:
14 | // See MFCApp.cpp for the implementation of this class
15 | //
16 |
17 | class CMFCAppApp : public CWinAppEx
18 | {
19 | public:
20 | CMFCAppApp() noexcept;
21 |
22 | winrt::MyApp::App hostApp{ nullptr };
23 | // Overrides
24 | public:
25 | virtual BOOL InitInstance();
26 | virtual int ExitInstance();
27 |
28 | // Implementation
29 | UINT m_nAppLook;
30 | BOOL m_bHiColorIcons;
31 |
32 | virtual void PreLoadState();
33 | virtual void LoadCustomState();
34 | virtual void SaveCustomState();
35 |
36 | afx_msg void OnAppAbout();
37 | DECLARE_MESSAGE_MAP()
38 | };
39 |
40 | extern CMFCAppApp theApp;
41 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/MFCAppDoc.h:
--------------------------------------------------------------------------------
1 |
2 | // MFCAppDoc.h : interface of the CMFCAppDoc class
3 | //
4 |
5 |
6 | #pragma once
7 |
8 |
9 | class CMFCAppDoc : public CDocument
10 | {
11 | protected: // create from serialization only
12 | CMFCAppDoc() noexcept;
13 | DECLARE_DYNCREATE(CMFCAppDoc)
14 |
15 | // Attributes
16 | public:
17 | winrt::MyApp::TreeViewNodeViewModel SelectedNode() const;
18 | void SelectedNode(winrt::MyApp::TreeViewNodeViewModel const& selectedNode);
19 | private:
20 | winrt::MyApp::TreeViewNodeViewModel _selectedNode{ nullptr };
21 | // Operations
22 | public:
23 |
24 | // Overrides
25 | public:
26 | virtual BOOL OnNewDocument();
27 | virtual void Serialize(CArchive& ar);
28 | #ifdef SHARED_HANDLERS
29 | virtual void InitializeSearchContent();
30 | virtual void OnDrawThumbnail(CDC& dc, LPRECT lprcBounds);
31 | #endif // SHARED_HANDLERS
32 |
33 | // Implementation
34 | public:
35 | virtual ~CMFCAppDoc();
36 | #ifdef _DEBUG
37 | virtual void AssertValid() const;
38 | virtual void Dump(CDumpContext& dc) const;
39 | #endif
40 |
41 | protected:
42 |
43 | // Generated message map functions
44 | protected:
45 | DECLARE_MESSAGE_MAP()
46 |
47 | #ifdef SHARED_HANDLERS
48 | // Helper function that sets search content for a Search Handler
49 | void SetSearchContent(const CString& value);
50 | #endif // SHARED_HANDLERS
51 | public:
52 | virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
53 | };
54 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/OutputWnd.h:
--------------------------------------------------------------------------------
1 |
2 | #pragma once
3 |
4 | /////////////////////////////////////////////////////////////////////////////
5 | // COutputList window
6 |
7 | class COutputList : public CListBox
8 | {
9 | // Construction
10 | public:
11 | COutputList() noexcept;
12 |
13 | // Implementation
14 | public:
15 | virtual ~COutputList();
16 |
17 | protected:
18 | afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
19 | afx_msg void OnEditCopy();
20 | afx_msg void OnEditClear();
21 | afx_msg void OnViewOutput();
22 |
23 | DECLARE_MESSAGE_MAP()
24 | };
25 |
26 | class COutputWnd : public CDockablePane
27 | {
28 | // Construction
29 | public:
30 | COutputWnd() noexcept;
31 |
32 | void UpdateFonts();
33 |
34 | // Attributes
35 | protected:
36 | CMFCTabCtrl m_wndTabs;
37 |
38 | COutputList m_wndOutputBuild;
39 | COutputList m_wndOutputDebug;
40 | COutputList m_wndOutputFind;
41 |
42 | protected:
43 | void FillBuildWindow();
44 | void FillDebugWindow();
45 | void FillFindWindow();
46 |
47 | void AdjustHorzScroll(CListBox& wndListBox);
48 |
49 | // Implementation
50 | public:
51 | virtual ~COutputWnd();
52 |
53 | protected:
54 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
55 | afx_msg void OnSize(UINT nType, int cx, int cy);
56 |
57 | DECLARE_MESSAGE_MAP()
58 | };
59 |
60 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/PropertiesWnd.h:
--------------------------------------------------------------------------------
1 |
2 | #pragma once
3 |
4 | class CPropertiesToolBar : public CMFCToolBar
5 | {
6 | public:
7 | virtual void OnUpdateCmdUI(CFrameWnd* /*pTarget*/, BOOL bDisableIfNoHndler)
8 | {
9 | CMFCToolBar::OnUpdateCmdUI((CFrameWnd*) GetOwner(), bDisableIfNoHndler);
10 | }
11 |
12 | virtual BOOL AllowShowOnList() const { return FALSE; }
13 | };
14 |
15 | class CPropertiesWnd : public CDockablePane
16 | {
17 | // Construction
18 | public:
19 | CPropertiesWnd() noexcept;
20 |
21 | void AdjustLayout();
22 |
23 | // Attributes
24 | public:
25 | void SetVSDotNetLook(BOOL bSet)
26 | {
27 | m_wndPropList.SetVSDotNetLook(bSet);
28 | m_wndPropList.SetGroupNameFullWidth(bSet);
29 | }
30 |
31 | protected:
32 | CFont m_fntPropList;
33 | CComboBox m_wndObjectCombo;
34 | CPropertiesToolBar m_wndToolBar;
35 | CMFCPropertyGridCtrl m_wndPropList;
36 |
37 | // Implementation
38 | public:
39 | virtual ~CPropertiesWnd();
40 |
41 | protected:
42 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
43 | afx_msg void OnSize(UINT nType, int cx, int cy);
44 | afx_msg void OnExpandAllProperties();
45 | afx_msg void OnUpdateExpandAllProperties(CCmdUI* pCmdUI);
46 | afx_msg void OnSortProperties();
47 | afx_msg void OnUpdateSortProperties(CCmdUI* pCmdUI);
48 | afx_msg void OnProperties1();
49 | afx_msg void OnUpdateProperties1(CCmdUI* pCmdUI);
50 | afx_msg void OnProperties2();
51 | afx_msg void OnUpdateProperties2(CCmdUI* pCmdUI);
52 | afx_msg void OnSetFocus(CWnd* pOldWnd);
53 | afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);
54 |
55 | DECLARE_MESSAGE_MAP()
56 |
57 | void InitPropList();
58 | void SetPropListFont();
59 |
60 | int m_nComboHeight;
61 | };
62 |
63 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/ViewTree.cpp:
--------------------------------------------------------------------------------
1 |
2 | #include "pch.h"
3 | #include "framework.h"
4 | #include "ViewTree.h"
5 |
6 | #ifdef _DEBUG
7 | #define new DEBUG_NEW
8 | #undef THIS_FILE
9 | static char THIS_FILE[] = __FILE__;
10 | #endif
11 |
12 | /////////////////////////////////////////////////////////////////////////////
13 | // CViewTree
14 |
15 | CViewTree::CViewTree() noexcept
16 | {
17 | }
18 |
19 | CViewTree::~CViewTree()
20 | {
21 | }
22 |
23 | BEGIN_MESSAGE_MAP(CViewTree, CTreeCtrl)
24 | END_MESSAGE_MAP()
25 |
26 | /////////////////////////////////////////////////////////////////////////////
27 | // CViewTree message handlers
28 |
29 | BOOL CViewTree::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
30 | {
31 | BOOL bRes = CTreeCtrl::OnNotify(wParam, lParam, pResult);
32 |
33 | NMHDR* pNMHDR = (NMHDR*)lParam;
34 | ASSERT(pNMHDR != nullptr);
35 |
36 | if (pNMHDR && pNMHDR->code == TTN_SHOW && GetToolTips() != nullptr)
37 | {
38 | GetToolTips()->SetWindowPos(&wndTop, -1, -1, -1, -1, SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOSIZE);
39 | }
40 |
41 | return bRes;
42 | }
43 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/ViewTree.h:
--------------------------------------------------------------------------------
1 |
2 | #pragma once
3 |
4 | /////////////////////////////////////////////////////////////////////////////
5 | // CViewTree window
6 |
7 | class CViewTree : public CTreeCtrl
8 | {
9 | // Construction
10 | public:
11 | CViewTree() noexcept;
12 |
13 | // Overrides
14 | protected:
15 | virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
16 |
17 | // Implementation
18 | public:
19 | virtual ~CViewTree();
20 |
21 | protected:
22 | DECLARE_MESSAGE_MAP()
23 | };
24 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/app.manifest:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
12 |
16 |
20 |
24 |
28 |
32 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/framework.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #ifndef VC_EXTRALEAN
4 | #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
5 | #endif
6 |
7 | #include "targetver.h"
8 |
9 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
10 |
11 | // turns off MFC's hiding of some common and often safely ignored warning messages
12 | #define _AFX_ALL_WARNINGS
13 |
14 | #include // MFC core and standard components
15 | #include // MFC extensions
16 |
17 |
18 | #include // MFC Automation classes
19 |
20 |
21 |
22 | #ifndef _AFX_NO_OLE_SUPPORT
23 | #include // MFC support for Internet Explorer 4 Common Controls
24 | #endif
25 | #ifndef _AFX_NO_AFXCMN_SUPPORT
26 | #include // MFC support for Windows Common Controls
27 | #endif // _AFX_NO_AFXCMN_SUPPORT
28 |
29 | #include // MFC support for ribbons and control bars
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 | #ifdef _UNICODE
40 | #if defined _M_IX86
41 | #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
42 | #elif defined _M_X64
43 | #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
44 | #else
45 | #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
46 | #endif
47 | #endif
48 |
49 |
50 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: source file corresponding to the pre-compiled header
2 |
3 | #include "pch.h"
4 |
5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
6 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/pch.h:
--------------------------------------------------------------------------------
1 | // pch.h: This is a precompiled header file.
2 | // Files listed below are compiled only once, improving build performance for future builds.
3 | // This also affects IntelliSense performance, including code completion and many code browsing features.
4 | // However, files listed here are ALL re-compiled if any one of them is updated between builds.
5 | // Do not add files here that you will be updating frequently as this negates the performance advantage.
6 |
7 | #ifndef PCH_H
8 | #define PCH_H
9 |
10 | // add headers that you want to pre-compile here
11 | #include "framework.h"
12 |
13 | // To enable support for non-WinRT interfaces, unknwn.h must be included before any C++/WinRT headers.
14 | #pragma push_macro("GetCurrentTime")
15 | #pragma push_macro("TRY")
16 | #undef GetCurrentTime
17 | #undef TRY
18 |
19 | #include
20 | #include
21 | #include
22 | #include
23 | #include
24 | #include
25 |
26 | #include
27 | #include
28 | #include
29 | #include
30 | #include
31 | #include
32 | #include
33 | #include
34 | #pragma pop_macro("TRY")
35 | #pragma pop_macro("GetCurrentTime")
36 |
37 | #endif //PCH_H
38 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/MFCApp.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/MFCApp.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/MFCApp.rc2:
--------------------------------------------------------------------------------
1 | //
2 | // MFCApp.rc2 - resources Microsoft Visual C++ does not edit directly
3 | //
4 |
5 | #ifdef APSTUDIO_INVOKED
6 | #error this file is not editable by Microsoft Visual C++
7 | #endif //APSTUDIO_INVOKED
8 |
9 |
10 | /////////////////////////////////////////////////////////////////////////////
11 | // Add manually edited resources here...
12 |
13 | /////////////////////////////////////////////////////////////////////////////
14 |
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/MFCAppDoc.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/MFCAppDoc.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/Toolbar.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/Toolbar.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/Toolbar256.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/Toolbar256.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/class_view.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/class_view.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/class_view_hc.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/class_view_hc.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/classview.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/classview.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/classview_hc.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/classview_hc.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/explorer.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/explorer.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/explorer_hc.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/explorer_hc.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/file_view.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/file_view.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/file_view_hc.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/file_view_hc.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/fileview.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/fileview.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/fileview_hc.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/fileview_hc.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/menuimages.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/menuimages.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/menuimages_hc.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/menuimages_hc.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/output_wnd.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/output_wnd.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/output_wnd_hc.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/output_wnd_hc.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/properties.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/properties.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/properties_hc.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/properties_hc.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/properties_wnd.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/properties_wnd.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/properties_wnd_hc.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/properties_wnd_hc.ico
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/sort.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/sort.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/sort_hc.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/sort_hc.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/res/userimages.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/MFC/MFCApp/res/userimages.bmp
--------------------------------------------------------------------------------
/Samples/MFC/MFCApp/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // Including SDKDDKVer.h defines the highest available Windows platform.
4 |
5 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
6 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
7 |
8 | #include
9 |
--------------------------------------------------------------------------------
/Samples/MFC/WindowsDesktopHost.cpp:
--------------------------------------------------------------------------------
1 | // WindowsDesktopHost.cpp : implementation file
2 | //
3 |
4 | #include "pch.h"
5 |
6 | #include "WindowsDesktopHost.h"
7 |
8 | IMPLEMENT_DYNAMIC(CWindowsDesktopHost, CBasePane)
9 |
10 | CWindowsDesktopHost::CWindowsDesktopHost()
11 | {
12 | }
13 |
14 | CWindowsDesktopHost::~CWindowsDesktopHost()
15 | {
16 | m_xamlIsland.Content(nullptr);
17 | m_xamlIsland.Close();
18 | }
19 |
20 | BEGIN_MESSAGE_MAP(CWindowsDesktopHost, CBasePane)
21 | END_MESSAGE_MAP()
22 |
23 | BOOL CWindowsDesktopHost::Create(CWnd* pParentWnd, DWORD dwStyle)
24 | {
25 | auto parentWnd = pParentWnd->GetSafeHwnd();
26 | auto native = m_xamlIsland.as();
27 | winrt::check_hresult(native->AttachToWindow(parentWnd));
28 | HWND islandWnd = nullptr;
29 | winrt::check_hresult(native->get_WindowHandle(&islandWnd));
30 | return Attach(islandWnd);
31 | }
32 |
33 | BOOL CWindowsDesktopHost::PreTranslateMessage(MSG* pMsg)
34 | {
35 | auto native = m_xamlIsland.as();
36 | BOOL result = false;
37 | winrt::check_hresult(native->PreTranslateMessage(pMsg, &result));
38 | return result;
39 | }
40 |
41 | winrt::Windows::UI::Xaml::UIElement CWindowsDesktopHost::Content()
42 | {
43 | return m_xamlIsland.Content();
44 | }
45 |
46 | void CWindowsDesktopHost::Content(winrt::Windows::UI::Xaml::UIElement content)
47 | {
48 | m_xamlIsland.Content(content);
49 | }
50 |
51 |
--------------------------------------------------------------------------------
/Samples/MFC/WindowsDesktopHost.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #pragma push_macro("TRY")
4 | #undef TRY
5 | #include // To enable support for non-WinRT interfaces, unknwn.h must be included before any C++/WinRT headers.
6 | #include
7 | #include
8 | #include
9 | #pragma pop_macro("TRY")
10 |
11 | class CWindowsDesktopHost : public CBasePane
12 | {
13 | DECLARE_DYNAMIC(CWindowsDesktopHost)
14 |
15 | public:
16 | CWindowsDesktopHost();
17 | virtual ~CWindowsDesktopHost();
18 |
19 | BOOL Create(CWnd* pParentWnd, DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_TABSTOP);
20 |
21 | winrt::Windows::UI::Xaml::UIElement Content();
22 | void Content(winrt::Windows::UI::Xaml::UIElement content);
23 |
24 | protected:
25 | DECLARE_MESSAGE_MAP()
26 |
27 | BOOL PreTranslateMessage(MSG* pMsg) override;
28 |
29 | private:
30 | winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource m_xamlIsland;
31 | };
32 |
--------------------------------------------------------------------------------
/Samples/Managed/Helpers/DataTransferManagerHelper.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Runtime.InteropServices;
3 | using System.Runtime.InteropServices.WindowsRuntime;
4 | using Windows.ApplicationModel.DataTransfer;
5 |
6 | namespace Helpers
7 | {
8 | public static class DataTransferManagerHelper
9 | {
10 | static readonly Guid _dtm_iid = new Guid(0xa5caee9b, 0x8708, 0x49d1, 0x8d, 0x36, 0x67, 0xd2, 0x5a, 0x8d, 0xa0, 0x0c);
11 |
12 | static IDataTransferManagerInterop DataTransferManagerInterop
13 | {
14 | get
15 | {
16 | return (IDataTransferManagerInterop)WindowsRuntimeMarshal.GetActivationFactory(typeof(DataTransferManager));
17 | }
18 | }
19 |
20 | public static DataTransferManager GetForWindow(IntPtr hwnd)
21 | {
22 | return DataTransferManagerInterop.GetForWindow(hwnd, _dtm_iid);
23 | }
24 |
25 | public static void ShowShareUIForWindow(IntPtr hwnd)
26 | {
27 | DataTransferManagerInterop.ShowShareUIForWindow(hwnd);
28 | }
29 |
30 | [ComImport, Guid("3A3DCD6C-3EAB-43DC-BCDE-45671CE800C8")]
31 | [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
32 | interface IDataTransferManagerInterop
33 | {
34 | DataTransferManager GetForWindow([In] IntPtr appWindow, [In] ref Guid riid);
35 | void ShowShareUIForWindow(IntPtr appWindow);
36 | }
37 | }
38 |
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/Samples/Managed/Helpers/Helpers.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 | true
6 | x86;x64
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Samples/Managed/SampleLibraryCS/CustomUserControl.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Samples/Managed/SampleLibraryCS/CustomUserControl.xaml.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) Microsoft Corporation. All rights reserved.
2 | // Licensed under the MIT License.
3 |
4 | using System;
5 | using System.Collections.Generic;
6 | using System.IO;
7 | using System.Linq;
8 | using System.Runtime.InteropServices.WindowsRuntime;
9 | using Windows.Foundation;
10 | using Windows.Foundation.Collections;
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 | namespace SampleLibraryCS
20 | {
21 | public sealed partial class CustomUserControl : UserControl
22 | {
23 | public static DependencyProperty LabelProperty { get; private set; }
24 |
25 | static CustomUserControl()
26 | {
27 | LabelProperty = DependencyProperty.Register(
28 | nameof(Label),
29 | typeof(string),
30 | typeof(CustomUserControl),
31 | new PropertyMetadata(default(string)
32 | ));
33 | }
34 |
35 | public string Label
36 | {
37 | get
38 | {
39 | return (string)GetValue(LabelProperty);
40 | }
41 | set
42 | {
43 | SetValue(LabelProperty, value);
44 | }
45 | }
46 |
47 | public CustomUserControl()
48 | {
49 | this.InitializeComponent();
50 | }
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Samples/Managed/SampleLibraryCS/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("SampleLibraryCS")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("SampleLibraryCS")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
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)]
--------------------------------------------------------------------------------
/Samples/Managed/UILibrary/Controls/CustomControl.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Runtime.InteropServices.WindowsRuntime;
5 | using Windows.UI.Xaml;
6 | using Windows.UI.Xaml.Controls;
7 | using Windows.UI.Xaml.Data;
8 | using Windows.UI.Xaml.Documents;
9 | using Windows.UI.Xaml.Input;
10 | using Windows.UI.Xaml.Media;
11 |
12 | // The Templated Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234235
13 |
14 | namespace UILibrary.Controls
15 | {
16 | public sealed class CustomControl : Button
17 | {
18 | public CustomControl()
19 | {
20 | this.DefaultStyleKey = typeof(CustomControl);
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Samples/Managed/UILibrary/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("UILibrary")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("None")]
12 | [assembly: AssemblyProduct("UILibrary")]
13 | [assembly: AssemblyCopyright("Copyright © None 2020")]
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)]
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Toolkit.Win32.UI.XamlHost;
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;
8 | using Windows.ApplicationModel.Activation;
9 | using Windows.Foundation;
10 | using Windows.Foundation.Collections;
11 | using Windows.UI.Core;
12 | using Windows.UI.Xaml;
13 | using Windows.UI.Xaml.Controls;
14 | using Windows.UI.Xaml.Controls.Primitives;
15 | using Windows.UI.Xaml.Data;
16 | using Windows.UI.Xaml.Input;
17 | using Windows.UI.Xaml.Media;
18 | using Windows.UI.Xaml.Navigation;
19 |
20 | namespace UWPApplication
21 | {
22 | sealed partial class App : XamlApplication
23 | {
24 | public static Action ShowShareUIForWindow;
25 | public static Action OrientationChanged;
26 |
27 | IntPtr windowHandle;
28 | public IntPtr WindowHandle
29 | {
30 | get
31 | {
32 | return windowHandle;
33 | }
34 | set
35 | {
36 | windowHandle = value;
37 | }
38 | }
39 |
40 |
41 | public App()
42 | {
43 | this.Initialize();
44 | }
45 | }
46 |
47 | public class OrientationChangedEventArgs
48 | {
49 | public bool IsLandscape { get; set; }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage1.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage2.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage3.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage4.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage5.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage6.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage7.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/LandscapeImage8.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/cliff.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/cliff.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/fishes.wmv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/fishes.wmv
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/grapes.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/grapes.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/ladybug.wmv:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/ladybug.wmv
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/notepad.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/notepad.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/rainier.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/rainier.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/sunset.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/sunset.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/treetops.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/treetops.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SampleMedia/valley.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SampleMedia/valley.jpg
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/StoreLogo.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Assets/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Assets/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/BasicInputPage.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 https://go.microsoft.com/fwlink/?LinkId=234238
17 |
18 | namespace Samples.ManagedUWP
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 BasicInputPage : Page
24 | {
25 | public BasicInputPage()
26 | {
27 | this.InitializeComponent();
28 | }
29 |
30 | private async void Button_Click(object sender, RoutedEventArgs e)
31 | {
32 | //Xaml Root Issue
33 | ContentDialog noWifiDialog = new ContentDialog()
34 | {
35 | Title = "No wifi connection",
36 | Content = "Check connection and try again.",
37 | CloseButtonText = "Ok"
38 | };
39 |
40 | noWifiDialog.XamlRoot = ((UIElement)sender).XamlRoot;
41 |
42 | await noWifiDialog.ShowAsync();
43 |
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/CollectionsPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/DateAndTimePage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/DateAndTimePage.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 https://go.microsoft.com/fwlink/?LinkId=234238
17 |
18 | namespace Samples.ManagedUWP
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 DateAndTimePage : Page
24 | {
25 | public DateAndTimePage()
26 | {
27 | this.InitializeComponent();
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/LayoutPage.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 https://go.microsoft.com/fwlink/?LinkId=234238
17 |
18 | namespace Samples.ManagedUWP
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 LayoutPage : Page
24 | {
25 | public LayoutPage()
26 | {
27 | this.InitializeComponent();
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/MediaPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Diagnostics;
2 | using Windows.UI.Core;
3 | using Windows.UI.Input.Inking;
4 | using Windows.UI.Xaml.Controls;
5 |
6 | namespace Samples.ManagedUWP
7 | {
8 |
9 | public sealed partial class MediaPage : Page
10 | {
11 | private InkPresenter inkPresenter;
12 | public MediaPage()
13 | {
14 | this.InitializeComponent();
15 | inkPresenter = inkCanvas.InkPresenter;
16 | inkPresenter.InputDeviceTypes =
17 | CoreInputDeviceTypes.Mouse | CoreInputDeviceTypes.Pen | CoreInputDeviceTypes.Touch;
18 | this.Loaded += MediaPage_Loaded;
19 | }
20 |
21 | private void MediaPage_Loaded(object sender, Windows.UI.Xaml.RoutedEventArgs e)
22 | {
23 | var testPanel = new Native_SwapChainPanel_Comp.CustomRenderer();
24 | swapChainPanelGrid.Children.Add(testPanel);
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/RevealPage.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 https://go.microsoft.com/fwlink/?LinkId=234238
17 |
18 | namespace Samples.ManagedUWP
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 RevealPage : Page
24 | {
25 | public RevealPage()
26 | {
27 | this.InitializeComponent();
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/Win32IntegrationPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/WinUIPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Controls_Pages/WinUIPage.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 https://go.microsoft.com/fwlink/?LinkId=234238
17 |
18 | namespace Samples.ManagedUWP
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 WinUIPage : Page
24 | {
25 | public WinUIPage()
26 | {
27 | this.InitializeComponent();
28 | }
29 |
30 | private void TestButtonClick(object sender, RoutedEventArgs e)
31 | {
32 | toggleTeachingTipBtn.IsOpen = true;
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Helpers/DisplayInformation.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using Windows.Graphics.Display;
5 |
6 | namespace Samples.ManagedUWP.Helpers.Win32
7 | {
8 | public static class DisplayInformation
9 | {
10 | [System.Runtime.InteropServices.DllImport("user32.dll")]
11 | private static extern uint GetSystemMetrics(int nIndex);
12 |
13 | public static uint ScreenWidthInRawPixels
14 | {
15 | get
16 | {
17 | return GetSystemMetrics(16 /*SM_CXFULLSCREEN*/);
18 | }
19 |
20 | }
21 | public static uint ScreenHeightInRawPixels
22 | {
23 | get
24 | {
25 | return GetSystemMetrics(17 /*SM_CYFULLSCREEN*/);
26 | }
27 | }
28 | public static DisplayOrientations CurrentOrientation
29 | {
30 | get
31 | {
32 | if (ScreenWidthInRawPixels > ScreenHeightInRawPixels)
33 | {
34 | return DisplayOrientations.Landscape;
35 | }
36 | else
37 | {
38 | return DisplayOrientations.Portrait;
39 | }
40 |
41 | }
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/SplashScreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/SplashScreen.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/StoreLogo.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Images/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/Images/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/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("UWPApplication")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("UWPApplication")]
13 | [assembly: AssemblyCopyright("Copyright © 2020")]
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)]
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/Properties/Default.rd.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/SettingsPage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WelcomePage.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WinRTHost/arm64/winrthost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/WinRTHost/arm64/winrthost.dll
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WinRTHost/arm64/winrthost.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/WinRTHost/arm64/winrthost.pdb
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WinRTHost/runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.0",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "3.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WinRTHost/x64/winrthost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/WinRTHost/x64/winrthost.dll
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WinRTHost/x64/winrthost.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/WinRTHost/x64/winrthost.pdb
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WinRTHost/x86/winrthost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/WinRTHost/x86/winrthost.dll
--------------------------------------------------------------------------------
/Samples/Managed/UWPApplication/WinRTHost/x86/winrthost.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Managed/UWPApplication/WinRTHost/x86/winrthost.pdb
--------------------------------------------------------------------------------
/Samples/Native/MyApp/3DViewControl.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/App.base.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | namespace winrt::MyApp::implementation
4 | {
5 | template
6 | struct App_baseWithProvider : public App_base
7 | {
8 | using IXamlType = ::winrt::Windows::UI::Xaml::Markup::IXamlType;
9 |
10 | IXamlType GetXamlType(::winrt::Windows::UI::Xaml::Interop::TypeName const& type)
11 | {
12 | return AppProvider()->GetXamlType(type);
13 | }
14 |
15 | IXamlType GetXamlType(::winrt::hstring const& fullName)
16 | {
17 | return AppProvider()->GetXamlType(fullName);
18 | }
19 |
20 | ::winrt::com_array<::winrt::Windows::UI::Xaml::Markup::XmlnsDefinition> GetXmlnsDefinitions()
21 | {
22 | return AppProvider()->GetXmlnsDefinitions();
23 | }
24 |
25 | private:
26 | bool _contentLoaded{ false };
27 | ::winrt::com_ptr _appProvider;
28 | ::winrt::com_ptr AppProvider()
29 | {
30 | if (!_appProvider)
31 | {
32 | _appProvider = ::winrt::make_self();
33 | }
34 | return _appProvider;
35 | }
36 | };
37 |
38 | template
39 | using AppT2 = App_baseWithProvider;
40 | }
41 |
42 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/App.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 |
3 | #include "App.h"
4 |
5 | using namespace winrt;
6 | using namespace Windows::UI::Xaml;
7 |
8 | namespace winrt::MyApp::implementation
9 | {
10 | App::App()
11 | {
12 | Initialize();
13 |
14 | AddRef();
15 | m_inner.as<::IUnknown>()->Release();
16 | }
17 |
18 | App::~App()
19 | {
20 | Close();
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/App.h:
--------------------------------------------------------------------------------
1 | //
2 | // Declaration of the App class.
3 | //
4 |
5 | #pragma once
6 |
7 | #include "App.g.h"
8 | #include "App.base.h"
9 |
10 | namespace winrt::MyApp::implementation
11 | {
12 | class App : public AppT2
13 | {
14 | public:
15 | App();
16 | ~App();
17 | };
18 | }
19 |
20 | namespace winrt::MyApp::factory_implementation
21 | {
22 | class App : public AppT
23 | {
24 | };
25 | }
26 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/App.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [default_interface]
4 | runtimeclass App: Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication
5 | {
6 | App();
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/App.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Display3DUserControl.h:
--------------------------------------------------------------------------------
1 | //
2 | // Declaration of the MainUserControl class.
3 | //
4 |
5 | #pragma once
6 | #include "winrt/Windows.UI.Xaml.h"
7 | #include "winrt/Windows.UI.Xaml.Markup.h"
8 | #include "winrt/Windows.UI.Xaml.Interop.h"
9 | #include "Display3DUserControl.g.h"
10 |
11 | using namespace winrt;
12 | using namespace Windows::UI::Composition;
13 | using namespace Windows::UI::Xaml::Shapes;
14 | using namespace Windows::UI::Xaml::Controls;
15 |
16 | namespace winrt::MyApp::implementation
17 | {
18 | struct Display3DUserControl : Display3DUserControlT
19 | {
20 |
21 | Image _hubbleImage = Image{ nullptr };
22 | Compositor _compositor = Compositor{ nullptr };
23 | ContainerVisual _hostVisual = ContainerVisual{ nullptr };
24 | Scenes::SceneVisual _sceneVisual = Scenes::SceneVisual{ nullptr };
25 | hstring _modelPath;
26 | hstring ModelPath();
27 | void ModelPath(hstring value);
28 |
29 | Display3DUserControl();
30 | void Show3D_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::RoutedEventArgs const& e);
31 | };
32 | }
33 |
34 | namespace winrt::MyApp::factory_implementation
35 | {
36 | struct Display3DUserControl : Display3DUserControlT
37 | {
38 | };
39 | }
40 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Display3DuserControl.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [default_interface]
4 | runtimeclass Display3DUserControl : Windows.UI.Xaml.Controls.UserControl
5 | {
6 | Display3DUserControl();
7 | String ModelPath;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/FilePathToBitmapImageConverter.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "FilePathToBitmapImageConverter.h"
3 | #if __has_include("FilePathToBitmapImageConverter.g.cpp")
4 | #include "FilePathToBitmapImageConverter.g.cpp"
5 | #endif
6 |
7 | using namespace winrt;
8 | using namespace Windows::Foundation;
9 | using namespace Windows::UI::Xaml;
10 | using namespace Windows::UI::Xaml::Media::Imaging;
11 |
12 | namespace winrt::MyApp::implementation
13 | {
14 | Windows::Foundation::IInspectable FilePathToBitmapImageConverter::Convert(Windows::Foundation::IInspectable const& value, Windows::UI::Xaml::Interop::TypeName const& targetType, Windows::Foundation::IInspectable const& parameter, hstring const& language)
15 | {
16 | return BitmapImage{ Uri { unbox_value(value) } };
17 | }
18 | Windows::Foundation::IInspectable FilePathToBitmapImageConverter::ConvertBack(Windows::Foundation::IInspectable const& value, Windows::UI::Xaml::Interop::TypeName const& targetType, Windows::Foundation::IInspectable const& parameter, hstring const& language)
19 | {
20 | throw hresult_not_implemented();
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/FilePathToBitmapImageConverter.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "FilePathToBitmapImageConverter.g.h"
4 |
5 | namespace winrt::MyApp::implementation
6 | {
7 | struct FilePathToBitmapImageConverter : FilePathToBitmapImageConverterT
8 | {
9 | FilePathToBitmapImageConverter() = default;
10 | Windows::Foundation::IInspectable Convert(Windows::Foundation::IInspectable const& value, Windows::UI::Xaml::Interop::TypeName const& targetType, Windows::Foundation::IInspectable const& parameter, hstring const& language);
11 | Windows::Foundation::IInspectable ConvertBack(Windows::Foundation::IInspectable const& value, Windows::UI::Xaml::Interop::TypeName const& targetType, Windows::Foundation::IInspectable const& parameter, hstring const& language);
12 | };
13 | }
14 |
15 | namespace winrt::MyApp::factory_implementation
16 | {
17 | struct FilePathToBitmapImageConverter : FilePathToBitmapImageConverterT
18 | {
19 | };
20 | }
21 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/FilePathToBitmapImageConverter.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [default_interface]
4 | runtimeclass FilePathToBitmapImageConverter : [default] Windows.UI.Xaml.Data.IValueConverter
5 | {
6 | FilePathToBitmapImageConverter();
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/ImagePreviewerUserControl.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "ImagePreviewerUserControl.h"
3 | #if __has_include("ImagePreviewerUserControl.g.cpp")
4 | #include "ImagePreviewerUserControl.g.cpp"
5 | #endif
6 |
7 | using namespace winrt;
8 | using namespace Windows::UI::Xaml;
9 |
10 | namespace winrt::MyApp::implementation
11 | {
12 | ImagePreviewerUserControl::ImagePreviewerUserControl()
13 | {
14 | InitializeComponent();
15 | }
16 |
17 | MyApp::TreeViewNodeViewModel ImagePreviewerUserControl::ViewModel()
18 | {
19 | return _viewModel;
20 | }
21 | void ImagePreviewerUserControl::ViewModel(MyApp::TreeViewNodeViewModel const& value)
22 | {
23 | _viewModel = value;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/ImagePreviewerUserControl.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "winrt/Windows.UI.Xaml.h"
4 | #include "winrt/Windows.UI.Xaml.Markup.h"
5 | #include "winrt/Windows.UI.Xaml.Interop.h"
6 | #include "winrt/Windows.UI.Xaml.Controls.Primitives.h"
7 | #include "ImagePreviewerUserControl.g.h"
8 | #include "TreeViewNodeViewModel.h"
9 |
10 | namespace winrt::MyApp::implementation
11 | {
12 | struct ImagePreviewerUserControl : ImagePreviewerUserControlT
13 | {
14 | ImagePreviewerUserControl();
15 | MyApp::TreeViewNodeViewModel ViewModel();
16 | void ViewModel(MyApp::TreeViewNodeViewModel const& value);
17 | private:
18 | MyApp::TreeViewNodeViewModel _viewModel{ nullptr };
19 | };
20 | }
21 |
22 | namespace winrt::MyApp::factory_implementation
23 | {
24 | struct ImagePreviewerUserControl : ImagePreviewerUserControlT
25 | {
26 | };
27 | }
28 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/ImagePreviewerUserControl.idl:
--------------------------------------------------------------------------------
1 | import "TreeViewNodeViewModel.idl";
2 |
3 | namespace MyApp
4 | {
5 | [default_interface]
6 | runtimeclass ImagePreviewerUserControl : Windows.UI.Xaml.Controls.UserControl
7 | {
8 | ImagePreviewerUserControl();
9 | TreeViewNodeViewModel ViewModel;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/ImagePreviewerUserControl.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
21 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Images/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/Images/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Images/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/Images/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Images/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/Images/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Images/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/Images/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Images/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/Images/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Images/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/Images/StoreLogo.png
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Images/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/Images/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MainUserControl.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "MainUserControl.h"
3 |
4 | using namespace winrt;
5 | using namespace Windows::UI::Xaml;
6 |
7 | namespace winrt::MyApp::implementation
8 | {
9 | MainUserControl::MainUserControl()
10 | {
11 |
12 | InitializeComponent();
13 | }
14 |
15 | winrt::hstring MainUserControl::MyProperty()
16 | {
17 | return userControl().MyProperty();
18 | }
19 |
20 | void MainUserControl::MyProperty(winrt::hstring value)
21 | {
22 | userControl().MyProperty(value);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MainUserControl.h:
--------------------------------------------------------------------------------
1 | //
2 | // Declaration of the MainUserControl class.
3 | //
4 |
5 | #pragma once
6 |
7 | #include "winrt/Windows.UI.Xaml.h"
8 | #include "winrt/Windows.UI.Xaml.Markup.h"
9 | #include "winrt/Windows.UI.Xaml.Interop.h"
10 | #include "MainUserControl.g.h"
11 |
12 | namespace winrt::MyApp::implementation
13 | {
14 | struct MainUserControl : MainUserControlT
15 | {
16 | MainUserControl();
17 |
18 | hstring MyProperty();
19 | void MyProperty(hstring value);
20 | };
21 | }
22 |
23 | namespace winrt::MyApp::factory_implementation
24 | {
25 | struct MainUserControl : MainUserControlT
26 | {
27 | };
28 | }
29 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MainUserControl.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [default_interface]
4 | runtimeclass MainUserControl : Windows.UI.Xaml.Controls.UserControl
5 | {
6 | MainUserControl();
7 | String MyProperty;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MainUserControl.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MediaPlayerControl.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "MediaPlayerControl.h"
3 | #if __has_include("MediaPlayerControl.g.cpp")
4 | #include "MediaPlayerControl.g.cpp"
5 | #endif
6 |
7 | using namespace winrt;
8 | using namespace Windows::UI::Xaml;
9 |
10 | namespace winrt::MyApp::implementation
11 | {
12 | MediaPlayerControl::MediaPlayerControl()
13 | {
14 | InitializeComponent();
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MediaPlayerControl.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "winrt/Windows.UI.Xaml.h"
4 | #include "winrt/Windows.UI.Xaml.Markup.h"
5 | #include "winrt/Windows.UI.Xaml.Interop.h"
6 | #include "winrt/Windows.UI.Xaml.Controls.Primitives.h"
7 | #include "MediaPlayerControl.g.h"
8 |
9 | namespace winrt::MyApp::implementation
10 | {
11 | struct MediaPlayerControl : MediaPlayerControlT
12 | {
13 | MediaPlayerControl();
14 | };
15 | }
16 |
17 | namespace winrt::MyApp::factory_implementation
18 | {
19 | struct MediaPlayerControl : MediaPlayerControlT
20 | {
21 | };
22 | }
23 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MediaPlayerControl.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [default_interface]
4 | runtimeclass MediaPlayerControl : Windows.UI.Xaml.Controls.UserControl
5 | {
6 | MediaPlayerControl();
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MediaPlayerControl.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MyUserControl01.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MyUserControl01.xaml.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // MyUserControl01.xaml.cpp
3 | // Implementation of the MyUserControl01 class
4 | //
5 |
6 | #include "pch.h"
7 | #include "MyUserControl01.xaml.h"
8 |
9 | using namespace MyApp;
10 |
11 | using namespace Platform;
12 | using namespace Windows::Foundation;
13 | using namespace Windows::Foundation::Collections;
14 | using namespace Windows::UI::Xaml;
15 | using namespace Windows::UI::Xaml::Controls;
16 | using namespace Windows::UI::Xaml::Controls::Primitives;
17 | using namespace Windows::UI::Xaml::Data;
18 | using namespace Windows::UI::Xaml::Input;
19 | using namespace Windows::UI::Xaml::Media;
20 | using namespace Windows::UI::Xaml::Navigation;
21 |
22 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
23 |
24 | MyUserControl01::MyUserControl01()
25 | {
26 | InitializeComponent();
27 | }
28 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/MyUserControl01.xaml.h:
--------------------------------------------------------------------------------
1 | //
2 | // MyUserControl01.xaml.h
3 | // Declaration of the MyUserControl01 class
4 | //
5 |
6 | #pragma once
7 |
8 | #include "MyUserControl01.g.h"
9 |
10 | namespace MyApp
11 | {
12 | [Windows::Foundation::Metadata::WebHostHidden]
13 | public ref class MyUserControl01 sealed
14 | {
15 | public:
16 | MyUserControl01();
17 | };
18 | }
19 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/Package.appxmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 | App
10 | internal
11 | Images\StoreLogo.png
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/ReadMe.md:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/TreeViewHostUserControl.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "TreeViewHostUserControl.h"
3 | #if __has_include("TreeViewHostUserControl.g.cpp")
4 | #include "TreeViewHostUserControl.g.cpp"
5 | #endif
6 |
7 | using namespace winrt;
8 | using namespace Windows::UI::Xaml;
9 | using namespace Windows::Foundation;
10 | using namespace Windows::UI::Popups;
11 |
12 | namespace winrt::MyApp::implementation
13 | {
14 | TreeViewHostUserControl::TreeViewHostUserControl()
15 | {
16 | InitializeComponent();
17 | _nodes = winrt::single_threaded_observable_vector();
18 | }
19 |
20 | event_token TreeViewHostUserControl::TreeViewNodeSelected(EventHandler const& handler)
21 | {
22 | return _treeViewNodeSelected.add(handler);
23 | }
24 |
25 | void TreeViewHostUserControl::TreeViewNodeSelected(event_token const& token)
26 | {
27 | _treeViewNodeSelected.remove(token);
28 | }
29 |
30 | void TreeViewHostUserControl::TreeView_ItemInvoked(muxc::TreeView const& /* sender */, muxc::TreeViewItemInvokedEventArgs const& args)
31 | {
32 | auto node = args.InvokedItem().as();
33 | _treeViewNodeSelected(*this, node);
34 | }
35 |
36 | IObservableVector TreeViewHostUserControl::Nodes()
37 | {
38 | return _nodes;
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/TreeViewHostUserControl.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "winrt/Windows.UI.Xaml.h"
4 | #include "winrt/Windows.UI.Xaml.Markup.h"
5 | #include "winrt/Windows.UI.Xaml.Interop.h"
6 | #include "winrt/Windows.UI.Xaml.Controls.Primitives.h"
7 | #include "TreeViewHostUserControl.g.h"
8 | #include "TreeViewNodeViewModel.h"
9 |
10 | namespace winrt::MyApp::implementation
11 | {
12 | using namespace winrt;
13 | using namespace Windows::Foundation;
14 | using namespace Windows::Foundation::Collections;
15 | namespace muxc = Microsoft::UI::Xaml::Controls;
16 |
17 | struct TreeViewHostUserControl : TreeViewHostUserControlT
18 | {
19 | TreeViewHostUserControl();
20 | event_token TreeViewNodeSelected(EventHandler const& handler);
21 | void TreeViewNodeSelected(event_token const& token);
22 | void TreeView_ItemInvoked(muxc::TreeView const& sender, muxc::TreeViewItemInvokedEventArgs const& args);
23 | IObservableVector Nodes();
24 | private:
25 | IObservableVector _nodes;
26 | event> _treeViewNodeSelected;
27 | };
28 | }
29 |
30 | namespace winrt::MyApp::factory_implementation
31 | {
32 | struct TreeViewHostUserControl : TreeViewHostUserControlT
33 | {
34 | };
35 | }
36 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/TreeViewHostUserControl.idl:
--------------------------------------------------------------------------------
1 | import "TreeViewNodeViewModel.idl";
2 |
3 | namespace MyApp
4 | {
5 | [default_interface]
6 | runtimeclass TreeViewHostUserControl : Windows.UI.Xaml.Controls.UserControl
7 | {
8 | TreeViewHostUserControl();
9 | Windows.Foundation.Collections.IObservableVector Nodes { get; };
10 | event Windows.Foundation.EventHandler TreeViewNodeSelected;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/TreeViewNodeViewModel.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "TreeViewNodeViewModel.h"
3 | #if __has_include("TreeViewNodeViewModel.g.cpp")
4 | #include "TreeViewNodeViewModel.g.cpp"
5 | #endif
6 |
7 | using namespace winrt;
8 | using namespace Windows::UI::Xaml;
9 | using namespace Windows::Foundation;
10 |
11 | namespace winrt::MyApp::implementation
12 | {
13 | TreeViewNodeViewModel::TreeViewNodeViewModel() : TreeViewNodeViewModel(L"", Uri{ nullptr }, L"")
14 | {
15 | }
16 |
17 | TreeViewNodeViewModel::TreeViewNodeViewModel(hstring const& label, Uri const& icon, hstring const& imagePath) :
18 | _label(label), _icon(icon), _imagePath(imagePath)
19 | {
20 | _children = winrt::single_threaded_observable_vector();
21 | }
22 |
23 | hstring TreeViewNodeViewModel::Label()
24 | {
25 | return _label;
26 | }
27 | void TreeViewNodeViewModel::Label(hstring const& value)
28 | {
29 | _label = value;
30 | }
31 | Uri TreeViewNodeViewModel::Icon()
32 | {
33 | return _icon;
34 | }
35 | void TreeViewNodeViewModel::Icon(Uri const& value)
36 | {
37 | _icon = value;
38 | }
39 | hstring TreeViewNodeViewModel::Memo()
40 | {
41 | return _memo;
42 | }
43 | void TreeViewNodeViewModel::Memo(hstring const& value)
44 | {
45 | _memo = value;
46 | }
47 | hstring TreeViewNodeViewModel::ImagePath()
48 | {
49 | return _imagePath;
50 | }
51 | void TreeViewNodeViewModel::ImagePath(hstring const& value)
52 | {
53 | _imagePath = value;
54 | }
55 | Windows::Foundation::Collections::IObservableVector TreeViewNodeViewModel::Children()
56 | {
57 | return _children;
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/TreeViewNodeViewModel.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "TreeViewNodeViewModel.g.h"
4 |
5 | namespace winrt::MyApp::implementation
6 | {
7 | struct TreeViewNodeViewModel : TreeViewNodeViewModelT
8 | {
9 | TreeViewNodeViewModel();
10 | TreeViewNodeViewModel(hstring const& label, Windows::Foundation::Uri const& icon, hstring const& imagePath);
11 | hstring Label();
12 | void Label(hstring const& value);
13 | Windows::Foundation::Uri Icon();
14 | void Icon(Windows::Foundation::Uri const& value);
15 | hstring Memo();
16 | void Memo(hstring const& value);
17 | hstring ImagePath();
18 | void ImagePath(hstring const& value);
19 | Windows::Foundation::Collections::IObservableVector Children();
20 | private:
21 | hstring _label;
22 | hstring _memo;
23 | Windows::Foundation::Uri _icon;
24 | hstring _imagePath;
25 | Windows::Foundation::Collections::IObservableVector _children;
26 | };
27 | }
28 |
29 | namespace winrt::MyApp::factory_implementation
30 | {
31 | struct TreeViewNodeViewModel : TreeViewNodeViewModelT
32 | {
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/TreeViewNodeViewModel.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [bindable]
4 | [default_interface]
5 | runtimeclass TreeViewNodeViewModel
6 | {
7 | TreeViewNodeViewModel();
8 | TreeViewNodeViewModel(String label, Windows.Foundation.Uri icon, String imagePath);
9 | String Label;
10 | Windows.Foundation.Uri Icon;
11 | String ImagePath;
12 | String Memo;
13 |
14 | Windows.Foundation.Collections.IObservableVector Children{ get; };
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/WinRTHost/arm64/winrthost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/WinRTHost/arm64/winrthost.dll
--------------------------------------------------------------------------------
/Samples/Native/MyApp/WinRTHost/arm64/winrthost.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/WinRTHost/arm64/winrthost.pdb
--------------------------------------------------------------------------------
/Samples/Native/MyApp/WinRTHost/runtimeconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "runtimeOptions": {
3 | "tfm": "netcoreapp3.0",
4 | "framework": {
5 | "name": "Microsoft.NETCore.App",
6 | "version": "3.0.0"
7 | }
8 | }
9 | }
--------------------------------------------------------------------------------
/Samples/Native/MyApp/WinRTHost/x64/winrthost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/WinRTHost/x64/winrthost.dll
--------------------------------------------------------------------------------
/Samples/Native/MyApp/WinRTHost/x64/winrthost.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/WinRTHost/x64/winrthost.pdb
--------------------------------------------------------------------------------
/Samples/Native/MyApp/WinRTHost/x86/winrthost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/WinRTHost/x86/winrthost.dll
--------------------------------------------------------------------------------
/Samples/Native/MyApp/WinRTHost/x86/winrthost.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Native/MyApp/WinRTHost/x86/winrthost.pdb
--------------------------------------------------------------------------------
/Samples/Native/MyApp/dummy.exe:
--------------------------------------------------------------------------------
1 | dummy exe file
2 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/pch.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 |
--------------------------------------------------------------------------------
/Samples/Native/MyApp/pch.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #define DISABLE_XAML_GENERATED_MAIN
4 |
5 | #include
6 | #include
7 |
8 | #include
9 | #include
10 | #include
11 |
12 | #include
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
20 | #include
21 | #include
22 | #include
23 | #include
24 | #include
25 | #include
26 | #include
27 | #include
28 | #include
29 | #include
30 | #include
31 | #include
32 | #include
33 | #include
34 |
35 | #include
36 | #include
37 | #include
38 |
39 | #ifdef __SCENE_LOADER__
40 | #include
41 | #endif
42 |
43 | #include
44 |
45 | #include
46 | #include
47 | #include
48 |
--------------------------------------------------------------------------------
/Samples/Native/Native_SwapChainPanel_Comp/CustomRenderer.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "pch.h"
4 | #include "Direct2DPanel.h"
5 | namespace Native_SwapChainPanel_Comp {
6 |
7 | //[Windows::Foundation::Metadata::WebHostHidden] //Identifies the type as one whose functionality is not projected into the specified target language.
8 | public ref class CustomRenderer sealed :
9 | public Native_SwapChainPanel_Comp::Direct2DPanel
10 | {
11 | public:
12 | CustomRenderer();
13 |
14 | private protected:
15 | virtual void Render() override;
16 | virtual void CreateDeviceResources() override;
17 |
18 | virtual void OnDeviceLost() override;
19 | virtual void OnSizeChanged(Platform::Object^ sender, Windows::UI::Xaml::SizeChangedEventArgs^ e) override;
20 | virtual void OnCompositionScaleChanged(Windows::UI::Xaml::Controls::SwapChainPanel^ sender, Platform::Object^ args) override;
21 | virtual void OnResuming(Platform::Object^ sender, Platform::Object^ args) override;
22 |
23 | Microsoft::WRL::ComPtr m_strokeBrush;
24 | Microsoft::WRL::ComPtr m_fillBrush;
25 | };
26 | }
27 |
--------------------------------------------------------------------------------
/Samples/Native/Native_SwapChainPanel_Comp/DirectXHelper.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "pch.h"
4 | #include // For create_task
5 |
6 | namespace DX
7 | {
8 | inline void ThrowIfFailed(HRESULT hr)
9 | {
10 | if (FAILED(hr))
11 | {
12 | // Set a breakpoint on this line to catch Win32 API errors.
13 | throw Platform::Exception::CreateException(hr);
14 | }
15 | }
16 |
17 | // Function that reads from a binary file asynchronously.
18 | inline Concurrency::task> ReadDataAsync(const std::wstring& filename)
19 | {
20 | using namespace Windows::Storage;
21 | using namespace Concurrency;
22 |
23 | auto folder = Windows::ApplicationModel::Package::Current->InstalledLocation;
24 |
25 | return create_task(folder->GetFileAsync(Platform::StringReference(filename.c_str()))).then([](StorageFile^ file)
26 | {
27 | return FileIO::ReadBufferAsync(file);
28 | }).then([](Streams::IBuffer^ fileBuffer) -> std::vector
29 | {
30 | std::vector returnBuffer;
31 | returnBuffer.resize(fileBuffer->Length);
32 | Streams::DataReader::FromBuffer(fileBuffer)->ReadBytes(Platform::ArrayReference(returnBuffer.data(), fileBuffer->Length));
33 | return returnBuffer;
34 | });
35 | }
36 |
37 | // Converts a length in device-independent pixels (DIPs) to a length in physical pixels.
38 | inline float ConvertDipsToPixels(float dips, float dpi)
39 | {
40 | static const float dipsPerInch = 96.0f;
41 | return floorf(dips * dpi / dipsPerInch + 0.5f); // Round to nearest integer.
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/Samples/Native/Native_SwapChainPanel_Comp/Native_SwapChainPanel_Comp.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 8a038907-f087-4bbd-bd50-0797534e8620
6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tga;tiff;tif;png;wav;mfcribbon-ms
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Samples/Native/Native_SwapChainPanel_Comp/pch.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 |
--------------------------------------------------------------------------------
/Samples/Native/Native_SwapChainPanel_Comp/pch.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include
4 | #include
5 | #include "DirectXHelper.h"
6 | #include
7 | #include
8 | #include
9 | #include
10 | #include
11 |
12 | #include "windows.ui.xaml.media.dxinterop.h"
13 |
14 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/InternalUserControl.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "InternalUserControl.h"
3 |
4 | using namespace winrt;
5 | using namespace Windows::UI::Xaml;
6 |
7 | namespace winrt::SampleUserControl::implementation
8 | {
9 | InternalUserControl::InternalUserControl()
10 | {
11 | InitializeComponent();
12 | }
13 |
14 | int32_t InternalUserControl::MyProperty()
15 | {
16 | throw hresult_not_implemented();
17 | }
18 |
19 | void InternalUserControl::MyProperty(int32_t /* value */)
20 | {
21 | throw hresult_not_implemented();
22 | }
23 |
24 | void InternalUserControl::ClickHandler(IInspectable const&, RoutedEventArgs const&)
25 | {
26 | Button().Content(box_value(L"Clicked"));
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/InternalUserControl.h:
--------------------------------------------------------------------------------
1 | //
2 | // Declaration of the InternalUserControl class.
3 | //
4 |
5 | #pragma once
6 |
7 | #include "winrt/Windows.UI.Xaml.h"
8 | #include "winrt/Windows.UI.Xaml.Markup.h"
9 | #include "winrt/Windows.UI.Xaml.Interop.h"
10 | #include "InternalUserControl.g.h"
11 |
12 | namespace winrt::SampleUserControl::implementation
13 | {
14 | struct InternalUserControl : InternalUserControlT
15 | {
16 | InternalUserControl();
17 |
18 | int32_t MyProperty();
19 | void MyProperty(int32_t value);
20 |
21 | void ClickHandler(Windows::Foundation::IInspectable const& sender, Windows::UI::Xaml::RoutedEventArgs const& args);
22 | };
23 | }
24 |
25 | namespace winrt::SampleUserControl::factory_implementation
26 | {
27 | struct InternalUserControl : InternalUserControlT
28 | {
29 | };
30 | }
31 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/InternalUserControl.idl:
--------------------------------------------------------------------------------
1 | namespace SampleUserControl
2 | {
3 | [default_interface]
4 | runtimeclass InternalUserControl : Windows.UI.Xaml.Controls.UserControl
5 | {
6 | InternalUserControl();
7 | Int32 MyProperty;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/InternalUserControl.xaml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/MyUserControl.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 | #include "MyUserControl.h"
3 |
4 | using namespace winrt;
5 | using namespace Windows::UI::Xaml;
6 |
7 | namespace winrt::SampleUserControl::implementation
8 | {
9 | MyUserControl::MyUserControl()
10 | {
11 | InitializeComponent();
12 | }
13 |
14 | winrt::hstring MyUserControl::MyProperty()
15 | {
16 | return Text1().Text();
17 | }
18 |
19 | void MyUserControl::MyProperty(winrt::hstring value)
20 | {
21 | Text1().Text(value);
22 | }
23 |
24 | void MyUserControl::Button_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::RoutedEventArgs const&)
25 | {
26 | Text1().Text(sender.as().Name());
27 | }
28 | }
29 |
30 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/MyUserControl.h:
--------------------------------------------------------------------------------
1 | //
2 | // Declaration of the MyUserControl class.
3 | //
4 |
5 | #pragma once
6 |
7 | #include "winrt/Windows.UI.Xaml.h"
8 | #include "winrt/Windows.UI.Xaml.Markup.h"
9 | #include "winrt/Windows.UI.Xaml.Interop.h"
10 | #include "MyUserControl.g.h"
11 |
12 | namespace winrt::SampleUserControl::implementation
13 | {
14 | struct MyUserControl : MyUserControlT
15 | {
16 | MyUserControl();
17 |
18 | hstring MyProperty();
19 | void MyProperty(hstring value);
20 | void Button_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::RoutedEventArgs const& e);
21 | };
22 | }
23 |
24 | namespace winrt::SampleUserControl::factory_implementation
25 | {
26 | struct MyUserControl : MyUserControlT
27 | {
28 | };
29 | }
30 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/MyUserControl.idl:
--------------------------------------------------------------------------------
1 | namespace SampleUserControl
2 | {
3 | [default_interface]
4 | runtimeclass MyUserControl : Windows.UI.Xaml.Controls.UserControl
5 | {
6 | MyUserControl();
7 | String MyProperty;
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/MyUserControl.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/ReadMe.md:
--------------------------------------------------------------------------------
1 | # WinRT Conmponent with UWP XAML User Controls
2 |
3 | This project is a UWP WinRT Component that contains a UWP XAML User Controls.
4 |
5 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/SampleUserControl.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | DllCanUnloadNow = WINRT_CanUnloadNow PRIVATE
3 | DllGetActivationFactory = WINRT_GetActivationFactory PRIVATE
4 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/SampleUserControl.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | accd3aa8-1ba0-4223-9bbe-0c431709210b
6 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tga;tiff;tif;png;wav;mfcribbon-ms
7 |
8 |
9 | {926ab91d-31b4-48c3-b9a4-e681349f27f0}
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/pch.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 |
--------------------------------------------------------------------------------
/Samples/Native/SampleUserControl/pch.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 | #include
4 | #include
5 | #include
6 |
--------------------------------------------------------------------------------
/Samples/Native/Solution.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(SolutionDir)\obj\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
5 | $(SolutionDir)\bin\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
6 | $(IntDir)Generated Files\
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Samples/Solution.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(SolutionDir)\obj\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
5 | $(SolutionDir)\bin\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
6 | $(IntDir)Generated Files\
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Samples/WPF/WAP/Images/_dont_delete.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/WPF/WAP/Images/_dont_delete.txt
--------------------------------------------------------------------------------
/Samples/WPF/WAP/WAP_TemporaryKey.pfx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/WPF/WAP/WAP_TemporaryKey.pfx
--------------------------------------------------------------------------------
/Samples/WPF/WPF_XAMLIslands_v1/App.xaml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Samples/WPF/WPF_XAMLIslands_v1/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Configuration;
4 | using System.Data;
5 | using System.Linq;
6 | using System.Threading.Tasks;
7 | using System.Windows;
8 |
9 | namespace WPF_XAMLIslands_v1
10 | {
11 | ///
12 | /// Interaction logic for App.xaml
13 | ///
14 | public partial class App : Application
15 | {
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/Samples/WPF/WPF_XAMLIslands_v1/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Samples/WPF/WPF_XAMLIslands_v1/Program.cs:
--------------------------------------------------------------------------------
1 | // Licensed to the .NET Foundation under one or more agreements.
2 | // The .NET Foundation licenses this file to you under the MIT license.
3 | // See the LICENSE file in the project root for more information.
4 |
5 | using System;
6 |
7 | namespace WPF_XAMLIslands_v1
8 | {
9 | public static class Program
10 | {
11 | ///
12 | /// The main entry point for the application.
13 | ///
14 | [STAThread]
15 | public static void Main()
16 | {
17 | using (new UWPApplication.App())
18 | {
19 | var app = new App();
20 | app.InitializeComponent();
21 | app.Run();
22 | }
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/Samples/WPF/WPF_XAMLIslands_v1/WPF_XAMLIslands_v1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | netcoreapp3.1
6 | true
7 | x64;x86
8 | WPF_XAMLIslands_v1.Program
9 | win10-x64;win-x64;win10-x86;win-x86
10 | uap10.0.18362
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp.Package/Images/dummy.txt:
--------------------------------------------------------------------------------
1 |
2 | dummy
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp.Package/SampleCppApp.Package_TemporaryKey.pfx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Win32/SampleCppApp.Package/SampleCppApp.Package_TemporaryKey.pfx
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/Application.manifest:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/Button1.xaml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Win32/SampleCppApp/Button1.xaml
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/Resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by SampleCppApp.rc
4 | //
5 | #define IDC_MYICON 2
6 | #define IDD_SAMPLECPPAPP_DIALOG 102
7 | #define IDS_APP_TITLE 103
8 | #define IDD_ABOUTBOX 103
9 | #define IDM_ABOUT 104
10 | #define IDM_EXIT 105
11 | #define IDI_SAMPLECPPAPP 107
12 | #define IDI_SMALL 108
13 | #define IDC_SAMPLECPPAPP 109
14 | #define IDR_MAINFRAME 128
15 | #define IDC_STATIC -1
16 |
17 | #define XAMLRESOURCE 256
18 |
19 | #define IDR_XAML_BUTTON1 200
20 |
21 | // Next default values for new objects
22 | //
23 | #ifdef APSTUDIO_INVOKED
24 | #ifndef APSTUDIO_READONLY_SYMBOLS
25 | #define _APS_NO_MFC 1
26 | #define _APS_NEXT_RESOURCE_VALUE 130
27 | #define _APS_NEXT_COMMAND_VALUE 32771
28 | #define _APS_NEXT_CONTROL_VALUE 1000
29 | #define _APS_NEXT_SYMED_VALUE 110
30 | #endif
31 | #endif
32 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/SampleApp.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "resource.h"
4 |
5 | #define ButtonMargin 10
6 | #define ButtonWidth 100
7 | #define ButtonHeight 50
8 | #define XamlIslandMargin ButtonMargin+ButtonHeight
9 | #define InitialHeight 1000
10 | #define InitialWidth 900
11 |
12 | INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
13 |
14 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/SampleCppApp.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Win32/SampleCppApp/SampleCppApp.ico
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/SampleCppApp.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Win32/SampleCppApp/SampleCppApp.rc
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/framework.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include // To enable support for non-WinRT interfaces, unknwn.h must be included before any C++/WinRT headers.
4 |
5 | #include
6 | #include
7 | #include
8 |
9 | #include
10 | #include
11 | #include
12 | #include
13 | #include
14 | #include
15 | #include
16 |
17 | #include "targetver.h"
18 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
19 | // Windows Header Files
20 | #include
21 | // C RunTime Header Files
22 | #include
23 | #include
24 | #include
25 | #include
26 |
27 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: source file corresponding to the pre-compiled header
2 |
3 | #include "pch.h"
4 |
5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
6 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/pch.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "framework.h"
4 |
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/resources.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Win32/SampleCppApp/resources.pri
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/small.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Win32/SampleCppApp/small.ico
--------------------------------------------------------------------------------
/Samples/Win32/SampleCppApp/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // // Including SDKDDKVer.h defines the highest available Windows platform.
4 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
5 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
6 | #include
7 |
--------------------------------------------------------------------------------
/Samples/Win32/Screenshoot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/Win32/Screenshoot.png
--------------------------------------------------------------------------------
/Samples/Win32/Solution.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(SolutionDir)\obj\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
5 | $(SolutionDir)\bin\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
6 | $(IntDir)Generated Files\
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Samples/WinForms/WAP/Images/ForceFolder.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/WinForms/WAP/Images/ForceFolder.txt
--------------------------------------------------------------------------------
/Samples/WinForms/WAP/WAP_TemporaryKey.pfx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Samples/WinForms/WAP/WAP_TemporaryKey.pfx
--------------------------------------------------------------------------------
/Samples/WinForms/WinForms_XAMLIslands_v1/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace WinForms_XAMLIslands_v1
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// The main entry point for the application.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | using (new UWPApplication.App())
15 | {
16 | Application.EnableVisualStyles();
17 | Application.SetCompatibleTextRenderingDefault(false);
18 | Application.Run(new MainForm());
19 | }
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Samples/WinForms/WinForms_XAMLIslands_v1/WinForms_XAMLIslands_v1.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | netcoreapp3.1
6 | true
7 | x64;x86
8 | uap10.0.18362
9 | win10-x86-aot
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Solution.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(SolutionDir)\obj\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
5 | $(SolutionDir)\bin\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
6 | $(IntDir)Generated Files\
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/Application.manifest:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/Contoso.App.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | WinExe
5 | netcoreapp3.1
6 | uap10.0.18362
7 | true
8 | x64;x86
9 | app.manifest
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/Contoso.App.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "resource.h"
4 |
5 | #define ButtonMargin 10
6 | #define ButtonWidth 100
7 | #define ButtonHeight 50
8 | #define XamlIslandMargin ButtonMargin+ButtonHeight
9 | #define InitialHeight 1000
10 | #define InitialWidth 900
11 |
12 | INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
13 |
14 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/Contoso.App.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/App/Contoso.App.ico
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/Contoso.App.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/App/Contoso.App.rc
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/MainUserControl.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace Contoso.App
2 | {
3 | partial class MainUserControl
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Component Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | components = new System.ComponentModel.Container();
32 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
33 | }
34 |
35 | #endregion
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/MainUserControl.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Toolkit.Forms.UI.XamlHost;
2 |
3 | namespace Contoso.App
4 | {
5 | public partial class MainUserControl : WindowsXamlHost
6 | {
7 | public MainUserControl(Interop.IMainFormInterop mainFormInterop)
8 | {
9 | InitializeComponent();
10 | this.Child = new MyApp.MainUserControl(mainFormInterop);
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 |
4 | namespace Contoso.App
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// The main entry point for the application.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | using(new MyApp.App())
15 | {
16 | Application.SetHighDpiMode(HighDpiMode.PerMonitorV2);
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new MainForm());
20 | }
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/Resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by SampleCppApp.rc
4 | //
5 | #define IDC_MYICON 2
6 | #define IDD_SAMPLECPPAPP_DIALOG 102
7 | #define IDS_APP_TITLE 103
8 | #define IDD_ABOUTBOX 103
9 | #define IDM_ABOUT 104
10 | #define IDM_EXIT 105
11 | #define IDI_SAMPLECPPAPP 107
12 | #define IDI_SMALL 108
13 | #define IDC_SAMPLECPPAPP 109
14 | #define IDR_MAINFRAME 128
15 | #define IDC_STATIC -1
16 |
17 | #define XAMLRESOURCE 256
18 |
19 | #define IDR_XAML_BUTTON1 200
20 |
21 | // Next default values for new objects
22 | //
23 | #ifdef APSTUDIO_INVOKED
24 | #ifndef APSTUDIO_READONLY_SYMBOLS
25 | #define _APS_NO_MFC 1
26 | #define _APS_NEXT_RESOURCE_VALUE 130
27 | #define _APS_NEXT_COMMAND_VALUE 32771
28 | #define _APS_NEXT_CONTROL_VALUE 1000
29 | #define _APS_NEXT_SYMED_VALUE 110
30 | #endif
31 | #endif
32 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/framework.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include // To enable support for non-WinRT interfaces, unknwn.h must be included before any C++/WinRT headers.
4 |
5 | #include
6 | #include
7 | #include
8 |
9 | #include
10 | #include
11 | #include
12 | #include
13 | #include
14 | #include
15 | #include
16 |
17 | #include "targetver.h"
18 | #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
19 | // Windows Header Files
20 | #include
21 | // C RunTime Header Files
22 | #include
23 | #include
24 | #include
25 | #include
26 |
27 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/pch.cpp:
--------------------------------------------------------------------------------
1 | // pch.cpp: source file corresponding to the pre-compiled header
2 |
3 | #include "pch.h"
4 |
5 | // When you are using pre-compiled headers, this source file is necessary for compilation to succeed.
6 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/pch.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "framework.h"
4 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/small.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/App/small.ico
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/App/targetver.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | // // Including SDKDDKVer.h defines the highest available Windows platform.
4 | // If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
5 | // set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
6 | #include
7 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Interop/CommonUserControl.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Interop/CommonUserControl.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 User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
17 |
18 | namespace Contoso.Interop
19 | {
20 | public sealed partial class CommonUserControl : UserControl
21 | {
22 | public CommonUserControl()
23 | {
24 | this.InitializeComponent();
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Interop/MainFormInterop.cs:
--------------------------------------------------------------------------------
1 | namespace Contoso.Interop
2 | {
3 | public interface IMainFormInterop
4 | {
5 | void SwitchUI();
6 | ulong WindowHandle { get; }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Package/Images/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Package/Images/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Package/Images/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Package/Images/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Package/Images/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Package/Images/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Package/Images/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Package/Images/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Package/Images/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Package/Images/StoreLogo.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Package/Images/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Package/Images/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Solution.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(SolutionDir)\obj\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
5 | $(SolutionDir)\bin\$(Platform)\$(Configuration)\$(MSBuildProjectName)\
6 | $(IntDir)Generated Files\
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Web/Contoso.Web.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 | x86;x64
6 | uap10.0.18362
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Web/ContosoWebControl.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms;
2 |
3 | namespace Contoso.Web
4 | {
5 | public partial class ContosoWebControl : UserControl
6 | {
7 | private readonly Interop.IMainFormInterop mainFormInterop;
8 |
9 | public ContosoWebControl(Interop.IMainFormInterop mainFormInterop)
10 | {
11 | this.mainFormInterop = mainFormInterop;
12 | InitializeComponent();
13 | this.webView.Navigate("http://www.microsoft.com");
14 | }
15 |
16 | private void OnGoBackButtonClick(object sender, System.EventArgs e)
17 | {
18 | this.mainFormInterop.SwitchUI();
19 | }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/3DViewControl.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/App.base.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | namespace winrt::MyApp::implementation
4 | {
5 | template
6 | struct App_baseWithProvider : public App_base
7 | {
8 | using IXamlType = ::winrt::Windows::UI::Xaml::Markup::IXamlType;
9 |
10 | IXamlType GetXamlType(::winrt::Windows::UI::Xaml::Interop::TypeName const& type)
11 | {
12 | return AppProvider()->GetXamlType(type);
13 | }
14 |
15 | IXamlType GetXamlType(::winrt::hstring const& fullName)
16 | {
17 | return AppProvider()->GetXamlType(fullName);
18 | }
19 |
20 | ::winrt::com_array<::winrt::Windows::UI::Xaml::Markup::XmlnsDefinition> GetXmlnsDefinitions()
21 | {
22 | return AppProvider()->GetXmlnsDefinitions();
23 | }
24 |
25 | private:
26 | bool _contentLoaded{ false };
27 | ::winrt::com_ptr _appProvider;
28 | ::winrt::com_ptr AppProvider()
29 | {
30 | if (!_appProvider)
31 | {
32 | _appProvider = ::winrt::make_self();
33 | }
34 | return _appProvider;
35 | }
36 | };
37 |
38 | template
39 | using AppT2 = App_baseWithProvider;
40 | }
41 |
42 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/App.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 |
3 | #include "App.h"
4 |
5 | using namespace winrt;
6 | using namespace Windows::UI::Xaml;
7 |
8 | namespace winrt::MyApp::implementation
9 | {
10 | App::App()
11 | {
12 | Initialize();
13 |
14 | AddRef();
15 | m_inner.as<::IUnknown>()->Release();
16 | }
17 |
18 | App::~App()
19 | {
20 | Close();
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/App.h:
--------------------------------------------------------------------------------
1 | //
2 | // Declaration of the App class.
3 | //
4 |
5 | #pragma once
6 |
7 | #include "App.g.h"
8 | #include "App.base.h"
9 |
10 | namespace winrt::MyApp::implementation
11 | {
12 | class App : public AppT2
13 | {
14 | public:
15 | App();
16 | ~App();
17 | };
18 | }
19 |
20 | namespace winrt::MyApp::factory_implementation
21 | {
22 | class App : public AppT
23 | {
24 | };
25 | }
26 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/App.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [default_interface]
4 | runtimeclass App: Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication
5 | {
6 | App();
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/App.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Images/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Xaml/Images/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Images/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Xaml/Images/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Images/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Xaml/Images/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Images/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Xaml/Images/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Images/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Xaml/Images/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Images/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Xaml/Images/StoreLogo.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Images/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/Xaml/Images/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/MainUserControl.idl:
--------------------------------------------------------------------------------
1 | namespace MyApp
2 | {
3 | [default_interface]
4 | runtimeclass MainUserControl : Windows.UI.Xaml.Controls.UserControl
5 | {
6 | MainUserControl(Contoso.Interop.IMainFormInterop i);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/MainUserControl.xaml:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/MyUserControl01.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/MyUserControl01.xaml.cpp:
--------------------------------------------------------------------------------
1 | //
2 | // MyUserControl01.xaml.cpp
3 | // Implementation of the MyUserControl01 class
4 | //
5 |
6 | #include "pch.h"
7 | #include "MyUserControl01.xaml.h"
8 |
9 | using namespace MyApp;
10 |
11 | using namespace Platform;
12 | using namespace Windows::Foundation;
13 | using namespace Windows::Foundation::Collections;
14 | using namespace Windows::UI::Xaml;
15 | using namespace Windows::UI::Xaml::Controls;
16 | using namespace Windows::UI::Xaml::Controls::Primitives;
17 | using namespace Windows::UI::Xaml::Data;
18 | using namespace Windows::UI::Xaml::Input;
19 | using namespace Windows::UI::Xaml::Media;
20 | using namespace Windows::UI::Xaml::Navigation;
21 |
22 | // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236
23 |
24 | MyUserControl01::MyUserControl01()
25 | {
26 | InitializeComponent();
27 | }
28 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/MyUserControl01.xaml.h:
--------------------------------------------------------------------------------
1 | //
2 | // MyUserControl01.xaml.h
3 | // Declaration of the MyUserControl01 class
4 | //
5 |
6 | #pragma once
7 |
8 | #include "MyUserControl01.g.h"
9 |
10 | namespace MyApp
11 | {
12 | [Windows::Foundation::Metadata::WebHostHidden]
13 | public ref class MyUserControl01 sealed
14 | {
15 | public:
16 | MyUserControl01();
17 | };
18 | }
19 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/Package.appxmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 | App
10 | internal
11 | Images\StoreLogo.png
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/ReadMe.md:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/dummy.exe:
--------------------------------------------------------------------------------
1 | dummy exe file
2 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/pch.cpp:
--------------------------------------------------------------------------------
1 | #include "pch.h"
2 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/Xaml/pch.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #define DISABLE_XAML_GENERATED_MAIN
4 |
5 | #include
6 | #include
7 | #include
8 | #include
9 | #include
10 | #include
11 | #include
12 | #include
13 | #include
14 | #include
15 | #include
16 | #include
17 | #include
18 | #include
19 | #include
20 | #include
21 | #include
22 | #include
23 | #include
24 | #include
25 | #include
26 | #include
27 | #include
28 | #include
29 |
30 | //#include
31 | //#include
32 | //#include
33 |
34 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/.signature.p7s
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2.nupkg
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/build/Microsoft.Toolkit.Win32.UI.XamlApplication.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 |
7 |
8 | x86
9 | $(Platform)
10 |
11 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/build/Microsoft.Toolkit.Win32.UI.XamlApplication.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Microsoft.Toolkit.Win32.UI.XamlHost.dll
6 | true
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/build/native/Microsoft.Toolkit.Win32.UI.XamlApplication.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | false
6 |
7 |
8 | x86
9 | $(Platform)
10 |
11 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/build/native/Microsoft.Toolkit.Win32.UI.XamlApplication.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Microsoft.Toolkit.Win32.UI.XamlHost.dll
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/lib/uap10.0/Microsoft.Toolkit.Win32.UI.XamlHost.winmd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/lib/uap10.0/Microsoft.Toolkit.Win32.UI.XamlHost.winmd
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/lib/uap10.0/Microsoft.Toolkit.Win32.UI.XamlHost.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | "Microsoft.Toolkit.Win32.UI.XamlHost"
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm64/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm64/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm64/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-arm64/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x64/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x64/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x64/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x64/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x86/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x86/native/Microsoft.Toolkit.Win32.UI.XamlHost.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x86/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2/runtimes/win10-x86/native/Microsoft.Toolkit.Win32.UI.XamlHost.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/.signature.p7s
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/Microsoft.UI.Xaml.2.3.191125001-prerelease.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/Microsoft.UI.Xaml.2.3.191125001-prerelease.nupkg
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/build/Microsoft.UI.Xaml.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
7 |
8 | $([System.Version]::Parse('$(TargetPlatformMinVersion)').Build)
9 |
10 |
13 |
14 | $([System.Version]::Parse('$(TargetPlatformVersion)').Build)
15 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/build/native/Microsoft.UI.Xaml.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | x86
6 | $(Platform)
7 |
8 |
9 |
10 | Microsoft.UI.Xaml.dll
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/buildTransitive/Microsoft.UI.Xaml.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
7 |
8 | $([System.Version]::Parse('$(TargetPlatformMinVersion)').Build)
9 |
10 |
13 |
14 | $([System.Version]::Parse('$(TargetPlatformVersion)').Build)
15 |
16 |
19 |
20 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/lib/uap10.0/Design/Microsoft.UI.Xaml.Design.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/lib/uap10.0/Design/Microsoft.UI.Xaml.Design.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/lib/uap10.0/Microsoft.UI.Xaml.winmd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/lib/uap10.0/Microsoft.UI.Xaml.winmd
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/readme.txt:
--------------------------------------------------------------------------------
1 | Thanks for installing the WinUI NuGet package!
2 |
3 | Don't forget to set XamlControlsResources as your Application resources in App.xaml:
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | or if you have other resources then add XamlControlsResources at the top as a merged dictionary:
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | See http://aka.ms/winui for more information.
24 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm/native/Microsoft.UI.Xaml.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm/native/Microsoft.UI.Xaml.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm/native/Microsoft.UI.Xaml.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm/native/Microsoft.UI.Xaml.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm64/native/Microsoft.UI.Xaml.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm64/native/Microsoft.UI.Xaml.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm64/native/Microsoft.UI.Xaml.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm64/native/Microsoft.UI.Xaml.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm64/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-arm64/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x64/native/Microsoft.UI.Xaml.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x64/native/Microsoft.UI.Xaml.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x64/native/Microsoft.UI.Xaml.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x64/native/Microsoft.UI.Xaml.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x64/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x64/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x86/native/Microsoft.UI.Xaml.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x86/native/Microsoft.UI.Xaml.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x86/native/Microsoft.UI.Xaml.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x86/native/Microsoft.UI.Xaml.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x86/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/runtimes/win10-x86/native/Microsoft.UI.Xaml/Assets/NoiseAsset_256x256_PNG.png
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.UI.Xaml.2.3.191125001-prerelease/tools/VisualStudioToolsManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/.signature.p7s
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Microsoft Corporation.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE
22 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/Microsoft.Windows.CppWinRT.2.0.200729.8.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/Microsoft.Windows.CppWinRT.2.0.200729.8.nupkg
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/bin/cppwinrt.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/bin/cppwinrt.exe
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/arm/cppwinrt_fast_forwarder.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/arm/cppwinrt_fast_forwarder.lib
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/arm64/cppwinrt_fast_forwarder.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/arm64/cppwinrt_fast_forwarder.lib
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/win32/cppwinrt_fast_forwarder.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/win32/cppwinrt_fast_forwarder.lib
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/x64/cppwinrt_fast_forwarder.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/build/native/lib/x64/cppwinrt_fast_forwarder.lib
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/Microsoft.Windows.CppWinRT.2.0.200729.8/readme.txt:
--------------------------------------------------------------------------------
1 | ========================================================================
2 | The Microsoft.Windows.CppWinRT NuGet package automatically generates C++/WinRT projection headers,
3 | enabling you to both consume and produce Windows Runtime classes.
4 | ========================================================================
5 |
6 | C++/WinRT detects Windows metadata required by the project, from:
7 | * Platform winmd files in the SDK (both MSI and NuGet)
8 | * NuGet package references containing winmd files
9 | * Other project references producing winmd files
10 | * Raw winmd file references
11 | * Interface definition language (IDL) files in the project
12 |
13 | For any winmd file discovered above, C++/WinRT creates reference (consuming) projection headers.
14 | Client code can simply #include these headers, which are created in the generated files directory (see below).
15 |
16 | For any IDL file contained in the project, C++/WinRT creates component (producing) projection headers.
17 | In addition, C++/WinRT generates templates and skeleton implementations for each runtime class, under the Generated Files directory.
18 |
19 | ========================================================================
20 | For more information, visit:
21 | https://github.com/Microsoft/cppwinrt/tree/master/nuget
22 | ========================================================================
23 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/SceneLoaderComponent.1.0.0.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/SceneLoaderComponent.1.0.0.1.nupkg
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/build/native/SceneLoaderComponent.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/build/native/SceneLoaderComponent.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | SceneLoaderComponent.dll
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/lib/uap10.0/SceneLoaderComponent.winmd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/lib/uap10.0/SceneLoaderComponent.winmd
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/lib/uap10.0/SceneLoaderComponent.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | "SceneLoaderComponent"
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-arm/native/SceneLoaderComponent.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-arm/native/SceneLoaderComponent.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-arm/native/SceneLoaderComponent.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-arm/native/SceneLoaderComponent.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x64/native/SceneLoaderComponent.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x64/native/SceneLoaderComponent.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x64/native/SceneLoaderComponent.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x64/native/SceneLoaderComponent.pri
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x86/native/SceneLoaderComponent.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x86/native/SceneLoaderComponent.dll
--------------------------------------------------------------------------------
/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x86/native/SceneLoaderComponent.pri:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/Standalone_Samples/Contoso/packages/SceneLoaderComponent.1.0.0.1/runtimes/win10-x86/native/SceneLoaderComponent.pri
--------------------------------------------------------------------------------
/Standalone_Samples/CppWinRT_Basic_Win32App/ReadMe.md:
--------------------------------------------------------------------------------
1 | # [Native C++/WinRT Win32 Sample](/Samples/Win32/ReadMe.md)
2 |
--------------------------------------------------------------------------------
/Standalone_Samples/CppWinRT_Desktop_Win32App/ReadMe.md:
--------------------------------------------------------------------------------
1 | # [Native C++/WinRT Win32 Sample](/Samples/Win32/ReadMe.md)
2 |
--------------------------------------------------------------------------------
/dummy.txt:
--------------------------------------------------------------------------------
1 | kick the build
2 | again
--------------------------------------------------------------------------------
/libs/SceneLoaderComponent.1.0.0.1.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Xaml-Islands-Samples/1a112338455aacdde51cb13214bb9b57ba174a2c/libs/SceneLoaderComponent.1.0.0.1.nupkg
--------------------------------------------------------------------------------