This commit is contained in:
buildautomation 2024-11-18 16:19:09 +00:00
Родитель ebf931eca0
Коммит d1f510f0e8
2383 изменённых файлов: 218969 добавлений и 1 удалений

73
.github/PULL_REQUEST_TEMPLATE/Bug.md поставляемый Normal file
Просмотреть файл

@ -0,0 +1,73 @@
### Bug Description ###
Clearly and concisely describe the problem or feature (this cannot be empty).
### Root Cause ###
Briefly describe the root cause and analysis of the problem.
If there is an internal discussion on the forum, provide the link.
### Reason for not identifying earlier ###
Find how it was missed in our earlier testing and development by analysing the below checklist. This will help prevent similar mistakes in the future.
**Guidelines/documents are not followed**
Common guidelines / Core team guideline
Specification document
Requirement document
**Guidelines/documents are not given**
Common guidelines / Core team guideline
Specification document
Requirement document
**Reason:**
Mention any one or more reasons from the above points.
**Action taken:**
What action did you take to avoid this in future?
**Related areas:**
Is there any other related areas also to be addressed?
### Is Breaking issue? ###
If it is a breaking issue, provide the commit detail which caused this break.
### Solution description ###
Describe your code changes in detail for reviewers.
### Output screenshots ###
Post the output screenshots if an UI is affected or added due to this bug.
**Before changes:**
Add the image which was taken before making these changes. Place a cursor here and click "Attach a file" button and upload the image.
**After changes:**
Add the image which was taken after making these changes. Place a cursor here and click "Attach a file" button and upload the image.
### Areas affected and ensured ###
List out the areas are affected by your code changes.
Is there any existing behavior change of other features due to this code change?
### Does it have any known issues?
If this fix contains any known issues, provide the proper details about the issues.
### Does it have memory leak?
Ensure the fix contains memory leak or not (if applicable).
### MR CheckList ###
- [ ] Does it follow the design [guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/)? It is mandatory that, we should not move the changes without reading this.
- [ ] Did UI automation passed without errors? If it is customer issue, make sure it is included in the IR automation.
- [ ] Properly working in Xamarin.Forms [previewer](https://docs.microsoft.com/en-us/xamarin/xamarin-forms/xaml/xaml-previewer?tabs=vswin).
- [ ] Ensured in iOS, Android, UWP and macOS (if supported).
- [ ] Have you ensured the changes in Android API 19 and iOS 9?
- [ ] Did you record this case in the unit test or UI test?

27
.github/PULL_REQUEST_TEMPLATE/Default.md поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
### Description ###
Clearly and concisely describe the changes your are committing in samples. (this cannot be empty).
### Output screenshots ###
Post the output screenshots if an UI is affected or added due to this change.
**Before changes:**
Add the image which was taken before making these changes. Place a cursor here and click "Attach a file" button and upload the image.
**After changes:**
Add the image which was taken after making these changes. Place a cursor here and click "Attach a file" button and upload the image.
### Does it have memory leak? [how to clear memory leak](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/2084675529/How+to+clear+memory+leak+in+sample)
Ensure the changes contains memory leak or not (if applicable).
### MR CheckList ###
* [ ] Demos are added as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1986855767/How+to+add+demos+to+project)
* [ ] Ensured files and images refered in SB as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1987216663/How+to+refer+files+Images+in+SB)
* [ ] Sample is ordered as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/2049313463/How+to+order+feature+list+and+demos)
* [ ] Descriptions of the control and sample are reviewed by content team.
* [ ] Example codes are provided as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1987085412/Example)
* [ ] Options are used as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1995964937/Options)
* [ ] `.csproj` files changes included in `_lib` project also.

70
.github/PULL_REQUEST_TEMPLATE/Feature.md поставляемый Normal file
Просмотреть файл

@ -0,0 +1,70 @@
### Feature description ###
Clearly and concisely describe the problem or feature (this cannot be empty).
### Analysis and design ###
If there is an external design, link to its project documentation area.
If there is an internal discussion on the forum, provide the link.
### Solution description ###
Describe your code changes in detail for reviewers.
### Output screenshots ###
Post the output screenshots if an UI is affected or added due to this feature.
### Areas affected and ensured ###
List the areas are affected by your code changes.
### API Changes ###
List all API changes here (or just put None), example:
Added:
- string ListView.GroupName { get; set; } //Bindable Property
- int ListView.GroupId { get; set; } // Bindable Property
- void ListView.Clear ();
Changed:
- object ListView.SelectedItem => Cell ListView.SelectedItem
### Behavioral Changes ###
Describe any non-bug related behavioral changes that may change how users app behaves when upgrading to this version of the codebase.
### Test cases ###
Provide the unit testing written file details to understand the use cases considered in this implementation.
If there is no TDD (if its not possible to follow), provide the UI automation script location and the Excel file that contains the use cases considered in this implementation.
Provide the test cases Excel file alone if the feature cannot be automated in any case.
List out all the scenarios you have tested after include these changes. You can refer the predefined scenarios from below link.
https://syncfusion.atlassian.net/wiki/display/CHARTXAMARIN/Chart+Test+Plan
### Testbed sample location ###
Provide the test bed sample location where code reviewers can review the new features behaviors. This depends on the CI process that your team follows. It can be from NPMCI, HockeyApp, staging site, local server, etc.
### Does it have any known issues?
If this feature contains any known issues, provide the proper details about the issues.
### Does it have memory leak?
Ensure the feature contains memory leak or not (if applicable).
### MR CheckList ###
- [ ] Does it follow the design [guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/)? It is mandatory that, we should not move the changes without reading this.
- [ ] Did UI automation passed without errors? If it is customer issue, make sure it is included in the IR automation.
- [ ] Properly working in Xamarin.Forms [previewer](https://docs.microsoft.com/en-us/xamarin/xamarin-forms/xaml/xaml-previewer?tabs=vswin).
- [ ] Ensured in iOS, Android, UWP and macOS (if supported).
- [ ] Have you added API comments if it is new API?
- [ ] Does it need localization? If so, update resx file in [GitHub](https://github.com/syncfusion/xamarin-localized-texts).
- [ ] Whether we have added new APIs? If so, whether it is as per the [guidelines](https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/)?
- [ ] If changes are made in the Xamarin.Forms sample browser project file, whether it is included in the props file too? If not, your sample level changes will not reflect in the application published in the hockey app.
- [ ] Have you ensured the changes in Android API 19 and iOS 9?

27
.github/PULL_REQUEST_TEMPLATE/Sample.md поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
### Description ###
Clearly and concisely describe the changes your are committing in samples. (this cannot be empty).
### Output screenshots ###
Post the output screenshots if an UI is affected or added due to this change.
**Before changes:**
Add the image which was taken before making these changes. Place a cursor here and click "Attach a file" button and upload the image.
**After changes:**
Add the image which was taken after making these changes. Place a cursor here and click "Attach a file" button and upload the image.
### Does it have memory leak? [how to clear memory leak](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/2084675529/How+to+clear+memory+leak+in+sample)
Ensure the changes contains memory leak or not (if applicable).
### MR CheckList ###
* [ ] Demos are added as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1986855767/How+to+add+demos+to+project)
* [ ] Ensured files and images refered in SB as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1987216663/How+to+refer+files+Images+in+SB)
* [ ] Sample is ordered as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/2049313463/How+to+order+feature+list+and+demos)
* [ ] Descriptions of the control and sample are reviewed by content team.
* [ ] Example codes are provided as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1987085412/Example)
* [ ] Options are used as per [guideline](https://syncfusion.atlassian.net/wiki/spaces/XAML/pages/1995964937/Options)
* [ ] `.csproj` files changes included in `_lib` project also.

7
.gitignore поставляемый Normal file
Просмотреть файл

@ -0,0 +1,7 @@
*/obj/
*/bin/
*/.vs/
samplebrowser/AppPackages/
*.user
editor/syncfusion.editordemos.winui_net50 (Package)/
calendar/syncfusion.calendardemos.winui_net50 (Package)/

32
Install.ps1 Normal file
Просмотреть файл

@ -0,0 +1,32 @@
function waitUntillInstallation {
Write-Host "Function has been called"
$installComplete = 0
while($installComplete -le 1)
{
Write-Host "Test"
$msi = Get-Process msiexec -ErrorAction SilentlyContinue
if ($msi) {
Sleep(10)
}
else
{
$installComplete = 2
}
}
}
#Create Software folder for download
New-Item -ItemType Directory -Force -Path C:/Software
& { (New-Object System.Net.WebClient).DownloadFile('https://www.syncfusion.com/downloads/support/directtrac/general/ze/syncfusionpfx-546827946', 'C:/Software/syncfusionpfx-546827946.zip') }
#Extract zip file
Add-Type -AssemblyName System.IO.Compression.FileSystem
[System.IO.Compression.ZipFile]::ExtractToDirectory('C:/Software/syncfusionpfx-546827946.zip', 'C:\Software')
# Certificate installation
Import-PfxCertificate -FilePath C:\Software\syncfusion.pfx -CertStoreLocation Cert:\CurrentUser\My -Password (ConvertTo-SecureString -String "Coolcomp299" -Force -AsPlainText)
waitUntillInstallation

153
Jenkinsfile поставляемый Normal file
Просмотреть файл

@ -0,0 +1,153 @@
node ('Maui')
{
timestamps
{
timeout(time: 7200000, unit: 'MILLISECONDS')
{
stage 'Checkout'
try
{
checkout([$class: 'GitSCM', branches: [[name: '*/$githubSourceBranch']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'SB-winui']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: env.githubCredentialId, url: 'https://github.com/essential-studio/samplebrowser-winui.git']]])
checkout([$class: 'GitSCM', branches: [[name: 'development']], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'RelativeTargetDirectory', relativeTargetDir: 'xaml-cake-plugin']], submoduleCfg: [], userRemoteConfigs: [[credentialsId: env.githubCredentialId, url: 'https://github.com/essential-studio/xaml-cake-plugin.git']]])
}
catch(Exception e)
{
echo "Exception in checkout stage \r\n"+e
currentBuild.result = 'FAILURE'
}
if(currentBuild.result != 'FAILURE')
{
stage('Install Software') {
try
{
nodejs(nodeJSInstallationName: 'nodejs-16.17.1') {
bat 'npm config ls'
}
env.PATH = "C:\\tools\\jenkins.plugins.nodejs.tools.NodeJSInstallation\\nodejs-16.17.1;${env.PATH}"
bat 'npm -v'
bat 'npm install --location=global appcenter-cli'
bat 'powershell.exe -ExecutionPolicy ByPass -File SB-winui/Install.ps1'
echo "Software installation completed"
}
catch(Exception e)
{
echo "Exception in software installation stage \r\n"+e
currentBuild.result = 'FAILURE'
}
}
}
if(currentBuild.result != 'FAILURE')
{
stage 'Build Source'
try
{
gitlabCommitStatus("Build")
{
bat 'powershell.exe -ExecutionPolicy ByPass -File SB-winui/build/build.ps1 -Script '+env.WORKSPACE+"/SB-winui/build/build.cake -Target build -OutputPath Assemblies -StudioVersion "+env.studio_version+' -nugetserverurl '+env.nugetserverurls
}
def files = findFiles(glob: '**/cireports/errorlogs/*.txt')
if(files.size() > 0)
{
currentBuild.result = 'FAILURE'
}
}
catch(Exception e)
{
echo "Exception in build source stage \r\n"+e
currentBuild.result = 'FAILURE'
}
}
if(currentBuild.result != 'FAILURE')
{
stage 'Test'
try
{
gitlabCommitStatus("Test")
{
bat 'powershell.exe -ExecutionPolicy ByPass -File SB-winui/build/build.ps1 -Script '+env.WORKSPACE+"/SB-winui/build/build.cake -Target test -nugetserverurl "+env.nugetserverurls
}
}
catch(Exception e)
{
currentBuild.result = 'FAILURE'
}
}
if(currentBuild.result != 'FAILURE')
{
stage 'Code violation'
try
{
gitlabCommitStatus("Code violation")
{
bat 'powershell.exe -ExecutionPolicy ByPass -File SB-winui/build/build.ps1 -Script '+env.WORKSPACE+"/SB-winui/build/build.cake -Target codeviolation"
}
}
catch(Exception e)
{
echo "Exception in code violation stage \r\n"+e
currentBuild.result = 'FAILURE'
}
}
if(currentBuild.result != 'FAILURE' && env.publishBranch.contains(githubSourceBranch))
{
stage 'Publish'
try
{
//method to get release notes content
env.PATH = "C:\\Program Files\\Git\\mingw64\\bin;${env.PATH}"
def branchCommit = '"'+'https://api.github.com/repos/essential-studio/SB-winui/pulls/'+env.pullRequestId+'/commits'
String branchCommitDetails = bat returnStdout: true, script: 'curl -H "Accept: application/vnd.github.v3+json" -u SyncfusionBuild:' +env.GithubBuildAutomation_PrivateToken+" "+branchCommit
def splitCommitDetails=branchCommitDetails.split('\n')
def splitMessageDetails = splitCommitDetails[2].split('"message":')
def releaseNotesContent="";
for(int k=1; k<splitMessageDetails.size();k++)
{
def commitDetails = splitMessageDetails[k].split('"author_email":')
for(int j=1; j<commitDetails.size(); j++)
{
releaseNotesContent+=commitDetails[0].replace(',"author_name":',' - ').replace('\\n','').replace('",','"')+"\r\n";
}
}
if (releaseNotesContent)
{
writeFile file: env.WORKSPACE+"/cireports/releasenotes/releasenotes.txt", text: releaseNotesContent
}
else
{
writeFile file: env.WORKSPACE+"/cireports/releasenotes/releasenotes.txt", text: "No commit details found for this job."
}
gitlabCommitStatus("Publish")
{
bat 'powershell.exe -ExecutionPolicy ByPass -File SB-winui/build/build.ps1 -Script '+env.WORKSPACE+"/SB-winui/build/build.cake -Target publish -apiServerPort 8193 -apiSiteName samplebrowser-winui -StudioVersion "+env.studio_version+' -revisionNumber '+env.revisionNumber+' -nugetapikey '+env.nugetapikey+' -SourceBranch '+githubSourceBranch+' -XAMLAWSAccessID '+env.XAMLAWSAccessID+' -XAMLAWSAccessKey '+env.XAMLAWSAccessKey+' -apiServerIP '+env.apiServerIP+' -apiServerUserName '+env.apiServerUserName+' -apiServerPassword '+env.apiServerPassword+' -nugetserverurl '+env.nugetserverurls
}
}
catch(Exception e)
{
echo "Exception in publish stage \r\n"+e
currentBuild.result = 'FAILURE'
}
}
stage 'Delete Workspace'
// Archiving artifacts when the folder was not empty
def files = findFiles(glob: '**/cireports/**/*.*')
if(files.size() > 0)
{
archiveArtifacts artifacts: 'cireports/', excludes: null
}
step([$class: 'WsCleanup'])
}
}
}

16
NuGet.Config Normal file
Просмотреть файл

@ -0,0 +1,16 @@
<configuration>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<add key="NexusServer" value="https://nexus.syncfusioninternal.com/repository/nuget-hosted" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<activePackageSource>
<add key="NexusServer" value="https://nexus.syncfusioninternal.com/repository/nuget-hosted" />
</activePackageSource>
<bindingRedirects>
<add key="skip" value="False" />
</bindingRedirects>
</configuration>

Просмотреть файл

@ -228,4 +228,4 @@ Syncfusion has no liability for any damage or consequence that may arise by the
* Contact our sales team at <salessupport@syncfusion.com>.
<p>Copyright © 2001-2024 Syncfusion, Inc. Updated on 2024-09-19 at precisely 08:16:11 EST.</p>
<p>Copyright © 2001-2024 Syncfusion, Inc. Updated on 2024-11-18 at precisely 16:19:07 EST.</p>

16
RepositoryInfo.json Normal file
Просмотреть файл

@ -0,0 +1,16 @@
{
"Name": "samplebrowser-winui",
"Platforms": [{
"Name": "WinUI",
"IsPublishWinUISampleBrowser": true,
"Assemblies": [
{
"Name": "samplebrowser.winui",
"EnableFxCopAnalyzer": false,
"TreatWarningsAsErrors": false,
"IsBuildWinUISampleBrowser": true,
"IsNetStandardAssembly": true
}
]
}]
}

Двоичные данные
SB/App.ico Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.2 KiB

14
SB/App.xaml Normal file
Просмотреть файл

@ -0,0 +1,14 @@
<Application
x:Class="Syncfusion.SampleBrowser.WinUI.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Syncfusion.SampleBrowser.WinUI">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</ResourceDictionary.MergedDictionaries>
<!-- Other app resources here -->
</ResourceDictionary>
</Application.Resources>
</Application>

103
SB/App.xaml.cs Normal file
Просмотреть файл

@ -0,0 +1,103 @@
#region Copyright Syncfusion Inc. 2001-2024.
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Linq;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Navigation;
using System.Xml.Linq;
using Windows.ApplicationModel.Core;
using Syncfusion.DemosCommon.WinUI;
using Windows.System.Profile;
namespace Syncfusion.SampleBrowser.WinUI
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
sealed partial class App : Application
{
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
/// executed, and as such is the logical equivalent of main() or WinMain().
/// </summary>
public App()
{
this.InitializeComponent();
}
/// <summary>
/// Invoked when the application is launched normally by the end user. Other entry points
/// will be used such as when the application is launched to open a specific file.
/// </summary>
/// <param name="e">Details about the launch request and process.</param>
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs e)
{
#if DEBUG
if (System.Diagnostics.Debugger.IsAttached)
{
this.DebugSettings.EnableFrameRateCounter = false;
}
#endif
m_window = new MainWindow();
m_window.Activate();
Frame rootFrame = m_window.Content as Frame;
// Do not repeat app initialization when the Window already has content,
// just ensure that the window is active
if (rootFrame == null)
{
// Create a Frame to act as the navigation context and navigate to the first page
rootFrame = new Frame();
// rootFrame.NavigationFailed += OnNavigationFailed;
if (e != null && e.UWPLaunchActivatedEventArgs.PreviousExecutionState == ApplicationExecutionState.Terminated)
{
//TODO: Load state from previously suspended application
}
// Place the frame in the current Window
m_window.Content = rootFrame;
}
Activator.CreateInstance(typeof(SamplesConfiguration));
// if (e != null && e.UWPLaunchActivatedEventArgs.PrelaunchActivated == false)
{
if (rootFrame.Content == null)
{
// When the navigation stack isn't restored navigate to the first page,
// configuring the new page by passing required information as a navigation
// parameter
rootFrame.Navigate(typeof(DemosCommon.WinUI.MainPage), e.Arguments);
}
// Ensure the current window is active
m_window.Activate();
}
ThemeHelper.CurrentApplicationWindow = m_window;
}
/// <summary>
/// Invoked when Navigation to a certain page fails
/// </summary>
/// <param name="sender">The Frame which failed navigation</param>
/// <param name="e">Details about the navigation failure</param>
void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
{
throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
}
private MainWindow m_window;
}
}

Двоичные данные
SB/Assets/LockScreenLogo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.8 KiB

Двоичные данные
SB/Assets/SplashScreen.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 25 KiB

Двоичные данные
SB/Assets/Square150x150Logo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.3 KiB

Двоичные данные
SB/Assets/Square44x44Logo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.0 KiB

Двоичные данные
SB/Assets/Square44x44Logo.targetsize-24_altform-unplated.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB

Двоичные данные
SB/Assets/StoreLogo.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.7 KiB

Двоичные данные
SB/Assets/Tiles/LargeTile.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.5 KiB

Двоичные данные
SB/Assets/Tiles/LargeTile.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 17 KiB

Двоичные данные
SB/Assets/Tiles/LargeTile.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 38 KiB

Двоичные данные
SB/Assets/Tiles/SmallTile.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.1 KiB

Двоичные данные
SB/Assets/Tiles/SmallTile.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.5 KiB

Двоичные данные
SB/Assets/Tiles/SmallTile.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 9.9 KiB

Двоичные данные
SB/Assets/Tiles/SplashScreen.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 5.1 KiB

Двоичные данные
SB/Assets/Tiles/SplashScreen.scale-125.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 6.6 KiB

Двоичные данные
SB/Assets/Tiles/SplashScreen.scale-150.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.4 KiB

Двоичные данные
SB/Assets/Tiles/SplashScreen.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 13 KiB

Двоичные данные
SB/Assets/Tiles/SplashScreen.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 28 KiB

Двоичные данные
SB/Assets/Tiles/Square150x150Logo.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.4 KiB

Двоичные данные
SB/Assets/Tiles/Square150x150Logo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.3 KiB

Двоичные данные
SB/Assets/Tiles/Square150x150Logo.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 16 KiB

Двоичные данные
SB/Assets/Tiles/Square44x44Logo.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 692 B

Двоичные данные
SB/Assets/Tiles/Square44x44Logo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.5 KiB

Двоичные данные
SB/Assets/Tiles/Square44x44Logo.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.1 KiB

Двоичные данные
SB/Assets/Tiles/StoreLogo.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.7 KiB

Двоичные данные
SB/Assets/Tiles/StoreLogo.scale-125.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.6 KiB

Двоичные данные
SB/Assets/Tiles/StoreLogo.scale-150.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.3 KiB

Двоичные данные
SB/Assets/Tiles/StoreLogo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 5.8 KiB

Двоичные данные
SB/Assets/Tiles/StoreLogo.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 12 KiB

Двоичные данные
SB/Assets/Tiles/Wide310x150Logo.scale-100.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.6 KiB

Двоичные данные
SB/Assets/Tiles/Wide310x150Logo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.1 KiB

Двоичные данные
SB/Assets/Tiles/Wide310x150Logo.scale-400.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 18 KiB

Двоичные данные
SB/Assets/Wide310x150Logo.scale-200.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.1 KiB

14
SB/MainPage.xaml Normal file
Просмотреть файл

@ -0,0 +1,14 @@
<Page
x:Class="syncfusion.samplebrowser.winui.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:syncfusion.samplebrowser.winui"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button x:Name="myButton" Click="myButton_Click">Click Me</Button>
</StackPanel>
</Page>

43
SB/MainPage.xaml.cs Normal file
Просмотреть файл

@ -0,0 +1,43 @@
#region Copyright Syncfusion Inc. 2001-2024.
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Input;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Navigation;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace syncfusion.samplebrowser.winui
{
/// <summary>
/// An empty page that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainPage : Page
{
public MainPage()
{
this.InitializeComponent();
}
private void myButton_Click(object sender, RoutedEventArgs e)
{
myButton.Content = "Clicked";
}
}
}

11
SB/MainWindow.xaml Normal file
Просмотреть файл

@ -0,0 +1,11 @@
<Window
x:Class="Syncfusion.SampleBrowser.WinUI.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Syncfusion.SampleBrowser.WinUI"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Frame/>
</Window>

61
SB/MainWindow.xaml.cs Normal file
Просмотреть файл

@ -0,0 +1,61 @@
#region Copyright Syncfusion Inc. 2001-2024.
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Input;
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml.Navigation;
using Syncfusion.DemosCommon.WinUI;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using WinRT;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace Syncfusion.SampleBrowser.WinUI
{
/// <summary>
/// An empty window that can be used on its own or navigated to within a Frame.
/// </summary>
public sealed partial class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
this.Title = "Syncfusion Controls Gallery for WinUI Desktop";
LoadIcon("App.ico");
}
private void LoadIcon(string iconName)
{
//Get the Window's HWND
var hwnd = (this as MainWindow).As<IWindowNative>().WindowHandle;
IntPtr hIcon = PInvoke.User32.LoadImage(IntPtr.Zero, iconName,
PInvoke.User32.ImageType.IMAGE_ICON, 16, 16, PInvoke.User32.LoadImageFlags.LR_LOADFROMFILE);
PInvoke.User32.SendMessage(hwnd, PInvoke.User32.WindowMessage.WM_SETICON, (IntPtr)0, hIcon);
}
}
[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("EECDBF0E-BAE9-4CB6-A68E-9598E1CB57BB")]
internal interface IWindowNative
{
IntPtr WindowHandle { get; }
}
}

49
SB/Package.appxmanifest Normal file
Просмотреть файл

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
IgnorableNamespaces="uap mp">
<Identity
Name="SyncfusionWinUIControlsGalleryUWP"
Publisher="CN=syncfusion"
Version="1.0.0.0" />
<mp:PhoneIdentity PhoneProductId="f6fa3c0f-0489-4fcc-9248-05c11f651cc5" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<Properties>
<DisplayName>Syncfusion Controls Gallery for WinUI UWP</DisplayName>
<PublisherDisplayName>Syncfusion</PublisherDisplayName>
<Logo>Assets\Tiles\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17134.0" MaxVersionTested="10.0.17134.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="syncfusion.samplebrowser.winui.App">
<uap:VisualElements
Square150x150Logo="Assets\Tiles\Square150x150Logo.png"
DisplayName="Syncfusion Controls Gallery for WinUI UWP"
Square44x44Logo="Assets\Tiles\Square44x44Logo.png"
Description="Syncfusion Controls Gallery for WinUI UWP"
BackgroundColor="transparent">
<uap:DefaultTile Wide310x150Logo="Assets\Tiles\Wide310x150Logo.png" Square71x71Logo="Assets\Tiles\SmallTile.png" Square310x310Logo="Assets\Tiles\LargeTile.png"/>
<uap:SplashScreen Image="Assets\Tiles\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
</Capabilities>
</Package>

7
SB/Products.xml Normal file
Просмотреть файл

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<SampleBrowser>
<Assemblies QualifiedInfo="Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
ConfigurationFile="SamplesConfiguration">
<Assembly Name="syncfusion.samplebrowser.winui" />
</Assemblies>
</SampleBrowser>

Просмотреть файл

@ -0,0 +1,36 @@
#region Copyright Syncfusion Inc. 2001-2024.
// Copyright Syncfusion Inc. 2001-2024. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// licensing@syncfusion.com. Any infringement will be prosecuted under
// applicable laws.
#endregion
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("syncfusion.samplebrowser.winui")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Syncfusion Inc.")]
[assembly: AssemblyProduct("syncfusion.samplebrowser.winui")]
[assembly: AssemblyCopyright("Copyright © 2001-2024 Syncfusion Inc.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("27.2.2")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: ComVisible(false)]

Просмотреть файл

@ -0,0 +1,31 @@
<!--
This file contains Runtime Directives used by .NET Native. The defaults here are suitable for most
developers. However, you can modify these parameters to modify the behavior of the .NET Native
optimizer.
Runtime Directives are documented at https://go.microsoft.com/fwlink/?LinkID=391919
To fully enable reflection for App1.MyClass and all of its public/private members
<Type Name="App1.MyClass" Dynamic="Required All"/>
To enable dynamic creation of the specific instantiation of AppClass<T> over System.Int32
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />
Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Serialize="All" />
-->
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />
<!-- Add your application specific runtime directives here. -->
</Application>
</Directives>

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.8 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 25 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.0 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB

Двоичные данные
SB/SampleBrowser.WinUI_Net60 (Package)/Images/StoreLogo.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.5 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 17 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 38 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.5 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 9.9 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 5.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 6.6 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.4 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 13 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 28 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.4 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 16 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 692 B

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.5 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.6 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 5.8 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 12 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 3.6 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.1 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 18 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 8.1 KiB

Просмотреть файл

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3"
xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
IgnorableNamespaces="uap rescap">
<Identity
Name="SyncfusionWinUIControlsGalleryDesktop"
Publisher="CN=syncfusion"
Version="1.0.0.0" />
<Properties>
<DisplayName>Syncfusion Controls Gallery for WinUI Desktop</DisplayName>
<PublisherDisplayName>Syncfusion</PublisherDisplayName>
<Logo>Images\Tiles\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
</Dependencies>
<Resources>
<Resource Language="x-generate"/>
</Resources>
<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap:VisualElements
DisplayName="Syncfusion Controls Gallery for WinUI Desktop"
Description="Syncfusion Controls Gallery for WinUI Desktop"
BackgroundColor="transparent"
Square150x150Logo="Images\Tiles\Square150x150Logo.png"
Square44x44Logo="Images\Tiles\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Images\Tiles\Wide310x150Logo.png" Square71x71Logo="Images\Tiles\SmallTile.png" Square310x310Logo="Images\Tiles\LargeTile.png" />
<uap:SplashScreen Image="Images\Tiles\SplashScreen.png" />
</uap:VisualElements>
<Extensions>
<uap3:Extension
Category="windows.appExecutionAlias"
EntryPoint="Windows.FullTrustApplication">
<uap3:AppExecutionAlias>
<desktop:ExecutionAlias Alias="SyncfusionWinUIControlsGallery.exe" />
</uap3:AppExecutionAlias>
</uap3:Extension>
</Extensions>
</Application>
</Applications>
<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" />
</Capabilities>
</Package>

Просмотреть файл

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
<VisualStudioVersion>15.0</VisualStudioVersion>
</PropertyGroup>
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|arm64">
<Configuration>Debug</Configuration>
<Platform>arm64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|arm64">
<Configuration>Release</Configuration>
<Platform>arm64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup>
<WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
<PathToXAMLWinRTImplementations>SampleBrowser.WinUI_Net60\</PathToXAMLWinRTImplementations>
<FilterSatelliteAssembliesForMakePri>false</FilterSatelliteAssembliesForMakePri>
</PropertyGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
<PropertyGroup>
<ProjectGuid>ad778662-71f2-43b1-a319-3b832e3767b4</ProjectGuid>
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<AssetTargetFallback>net6.0-windows$(TargetPlatformVersion);$(AssetTargetFallback)</AssetTargetFallback>
<DefaultLanguage>en-US</DefaultLanguage>
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
<EntryPointProjectUniqueName>..\SampleBrowser.WinUI_Net60.csproj</EntryPointProjectUniqueName>
</PropertyGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content Include="Images\SplashScreen.scale-200.png" />
<Content Include="Images\LockScreenLogo.scale-200.png" />
<Content Include="Images\Square150x150Logo.scale-200.png" />
<Content Include="Images\Square44x44Logo.scale-200.png" />
<Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Images\StoreLogo.png" />
<Content Include="Images\Tiles\LargeTile.scale-100.png" />
<Content Include="Images\Tiles\LargeTile.scale-200.png" />
<Content Include="Images\Tiles\LargeTile.scale-400.png" />
<Content Include="Images\Tiles\SmallTile.scale-100.png" />
<Content Include="Images\Tiles\SmallTile.scale-200.png" />
<Content Include="Images\Tiles\SmallTile.scale-400.png" />
<Content Include="Images\Tiles\SplashScreen.scale-100.png" />
<Content Include="Images\Tiles\SplashScreen.scale-125.png" />
<Content Include="Images\Tiles\SplashScreen.scale-150.png" />
<Content Include="Images\Tiles\SplashScreen.scale-200.png" />
<Content Include="Images\Tiles\SplashScreen.scale-400.png" />
<Content Include="Images\Tiles\Square150x150Logo.scale-100.png" />
<Content Include="Images\Tiles\Square150x150Logo.scale-200.png" />
<Content Include="Images\Tiles\Square150x150Logo.scale-400.png" />
<Content Include="Images\Tiles\Square44x44Logo.scale-100.png" />
<Content Include="Images\Tiles\Square44x44Logo.scale-200.png" />
<Content Include="Images\Tiles\Square44x44Logo.scale-400.png" />
<Content Include="Images\Tiles\StoreLogo.scale-100.png" />
<Content Include="Images\Tiles\StoreLogo.scale-125.png" />
<Content Include="Images\Tiles\StoreLogo.scale-150.png" />
<Content Include="Images\Tiles\StoreLogo.scale-200.png" />
<Content Include="Images\Tiles\StoreLogo.scale-400.png" />
<Content Include="Images\Tiles\Wide310x150Logo.scale-100.png" />
<Content Include="Images\Tiles\Wide310x150Logo.scale-200.png" />
<Content Include="Images\Tiles\Wide310x150Logo.scale-400.png" />
<Content Include="Images\Wide310x150Logo.scale-200.png" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240802000" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SampleBrowser.WinUI_Net60.csproj">
<SkipGetTargetFrameworkProperties>True</SkipGetTargetFrameworkProperties>
<PublishProfile>Properties\PublishProfiles\win10-$(Platform).pubxml</PublishProfile>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<SDKReference Include="Microsoft.VCLibs.Desktop, Version=14.0" />
<!-- Needed for ucrtbased.dll when running a debug build. -->
<SDKReference Include="Microsoft.VCLibs, Version=14.0" Condition="'$(Configuration)' == 'Debug'" />
</ItemGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
</Project>

Просмотреть файл

@ -0,0 +1,105 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="syncfusion.samplebrowser.props" />
<PropertyGroup>
<OutputType>WinExe</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<EnableDefaultPageItems>false</EnableDefaultPageItems>
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<AssemblyName>Syncfusion.SampleBrowser.WinUI</AssemblyName>
<RootNamespace>Syncfusion.SampleBrowser.WinUI</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>AnyCPU;x86;x64</Platforms>
<RuntimeIdentifiers>win-x86;win-x64;win10-x86</RuntimeIdentifiers>
<UseWinUI>true</UseWinUI>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;Main_SB;</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;Main_SB;</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;Main_SB;</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE;NETFX_CORE;Main_SB;</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<UseVSHostingProcess>false</UseVSHostingProcess>
<ErrorReport>prompt</ErrorReport>
<Prefer32Bit>true</Prefer32Bit>
<UseDotNetNativeToolchain>true</UseDotNetNativeToolchain>
</PropertyGroup>
<ItemGroup>
<Content Remove="Assets\**" />
<EmbeddedResource Remove="Assets\**" />
<Content Remove="SampleBrowser.WinUI_net90 %28Package%29\**" />
<Content Remove="SampleBrowser.WinUI_net80 %28Package%29\**" />
<Content Remove="SampleBrowser.WinUI_net70 %28Package%29\**" />
<Content Remove="SampleBrowser.WinUI_net60 %28Package%29\**" />
<EmbeddedResource Remove="SampleBrowser.WinUI_net90 %28Package%29\**" />
<EmbeddedResource Remove="SampleBrowser.WinUI_net80 %28Package%29\**" />
<EmbeddedResource Remove="SampleBrowser.WinUI_net70 %28Package%29\**" />
<EmbeddedResource Remove="SampleBrowser.WinUI_net60 %28Package%29\**" />
<None Remove="SampleBrowser.WinUI_net90 %28Package%29\**" />
<None Remove="SampleBrowser.WinUI_net80 %28Package%29\**" />
<None Remove="SampleBrowser.WinUI_net70 %28Package%29\**" />
<None Remove="SampleBrowser.WinUI_net60 %28Package%29\**" />
<PRIResource Remove="SampleBrowser.WinUI_net90 %28Package%29\**" />
<PRIResource Remove="SampleBrowser.WinUI_net80 %28Package%29\**" />
<PRIResource Remove="SampleBrowser.WinUI_net70 %28Package%29\**" />
<PRIResource Remove="SampleBrowser.WinUI_net60 %28Package%29\**" />
<None Remove="Assets\**" />
<None Remove="App.ico" />
<None Remove="MainPage.xaml" />
<None Remove="Products.xml" />
<None Remove="Properties\Default.rd.xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
</Compile>
<Compile Include="SampleConfiguration.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="App.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Page Include="MainWindow.xaml" />
</ItemGroup>
<ItemGroup>
<Manifest Include="$(ApplicationManifest)" />
</ItemGroup>
</Project>

Просмотреть файл

@ -0,0 +1,49 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.32014.148
MinimumVisualStudioVersion = 10.0.40219.1
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "SampleBrowser.WinUI_Net60 (Package)", "SampleBrowser.WinUI_Net60 (Package)\SampleBrowser.WinUI_Net60 (Package).wapproj", "{AD778662-71F2-43B1-A319-3B832E3767B4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleBrowser.WinUI_Net60", "SampleBrowser.WinUI_Net60.csproj", "{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AD778662-71F2-43B1-A319-3B832E3767B4}.Debug|x64.ActiveCfg = Debug|x64
{AD778662-71F2-43B1-A319-3B832E3767B4}.Debug|x64.Build.0 = Debug|x64
{AD778662-71F2-43B1-A319-3B832E3767B4}.Debug|x64.Deploy.0 = Debug|x64
{AD778662-71F2-43B1-A319-3B832E3767B4}.Debug|x86.ActiveCfg = Debug|x86
{AD778662-71F2-43B1-A319-3B832E3767B4}.Debug|x86.Build.0 = Debug|x86
{AD778662-71F2-43B1-A319-3B832E3767B4}.Debug|x86.Deploy.0 = Debug|x86
{AD778662-71F2-43B1-A319-3B832E3767B4}.Release|x64.ActiveCfg = Release|x64
{AD778662-71F2-43B1-A319-3B832E3767B4}.Release|x64.Build.0 = Release|x64
{AD778662-71F2-43B1-A319-3B832E3767B4}.Release|x64.Deploy.0 = Release|x64
{AD778662-71F2-43B1-A319-3B832E3767B4}.Release|x86.ActiveCfg = Release|x86
{AD778662-71F2-43B1-A319-3B832E3767B4}.Release|x86.Build.0 = Release|x86
{AD778662-71F2-43B1-A319-3B832E3767B4}.Release|x86.Deploy.0 = Release|x86
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Debug|x64.ActiveCfg = Debug|x64
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Debug|x64.Build.0 = Debug|x64
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Debug|x64.Deploy.0 = Debug|x64
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Debug|x86.ActiveCfg = Debug|x86
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Debug|x86.Build.0 = Debug|x86
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Debug|x86.Deploy.0 = Debug|x86
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Release|x64.ActiveCfg = Release|x64
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Release|x64.Build.0 = Release|x64
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Release|x64.Deploy.0 = Release|x64
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Release|x86.ActiveCfg = Release|x86
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Release|x86.Build.0 = Release|x86
{A4F2B175-37D7-41D3-84A3-FE4BB7CD3A5C}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {42A88804-6C88-45AD-BC83-9D90BA2341F9}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,6 @@
MainPackage=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x64.msix
SymbolPackage=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x64.appxsym
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-100.msix
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-125.msix
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-150.msix
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-400.msix

Просмотреть файл

@ -0,0 +1,6 @@
MainPackage=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x86.msix
SymbolPackage=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x86.appxsym
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-100.msix
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-125.msix
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-150.msix
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\Upload\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-400.msix

Просмотреть файл

@ -0,0 +1,6 @@
MainPackage=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x64.msix
SymbolPackage=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\obj\x64\Release\Symbols\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x64.appxsym
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-100.msix
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-125.msix
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-150.msix
ResourcePack=C:\Git\RP\samplebrowser-winui\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x64\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-400.msix

Просмотреть файл

@ -0,0 +1,6 @@
MainPackage=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x86.msix
SymbolPackage=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\obj\x86\Release\Symbols\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_x86.appxsym
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-100.msix
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-125.msix
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-150.msix
ResourcePack=C:\Samples_27.2.2\WinUI\SB\SampleBrowser.WinUI_Net80 (Package)\bin\x86\Release\SampleBrowser.WinUI_Net80 (Package)_1.0.0.0_scale-400.msix

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.8 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 25 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.3 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 4.0 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.2 KiB

Двоичные данные
SB/SampleBrowser.WinUI_Net80 (Package)/Images/StoreLogo.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.7 KiB

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.5 KiB

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше