diff --git a/.config/tsaoptions.json b/.config/tsaoptions.json deleted file mode 100644 index 05b370ebb7..0000000000 --- a/.config/tsaoptions.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "instanceUrl": "https://microsoft.visualstudio.com", - "projectName": "os", - "areaPath": "OS\\Windows Client and Services\\ADEPT\\OWL (Open Windows pLatform)\\Controls", - "iterationPath": "OS", - "notificationAliases": [ "uxpct@microsoft.com" ], - "ignoreBranchName": true, - "codebaseName": "microsoft_microsoft-ui-xaml" -} \ No newline at end of file diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index ae478b7a9d..0000000000 --- a/.editorconfig +++ /dev/null @@ -1,126 +0,0 @@ -root = true - -# Rules in this file were initially inferred by Visual Studio IntelliCode from the S:\Repos\dep.controls codebase based on best match to current usage at 11/15/2018 -# You can modify the rules from these initially generated values to suit your own policies -# You can learn more about editorconfig here: https://docs.microsoft.com/en-us/visualstudio/ide/editorconfig-code-style-settings-reference -[*.cs] - -#Core editorconfig formatting - indentation - -#use soft tabs (spaces) for indentation -indent_style = space -indent_size = 4 -charset = utf-8-bom -end_of_line = crlf - -#Formatting - indentation options - -#indent switch case contents. -csharp_indent_case_contents = true -#csharp_indent_case_contents_when_block -csharp_indent_case_contents_when_block = true -#indent switch labels -csharp_indent_switch_labels = true - -#Formatting - new line options - -#place catch statements on a new line -csharp_new_line_before_catch = true -#place else statements on a new line -csharp_new_line_before_else = true -#require braces to be on a new line for accessors, methods, object_collection, control_blocks, types, properties, and lambdas (also known as "Allman" style) -csharp_new_line_before_open_brace = accessors, methods, object_collection, control_blocks, types, properties, lambdas - -#Formatting - organize using options - -#do not place System.* using directives before other using directives -dotnet_sort_system_directives_first = false - -#Formatting - spacing options - -#require NO space between a cast and the value -csharp_space_after_cast = false -#require a space before the colon for bases or interfaces in a type declaration -csharp_space_after_colon_in_inheritance_clause = true -#require a space after a keyword in a control flow statement such as a for loop -csharp_space_after_keywords_in_control_flow_statements = true -#require a space before the colon for bases or interfaces in a type declaration -csharp_space_before_colon_in_inheritance_clause = true -#remove space within empty argument list parentheses -csharp_space_between_method_call_empty_parameter_list_parentheses = false -#remove space between method call name and opening parenthesis -csharp_space_between_method_call_name_and_opening_parenthesis = false -#do not place space characters after the opening parenthesis and before the closing parenthesis of a method call -csharp_space_between_method_call_parameter_list_parentheses = false -#remove space within empty parameter list parentheses for a method declaration -csharp_space_between_method_declaration_empty_parameter_list_parentheses = false -#place a space character after the opening parenthesis and before the closing parenthesis of a method declaration parameter list. -csharp_space_between_method_declaration_parameter_list_parentheses = false - -#Formatting - wrapping options - -#leave code block on single line -csharp_preserve_single_line_blocks = true -#leave statements and member declarations on the same line -csharp_preserve_single_line_statements = true - -#Style - expression bodied member options - -#prefer block bodies for accessors -csharp_style_expression_bodied_accessors = false:suggestion -#prefer block bodies for constructors -csharp_style_expression_bodied_constructors = false:suggestion -#prefer block bodies for methods -csharp_style_expression_bodied_methods = false:suggestion -#prefer block bodies for properties -csharp_style_expression_bodied_properties = false:suggestion - -#Style - expression level options - -#prefer out variables to be declared before the method call -csharp_style_inlined_variable_declaration = false:suggestion -#prefer the language keyword for member access expressions, instead of the type name, for types that have a keyword to represent them -dotnet_style_predefined_type_for_member_access = true:suggestion - -#Style - implicit and explicit types - -#prefer explicit type over var to declare variables with built-in system types such as int -csharp_style_var_for_built_in_types = false:none -#prefer explicit type over var when the type is already mentioned on the right-hand side of a declaration -csharp_style_var_when_type_is_apparent = false:none - -#Style - language keyword and framework type options - -#prefer the language keyword for local variables, method parameters, and class members, instead of the type name, for types that have a keyword to represent them -dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion - -#Style - qualification options - -#prefer events not to be prefaced with this. or Me. in Visual Basic -dotnet_style_qualification_for_event = false:suggestion -#prefer fields not to be prefaced with this. or Me. in Visual Basic -dotnet_style_qualification_for_field = false:suggestion -#prefer methods not to be prefaced with this. or Me. in Visual Basic -dotnet_style_qualification_for_method = false:suggestion -#prefer properties not to be prefaced with this. or Me. in Visual Basic -dotnet_style_qualification_for_property = false:suggestion - -# IDE0008: Use explicit type -csharp_style_var_elsewhere = false:none - -[**.{cpp,h,idl}] -indent_style = space -indent_size = 4 -charset = utf-8-bom -insert_final_newline = true -trim_trailing_whitespace = true -end_of_line = crlf - - -[**.{xaml,xml}] -indent_style = space -indent_size = 4 -charset = utf-8-bom -insert_final_newline = true -trim_trailing_whitespace = true -end_of_line = crlf \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 6086bbe086..0000000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "configurations": [ - { - "name": "Win32", - "compilerPath": "", - "includePath": [ - "${workspaceFolder}/dev/Collections", - "${workspaceFolder}/dev/Common", - "${workspaceFolder}/dev/dll", - "${workspaceFolder}/dev/inc", - "${workspaceFolder}/dev/TreeView", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Platform", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/winrt", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/Automation/Peers", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/Controls", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/Controls/Primitives", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/Media", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/Microsoft/UI/Composition/Effects", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/Microsoft/UI/Private/Controls", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/Microsoft/UI/Private/Media", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/CppWinRT/Component/XamlTypeInfo", - "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\VC\\Tools\\MSVC\\14.16.27023\\include", - "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\shared", - "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\um", - "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\winrt", - "C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.18362.0\\ucrt", - "${workspaceFolder}/dev/Telemetry", - "${workspaceFolder}/dev/Repeater" - ], - "defines": [], - "browse": { - "path": [ - "${workspaceFolder}/dev", - "${workspaceFolder}/idl", - "${workspaceFolder}/test", - "${workspaceFolder}/BuildOutput/Intermediates/Microsoft.UI.Xaml/obj/" - ], - "limitSymbolsToIncludedHeaders": true, - "databaseFilename": "${workspaceFolder}/.vscode/" - }, - "windowsSdkVersion": "10.0.18362.0", - "configurationProvider": "microsoft.vscode-nmake-tools", - "cppStandard": "c++17", - "intelliSenseMode": "msvc-x64" - } - ], - "version": 4 -} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 01e3f3b6bb..0000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "C_Cpp.configurationWarnings": "Disabled", - "nmake.is-configuration-migrated": true, - "nmake.default-razzle-configuration": "amd64fre" -} \ No newline at end of file diff --git a/.vsconfig b/.vsconfig deleted file mode 100644 index 77413c1fc3..0000000000 --- a/.vsconfig +++ /dev/null @@ -1,49 +0,0 @@ -{ - "version": "1.0", - "components": [ - "Microsoft.VisualStudio.Component.CoreEditor", - "Microsoft.VisualStudio.Workload.CoreEditor", - "Microsoft.NetCore.Component.Runtime.3.1", - "Microsoft.NetCore.Component.SDK", - "Microsoft.VisualStudio.Component.NuGet", - "Microsoft.Net.Component.4.6.1.TargetingPack", - "Microsoft.VisualStudio.Component.Roslyn.Compiler", - "Microsoft.VisualStudio.Component.Roslyn.LanguageServices", - "Microsoft.NetCore.Component.DevelopmentTools", - "Microsoft.Net.Component.4.8.SDK", - "Microsoft.Net.Component.4.7.2.TargetingPack", - "Microsoft.Net.ComponentGroup.DevelopmentPrerequisites", - "Microsoft.Component.MSBuild", - "Microsoft.VisualStudio.Component.TextTemplating", - "Microsoft.VisualStudio.Component.ManagedDesktop.Core", - "Microsoft.Net.Component.4.5.2.TargetingPack", - "Microsoft.Net.Component.4.5.TargetingPack", - "Microsoft.Net.Component.4.TargetingPack", - "Microsoft.Net.Component.4.5.1.TargetingPack", - "Microsoft.Net.Component.4.6.TargetingPack", - "Microsoft.Net.ComponentGroup.TargetingPacks.Common", - "Microsoft.Net.Core.Component.SDK.2.1", - "Microsoft.VisualStudio.Component.DiagnosticTools", - "Microsoft.Net.Component.4.7.TargetingPack", - "Microsoft.VisualStudio.Component.VC.CoreIde", - "Microsoft.VisualStudio.Component.VC.Tools.x86.x64", - "Microsoft.VisualStudio.Component.VC.DiagnosticTools", - "Microsoft.VisualStudio.Component.Windows10SDK.18362", - "Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites", - "Microsoft.VisualStudio.ComponentGroup.MSIX.Packaging", - "Microsoft.VisualStudio.Workload.ManagedDesktop", - "Microsoft.VisualStudio.Component.VC.Redist.14.Latest", - "Microsoft.VisualStudio.ComponentGroup.ArchitectureTools.Native", - "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core", - "Microsoft.VisualStudio.Component.Windows10SDK.17763", - "Microsoft.VisualStudio.Workload.NativeDesktop", - "Microsoft.Component.NetFX.Native", - "Microsoft.VisualStudio.ComponentGroup.UWP.NetCoreAndStandard", - "Microsoft.VisualStudio.ComponentGroup.UWP.Support", - "Microsoft.VisualStudio.Component.VC.Tools.ARM64", - "Microsoft.VisualStudio.Component.UWP.VC.ARM64", - "Microsoft.VisualStudio.Component.VC.Tools.ARM", - "Microsoft.VisualStudio.ComponentGroup.UWP.VC", - "Microsoft.VisualStudio.Workload.Universal" - ] -} \ No newline at end of file diff --git a/Build.cmd b/Build.cmd deleted file mode 100644 index 2542f6755c..0000000000 --- a/Build.cmd +++ /dev/null @@ -1,175 +0,0 @@ -@echo OFF -pushd %~dp0 - -setlocal ENABLEDELAYEDEXPANSION - -if "%DevEnvDir%" == "" ( - echo DevEnvDir environment variable not set. Running DevCmd.cmd to get a developer command prompt... - call %~dp0\DevCmd.cmd /PreserveContext -) - -set TFS_SourcesDirectory=%~dp0 -set BUILD_BINARIESDIRECTORY=%~dp0BuildOutput -set VERSIONBUILDNUMBER=local -set VERSIONBUILDREVISION=10001 - -set BUILDALL= -set MUXFINAL= -set PROJECTPATH= -set BUILDTARGET= - -if "%1" == "" goto :usage - -if "%1" == "all" ( - shift - goto :ALL -) - -if "%2" == "" goto :usage - -REM Loose arguments - -set BUILDPLATFORM=%1 -if "%1" NEQ "x86" if "%1" NEQ "x64" if "%1" NEQ "arm" if "%1" NEQ "arm64" ( - echo ERROR: Invalid platform "%1" - echo. - goto :usage -) -shift -set BUILDCONFIGURATION=%1 -if "%1" NEQ "debug" if "%1" NEQ "release" ( - echo ERROR: Invalid configuration "%1" - echo. - goto :usage -) -shift - -REM echo BUILDPLATFORM=%BUILDPLATFORM% BUILDCONFIGURATION=%BUILDCONFIGURATION% -goto :MoreArguments - -:ALL -REM echo Building all -set BUILDALL=1 -goto :MoreArguments - -:MoreArguments -if "%1" == "/muxfinal" ( - REM echo MUXFinal - set MUXFINAL=1 - shift - goto :MoreArguments -) -if "%1" == "/UseInsiderSDK" ( - REM echo UseInsiderSDK - set USEINSIDERSDK=1 - shift - goto :MoreArguments -) -if "%1" == "/UseInternalSDK" ( - REM echo UseInternalSDK - set USEINTERNALSDK=1 - shift - goto :MoreArguments -) -if "%1" == "/project" ( - set PROJECTPATH=%~2 - shift - shift - goto :MoreArguments -) -if "%1" == "/target" ( - set BUILDTARGET=%BUILDTARGET% -t:%~2 - shift - shift - goto :MoreArguments -) -if "%1" == "/usevsprerelease" ( - set VSWHEREPARAMS=%VSWHEREPARAMS% -prerelease - shift - goto :MoreArguments -) -if "%1" NEQ "" ( - echo ERROR: Unknown argument "%1" - goto :usage -) -goto :DoBuild - -:DoBuild - -for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest %VSWHEREPARAMS% -requires Microsoft.Component.MSBuild -find MSBuild\**\Bin\MSBuild.exe`) do ( - set MSBUILDPATH=%%i - set MSBUILDDIRPATH=%%~dpi - IF !MSBUILDDIRPATH:~-1!==\ SET MSBUILDDIRPATH=!MSBUILDDIRPATH:~0,-1! - echo Using MSBuild from !MSBUILDPATH! in !MSBUILDDIRPATH! -) - -REM -REM NUGET Restore -REM -if "%PROJECTPATH%" NEQ "" ( - call .\Tools\NugetWrapper.cmd restore -MSBuildPath "%MSBUILDDIRPATH%" -NonInteractive %PROJECTPATH% -) else ( - call .\Tools\NugetWrapper.cmd restore -MSBuildPath "%MSBUILDDIRPATH%" -NonInteractive .\MUXControls.sln -) - -REM -REM Build Solution -REM -set PreferredToolArchitecture=x64 - -set EXTRAMSBUILDPARAMS= -if "%MUXFINAL%" == "1" ( set EXTRAMSBUILDPARAMS=/p:MUXFinalRelease=true ) -if "%USEINSIDERSDK%" == "1" ( set EXTRAMSBUILDPARAMS=/p:UseInsiderSDK=true ) -if "%USEINTERNALSDK%" == "1" ( set EXTRAMSBUILDPARAMS=/p:UseInternalSDK=true ) - - -if "%BUILDTARGET%" NEQ "" ( set EXTRAMSBUILDPARAMS=%EXTRAMSBUILDPARAMS% %BUILDTARGET% ) - -if "%PROJECTPATH%" NEQ "" ( - set MSBuildCommand="%MSBUILDPATH%" %PROJECTPATH% /p:platform="%BUILDPLATFORM%" /p:configuration="%BUILDCONFIGURATION%" /flp:Verbosity=Diagnostic /fl /bl %EXTRAMSBUILDPARAMS% /verbosity:Minimal /p:AppxBundle=Never /p:AppxSymbolPackageEnabled=false - echo !MSBuildCommand! - !MSBuildCommand! -) else ( - if "%BUILDALL%" == "" ( - - "%MSBUILDPATH%" .\MUXControls.sln /p:platform="%BUILDPLATFORM%" /p:configuration="%BUILDCONFIGURATION%" /flp:Verbosity=Diagnostic /fl /bl %EXTRAMSBUILDPARAMS% /verbosity:Minimal /p:AppxBundle=Never /p:AppxSymbolPackageEnabled=false - - if "%ERRORLEVEL%" == "0" call .\tools\MakeAppxHelper.cmd %BUILDPLATFORM% %BUILDCONFIGURATION% - ) else ( - "%MSBUILDPATH%" .\build\BuildAll.proj /maxcpucount:12 /flp:Verbosity=Diagnostic /fl /bl /verbosity:Minimal - - if "%ERRORLEVEL%" == "0" ( - call .\tools\MakeAppxHelper.cmd x86 release - call .\tools\MakeAppxHelper.cmd x86 debug - call .\tools\MakeAppxHelper.cmd x64 release - call .\tools\MakeAppxHelper.cmd x64 debug - call .\tools\MakeAppxHelper.cmd arm release - call .\tools\MakeAppxHelper.cmd arm debug - call .\tools\MakeAppxHelper.cmd arm64 release - call .\tools\MakeAppxHelper.cmd arm64 debug - ) - ) -) - -goto :end - -:usage -echo Usage: -echo Specific platform ^& config: -echo build.cmd ^ ^ [options] -echo. -echo All platforms ^& configs: -echo build.cmd all [options] -echo. -echo Options: -echo /leanmux - build lean mux for the store -echo /muxfinal - build "final" bits which have the winmd stripped of experimental types -echo /UseInsiderSDK - build using insider SDK -echo /UseInternalSDK - build using internal SDK -echo /project ^ - builds a specific project -echo /usevsprerelease - use the prerelease VS on the machine instead of latest stable -echo /target - specify the msbuild target. Specify multiple times to build multiple targets. -echo. - -:end - diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4ac695fb46..576f928566 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,6 +8,8 @@ Note that all community interactions must abide by the [Code of Conduct](CODE_OF ## How we work with contributions +For reporting security issues please see the [Security Policy](docs/SECURITY.md). + Contributions from the community in the form of feature requests and bugs are handled according to our [contribution handling](docs/contribution_handling.md) guidelines. ## New contributors diff --git a/CreateTestBinariesDirFromBuild.ps1 b/CreateTestBinariesDirFromBuild.ps1 deleted file mode 100644 index 5e5464909e..0000000000 --- a/CreateTestBinariesDirFromBuild.ps1 +++ /dev/null @@ -1,201 +0,0 @@ -[CmdletBinding()] -param( - [ValidateSet("Debug", "Release")] - [String]$Flavor = "Debug", - - [ValidateSet("x86", "x64")] - [String]$Platform = "x86", - - [switch]$NoBuild, - [String]$BuildId, - - [ValidateSet("DevTest", "NugetPkgTests", "FrameworkPkgTests")] - [string]$TestSuite = "DevTest" -) - -if(!$BuildId -and $TestSuite -eq "FrameworkPkgTests") -{ - Write-Error "-TestSuite='FrameworkPkgTests' is only valid when using a -BuildId. Use -TestSuite='NugetPkgTests' for testing locally." - exit 1 -} - -function DoesTaefAppXNeedBuild -{ - param( - [System.IO.FileSystemInfo]$MuxDllFile, - [string]$ProjectName, - [string]$Platform, - [string]$Flavor - ) - - $projectFileName = "$($ProjectName).TAEF" - - return DoesAppXNeedBuild -MuxDllFile $MuxDllFile -ProjectName $ProjectName -Platform $Platform -Flavor $Flavor -AppXPath "$projectFileName\AppPackages\$($ProjectName)_Test\$ProjectName.appx" -ExePath "$projectFileName\$ProjectName.exe" -} - -function DoesAppXNeedBuild -{ - param( - [System.IO.FileSystemInfo]$MuxDllFile, - [string]$AppXPath, - [string]$ExePath, - [string]$ProjectName, - [string]$BuildTarget, - [string]$Platform, - [string]$Flavor - ) - - $appxFullPath = "$PSScriptRoot\BuildOutput\$Flavor\$Platform\$AppXPath" - $testAppxFile = Get-Item $appxFullPath -ErrorAction Ignore - $testExeFile = Get-Item "$PSScriptRoot\BuildOutput\$Flavor\$Platform\$ExePath" -ErrorAction Ignore - - if((!$testAppxFile) -or (!$testExeFile) -or ($testExeFile.LastWriteTime -gt $testAppxFile.LastWriteTime) -or ($muxDllFile.LastWriteTime -gt $testAppxFile.LastWriteTime)) - { - if ($testAppxFile) - { - Write-Host "$testAppxFile LastWriteTime = $($testAppxFile.LastWriteTime)" - } - else - { - Write-Host "No appx at $appxFullPath" - } - if ($testExeFile) - { - Write-Host "$testExeFile LastWriteTime = $($testExeFile.LastWriteTime)" - } - Write-Host "$muxDllFile LastWriteTime = $($muxDllFile.LastWriteTime)" - - return $true - } - else - { - return $false - } -} - -function New-TemporaryDirectory { - $parent = [System.IO.Path]::GetTempPath() - $name = [System.IO.Path]::GetRandomFileName() - New-Item -ItemType Directory -Path (Join-Path $parent $name) -} - - -# Clean up artifacts and HelixPayload directories: -$artifactsDir = "$PSScriptRoot\Artifacts" -$artifactsDropDir = "$PSScriptRoot\Artifacts\drop" -$helixpayloadDir = "$PSScriptRoot\HelixPayload\$Flavor\$Platform" -if(Test-Path $artifactsDropDir) -{ - Remove-Item $artifactsDropDir -Force -Recurse -} - -if(Test-Path $helixpayloadDir) -{ - Remove-Item $helixpayloadDir -Force -Recurse -} - -if($BuildId) -{ - $artifactName = "drop" - if($TestSuite -eq "NugetPkgTests") - { - $artifactName = "NugetPkgTestsDrop" - } - elseif($TestSuite -eq "FrameworkPkgTests") - { - $artifactName = "FrameworkPkgTestsDrop" - } - - $artifactTargetDir = "$artifactsDir\$artifactName" - if(Test-Path $artifactTargetDir) - { - Remove-Item $artifactTargetDir -Force -Recurse - } - - $tempDir = New-TemporaryDirectory - $tempDirPath = $tempDir.FullName - - $downloadFileName = $artifactName + ".zip" - $downloadFilePath = Join-Path $tempDirPath $downloadFileName - - $dropData = Invoke-RestMethod -Uri "https://dev.azure.com/ms/microsoft-ui-xaml/_apis/build/builds/$buildId/artifacts?artifactName=$artifactName&api-version=4.1" -Method Get - - # Invoke-WebRequest is orders of magnitude slower when the progress indicator is being displayed. So temporarily disable it. - $ProgressPreferenceOld = $ProgressPreference - $ProgressPreference = "SilentlyContinue" - try - { - Write-Host "Downloading '$downloadFileName'. Please wait, this will take a few moments..." - Invoke-WebRequest -Uri $dropData.resource.downloadUrl -OutFile $downloadFilePath - } - finally - { - $ProgressPreference = $ProgressPreferenceOld - } - - Write-Host "Done!" - Write-Host "Downloaded file to $downloadFilePath" - - Write-Host "Extracting files to $artifactsDir" - Expand-Archive -Path $downloadFilePath -DestinationPath $artifactsDir - - & .\Tools\NugetWrapper.cmd restore build\Helix\packages.config -PackagesDirectory build\Helix\packages - & .\build\Helix\PrepareHelixPayload.ps1 -Platform $Platform -Configuration $Flavor -ArtifactName $artifactName - - Write-Verbose "Removing temp dir '$tempDirPath'" - Remove-Item -Force -Recurse $tempDirPath - - Write-Host "" - Write-Host "Test binaries dir created in $helixpayloadDir" -} -else -{ - Write-Host "Creating test binaries dir from local build." - - # Determine if we need to build the test binaries: - $muxDllFile = Get-Item "$PSScriptRoot\BuildOutput\$Flavor\$Platform\Microsoft.UI.Xaml\Microsoft.UI.Xaml.dll" - - $shouldBuild = $false; - $buildCmd = ""; - if($TestSuite -eq "DevTest") - { - $shouldBuild = $shouldBuild -Or (DoesTaefAppXNeedBuild -MuxDllFile $muxDllFile -ProjectName "MUXControlsTestApp" -Platform $Platform -Flavor $Flavor) - $shouldBuild = $shouldBuild -Or (DoesTaefAppXNeedBuild -MuxDllFile $muxDllFile -ProjectName "IXMPTestApp" -Platform $Platform -Flavor $Flavor) - - if($shouldBuild) - { - $buildCmd = "$PSScriptRoot\build.cmd $($Platform.ToLower()) $($Flavor.ToLower()) /target test\MUXControlsTestApp\MUXControlsTestApp_TAEF:Publish /target test\IXMPTestApp\IXMPTestApp_TAEF:Publish" - } - } - else - { - $shouldBuild = $shouldBuild -Or (DoesAppXNeedBuild -MuxDllFile $muxDllFile -ProjectName "NugetPackageTestApp" -Platform $Platform -Flavor $Flavor -AppXPath "NugetPackageTestApp\AppPackages\NugetPackageTestApp_Test\NugetPackageTestApp.appx" -ExePath "NugetPackageTestApp\NugetPackageTestApp.exe" -ProjectPath "MUXControlsReleaseTest\NugetPackageTestApp\NugetPackageTestApp.csproj") - $shouldBuild = $shouldBuild -Or (DoesAppXNeedBuild -MuxDllFile $muxDllFile -ProjectName "NugetPackageTestAppCX" -Platform $Platform -Flavor $Flavor -AppXPath "NugetPackageTestAppCX\AppPackages\NugetPackageTestAppCX_Test\NugetPackageTestAppCX.appx" -ExePath "NugetPackageTestAppCX\NugetPackageTestAppCX.exe" -ProjectPath "MUXControlsReleaseTest\NugetPackageTestAppCX\NugetPackageTestAppCX.csproj") - $shouldBuild = $shouldBuild -Or (DoesAppXNeedBuild -MuxDllFile $muxDllFile -ProjectName "WpfApp" -Platform $Platform -Flavor $Flavor -AppXPath "WpfApp.Package\AppPackages\WpfApp_Test\WpfApp.msix" -ExePath "WpfApp\WpfApp.exe" -ProjectPath "MUXControlsReleaseTest\XamlIslandsTestApp\WpfApp\WpfApp.Package.wapproj") - if($shouldBuild) - { - $buildCmd = "$PSScriptRoot\build.cmd $($Platform.ToLower()) $($Flavor.ToLower()) /project D:\microsoft-ui-xaml\test\MUXControlsReleaseTest\MUXControlsReleaseTest.sln" - } - } - - if($shouldBuild) - { - if(!$NoBuild) - { - Write-Host $buildCmd - Invoke-Expression $buildCmd - } - else - { - Write-Warning "Test binaries are out of date, but -NoBuild flag was specified so skipping build" - } - } - - - & .\build\CopyFilesToStagingDir.ps1 -BuildOutputDir "$PSScriptRoot\BuildOutput\" -PublishDir $artifactsDropDir -Platform $Platform -Configuration $Flavor -PublishAppxFiles - & .\Tools\NugetWrapper.cmd restore build\Helix\packages.config -PackagesDirectory build\Helix\packages - & .\build\Helix\PrepareHelixPayload.ps1 -Platform $Platform -Configuration $Flavor - - Write-Host "" - Write-Host "Test binaries dir created in $helixpayloadDir" -} diff --git a/CustomInlineTasks.targets b/CustomInlineTasks.targets deleted file mode 100644 index d1035aa4ff..0000000000 --- a/CustomInlineTasks.targets +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/CustomTasks.sln b/CustomTasks.sln deleted file mode 100644 index dbb1c9e3b2..0000000000 --- a/CustomTasks.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26403.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomTasks", "tools\CustomTasks\CustomTasks.csproj", "{BFC20F72-5AAE-4271-AD74-AD423A365528}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomTasksTool", "tools\CustomTasksTool\CustomTasksTool.csproj", "{6565DE44-A8B8-4D89-B445-96CC8E100FE3}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {BFC20F72-5AAE-4271-AD74-AD423A365528}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BFC20F72-5AAE-4271-AD74-AD423A365528}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BFC20F72-5AAE-4271-AD74-AD423A365528}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BFC20F72-5AAE-4271-AD74-AD423A365528}.Release|Any CPU.Build.0 = Release|Any CPU - {6565DE44-A8B8-4D89-B445-96CC8E100FE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6565DE44-A8B8-4D89-B445-96CC8E100FE3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6565DE44-A8B8-4D89-B445-96CC8E100FE3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6565DE44-A8B8-4D89-B445-96CC8E100FE3}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D24018BE-5931-4187-948B-A322DBA39960} - EndGlobalSection -EndGlobal diff --git a/DevCmd.cmd b/DevCmd.cmd deleted file mode 100644 index f99561fb41..0000000000 --- a/DevCmd.cmd +++ /dev/null @@ -1,19 +0,0 @@ -@echo OFF - -pushd %~dp0 - -set PATH=%PATH%;%~dp0\tools - -call %~dp0\tools\addaliases.cmd - -"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -requires Microsoft.Component.MSBuild -property InstallationPath > %TEMP%\vsinstalldir.txt - -set /p _VSINSTALLDIR15=<%TEMP%\vsinstalldir.txt - -call "%_VSINSTALLDIR15%\Common7\Tools\VsDevCmd.bat" - -pushd %~dp0 - -if '%1%' neq '/PreserveContext' ( - cmd /k -) \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props deleted file mode 100644 index de7776a8cd..0000000000 --- a/Directory.Build.props +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - false - true - Debug - - $(MSBuildThisFileDirectory)BuildOutput\$(Configuration)\ - $(MSBuildThisFileDirectory)BuildOutput\Debug\ - $(BaseOutputPath)\$(Platform)\ - - - $(BaseOutputPath)\x86\ - - $(OutDir)\$(MSBuildProjectName)\ - - $(MSBuildThisFileDirectory)BuildOutput\Intermediates\$(Platform)\$(MSBuildProjectName)\obj\ - $(MSBuildThisFileDirectory)BuildOutput\Intermediates\$(MSBuildProjectName)\obj\ - $(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath) - $(BaseIntermediateOutputPath)Generated Files\ - True - - 16.7.1 - - diff --git a/FeatureAreas.props b/FeatureAreas.props deleted file mode 100755 index ce84234e67..0000000000 --- a/FeatureAreas.props +++ /dev/null @@ -1,266 +0,0 @@ - - - - - - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - - - - - - - - true - - - - - - - - - - productOnly - - - - - - - - - - - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - productOnly - - - - - true - - - - - - - productOnly - - - - productOnly - - - - - - - productOnly - - - - - - - productOnly - - - - - - - productOnly - - productOnly - - - - productOnly - productOnly - productOnly - - - - productOnly - productOnly - - - - - - - productOnly - - - - productOnly - - - - - - - - - - true - productOnly - productOnly - productOnly - - - - productOnly - - - - productOnly - productOnly - true - true - - - - - - - - - - - - - productOnly - - - - - - - - - - productOnly - - - - - - - - - - true - productOnly - - - - - - - productOnly - - - - - - - - - - productOnly - - - - - - - - - - - - - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - true - - - $(DefineConstants);FEATURE_SCROLLPRESENTER_ENABLED - $(DefineConstants);FEATURE_NAVIGATIONVIEW_ENABLED - $(DefineConstants);INNERLOOP_BUILD - - \ No newline at end of file diff --git a/GenerateTestPfx.ps1 b/GenerateTestPfx.ps1 deleted file mode 100644 index 702f66cf77..0000000000 --- a/GenerateTestPfx.ps1 +++ /dev/null @@ -1,12 +0,0 @@ -$CertificateFriendlyName = "WinUITest" -$Publisher = "CN=WinUITest" - -$cert = New-SelfSignedCertificate -Type Custom ` - -Subject $Publisher ` - -KeyUsage DigitalSignature ` - -FriendlyName $CertificateFriendlyName ` - -CertStoreLocation "Cert:\CurrentUser\My" ` - -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}") - -$certificateBytes = $cert.Export([System.Security.Cryptography.X509Certificates.X509ContentType]::Pkcs12) -[System.IO.File]::WriteAllBytes("$PSScriptRoot\build\WinUITest.pfx", $certificateBytes) \ No newline at end of file diff --git a/HybridCRT.props b/HybridCRT.props deleted file mode 100644 index f2d81da329..0000000000 --- a/HybridCRT.props +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - false - - - - - - MultiThreadedDebug - - - - %(IgnoreSpecificDefaultLibraries);libucrtd.lib - %(AdditionalOptions) /defaultlib:ucrtd.lib - - - - - - MultiThreaded - - - - %(IgnoreSpecificDefaultLibraries);libucrt.lib - %(AdditionalOptions) /defaultlib:ucrt.lib - - - - diff --git a/InnerLoopAreas.props b/InnerLoopAreas.props deleted file mode 100644 index 0b44313817..0000000000 --- a/InnerLoopAreas.props +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/MUXControls.sln b/MUXControls.sln deleted file mode 100644 index cfbfa99a54..0000000000 --- a/MUXControls.sln +++ /dev/null @@ -1,1626 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29209.152 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dev", "dev", "{67599AD5-51EC-44CB-85CE-B60CD8CBA270}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "dev\Common\Common.vcxitems", "{80AD7F51-8997-47B9-BB41-078B81CFF9B0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RatingControl", "dev\RatingControl\RatingControl.vcxitems", "{655F5DA8-F87B-45AF-88D1-A884881C3EDF}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScrollView", "dev\ScrollView\ScrollView.vcxitems", "{755F5DA9-087C-55A0-98D2-B884881C3ED0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ColorPicker", "dev\ColorPicker\ColorPicker.vcxitems", "{248CC96D-67A2-4359-A4E3-AB0DAD110A1E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ColorPicker", "ColorPicker", "{1F86207F-AF12-4C39-8ACD-AE751D312673}" - ProjectSection(SolutionItems) = preProject - dev\ColorPicker\improvements.md = dev\ColorPicker\improvements.md - dev\ColorPicker\readme.md = dev\ColorPicker\readme.md - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RatingControl", "RatingControl", "{3B0C114B-AC74-4BB1-975D-26FE5D505BD1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScrollView", "ScrollView", "{4B0C114C-BC75-5BB2-A75E-36FE5D505BD2}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ColorPicker_TestUI", "dev\ColorPicker\TestUI\ColorPicker_TestUI.shproj", "{4A87B4F1-4B6F-435A-950E-B2BB32A16001}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RatingControl_TestUI", "dev\RatingControl\TestUI\RatingControl_TestUI.shproj", "{10C52FD4-52FC-43B3-94AF-895C9B5A014C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollView_TestUI", "dev\ScrollView\TestUI\ScrollView_TestUI.shproj", "{20C52FD5-62FD-53B4-A4A0-995C9B5A014D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{5EF3865D-EFAC-4676-B1E6-FB09DD7C67FD}" - ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig - .gitattributes = .gitattributes - .gitignore = .gitignore - tools\addaliases.cmd = tools\addaliases.cmd - Build.cmd = Build.cmd - tools\CheckCompatibility.cmd = tools\CheckCompatibility.cmd - tools\CheckCompatibility.ps1 = tools\CheckCompatibility.ps1 - DevCmd.cmd = DevCmd.cmd - tools\ExtractPackageDependencies.cmd = tools\ExtractPackageDependencies.cmd - tools\ExtractPackageDependencies.ps1 = tools\ExtractPackageDependencies.ps1 - tools\GenerateNewProperty.ps1 = tools\GenerateNewProperty.ps1 - tools\GenerateVisualVerificationUpdates.ps1 = tools\GenerateVisualVerificationUpdates.ps1 - tools\MakeAppxHelper.cmd = tools\MakeAppxHelper.cmd - nuget.config = nuget.config - tools\NugetWrapper.cmd = tools\NugetWrapper.cmd - tools\PowershellWrapper.cmd = tools\PowershellWrapper.cmd - tools\ps.bat = tools\ps.bat - tools\PSProfile.ps1 = tools\PSProfile.ps1 - tools\PublishNupkg.cmd = tools\PublishNupkg.cmd - tools\Utils.psm1 = tools\Utils.psm1 - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.UI.Xaml", "dev\dll\Microsoft.UI.Xaml.vcxproj", "{AD0C90B0-4845-4D4B-88F1-86F653F8171B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{D3327F36-E161-4FED-A0F4-56F2B735827E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NavigationView", "NavigationView", "{05CB5DBD-A481-4DFF-B1A3-642F049D165C}" - ProjectSection(SolutionItems) = preProject - dev\NavigationView\readme.md = dev\NavigationView\readme.md - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NavigationView", "dev\NavigationView\NavigationView.vcxitems", "{1B8EF049-A38E-43E4-B88E-F1EBFCEF07D2}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Collections", "dev\Collections\Collections.vcxitems", "{395A71A1-4327-477B-85D4-AF0851732CCB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ColorPicker_APITests", "dev\ColorPicker\APITests\ColorPicker_APITests.shproj", "{E9AC4938-EC2A-46D3-85BF-27316DB8CC4D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ColorPicker_InteractionTests", "dev\ColorPicker\InteractionTests\ColorPicker_InteractionTests.shproj", "{A4D2FAE8-E7FC-4100-91FF-2202FAC91C70}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RatingControl_APITests", "dev\RatingControl\APITests\RatingControl_APITests.shproj", "{274B93F7-CD18-4ED9-B569-0640529D187B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollView_APITests", "dev\ScrollView\APITests\ScrollView_APITests.shproj", "{374B93F8-DD19-5EDA-C56A-1640529D187C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ParallaxView_APITests", "dev\ParallaxView\APITests\ParallaxView_APITests.shproj", "{374B93F7-CD18-4ED9-B569-0640529D187C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollPresenter_APITests", "dev\ScrollPresenter\APITests\ScrollPresenter_APITests.shproj", "{474B92F7-CD58-FED9-8569-9640529D1871}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{CDC531B5-F8D8-4A8D-8653-0470B07B2404}" - ProjectSection(SolutionItems) = preProject - mux.controls.props = mux.controls.props - build\SignConfig.xml = build\SignConfig.xml - version.props = version.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{5654F115-F01A-495B-91C7-09408ABF14F0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NuSpecs", "NuSpecs", "{F11EB84D-8AED-4C99-B130-8BFD4E8D03EB}" - ProjectSection(SolutionItems) = preProject - build\NuSpecs\build-nupkg.cmd = build\NuSpecs\build-nupkg.cmd - build\NuSpecs\build-nupkg.ps1 = build\NuSpecs\build-nupkg.ps1 - build\NuSpecs\MUXControls-Nuget-Common.targets = build\NuSpecs\MUXControls-Nuget-Common.targets - build\NuSpecs\MUXControls-Nuget-FrameworkPackage.props = build\NuSpecs\MUXControls-Nuget-FrameworkPackage.props - build\NuSpecs\MUXControls-Nuget-FrameworkPackage.targets = build\NuSpecs\MUXControls-Nuget-FrameworkPackage.targets - build\NuSpecs\MUXControls-Nuget-Native.targets = build\NuSpecs\MUXControls-Nuget-Native.targets - build\NuSpecs\MUXControls.nuspec = build\NuSpecs\MUXControls.nuspec - build\NuSpecs\MUXControlsFrameworkPackage.nuspec = build\NuSpecs\MUXControlsFrameworkPackage.nuspec - build\NuSpecs\VisualStudioToolsManifest.xml = build\NuSpecs\VisualStudioToolsManifest.xml - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FrameworkPackage", "FrameworkPackage", "{447F5D0D-9189-4B8A-BCDC-0FE67646DE97}" - ProjectSection(SolutionItems) = preProject - build\FrameworkPackage\MakeFrameworkPackage.cmd = build\FrameworkPackage\MakeFrameworkPackage.cmd - build\FrameworkPackage\MakeFrameworkPackage.ps1 = build\FrameworkPackage\MakeFrameworkPackage.ps1 - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PersonPicture", "PersonPicture", "{813C1EA5-ADC1-4C14-B3DC-B873098D7AAA}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PersonPicture", "dev\PersonPicture\PersonPicture.vcxitems", "{5FDF2501-AA3D-4082-AD45-D1F2A94C1213}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RatingControl_InteractionTests", "dev\RatingControl\InteractionTests\RatingControl_InteractionTests.shproj", "{AFAAD014-132C-4D2A-A28E-4EF717D3E647}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollView_InteractionTests", "dev\ScrollView\InteractionTests\ScrollView_InteractionTests.shproj", "{BFAAD015-232D-5D2B-B28F-5EF717D3E648}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ParallaxView_InteractionTests", "dev\ParallaxView\InteractionTests\ParallaxView_InteractionTests.shproj", "{BFAAD014-132C-4D2A-A28E-4EF717D3E648}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollPresenter_InteractionTests", "dev\ScrollPresenter\InteractionTests\ScrollPresenter_InteractionTests.shproj", "{8FAAD013-139C-8D2A-2285-45F717D9E64A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResourceHelper", "dev\ResourceHelper\ResourceHelper.vcxitems", "{45D41ACC-2C3C-43D2-BC10-02AA73FFC7C7}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Telemetry", "dev\Telemetry\Telemetry.vcxitems", "{0DB22BA9-6053-459B-BAF5-E82EA1C78AB3}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PullToRefresh", "PullToRefresh", "{B1242C40-BBB3-4490-A936-5C71A3BE8336}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RefreshVisualizer", "RefreshVisualizer", "{E965AF28-0E13-4552-84B7-0C4215E76FD3}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RefreshContainer", "RefreshContainer", "{337D78D3-9499-4B35-BB9F-52F37BB33D9A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshVisualizer_TestUI", "dev\PullToRefresh\RefreshVisualizer\TestUI\RefreshVisualizer_TestUI.shproj", "{BF236EE7-B31D-4150-A777-2B91492A84E2}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshVisualizer_APITests", "dev\PullToRefresh\RefreshVisualizer\APITests\RefreshVisualizer_APITests.shproj", "{C0D77E37-D2D0-4E37-B6A1-8E6EAE28945D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshContainer_TestUI", "dev\PullToRefresh\RefreshContainer\TestUI\RefreshContainer_TestUI.shproj", "{DDB468E4-7B64-4301-8FCB-1BEBBB1E689F}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RefreshVisualizer", "dev\PullToRefresh\RefreshVisualizer\RefreshVisualizer.vcxitems", "{ED7DBA65-8F09-44F3-8D25-7BB5A7A89609}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RefreshContainer", "dev\PullToRefresh\RefreshContainer\RefreshContainer.vcxitems", "{94AAADF1-80CA-45A7-9BD8-C6D00D58334D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ParallaxView", "ParallaxView", "{438CED23-DAB1-495E-9A72-0FF38E01EB80}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ParallaxView", "dev\ParallaxView\ParallaxView.vcxitems", "{3095445A-AFCD-5154-AC36-9770E6EC1AA5}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ParallaxView_TestUI", "dev\ParallaxView\TestUI\ParallaxView_TestUI.shproj", "{00C52FD5-42FD-33B4-84A0-795C9B5A014D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScrollPresenter", "ScrollPresenter", "{437CED93-D8B1-995E-0A72-0AF38E01EB70}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScrollPresenter", "dev\ScrollPresenter\ScrollPresenter.vcxitems", "{359544AA-A8CD-715C-CC36-F770E6E81AA0}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollPresenter_TestUI", "dev\ScrollPresenter\TestUI\ScrollPresenter_TestUI.shproj", "{0EC52FD5-42FE-3EB4-84E0-79EC9B5A014E}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PersonPicture_APITests", "dev\PersonPicture\APITests\PersonPicture_APITests.shproj", "{5243EF2C-F250-48BD-B633-39CC2A0A38AA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PersonPicture_TestUI", "dev\PersonPicture\TestUI\PersonPicture_TestUI.shproj", "{8A1690FB-AA8C-461A-840C-89CDBB44BDBA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PersonPicture_InteractionTests", "dev\PersonPicture\InteractionTests\PersonPicture_InteractionTests.shproj", "{B0C15318-1F57-4914-B860-EBF248841511}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Materials", "Materials", "{414D2AE4-5B65-43E1-9C11-D94817835B3D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Acrylic", "Acrylic", "{96707BBD-8D2A-4715-8DDA-3A60E4AF9914}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AcrylicBrush", "dev\Materials\Acrylic\AcrylicBrush.vcxitems", "{3AFFD0CE-C682-4E59-A9D4-BE8EC3F485DA}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Reveal", "Reveal", "{CE762527-4CC8-4604-A0DD-9EA4CB29C4A9}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RevealBrush", "dev\Materials\Reveal\RevealBrush.vcxitems", "{4993A99D-57AE-4EE7-A3C1-0840ED127608}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Effects", "Effects", "{73E823BC-5485-4F26-9B09-8B83C133EE6B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.UI.Private.Composition.Effects", "dev\Effects\Microsoft.UI.Private.Composition.Effects.vcxitems", "{1522A856-17CE-4178-A6B3-0692F90D7C55}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TreeView", "TreeView", "{0A38E3C5-3CFA-42EB-860C-395A861B6791}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TreeView", "dev\TreeView\TreeView.vcxitems", "{EEB38379-3A5C-439F-BB5E-535D75F2B6C1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Localization", "Localization", "{5FC770CF-73C1-407A-A195-FDFCEDB2930B}" - ProjectSection(SolutionItems) = preProject - build\Localization\LocalizationAutomation.proj = build\Localization\LocalizationAutomation.proj - build\Localization\NuGet.Config = build\Localization\NuGet.Config - build\Localization\readme.md = build\Localization\readme.md - build\Localization\RunLocWorkflow.cmd = build\Localization\RunLocWorkflow.cmd - build\Localization\RunLocWorkflow.ps1 = build\Localization\RunLocWorkflow.ps1 - EndProjectSection -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TreeView_APITests", "dev\TreeView\APITests\TreeView_APITests.shproj", "{DE885C66-929C-464E-BAC4-3E076EC46483}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TreeView_InteractionTests", "dev\TreeView\InteractionTests\TreeView_InteractionTests.shproj", "{AE638A24-2BC6-4D4F-A51E-715D198F01FD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TreeView_TestUI", "dev\TreeView\TestUI\TreeView_TestUI.shproj", "{B2C714DD-9C6B-400C-9CEF-13A2D48378BD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NavigationView_TestUI", "dev\NavigationView\TestUI\NavigationView_TestUI.shproj", "{7EE5E585-090A-44BF-A950-80636E242327}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NavigationView_ApiTests", "dev\NavigationView\NavigationView_ApiTests\NavigationView_ApiTests.shproj", "{E98F3DA3-3C00-4F2E-BF3B-2D2AD9D176BC}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NavigationView_InteractionTests", "dev\NavigationView\NavigationView_InteractionTests\NavigationView_InteractionTests.shproj", "{475C3A33-637A-44DC-B789-6C2D78A75283}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Lights", "Lights", "{F131939C-ECA6-4B18-A798-72229871B403}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lights", "dev\Lights\Lights.vcxitems", "{3479A3AE-2854-4BEC-80AB-EAB0772CB90A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PriConfig", "PriConfig", "{7B4DCB6D-069F-437C-BD82-E2690F4F23E5}" - ProjectSection(SolutionItems) = preProject - build\FrameworkPackage\PriConfig\embed.resfiles = build\FrameworkPackage\PriConfig\embed.resfiles - build\FrameworkPackage\PriConfig\priconfig.xml = build\FrameworkPackage\PriConfig\priconfig.xml - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FrameworkPackageContents", "FrameworkPackageContents", "{67D2AC53-8CC0-409F-AD3C-2FCDB0CFBBB4}" - ProjectSection(SolutionItems) = preProject - build\FrameworkPackage\FrameworkPackageContents\AppxManifest.xml = build\FrameworkPackage\FrameworkPackageContents\AppxManifest.xml - build\FrameworkPackage\FrameworkPackageContents\FrameworkPackageFiles.txt = build\FrameworkPackage\FrameworkPackageContents\FrameworkPackageFiles.txt - build\FrameworkPackage\FrameworkPackageContents\logo.png = build\FrameworkPackage\FrameworkPackageContents\logo.png - EndProjectSection -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Reveal_TestUI", "dev\Materials\Reveal\TestUI\Reveal_TestUI.shproj", "{5BF80AE9-29DF-4BE9-858A-F095C8073473}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RefreshInfoProviderAdapters", "RefreshInfoProviderAdapters", "{CD99B535-DFD9-4A17-A2BC-113E93DDE42A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScrollViewerIRefreshInfoProviderAdapter", "dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\ScrollViewerIRefreshInfoProviderAdapter.vcxitems", "{22A3D1C4-4D1C-4B04-B695-8FEC39BFED86}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollViewerAdapter_APITests", "dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\APITests\ScrollViewerAdapter_APITests.shproj", "{999C289E-5AD6-4700-A44E-E85B696E508A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshContainer_InteractionTests", "dev\PullToRefresh\RefreshContainer\InteractionTests\RefreshContainer_InteractionTests.shproj", "{F30FE0D3-2E44-405E-8519-EC3AB098C41F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SwipeControl", "SwipeControl", "{0A89913A-4FA4-4E77-92C1-049D850D4761}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SwipeControl", "dev\SwipeControl\SwipeControl.vcxitems", "{FD63F767-BD98-45D9-8A63-3CD4A148D527}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SwipeControl_APITests", "dev\SwipeControl\SwipeControl_APITests\SwipeControl_APITests.shproj", "{B75D5D7E-6986-4500-972E-2C10A9B7CC10}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SwipeControl_InteractionTests", "dev\SwipeControl\SwipeControl_InteractionTests\SwipeControl_InteractionTests.shproj", "{9A8DA438-193C-4950-A046-2952DE2D3B0B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SwipeControl_TestUI", "dev\SwipeControl\SwipeControl_TestUI\SwipeControl_TestUI.shproj", "{BC75C32B-F63A-4F2D-902C-8142DB31A2E7}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestAppCX", "test\TestAppCX\TestAppCX.vcxproj", "{92081F61-98BB-4105-A90F-B6D524B4F5C9}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Lights_ApiTests", "dev\lights\ApiTests\Lights_ApiTests\Lights_ApiTests.shproj", "{02ED27BE-97E4-4327-BB96-8B3FA6869C48}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonManaged", "dev\CommonManaged\CommonManaged.shproj", "{85A134E5-C83F-44A4-80DF-59F6EBF6C60D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AcrylicBrush_TestUI", "dev\Materials\Acrylic\TestUI\AcrylicBrush_TestUI.shproj", "{A800E818-7212-4FD7-AE3A-1DCAB539DB87}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AcrylicBrush_ApiTests", "dev\Materials\Acrylic\APITests\AcrylicBrush_ApiTests.shproj", "{593E15D8-F6F9-4ABA-BA65-C6927C178DBD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AcrylicBrush_InteractionTests", "dev\Materials\Acrylic\InteractionTests\AcrylicBrush_InteractionTests.shproj", "{F601284A-00C1-49F9-99B3-70D45585F784}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Reveal_InteractionTests", "dev\Materials\Reveal\InteractionTests\Reveal_InteractionTests\Reveal_InteractionTests.shproj", "{1F2872E7-28C9-4C01-88ED-73C43EE1C9A4}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Repeater", "Repeater", "{440DB3C5-0EFF-4F78-AD39-0C147230ABD3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Repeater", "dev\Repeater\Repeater.vcxitems", "{A0AA8919-2140-42DB-BEB1-B2C3ACE594F4}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Repeater_TestUI", "dev\Repeater\TestUI\Repeater_TestUI.shproj", "{2ED883F5-20DB-4445-8C96-517A21E5E657}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Repeater_APITests", "dev\Repeater\APITests\Repeater_APITests.shproj", "{8D2DA979-6313-49E2-8CF3-B568436D2944}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Repeater_InteractionTests", "dev\Repeater\InteractionTests\Repeater_InteractionTests.shproj", "{999E00C9-0E58-402A-8E0E-CBAFB0ADC7E3}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Reveal_APITests", "dev\Materials\Reveal\APITests\Reveal_APITests.shproj", "{5049EA6C-88CE-4ED5-8692-947EEC9E52BC}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollViewerAdapter_InteractionTests", "dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\InteractionTests\ScrollViewerAdapter_InteractionTests.shproj", "{79863454-1DBF-45BB-B3D3-420B8F5E8705}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "IconSource", "IconSource", "{E220EFAB-BA88-458D-A271-279B6630E864}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IconSource", "dev\IconSource\IconSource.vcxitems", "{19FFFF77-4814-4AD6-ACD7-42C6A50AB0D8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "IconSource_APITests", "dev\IconSource\APITests\IconSource_APITests.shproj", "{D73627E9-564C-4A72-A12D-F6C82F17AD0D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TwoPaneView", "TwoPaneView", "{8211954E-FE33-469C-87C7-9C863ACE1759}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TwoPaneView", "dev\TwoPaneView\TwoPaneView.vcxitems", "{8D0E4610-B51D-45C1-8B82-240BD2F73A92}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TwoPaneView_TestUI", "dev\TwoPaneView\TestUI\TwoPaneView_TestUI.shproj", "{9C533EC3-F8FA-4B0E-BA1B-3323932CDFCB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TwoPaneView_APITests", "dev\TwoPaneView\APITests\TwoPaneView_APITests.shproj", "{44DEAFBC-BB7A-4B02-AEAB-29DF2C2F8587}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TwoPaneView_InteractionTests", "dev\TwoPaneView\InteractionTests\TwoPaneView_InteractionTests.shproj", "{1294409D-9BAD-40CC-A74D-9AB29B343071}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestHooks", "dev\TestHooks\TestHooks.vcxitems", "{848448D5-F717-4F88-8F99-311CD60587FA}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PTRTracing", "PTRTracing", "{B4CF2535-396D-40AB-9028-D44233B31AE2}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PTRTracing", "dev\PullToRefresh\PTRTracing\PTRTracing.vcxitems", "{890A5548-0515-4099-B526-0539FE9A0376}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Interactions", "Interactions", "{3393A555-DA02-4310-AC37-129EE88661A0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ButtonInteraction", "ButtonInteraction", "{5D192660-07E0-4176-AE0A-EFEBAFA3C315}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ButtonInteraction_APITests", "dev\Interactions\ButtonInteraction\APITests\ButtonInteraction_APITests.shproj", "{8DC0EA14-D850-4C6E-8918-BEEB89E877BD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ButtonInteraction_InteractionTests", "dev\Interactions\ButtonInteraction\InteractionTests\ButtonInteraction_InteractionTests.shproj", "{C332CEAF-68B6-4980-B6F3-B15E350CDCE0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ButtonInteraction", "dev\Interactions\ButtonInteraction\ButtonInteraction.vcxitems", "{2459BC06-2AE5-4C65-BA73-AB28090B6FAB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ButtonInteraction_TestUI", "dev\Interactions\ButtonInteraction\TestUI\ButtonInteraction_TestUI.shproj", "{11B35F24-72B2-4228-9960-0D1EA283E1AF}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SliderInteraction", "SliderInteraction", "{F518C300-1796-49AB-9A4F-0530BB285245}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SliderInteraction", "dev\Interactions\SliderInteraction\SliderInteraction.vcxitems", "{D097A4D5-6B61-424D-99F0-F335EFF41665}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SliderInteraction_APITests", "dev\Interactions\SliderInteraction\APITests\SliderInteraction_APITests.shproj", "{48F7B68B-8050-4523-8374-963AA3B2834F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SliderInteraction_InteractionTests", "dev\Interactions\SliderInteraction\InteractionTests\SliderInteraction_InteractionTests.shproj", "{BBBB0ADD-4E05-430C-9FFD-08A299FD1B06}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SliderInteraction_TestUI", "dev\Interactions\SliderInteraction\TestUI\SliderInteraction_TestUI.shproj", "{80F1F883-D49B-407D-9E77-C9B0E62B61A9}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PTR_TestUI", "dev\PullToRefresh\TestUI\PTR_TestUI.shproj", "{549C8EB7-E099-4EAB-A1F6-FAA3FA79B9E0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MenuBar", "MenuBar", "{49AE2707-4958-4B14-AC41-11ABD042FEA9}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MenuBar", "dev\MenuBar\MenuBar.vcxitems", "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MenuBar_TestUI", "dev\MenuBar\MenuBar_TestUI\MenuBar_TestUI.shproj", "{55CB08CA-19FE-4DB9-8160-A4EC47984B95}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MenuBar_InteractionTests", "dev\MenuBar\MenuBar_InteractionTests\MenuBar_InteractionTests.shproj", "{1440A7B7-D3CA-4390-8C85-E1E9A7DF8542}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SplitButton", "SplitButton", "{3C198E38-CC18-4965-AD7E-4A28256662A0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SplitButton", "dev\SplitButton\SplitButton.vcxitems", "{FAF114DD-AF1F-4D9F-A511-354C19912AAD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SplitButton_APITests", "dev\SplitButton\APITests\SplitButton_APITests.shproj", "{E687C158-4C66-4AC5-8A1B-D095A82F1549}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SplitButton_InteractionTests", "dev\SplitButton\InteractionTests\SplitButton_InteractionTests.shproj", "{E1C861E2-C4D9-41E1-AED7-5E203451BD4D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SplitButton_TestUI", "dev\SplitButton\TestUI\SplitButton_TestUI.shproj", "{280C91F4-96B5-4BDE-9E02-E573E1DEF583}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LayoutPanel", "LayoutPanel", "{98A3D371-FA9F-4227-A991-7D2B3495E659}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LayoutPanel", "dev\LayoutPanel\LayoutPanel.vcxitems", "{FD3C1A00-0D07-4849-A3B9-646F0FF21D7B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DropDownButton", "DropDownButton", "{784CE86A-DF28-46A5-8D4F-FBBFC363FE8F}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DropDownButton", "dev\DropDownButton\DropDownButton.vcxitems", "{8613ED91-ADE3-4C5C-A09A-041187841EB3}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "DropDownButton_InteractionTests", "dev\DropDownButton\InteractionTests\DropDownButton_InteractionTests.shproj", "{D9AC3716-5608-40D0-999F-26F4B544BE33}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "DropDownButton_TestUI", "dev\DropDownButton\TestUI\DropDownButton_TestUI.shproj", "{954D7000-C06F-49EB-A7D2-0DF83DE6CA35}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "LayoutPanel_APITests", "dev\LayoutPanel\APITests\LayoutPanel_APITests.shproj", "{CDDF46EF-AA2D-4BB3-B33E-98B3DBB3C41B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CommandBarFlyout", "CommandBarFlyout", "{C112A71E-D9C2-4085-851A-A7BB2910595D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommandBarFlyout", "dev\CommandBarFlyout\CommandBarFlyout.vcxitems", "{11C085FF-8F68-48EE-9949-6EECBD0CBE6C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommandBarFlyout_APITests", "dev\CommandBarFlyout\APITests\CommandBarFlyout_APITests.shproj", "{8F6F9336-C45C-40C1-ABDA-3679A20434B1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommandBarFlyout_InteractionTests", "dev\CommandBarFlyout\InteractionTests\CommandBarFlyout_InteractionTests.shproj", "{16F32F80-A8B6-44E0-9D99-0E1C2C8E0579}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommandBarFlyout_TestUI", "dev\CommandBarFlyout\TestUI\CommandBarFlyout_TestUI.shproj", "{E63F1C1D-F06D-46A0-B5C2-184184E44F29}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TestAppUtils", "test\TestAppUtils\TestAppUtils.shproj", "{FB0D3053-3135-403F-B542-977F3B781673}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonStyles_TestUI", "dev\CommonStyles\TestUI\CommonStyles_TestUI.shproj", "{A7F6D6C4-A5A9-43EB-930C-B766417A5E5C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonStyles_InteractionTests", "dev\CommonStyles\InteractionTests\CommonStyles_InteractionTests.shproj", "{A25AE312-7C11-4E30-AE35-2E31C744A250}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RadioButtons", "RadioButtons", "{D232C226-CD18-4509-B848-80083AA9892B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RadioButtons", "dev\RadioButtons\RadioButtons.vcxitems", "{E770A6D3-7252-4E8A-BD10-FA8524DF8C83}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioButtons_TestUI", "dev\RadioButtons\TestUI\RadioButtons_TestUI.shproj", "{833A6892-A079-469A-81C7-54D4CD88029B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioButtons_APITests", "dev\RadioButtons\APITests\RadioButtons_APITests.shproj", "{0352711A-D79A-4D82-8255-916D29522AE0}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioButtons_InteractionTests", "dev\RadioButtons\InteractionTests\RadioButtons_InteractionTests.shproj", "{42D6E8F9-59FE-4CA5-83EB-69A7622F5742}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CommonStyles", "CommonStyles", "{807E57C8-F3E8-4049-AB88-BE3D3285B441}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonStyles", "dev\CommonStyles\CommonStyles.vcxitems", "{3A07FA59-C5C1-4B46-8B31-043F9CA91226}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUXControlsTestApp", "test\MUXControlsTestApp\MSTest\MUXControlsTestApp.csproj", "{FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUXControlsTestApp.TAEF", "test\MUXControlsTestApp\TAEF\MUXControlsTestApp.TAEF.csproj", "{DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MUXControls.Test.Shared", "test\MUXControls.Test\MUXControls.Test.Shared.shproj", "{E9FC52CD-519A-41BB-8092-523FFA9D5617}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "IXMPTestApp.Shared", "test\IXMPTestApp\IXMPTestApp.Shared.shproj", "{DE061ED1-947E-487C-81B8-32E92E85B95F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "IXMPTestApp", "IXMPTestApp", "{C9B1268D-8639-424F-8AEC-EF4EC5459184}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MUXControls.Test", "MUXControls.Test", "{85F9040A-109D-42FF-9BE3-4CF4181DDEF1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MUXControlsTestApp", "MUXControlsTestApp", "{666B53C4-A747-4538-AA51-8FF9DEE1BF60}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.UI.Xaml.Design", "dev\Microsoft.UI.Xaml.Design\Microsoft.UI.Xaml.Design.csproj", "{1CEEC8E3-419A-4304-841C-08A334B9E4FF}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RadioMenuFlyoutItem", "RadioMenuFlyoutItem", "{00832735-360B-46BB-9BFA-B8C281951D55}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RadioMenuFlyoutItem", "dev\RadioMenuFlyoutItem\RadioMenuFlyoutItem.vcxitems", "{3353A4A7-87B3-4E43-8F8D-43C7380D1D56}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioMenuFlyoutItem_InteractionTests", "dev\RadioMenuFlyoutItem\InteractionTests\RadioMenuFlyoutItem_InteractionTests.shproj", "{89EC8D06-CA59-49A9-AEFE-32DCC9DD8020}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioMenuFlyoutItem_TestUI", "dev\RadioMenuFlyoutItem\TestUI\RadioMenuFlyoutItem_TestUI.shproj", "{50E838A2-A886-46C9-AB0B-A57F510CE643}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MUXControlsTestApp.Shared", "test\MUXControlsTestApp\MUXControlsTestApp.Shared.shproj", "{6AA772A6-CBF7-4FF3-8864-BC9366015DC2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXControls.Test", "test\MUXControls.Test\MSTest\MUXControls.Test.csproj", "{D59C7B8E-5C09-4856-8AF3-25585A888707}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXControls.Test.TAEF", "test\MUXControls.Test\TAEF\MUXControls.Test.TAEF.csproj", "{4D8C5D1B-F982-44A1-B744-DD0E51651BF2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IXMPTestApp", "test\IXMPTestApp\MSTest\IXMPTestApp.csproj", "{FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IXMPTestApp.TAEF", "test\IXMPTestApp\TAEF\IXMPTestApp.TAEF.csproj", "{74F24BC4-794D-4CB2-8420-80FF7FDACFE9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TeachingTip", "TeachingTip", "{4873DE1A-27B5-47ED-9EDC-69727FD2095C}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TeachingTip", "dev\TeachingTip\TeachingTip.vcxitems", "{499B8BF7-BCA1-4C23-BAA7-59E2C551BE4B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TeachingTip_APITests", "dev\TeachingTip\APITests\TeachingTip_APITests.shproj", "{18F1DB69-7457-461C-9D19-7F42BFFC0803}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TeachingTip_InteractionTests", "dev\TeachingTip\InteractionTests\TeachingTip_InteractionTests.shproj", "{C4421632-51BC-469D-BC49-F1CBD9269D49}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TeachingTip_TestUI", "dev\TeachingTip\TestUI\TeachingTip_TestUI.shproj", "{42A51D3E-F06A-41A0-BE4C-F94CDDB80678}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AnimatedVisualPlayer", "AnimatedVisualPlayer", "{80CCA53D-4A82-4F9F-A825-4FA3718C2AE0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AnimatedVisualPlayer", "dev\AnimatedVisualPlayer\AnimatedVisualPlayer.vcxitems", "{B39300D2-4510-44EA-AA7B-EDA9118F830E}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AnimatedVisualPlayer_InteractionTests", "dev\AnimatedVisualPlayer\InteractionTests\AnimatedVisualPlayer_InteractionTests.shproj", "{CBAACCF6-A27D-40B3-980B-ADF51A2EBB89}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AnimatedVisualPlayer_TestUI", "dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.shproj", "{DBEC0BE4-BA3F-41C9-A303-AF98201BE6DC}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonStyles_APITests", "dev\CommonStyles\APITests\CommonStyles_APITests.shproj", "{BA914F48-E924-4FD2-AEE1-264F67DB6C9F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TabView", "TabView", "{B3E64837-A5E4-49CB-97FF-A365307B9191}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabView", "dev\TabView\TabView.vcxitems", "{B9F81FEF-1E8D-4FE1-A46B-7002D4C109D2}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TabView_InteractionTests", "dev\TabView\InteractionTests\TabView_InteractionTests.shproj", "{D1E297B4-5E5B-4807-8624-4141C817A98A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TabView_TestUI", "dev\TabView\TestUI\TabView_TestUI.shproj", "{1D87AAC7-1E11-40FC-90A7-B6CE1C4567AE}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AutoSuggestBox", "AutoSuggestBox", "{CFAFD6A7-FC7B-4C96-B292-A440C7C65D89}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AutoSuggestBox", "dev\AutoSuggestBox\AutoSuggestBox.vcxitems", "{417000D9-2641-4629-99F2-8F6033A6AC52}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AutoSuggestBox_TestUI", "dev\AutoSuggestBox\TestUI\AutoSuggestBox_TestUI.shproj", "{48BF2DAB-82B5-4705-A880-F5310FB697F9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ComboBox", "ComboBox", "{4C9CEC92-77C8-4B7B-8595-6C736A660F93}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ComboBox", "dev\ComboBox\ComboBox.vcxitems", "{00523CAF-422A-4185-9392-D374B72A019A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComboBox_TestUI", "dev\ComboBox\TestUI\ComboBox_TestUI.shproj", "{BCDF880A-41EB-4943-AAE2-54A1A1159600}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NumberBox", "NumberBox", "{B45B3F3E-6761-4CFC-9A8F-90F232DD28F2}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NumberBox", "dev\NumberBox\NumberBox.vcxitems", "{9D23C997-1F46-444A-8C07-4A4BFF7E4E63}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NumberBox_InteractionTests", "dev\NumberBox\InteractionTests\NumberBox_InteractionTests.shproj", "{773F7592-E7B3-42FC-A14A-E815AFD6A0CB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NumberBox_TestUI", "dev\NumberBox\TestUI\NumberBox_TestUI.shproj", "{13DA8235-D04F-46D4-B5B4-F5AE774EEEDE}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SplitView", "SplitView", "{7DAE09F6-69EB-4FB3-9F52-AF746CA84DC9}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SplitView", "dev\SplitView\SplitView.vcxitems", "{F567D0A2-9C61-4793-AE79-12DA915AC11F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SplitView_TestUI", "dev\SplitView\TestUI\SplitView_TestUI.shproj", "{D8CEA3B7-0012-4F74-B50F-B46E9A93C979}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComboBox_APITests", "dev\ComboBox\APITests\ComboBox_APITests.shproj", "{CA704A8C-2624-4630-89A0-D86CB1EE409A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AutoSuggestBox_APITests", "dev\AutoSuggestBox\APITests\AutoSuggestBox_APITests.shproj", "{84673739-208C-427E-A19E-E090EC3733CE}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AutoSuggestBox_InteractionTests", "dev\AutoSuggestBox\InteractionTests\AutoSuggestBox_InteractionTests.shproj", "{ED3E2182-D259-4DC0-B7BB-9B4219762F4C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProgressBar", "ProgressBar", "{19693508-50A7-4C98-BCCB-327ED07C0F4F}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProgressBar", "dev\ProgressBar\ProgressBar.vcxitems", "{0F61C8BD-D066-4812-A02B-E95CE18A985D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressBar_InteractionTests", "dev\ProgressBar\InteractionTests\ProgressBar_InteractionTests.shproj", "{3D044EC1-C9D3-4745-B79E-E7BED66E93F8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressBar_TestUI", "dev\ProgressBar\TestUI\ProgressBar_TestUI.shproj", "{1A5321F3-B837-4EB6-9547-37CC70088EA9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProgressRing", "ProgressRing", "{4194505E-4848-4FC4-97D1-0BABF32A11C4}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProgressRing", "dev\ProgressRing\ProgressRing.vcxitems", "{64447EFA-19B4-4BF2-9D63-618635C483EC}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressRing_InteractionTests", "dev\ProgressRing\InteractionTests\ProgressRing_InteractionTests.shproj", "{8C2D60AF-44BC-47DA-8E44-D62E639BFC0A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressRing_TestUI", "dev\ProgressRing\TestUI\ProgressRing_TestUI.shproj", "{B58EC806-9951-4E5E-AF29-A700A088770E}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.UI.Xaml.FrameworkPackagePRI", "dev\Microsoft.UI.Xaml.FrameworkPackagePRI\Microsoft.UI.Xaml.FrameworkPackagePRI.csproj", "{9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RadialGradientBrush", "RadialGradientBrush", "{0115F80C-AB97-412D-85D9-33A5188F8907}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RadialGradientBrush", "dev\RadialGradientBrush\RadialGradientBrush.vcxitems", "{8B056B8F-C1AB-4A80-BD17-DEACE9897E6A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadialGradientBrush_TestUI", "dev\RadialGradientBrush\TestUI\RadialGradientBrush_TestUI.shproj", "{AE308818-AF18-48BA-BF33-89779083D297}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadialGradientBrush_InteractionTests", "dev\RadialGradientBrush\InteractionTests\RadialGradientBrush_InteractionTests.shproj", "{74D18B1B-5F6B-4534-945B-131E8E3206FB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TabView_APITests", "dev\TabView\APITests\TabView_APITests.shproj", "{2F4E95E9-F729-481C-B9AA-C9BEC91AE395}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NumberBox_APITests", "dev\NumberBox\APITests\NumberBox_APITests.shproj", "{80AF98CA-BC1D-4011-8460-5671799EC419}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestInfra", "TestInfra", "{C0215617-A17B-45DB-9CDA-C46C0923DA55}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AppTestAutomationHelpers", "test\testinfra\AppTestAutomationHelpers\AppTestAutomationHelpers.vcxproj", "{128E6F7A-578C-48DC-BD3F-750EC662C268}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MUXTestInfra.Shared", "test\testinfra\MUXTestInfra\MUXTestInfra.Shared.shproj", "{107794D7-4BE0-407E-A76C-EFA46D1E9F93}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXTestInfra.TAEF", "test\testinfra\MUXTestInfra\TAEF\MUXTestInfra.TAEF.csproj", "{DB2DBB48-C807-4F7C-943E-385E77DF7BDE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXTestInfra.MSTest", "test\testinfra\MUXTestInfra\MSTest\MUXTestInfra.MSTest.csproj", "{6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{10183D43-1785-443E-AEB7-C426FDF14964}" - ProjectSection(SolutionItems) = preProject - dev\NavigationView\docs\NavigationViewItem.md = dev\NavigationView\docs\NavigationViewItem.md - dev\NavigationView\docs\rendering.md = dev\NavigationView\docs\rendering.md - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PagerControl", "PagerControl", "{11DC7B03-88FB-4985-BF77-2BB3A13C75A8}" - ProjectSection(SolutionItems) = preProject - dev\PagerControl\readme.md = dev\PagerControl\readme.md - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PagerControl", "dev\PagerControl\PagerControl.vcxitems", "{AB3261A7-9A8D-4A27-AEA2-3AAC0419C889}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PagerControl_TestUI", "dev\PagerControl\TestUI\PagerControl_TestUI.shproj", "{225C4174-3141-49B8-ADE2-C7D3408D5103}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PagerControl_InteractionTests", "dev\PagerControl\InteractionTests\PagerControl_InteractionTests.shproj", "{4F64C819-664F-436A-BCDB-8AB3019B9DD5}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PagerControl_APITests", "dev\PagerControl\APITests\PagerControl_APITests.shproj", "{CB2352E2-D633-41A3-8CDC-B28731A4C490}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Expander", "Expander", "{84BB4F12-73FD-4E4A-8724-C2C060DF5E82}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Expander", "dev\Expander\Expander.vcxitems", "{EC3B6F65-32C6-4BC8-8902-EE0B397E2787}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Expander_TestUI", "dev\Expander\TestUI\Expander_TestUI.shproj", "{50C1F1D3-20AA-49A8-9E4C-CF4E5811A1D8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Expander_InteractionTests", "dev\Expander\InteractionTests\Expander_InteractionTests.shproj", "{D6DF4AB9-FACC-4E51-8C57-6B1F96919365}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Expander_APITests", "dev\Expander\APITests\Expander_APITests.shproj", "{0589A608-FB9C-49BF-9EA3-06CA805F3A9D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "InfoBar", "InfoBar", "{CEFD707F-6686-4CF4-8D4C-B5FECD50D739}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InfoBar", "dev\InfoBar\InfoBar.vcxitems", "{CCC102B7-F5EF-479D-94F1-008D189448B1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBar_TestUI", "dev\InfoBar\TestUI\InfoBar_TestUI.shproj", "{32DFAF1E-C2EC-4C52-A4D8-B3A3946242B4}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBar_InteractionTests", "dev\InfoBar\InteractionTests\InfoBar_InteractionTests.shproj", "{F470A64E-780E-45AA-ABB7-73A8734E51D7}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "BreadcrumbBar", "BreadcrumbBar", "{7E2FC35C-7484-4986-B6DA-F77254101A8F}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BreadcrumbBar", "dev\Breadcrumb\Breadcrumb.vcxitems", "{563FE343-C6B0-447B-831A-B0CE3AA7A688}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BreadcrumbBar_APITests", "dev\Breadcrumb\APITests\BreadcrumbBar_APITests.shproj", "{48DF0143-C6A7-4184-BCC4-E59EAC5D49F1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BreadcrumbBar_TestUI", "dev\Breadcrumb\TestUI\BreadcrumbBar_TestUI.shproj", "{657121B7-3E4F-4C76-ABE2-0221A7997929}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BreadcrumbBar_InteractionTests", "dev\Breadcrumb\InteractionTests\BreadcrumbBar_InteractionTests.shproj", "{C1477378-4A7A-43E5-8499-98A23544CC8A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PipsPager", "PipsPager", "{CE0523BB-5799-4BA0-A461-0ABC6E19F969}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PipsPager", "dev\PipsPager\PipsPager.vcxitems", "{D1EB61D8-C689-4AD1-BD61-FDAA50362563}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PipsPager_APITests", "dev\PipsPager\APITests\PipsPager_APITests.shproj", "{9CF0D73A-E435-4C17-A41C-11E9FA3EEA2F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PipsPager_TestUI", "dev\PipsPager\TestUI\PipsPager_TestUI.shproj", "{44F0E6BC-6222-4F16-8050-BB31DD804C4A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PipsPager_InteractionTests", "dev\PipsPager\InteractionTests\PipsPager_InteractionTests.shproj", "{B1D8E6A2-3FE6-4D80-9685-26DF2C9F4331}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ImageIcon", "ImageIcon", "{BB791907-485F-4A16-9612-7FE07FCD1D21}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImageIcon", "dev\ImageIcon\ImageIcon.vcxitems", "{9FB38577-696E-47BA-8AE2-F48A3C84A7CA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ImageIcon_APITests", "dev\ImageIcon\APITests\ImageIcon_APITests.shproj", "{27AAE2E5-9687-4120-822F-CDB68B9A65B7}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ImageIcon_TestUI", "dev\ImageIcon\TestUI\ImageIcon_TestUI.shproj", "{DDE1C022-6F9A-4067-89C2-81F2EEAF249F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ImageIcon_InteractionTests", "dev\ImageIcon\InteractionTests\ImageIcon_InteractionTests.shproj", "{F14FB632-E705-44BC-9415-75B539F483E1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AnimatedIcon", "AnimatedIcon", "{221D9F75-FFF3-49C1-A88B-7F3898A5756E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AnimatedIcon", "dev\AnimatedIcon\AnimatedIcon.vcxitems", "{F1C8A5A1-B1B0-4095-8849-E550FCF2EBF6}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AnimatedIcon_TestUI", "dev\AnimatedIcon\TestUI\AnimatedIcon_TestUI.shproj", "{83FD36C0-189F-4E95-8002-9B73905CA301}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AnimatedIcon_APITests", "dev\AnimatedIcon\APITests\AnimatedIcon_APITests.shproj", "{DB15FF28-AB3A-4FED-A1D5-004A095A3FD5}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MonochromaticOverlayPresenter", "MonochromaticOverlayPresenter", "{7FA40D21-3085-41B3-9C46-6CBC2F56B442}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MonochromaticOverlayPresenter", "dev\MonochromaticOverlayPresenter\MonochromaticOverlayPresenter.vcxitems", "{D03847C1-7EE7-4423-82FD-3CB31DAF98D1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MonochromaticOverlayPresenter_TestUI", "dev\MonochromaticOverlayPresenter\TestUI\MonochromaticOverlayPresenter_TestUI.shproj", "{52AAA6ED-E5A0-41BB-8858-66249333A8D4}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Backdrop", "Backdrop", "{5693A4DE-E468-4EB1-86C2-1C3EEE4C75DC}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SystemBackdropComponent", "dev\Materials\Backdrop\SystemBackdropComponent.vcxitems", "{99AF040E-B77B-487D-9CC8-3334E1F1162A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BackdropMaterial_TestUI", "dev\Materials\Backdrop\TestUI\BackdropMaterial_TestUI.shproj", "{B2DBABB6-2CE4-49A4-84E8-4CBC6F4BA8EF}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "BackdropMaterial_InteractionTests", "dev\Materials\Backdrop\InteractionTests\BackdropMaterial_InteractionTests.shproj", "{E4E384EF-7A6C-4DB4-9E59-2D9B45871544}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "InfoBadge", "InfoBadge", "{C67BD98D-1228-4154-8EDA-2F8255BBA941}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InfoBadge", "dev\InfoBadge\InfoBadge.vcxitems", "{E7DEA84C-CCCE-4458-8499-5182F67BC7BA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBadge_APITests", "dev\InfoBadge\APITests\InfoBadge_APITests.shproj", "{D83F60A3-EB44-46F2-8EE7-B28C90004E5F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBadge_TestUI", "dev\InfoBadge\TestUI\InfoBadge_TestUI.shproj", "{1F30CAC6-7EFB-4CE9-B119-64821C117CB9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WebView2", "WebView2", "{1E54C076-7240-463A-A1B1-404187ABCDEB}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WebView2", "dev\WebView2\WebView2.vcxitems", "{AD144714-93FC-4281-B500-A5C2193DBC60}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "WebView2_TestUI", "dev\WebView2\TestUI\WebView2_TestUI.shproj", "{3E535832-73B4-45B2-B550-34CB14B2C262}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "WebView2_InteractionTests", "dev\WebView2\InteractionTests\WebView2_InteractionTests.shproj", "{2B05A80E-7C01-449C-8345-7D3B3B2143E5}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressRing_APITests", "dev\ProgressRing\APITests\ProgressRing_APITests.shproj", "{222EF6F6-0845-49E7-81F2-9686CEF85C67}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressBar_APITests", "dev\ProgressBar\APITests\ProgressBar_APITests.shproj", "{DD024665-31DA-4290-993E-2E46EB370C77}" -EndProject -Global - GlobalSection(SharedMSBuildProjectFiles) = preSolution - dev\ComboBox\ComboBox.vcxitems*{00523caf-422a-4185-9392-d374b72a019a}*SharedItemsImports = 9 - dev\ParallaxView\TestUI\ParallaxView_TestUI.projitems*{00c52fd5-42fd-33b4-84a0-795c9b5a014d}*SharedItemsImports = 13 - dev\lights\ApiTests\Lights_ApiTests\Lights_ApiTests.projitems*{02ed27be-97e4-4327-bb96-8b3fa6869c48}*SharedItemsImports = 13 - dev\RadioButtons\APITests\RadioButtons_APITests.projitems*{0352711a-d79a-4d82-8255-916d29522ae0}*SharedItemsImports = 13 - dev\Expander\APITests\Expander_APITests.projitems*{0589a608-fb9c-49bf-9ea3-06ca805f3a9d}*SharedItemsImports = 13 - dev\Telemetry\Telemetry.vcxitems*{0db22ba9-6053-459b-baf5-e82ea1c78ab3}*SharedItemsImports = 9 - dev\ScrollPresenter\TestUI\ScrollPresenter_TestUI.projitems*{0ec52fd5-42fe-3eb4-84e0-79ec9b5a014e}*SharedItemsImports = 13 - dev\ProgressBar\ProgressBar.vcxitems*{0f61c8bd-d066-4812-a02b-e95ce18a985d}*SharedItemsImports = 9 - test\testinfra\MUXTestInfra\MUXTestInfra.Shared.projitems*{107794d7-4be0-407e-a76c-efa46d1e9f93}*SharedItemsImports = 13 - dev\RatingControl\TestUI\RatingControl_TestUI.projitems*{10c52fd4-52fc-43b3-94af-895c9b5a014c}*SharedItemsImports = 13 - dev\Interactions\ButtonInteraction\TestUI\ButtonInteraction_TestUI.projitems*{11b35f24-72b2-4228-9960-0d1ea283e1af}*SharedItemsImports = 13 - dev\CommandBarFlyout\CommandBarFlyout.vcxitems*{11c085ff-8f68-48ee-9949-6eecbd0cbe6c}*SharedItemsImports = 9 - dev\TwoPaneView\InteractionTests\TwoPaneView_InteractionTests.projitems*{1294409d-9bad-40cc-a74d-9ab29b343071}*SharedItemsImports = 13 - dev\NumberBox\TestUI\NumberBox_TestUI.projitems*{13da8235-d04f-46d4-b5b4-f5ae774eeede}*SharedItemsImports = 13 - dev\MenuBar\MenuBar_InteractionTests\MenuBar_InteractionTests.projitems*{1440a7b7-d3ca-4390-8c85-e1e9a7df8542}*SharedItemsImports = 13 - dev\Effects\Microsoft.UI.Private.Composition.Effects.vcxitems*{1522a856-17ce-4178-a6b3-0692f90d7c55}*SharedItemsImports = 9 - dev\CommandBarFlyout\InteractionTests\CommandBarFlyout_InteractionTests.projitems*{16f32f80-a8b6-44e0-9d99-0e1c2c8e0579}*SharedItemsImports = 13 - dev\TeachingTip\APITests\TeachingTip_APITests.projitems*{18f1db69-7457-461c-9d19-7f42bffc0803}*SharedItemsImports = 13 - dev\IconSource\IconSource.vcxitems*{19ffff77-4814-4ad6-acd7-42c6a50ab0d8}*SharedItemsImports = 9 - dev\ProgressBar\TestUI\ProgressBar_TestUI.projitems*{1a5321f3-b837-4eb6-9547-37cc70088ea9}*SharedItemsImports = 13 - dev\NavigationView\NavigationView.vcxitems*{1b8ef049-a38e-43e4-b88e-f1ebfcef07d2}*SharedItemsImports = 9 - dev\TabView\TestUI\TabView_TestUI.projitems*{1d87aac7-1e11-40fc-90a7-b6ce1c4567ae}*SharedItemsImports = 13 - dev\Materials\Reveal\InteractionTests\Reveal_InteractionTests\Reveal_InteractionTests.projitems*{1f2872e7-28c9-4c01-88ed-73c43ee1c9a4}*SharedItemsImports = 13 - dev\InfoBadge\TestUI\InfoBadge_TestUI.projitems*{1f30cac6-7efb-4ce9-b119-64821c117cb9}*SharedItemsImports = 13 - dev\ScrollView\TestUI\ScrollView_TestUI.projitems*{20c52fd5-62fd-53b4-a4a0-995c9b5a014d}*SharedItemsImports = 13 - dev\ProgressRing\APITests\ProgressRing_APITests.projitems*{222ef6f6-0845-49e7-81f2-9686cef85c67}*SharedItemsImports = 13 - dev\PagerControl\TestUI\PagerControl_TestUI.projitems*{225c4174-3141-49b8-ade2-c7d3408d5103}*SharedItemsImports = 13 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\ScrollViewerIRefreshInfoProviderAdapter.vcxitems*{22a3d1c4-4d1c-4b04-b695-8fec39bfed86}*SharedItemsImports = 9 - dev\Interactions\ButtonInteraction\ButtonInteraction.vcxitems*{2459bc06-2ae5-4c65-ba73-ab28090b6fab}*SharedItemsImports = 9 - dev\ColorPicker\ColorPicker.vcxitems*{248cc96d-67a2-4359-a4e3-ab0dad110a1e}*SharedItemsImports = 9 - dev\RatingControl\APITests\RatingControl_APITests.projitems*{274b93f7-cd18-4ed9-b569-0640529d187b}*SharedItemsImports = 13 - dev\ImageIcon\APITests\ImageIcon_APITests.projitems*{27aae2e5-9687-4120-822f-cdb68b9a65b7}*SharedItemsImports = 13 - dev\SplitButton\TestUI\SplitButton_TestUI.projitems*{280c91f4-96b5-4bde-9e02-e573e1def583}*SharedItemsImports = 13 - dev\WebView2\InteractionTests\WebView2_InteractionTests.projitems*{2b05a80e-7c01-449c-8345-7d3b3b2143e5}*SharedItemsImports = 13 - dev\Repeater\TestUI\Repeater_TestUI.projitems*{2ed883f5-20db-4445-8c96-517a21e5e657}*SharedItemsImports = 13 - dev\TabView\APITests\TabView_APITests.projitems*{2f4e95e9-f729-481c-b9aa-c9bec91ae395}*SharedItemsImports = 13 - dev\ParallaxView\ParallaxView.vcxitems*{3095445a-afcd-5154-ac36-9770e6ec1aa5}*SharedItemsImports = 9 - dev\InfoBar\TestUI\InfoBar_TestUI.projitems*{32dfaf1e-c2ec-4c52-a4d8-b3a3946242b4}*SharedItemsImports = 13 - dev\RadioMenuFlyoutItem\RadioMenuFlyoutItem.vcxitems*{3353a4a7-87b3-4e43-8f8d-43c7380d1d56}*SharedItemsImports = 9 - dev\Lights\Lights.vcxitems*{3479a3ae-2854-4bec-80ab-eab0772cb90a}*SharedItemsImports = 9 - dev\ScrollPresenter\ScrollPresenter.vcxitems*{359544aa-a8cd-715c-cc36-f770e6e81aa0}*SharedItemsImports = 9 - dev\ParallaxView\APITests\ParallaxView_APITests.projitems*{374b93f7-cd18-4ed9-b569-0640529d187c}*SharedItemsImports = 13 - dev\ScrollView\APITests\ScrollView_APITests.projitems*{374b93f8-dd19-5eda-c56a-1640529d187c}*SharedItemsImports = 13 - dev\Collections\Collections.vcxitems*{395a71a1-4327-477b-85d4-af0851732ccb}*SharedItemsImports = 9 - dev\CommonStyles\CommonStyles.vcxitems*{3a07fa59-c5c1-4b46-8b31-043f9ca91226}*SharedItemsImports = 9 - dev\Materials\Acrylic\AcrylicBrush.vcxitems*{3affd0ce-c682-4e59-a9d4-be8ec3f485da}*SharedItemsImports = 9 - dev\ProgressBar\InteractionTests\ProgressBar_InteractionTests.projitems*{3d044ec1-c9d3-4745-b79e-e7bed66e93f8}*SharedItemsImports = 13 - dev\WebView2\TestUI\WebView2_TestUI.projitems*{3e535832-73b4-45b2-b550-34cb14b2c262}*SharedItemsImports = 13 - dev\AutoSuggestBox\AutoSuggestBox.vcxitems*{417000d9-2641-4629-99f2-8f6033a6ac52}*SharedItemsImports = 9 - dev\TeachingTip\TestUI\TeachingTip_TestUI.projitems*{42a51d3e-f06a-41a0-be4c-f94cddb80678}*SharedItemsImports = 13 - dev\RadioButtons\InteractionTests\RadioButtons_InteractionTests.projitems*{42d6e8f9-59fe-4ca5-83eb-69a7622f5742}*SharedItemsImports = 13 - dev\TwoPaneView\APITests\TwoPaneView_APITests.projitems*{44deafbc-bb7a-4b02-aeab-29df2c2f8587}*SharedItemsImports = 13 - dev\PipsPager\TestUI\PipsPager_TestUI.projitems*{44f0e6bc-6222-4f16-8050-bb31dd804c4a}*SharedItemsImports = 13 - dev\ResourceHelper\ResourceHelper.vcxitems*{45d41acc-2c3c-43d2-bc10-02aa73ffc7c7}*SharedItemsImports = 9 - dev\ScrollPresenter\APITests\ScrollPresenter_APITests.projitems*{474b92f7-cd58-fed9-8569-9640529d1871}*SharedItemsImports = 13 - dev\NavigationView\NavigationView_InteractionTests\NavigationView_InteractionTests.projitems*{475c3a33-637a-44dc-b789-6c2d78a75283}*SharedItemsImports = 13 - dev\AutoSuggestBox\TestUI\AutoSuggestBox_TestUI.projitems*{48bf2dab-82b5-4705-a880-f5310fb697f9}*SharedItemsImports = 13 - dev\Breadcrumb\APITests\Breadcrumb_APITests.projitems*{48df0143-c6a7-4184-bcc4-e59eac5d49f1}*SharedItemsImports = 13 - dev\Interactions\SliderInteraction\APITests\SliderInteraction_APITests.projitems*{48f7b68b-8050-4523-8374-963aa3b2834f}*SharedItemsImports = 13 - dev\Materials\Reveal\RevealBrush.vcxitems*{4993a99d-57ae-4ee7-a3c1-0840ed127608}*SharedItemsImports = 9 - dev\TeachingTip\TeachingTip.vcxitems*{499b8bf7-bca1-4c23-baa7-59e2c551be4b}*SharedItemsImports = 9 - dev\ColorPicker\TestUI\ColorPicker_TestUI.projitems*{4a87b4f1-4b6f-435a-950e-b2bb32a16001}*SharedItemsImports = 13 - dev\PagerControl\InteractionTests\PagerControl_InteractionTests.projitems*{4f64c819-664f-436a-bcdb-8ab3019b9dd5}*SharedItemsImports = 13 - dev\Materials\Reveal\APITests\Reveal_APITests.projitems*{5049ea6c-88ce-4ed5-8692-947eec9e52bc}*SharedItemsImports = 13 - dev\Expander\TestUI\Expander_TestUI.projitems*{50c1f1d3-20aa-49a8-9e4c-cf4e5811a1d8}*SharedItemsImports = 13 - dev\RadioMenuFlyoutItem\TestUI\RadioMenuFlyoutItem_TestUI.projitems*{50e838a2-a886-46c9-ab0b-a57f510ce643}*SharedItemsImports = 13 - dev\PersonPicture\APITests\PersonPicture_APITests.projitems*{5243ef2c-f250-48bd-b633-39cc2a0a38aa}*SharedItemsImports = 13 - dev\MonochromaticOverlayPresenter\TestUI\MonochromaticOverlayPresenter_TestUI.projitems*{52aaa6ed-e5a0-41bb-8858-66249333a8d4}*SharedItemsImports = 13 - dev\PullToRefresh\TestUI\PTR_TestUI.projitems*{549c8eb7-e099-4eab-a1f6-faa3fa79b9e0}*SharedItemsImports = 13 - dev\MenuBar\MenuBar_TestUI\MenuBar_TestUI.projitems*{55cb08ca-19fe-4db9-8160-a4ec47984b95}*SharedItemsImports = 13 - dev\Breadcrumb\Breadcrumb.vcxitems*{563fe343-c6b0-447b-831a-b0ce3aa7a688}*SharedItemsImports = 9 - dev\Materials\Acrylic\APITests\AcrylicBrush_ApiTests.projitems*{593e15d8-f6f9-4aba-ba65-c6927c178dbd}*SharedItemsImports = 13 - dev\Materials\Reveal\TestUI\Reveal_TestUI.projitems*{5bf80ae9-29df-4be9-858a-f095c8073473}*SharedItemsImports = 13 - dev\PersonPicture\PersonPicture.vcxitems*{5fdf2501-aa3d-4082-ad45-d1f2a94c1213}*SharedItemsImports = 9 - dev\ProgressRing\ProgressRing.vcxitems*{64447efa-19b4-4bf2-9d63-618635c483ec}*SharedItemsImports = 9 - dev\RatingControl\RatingControl.vcxitems*{655f5da8-f87b-45af-88d1-a884881c3edf}*SharedItemsImports = 9 - dev\Breadcrumb\TestUI\Breadcrumb_TestUI.projitems*{657121b7-3e4f-4c76-abe2-0221a7997929}*SharedItemsImports = 13 - test\MUXControlsTestApp\MUXControlsTestApp.Shared.projitems*{6aa772a6-cbf7-4ff3-8864-bc9366015dc2}*SharedItemsImports = 13 - dev\RadialGradientBrush\InteractionTests\RadialGradientBrush_InteractionTests.projitems*{74d18b1b-5f6b-4534-945b-131e8e3206fb}*SharedItemsImports = 13 - dev\CommonManaged\CommonManaged.projitems*{74f24bc4-794d-4cb2-8420-80ff7fdacfe9}*SharedItemsImports = 4 - dev\ScrollView\ScrollView.vcxitems*{755f5da9-087c-55a0-98d2-b884881c3ed0}*SharedItemsImports = 9 - dev\NumberBox\InteractionTests\NumberBox_InteractionTests.projitems*{773f7592-e7b3-42fc-a14a-e815afd6a0cb}*SharedItemsImports = 13 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\InteractionTests\ScrollViewerAdapter_InteractionTests.projitems*{79863454-1dbf-45bb-b3d3-420b8f5e8705}*SharedItemsImports = 13 - dev\NavigationView\TestUI\NavigationView_TestUI.projitems*{7ee5e585-090a-44bf-a950-80636e242327}*SharedItemsImports = 13 - dev\Common\Common.vcxitems*{80ad7f51-8997-47b9-bb41-078b81cff9b0}*SharedItemsImports = 9 - dev\NumberBox\APITests\NumberBox_APITests.projitems*{80af98ca-bc1d-4011-8460-5671799ec419}*SharedItemsImports = 13 - dev\Interactions\SliderInteraction\TestUI\SliderInteraction_TestUI.projitems*{80f1f883-d49b-407d-9e77-c9b0e62b61a9}*SharedItemsImports = 13 - dev\RadioButtons\TestUI\RadioButtons_TestUI.projitems*{833a6892-a079-469a-81c7-54d4cd88029b}*SharedItemsImports = 13 - dev\AnimatedIcon\TestUI\AnimatedIcon_TestUI.projitems*{83fd36c0-189f-4e95-8002-9b73905ca301}*SharedItemsImports = 13 - dev\AutoSuggestBox\APITests\AutoSuggestBox_APITests.projitems*{84673739-208c-427e-a19e-e090ec3733ce}*SharedItemsImports = 13 - dev\TestHooks\TestHooks.vcxitems*{848448d5-f717-4f88-8f99-311cd60587fa}*SharedItemsImports = 9 - dev\CommonManaged\CommonManaged.projitems*{85a134e5-c83f-44a4-80df-59f6ebf6c60d}*SharedItemsImports = 13 - dev\DropDownButton\DropDownButton.vcxitems*{8613ed91-ade3-4c5c-a09a-041187841eb3}*SharedItemsImports = 9 - dev\PullToRefresh\PTRTracing\PTRTracing.vcxitems*{890a5548-0515-4099-b526-0539fe9a0376}*SharedItemsImports = 9 - dev\RadioMenuFlyoutItem\InteractionTests\RadioMenuFlyoutItem_InteractionTests.projitems*{89ec8d06-ca59-49a9-aefe-32dcc9dd8020}*SharedItemsImports = 13 - dev\PersonPicture\TestUI\PersonPicture_TestUI.projitems*{8a1690fb-aa8c-461a-840c-89cdbb44bdba}*SharedItemsImports = 13 - dev\RadialGradientBrush\RadialGradientBrush.vcxitems*{8b056b8f-c1ab-4a80-bd17-deace9897e6a}*SharedItemsImports = 9 - dev\MenuBar\MenuBar.vcxitems*{8bc9ceb8-8b4a-11d0-8d11-00a0c91bc942}*SharedItemsImports = 9 - dev\ProgressRing\InteractionTests\ProgressRing_InteractionTests.projitems*{8c2d60af-44bc-47da-8e44-d62e639bfc0a}*SharedItemsImports = 13 - dev\TwoPaneView\TwoPaneView.vcxitems*{8d0e4610-b51d-45c1-8b82-240bd2f73a92}*SharedItemsImports = 9 - dev\Repeater\APITests\Repeater_APITests.projitems*{8d2da979-6313-49e2-8cf3-b568436d2944}*SharedItemsImports = 13 - dev\Interactions\ButtonInteraction\APITests\ButtonInteraction_APITests.projitems*{8dc0ea14-d850-4c6e-8918-beeb89e877bd}*SharedItemsImports = 13 - dev\CommandBarFlyout\APITests\CommandBarFlyout_APITests.projitems*{8f6f9336-c45c-40c1-abda-3679a20434b1}*SharedItemsImports = 13 - dev\ScrollPresenter\InteractionTests\ScrollPresenter_InteractionTests.projitems*{8faad013-139c-8d2a-2285-45f717d9e64a}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshContainer\RefreshContainer.vcxitems*{94aaadf1-80ca-45a7-9bd8-c6d00d58334d}*SharedItemsImports = 9 - dev\DropDownButton\TestUI\DropDownButton_TestUI.projitems*{954d7000-c06f-49eb-a7d2-0df83de6ca35}*SharedItemsImports = 13 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\APITests\APITests.projitems*{999c289e-5ad6-4700-a44e-e85b696e508a}*SharedItemsImports = 13 - dev\Repeater\InteractionTests\Repeater_InteractionTests.projitems*{999e00c9-0e58-402a-8e0e-cbafb0adc7e3}*SharedItemsImports = 13 - dev\Materials\Backdrop\SystemBackdropComponent.vcxitems*{99af040e-b77b-487d-9cc8-3334e1f1162a}*SharedItemsImports = 9 - dev\SwipeControl\SwipeControl_InteractionTests\SwipeControl_InteractionTests.projitems*{9a8da438-193c-4950-a046-2952de2d3b0b}*SharedItemsImports = 13 - dev\TwoPaneView\TestUI\TwoPaneView_TestUI.projitems*{9c533ec3-f8fa-4b0e-ba1b-3323932cdfcb}*SharedItemsImports = 13 - dev\PipsPager\APITests\PipsPager_APITests.projitems*{9cf0d73a-e435-4c17-a41c-11e9fa3eea2f}*SharedItemsImports = 13 - dev\NumberBox\NumberBox.vcxitems*{9d23c997-1f46-444a-8c07-4a4bff7e4e63}*SharedItemsImports = 9 - dev\ImageIcon\ImageIcon.vcxitems*{9fb38577-696e-47ba-8ae2-f48a3c84a7ca}*SharedItemsImports = 9 - dev\Repeater\Repeater.vcxitems*{a0aa8919-2140-42db-beb1-b2c3ace594f4}*SharedItemsImports = 9 - dev\CommonStyles\InteractionTests\CommonStyles_InteractionTests.projitems*{a25ae312-7c11-4e30-ae35-2e31c744a250}*SharedItemsImports = 13 - dev\ColorPicker\InteractionTests\ColorPicker_InteractionTests.projitems*{a4d2fae8-e7fc-4100-91ff-2202fac91c70}*SharedItemsImports = 13 - dev\CommonStyles\TestUI\CommonStyles_TestUI.projitems*{a7f6d6c4-a5a9-43eb-930c-b766417a5e5c}*SharedItemsImports = 13 - dev\Materials\Acrylic\TestUI\AcrylicBrush_TestUI.projitems*{a800e818-7212-4fd7-ae3a-1dcab539db87}*SharedItemsImports = 13 - dev\PagerControl\PagerControl.vcxitems*{ab3261a7-9a8d-4a27-aea2-3aac0419c889}*SharedItemsImports = 9 - dev\AnimatedIcon\AnimatedIcon.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\AnimatedVisualPlayer\AnimatedVisualPlayer.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\AutoSuggestBox\AutoSuggestBox.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Breadcrumb\Breadcrumb.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Collections\Collections.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ColorPicker\ColorPicker.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ComboBox\ComboBox.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\CommandBarFlyout\CommandBarFlyout.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\CommonStyles\CommonStyles.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Common\Common.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\DropDownButton\DropDownButton.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Effects\Microsoft.UI.Private.Composition.Effects.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Expander\Expander.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\IconSource\IconSource.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ImageIcon\ImageIcon.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\InfoBadge\InfoBadge.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\InfoBar\InfoBar.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Interactions\ButtonInteraction\ButtonInteraction.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Interactions\SliderInteraction\SliderInteraction.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\LayoutPanel\LayoutPanel.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Lights\Lights.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Materials\Acrylic\AcrylicBrush.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Materials\Backdrop\SystemBackdropComponent.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Materials\Reveal\RevealBrush.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\MenuBar\MenuBar.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\MonochromaticOverlayPresenter\MonochromaticOverlayPresenter.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\NavigationView\NavigationView.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\NumberBox\NumberBox.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\PagerControl\PagerControl.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ParallaxView\ParallaxView.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\PersonPicture\PersonPicture.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\PipsPager\PipsPager.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ProgressBar\ProgressBar.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ProgressRing\ProgressRing.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\PullToRefresh\PTRTracing\PTRTracing.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshContainer\RefreshContainer.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshVisualizer\RefreshVisualizer.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\ScrollViewerIRefreshInfoProviderAdapter.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\RadialGradientBrush\RadialGradientBrush.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\RadioButtons\RadioButtons.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\RadioMenuFlyoutItem\RadioMenuFlyoutItem.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\RatingControl\RatingControl.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Repeater\Repeater.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ResourceHelper\ResourceHelper.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ScrollPresenter\ScrollPresenter.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ScrollView\ScrollView.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\SplitButton\SplitButton.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\SplitView\SplitView.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\SwipeControl\SwipeControl.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\TabView\TabView.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\TeachingTip\TeachingTip.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Telemetry\Telemetry.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\TestHooks\TestHooks.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\TreeView\TreeView.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\TwoPaneView\TwoPaneView.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\WebView2\WebView2.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\WebView2\WebView2.vcxitems*{ad144714-93fc-4281-b500-a5c2193dbc60}*SharedItemsImports = 9 - dev\RadialGradientBrush\TestUI\RadialGradientBrush_TestUI.projitems*{ae308818-af18-48ba-bf33-89779083d297}*SharedItemsImports = 13 - dev\TreeView\InteractionTests\TreeView_InteractionTests.projitems*{ae638a24-2bc6-4d4f-a51e-715d198f01fd}*SharedItemsImports = 13 - dev\RatingControl\InteractionTests\RatingControl_InteractionTests.projitems*{afaad014-132c-4d2a-a28e-4ef717d3e647}*SharedItemsImports = 13 - dev\PersonPicture\InteractionTests\PersonPicture_InteractionTests.projitems*{b0c15318-1f57-4914-b860-ebf248841511}*SharedItemsImports = 13 - dev\PipsPager\InteractionTests\PipsPager_InteractionTests.projitems*{b1d8e6a2-3fe6-4d80-9685-26df2c9f4331}*SharedItemsImports = 13 - dev\TreeView\TestUI\TreeView_TestUI.projitems*{b2c714dd-9c6b-400c-9cef-13a2d48378bd}*SharedItemsImports = 13 - dev\Materials\Backdrop\TestUI\BackdropMaterial_TestUI.projitems*{b2dbabb6-2ce4-49a4-84e8-4cbc6f4ba8ef}*SharedItemsImports = 13 - dev\AnimatedVisualPlayer\AnimatedVisualPlayer.vcxitems*{b39300d2-4510-44ea-aa7b-eda9118f830e}*SharedItemsImports = 9 - dev\ProgressRing\TestUI\ProgressRing_TestUI.projitems*{b58ec806-9951-4e5e-af29-a700a088770e}*SharedItemsImports = 13 - dev\SwipeControl\SwipeControl_APITests\SwipeControl_APITests.projitems*{b75d5d7e-6986-4500-972e-2c10a9b7cc10}*SharedItemsImports = 13 - dev\TabView\TabView.vcxitems*{b9f81fef-1e8d-4fe1-a46b-7002d4c109d2}*SharedItemsImports = 9 - dev\CommonStyles\APITests\CommonStyles_ApiTests.projitems*{ba914f48-e924-4fd2-aee1-264f67db6c9f}*SharedItemsImports = 13 - dev\Interactions\SliderInteraction\InteractionTests\SliderInteraction_InteractionTests.projitems*{bbbb0add-4e05-430c-9ffd-08a299fd1b06}*SharedItemsImports = 13 - dev\SwipeControl\SwipeControl_TestUI\SwipeControl_TestUI.projitems*{bc75c32b-f63a-4f2d-902c-8142db31a2e7}*SharedItemsImports = 13 - dev\ComboBox\TestUI\ComboBox_TestUI.projitems*{bcdf880a-41eb-4943-aae2-54a1a1159600}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshVisualizer\TestUI\RefreshVisualizer_TestUI.projitems*{bf236ee7-b31d-4150-a777-2b91492a84e2}*SharedItemsImports = 13 - dev\ParallaxView\InteractionTests\ParallaxView_InteractionTests.projitems*{bfaad014-132c-4d2a-a28e-4ef717d3e648}*SharedItemsImports = 13 - dev\ScrollView\InteractionTests\ScrollView_InteractionTests.projitems*{bfaad015-232d-5d2b-b28f-5ef717d3e648}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshVisualizer\APITests\RefreshVisualizer_APITests.projitems*{c0d77e37-d2d0-4e37-b6a1-8e6eae28945d}*SharedItemsImports = 13 - dev\Breadcrumb\InteractionTests\Breadcrumb_InteractionTests.projitems*{c1477378-4a7a-43e5-8499-98a23544cc8a}*SharedItemsImports = 13 - dev\Interactions\ButtonInteraction\InteractionTests\ButtonInteraction_InteractionTests.projitems*{c332ceaf-68b6-4980-b6f3-b15e350cdce0}*SharedItemsImports = 13 - dev\TeachingTip\InteractionTests\TeachingTip_InteractionTests.projitems*{c4421632-51bc-469d-bc49-f1cbd9269d49}*SharedItemsImports = 13 - dev\ComboBox\APITests\ComboBox_APITests.projitems*{ca704a8c-2624-4630-89a0-d86cb1ee409a}*SharedItemsImports = 13 - dev\PagerControl\APITests\PagerControl_APITests.projitems*{cb2352e2-d633-41a3-8cdc-b28731a4c490}*SharedItemsImports = 13 - dev\AnimatedVisualPlayer\InteractionTests\AnimatedVisualPlayer_InteractionTests.projitems*{cbaaccf6-a27d-40b3-980b-adf51a2ebb89}*SharedItemsImports = 13 - dev\InfoBar\InfoBar.vcxitems*{ccc102b7-f5ef-479d-94f1-008d189448b1}*SharedItemsImports = 9 - dev\LayoutPanel\APITests\LayoutPanel_APITests.projitems*{cddf46ef-aa2d-4bb3-b33e-98b3dbb3c41b}*SharedItemsImports = 13 - dev\MonochromaticOverlayPresenter\MonochromaticOverlayPresenter.vcxitems*{d03847c1-7ee7-4423-82fd-3cb31daf98d1}*SharedItemsImports = 9 - dev\Interactions\SliderInteraction\SliderInteraction.vcxitems*{d097a4d5-6b61-424d-99f0-f335eff41665}*SharedItemsImports = 9 - dev\TabView\InteractionTests\TabView_InteractionTests.projitems*{d1e297b4-5e5b-4807-8624-4141c817a98a}*SharedItemsImports = 13 - dev\PipsPager\PipsPager.vcxitems*{d1eb61d8-c689-4ad1-bd61-fdaa50362563}*SharedItemsImports = 9 - dev\Expander\InteractionTests\Expander_InteractionTests.projitems*{d6df4ab9-facc-4e51-8c57-6b1f96919365}*SharedItemsImports = 13 - dev\IconSource\APITests\IconSource_APITests.projitems*{d73627e9-564c-4a72-a12d-f6c82f17ad0d}*SharedItemsImports = 13 - dev\InfoBadge\APITests\InfoBadge_APITests.projitems*{d83f60a3-eb44-46f2-8ee7-b28c90004e5f}*SharedItemsImports = 13 - dev\SplitView\TestUI\SplitView_TestUI.projitems*{d8cea3b7-0012-4f74-b50f-b46e9a93c979}*SharedItemsImports = 13 - dev\DropDownButton\InteractionTests\DropDownButton_InteractionTests.projitems*{d9ac3716-5608-40d0-999f-26f4b544be33}*SharedItemsImports = 13 - dev\AnimatedIcon\APITests\AnimatedIcon_APITests.projitems*{db15ff28-ab3a-4fed-a1d5-004a095a3fd5}*SharedItemsImports = 13 - dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.projitems*{dbec0be4-ba3f-41c9-a303-af98201be6dc}*SharedItemsImports = 13 - dev\ProgressBar\APITests\ProgressBar_APITests.projitems*{dd024665-31da-4290-993e-2e46eb370c77}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshContainer\TestUI\RefreshContainer_TestUI.projitems*{ddb468e4-7b64-4301-8fcb-1bebbb1e689f}*SharedItemsImports = 13 - dev\ImageIcon\TestUI\ImageIcon_TestUI.projitems*{dde1c022-6f9a-4067-89c2-81f2eeaf249f}*SharedItemsImports = 13 - dev\CommonManaged\CommonManaged.projitems*{de061ed1-947e-487c-81b8-32e92e85b95f}*SharedItemsImports = 13 - test\IXMPTestApp\IXMPTestApp.Shared.projitems*{de061ed1-947e-487c-81b8-32e92e85b95f}*SharedItemsImports = 13 - dev\TreeView\APITests\TreeView_APITests.projitems*{de885c66-929c-464e-bac4-3e076ec46483}*SharedItemsImports = 13 - dev\AnimatedIcon\APITests\AnimatedIcon_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\AnimatedIcon\TestUI\AnimatedIcon_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\AutoSuggestBox\APITests\AutoSuggestBox_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\AutoSuggestBox\TestUI\AutoSuggestBox_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Breadcrumb\APITests\Breadcrumb_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Breadcrumb\TestUI\Breadcrumb_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ColorPicker\APITests\ColorPicker_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ColorPicker\TestUI\ColorPicker_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ComboBox\APITests\ComboBox_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ComboBox\TestUI\ComboBox_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\CommandBarFlyout\APITests\CommandBarFlyout_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\CommandBarFlyout\TestUI\CommandBarFlyout_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\CommonManaged\CommonManaged.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\CommonStyles\APITests\CommonStyles_ApiTests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\CommonStyles\TestUI\CommonStyles_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\DropDownButton\TestUI\DropDownButton_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Expander\APITests\Expander_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Expander\TestUI\Expander_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\IconSource\APITests\IconSource_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ImageIcon\APITests\ImageIcon_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ImageIcon\TestUI\ImageIcon_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\InfoBadge\APITests\InfoBadge_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\InfoBadge\TestUI\InfoBadge_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\InfoBar\TestUI\InfoBar_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\LayoutPanel\APITests\LayoutPanel_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Materials\Acrylic\APITests\AcrylicBrush_ApiTests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Materials\Acrylic\TestUI\AcrylicBrush_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Materials\Backdrop\TestUI\BackdropMaterial_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Materials\Reveal\APITests\Reveal_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Materials\Reveal\TestUI\Reveal_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\MenuBar\MenuBar_TestUI\MenuBar_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\MonochromaticOverlayPresenter\TestUI\MonochromaticOverlayPresenter_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\NavigationView\NavigationView_ApiTests\NavigationView_ApiTests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\NavigationView\TestUI\NavigationView_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\NumberBox\APITests\NumberBox_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\NumberBox\TestUI\NumberBox_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PagerControl\APITests\PagerControl_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PagerControl\TestUI\PagerControl_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ParallaxView\APITests\ParallaxView_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ParallaxView\TestUI\ParallaxView_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PersonPicture\APITests\PersonPicture_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PersonPicture\TestUI\PersonPicture_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PipsPager\APITests\PipsPager_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PipsPager\TestUI\PipsPager_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ProgressBar\APITests\ProgressBar_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ProgressBar\TestUI\ProgressBar_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ProgressRing\APITests\ProgressRing_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ProgressRing\TestUI\ProgressRing_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshContainer\TestUI\RefreshContainer_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshVisualizer\APITests\RefreshVisualizer_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshVisualizer\TestUI\RefreshVisualizer_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\APITests\APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\TestUI\ScrollViewerAdapter_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\PullToRefresh\TestUI\PTR_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\RadialGradientBrush\TestUI\RadialGradientBrush_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\RadioButtons\APITests\RadioButtons_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\RadioButtons\TestUI\RadioButtons_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\RadioMenuFlyoutItem\TestUI\RadioMenuFlyoutItem_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\RatingControl\APITests\RatingControl_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\RatingControl\TestUI\RatingControl_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Repeater\APITests\Repeater_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\Repeater\TestUI\Repeater_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ScrollPresenter\APITests\ScrollPresenter_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ScrollPresenter\TestUI\ScrollPresenter_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ScrollView\APITests\ScrollView_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\ScrollView\TestUI\ScrollView_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\SplitButton\APITests\SplitButton_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\SplitButton\TestUI\SplitButton_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\SplitView\TestUI\SplitView_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\SwipeControl\SwipeControl_APITests\SwipeControl_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\SwipeControl\SwipeControl_TestUI\SwipeControl_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TabView\APITests\TabView_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TabView\TestUI\TabView_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TeachingTip\APITests\TeachingTip_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TeachingTip\TestUI\TeachingTip_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TreeView\APITests\TreeView_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TreeView\TestUI\TreeView_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TwoPaneView\APITests\TwoPaneView_APITests.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\TwoPaneView\TestUI\TwoPaneView_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\WebView2\TestUI\WebView2_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - test\TestAppUtils\TestAppUtils.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\SplitButton\InteractionTests\SplitButton_InteractionTests.projitems*{e1c861e2-c4d9-41e1-aed7-5e203451bd4d}*SharedItemsImports = 13 - dev\Materials\Backdrop\InteractionTests\BackdropMaterial_InteractionTests.projitems*{e4e384ef-7a6c-4db4-9e59-2d9b45871544}*SharedItemsImports = 13 - dev\CommandBarFlyout\TestUI\CommandBarFlyout_TestUI.projitems*{e63f1c1d-f06d-46a0-b5c2-184184e44f29}*SharedItemsImports = 13 - dev\SplitButton\APITests\SplitButton_APITests.projitems*{e687c158-4c66-4ac5-8a1b-d095a82f1549}*SharedItemsImports = 13 - dev\RadioButtons\RadioButtons.vcxitems*{e770a6d3-7252-4e8a-bd10-fa8524df8c83}*SharedItemsImports = 9 - dev\InfoBadge\InfoBadge.vcxitems*{e7dea84c-ccce-4458-8499-5182f67bc7ba}*SharedItemsImports = 9 - dev\NavigationView\NavigationView_ApiTests\NavigationView_ApiTests.projitems*{e98f3da3-3c00-4f2e-bf3b-2d2ad9d176bc}*SharedItemsImports = 13 - dev\ColorPicker\APITests\ColorPicker_APITests.projitems*{e9ac4938-ec2a-46d3-85bf-27316db8cc4d}*SharedItemsImports = 13 - test\MUXControls.Test\MUXControls.Test.Shared.projitems*{e9fc52cd-519a-41bb-8092-523ffa9d5617}*SharedItemsImports = 13 - dev\Expander\Expander.vcxitems*{ec3b6f65-32c6-4bc8-8902-ee0b397e2787}*SharedItemsImports = 9 - dev\AutoSuggestBox\InteractionTests\AutoSuggestBox_InteractionTests.projitems*{ed3e2182-d259-4dc0-b7bb-9b4219762f4c}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshVisualizer\RefreshVisualizer.vcxitems*{ed7dba65-8f09-44f3-8d25-7bb5a7a89609}*SharedItemsImports = 9 - dev\TreeView\TreeView.vcxitems*{eeb38379-3a5c-439f-bb5e-535d75f2b6c1}*SharedItemsImports = 9 - dev\ImageIcon\InteractionTests\ImageIcon_InteractionTests.projitems*{f14fb632-e705-44bc-9415-75b539f483e1}*SharedItemsImports = 13 - dev\AnimatedIcon\AnimatedIcon.vcxitems*{f1c8a5a1-b1b0-4095-8849-e550fcf2ebf6}*SharedItemsImports = 9 - dev\PullToRefresh\RefreshContainer\InteractionTests\RefreshContainer_InteractionTests.projitems*{f30fe0d3-2e44-405e-8519-ec3ab098c41f}*SharedItemsImports = 13 - dev\InfoBar\InteractionTests\InfoBar_InteractionTests.projitems*{f470a64e-780e-45aa-abb7-73a8734e51d7}*SharedItemsImports = 13 - dev\SplitView\SplitView.vcxitems*{f567d0a2-9c61-4793-ae79-12da915ac11f}*SharedItemsImports = 9 - dev\Materials\Acrylic\InteractionTests\AcrylicBrush_InteractionTests.projitems*{f601284a-00c1-49f9-99b3-70d45585f784}*SharedItemsImports = 13 - dev\SplitButton\SplitButton.vcxitems*{faf114dd-af1f-4d9f-a511-354c19912aad}*SharedItemsImports = 9 - test\TestAppUtils\TestAppUtils.projitems*{fb0d3053-3135-403f-b542-977f3b781673}*SharedItemsImports = 13 - dev\AnimatedIcon\APITests\AnimatedIcon_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\AnimatedIcon\TestUI\AnimatedIcon_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\AutoSuggestBox\APITests\AutoSuggestBox_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\AutoSuggestBox\TestUI\AutoSuggestBox_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Breadcrumb\APITests\Breadcrumb_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Breadcrumb\TestUI\Breadcrumb_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ColorPicker\APITests\ColorPicker_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ColorPicker\TestUI\ColorPicker_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ComboBox\APITests\ComboBox_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ComboBox\TestUI\ComboBox_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\CommandBarFlyout\APITests\CommandBarFlyout_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\CommandBarFlyout\TestUI\CommandBarFlyout_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\CommonManaged\CommonManaged.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\CommonStyles\APITests\CommonStyles_ApiTests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\CommonStyles\TestUI\CommonStyles_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\DropDownButton\TestUI\DropDownButton_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Expander\APITests\Expander_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Expander\TestUI\Expander_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\IconSource\APITests\IconSource_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ImageIcon\APITests\ImageIcon_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ImageIcon\TestUI\ImageIcon_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\InfoBadge\APITests\InfoBadge_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\InfoBadge\TestUI\InfoBadge_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\InfoBar\TestUI\InfoBar_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\LayoutPanel\APITests\LayoutPanel_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Materials\Acrylic\APITests\AcrylicBrush_ApiTests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Materials\Acrylic\TestUI\AcrylicBrush_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Materials\Backdrop\TestUI\BackdropMaterial_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Materials\Reveal\APITests\Reveal_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Materials\Reveal\TestUI\Reveal_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\MenuBar\MenuBar_TestUI\MenuBar_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\MonochromaticOverlayPresenter\TestUI\MonochromaticOverlayPresenter_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\NavigationView\NavigationView_ApiTests\NavigationView_ApiTests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\NavigationView\TestUI\NavigationView_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\NumberBox\APITests\NumberBox_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\NumberBox\TestUI\NumberBox_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PagerControl\APITests\PagerControl_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PagerControl\TestUI\PagerControl_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ParallaxView\APITests\ParallaxView_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ParallaxView\TestUI\ParallaxView_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PersonPicture\APITests\PersonPicture_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PersonPicture\TestUI\PersonPicture_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PipsPager\APITests\PipsPager_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PipsPager\TestUI\PipsPager_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ProgressBar\APITests\ProgressBar_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ProgressBar\TestUI\ProgressBar_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ProgressRing\APITests\ProgressRing_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ProgressRing\TestUI\ProgressRing_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshContainer\TestUI\RefreshContainer_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshVisualizer\APITests\RefreshVisualizer_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PullToRefresh\RefreshVisualizer\TestUI\RefreshVisualizer_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\APITests\APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\TestUI\ScrollViewerAdapter_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\PullToRefresh\TestUI\PTR_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\RadialGradientBrush\TestUI\RadialGradientBrush_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\RadioButtons\APITests\RadioButtons_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\RadioButtons\TestUI\RadioButtons_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\RadioMenuFlyoutItem\TestUI\RadioMenuFlyoutItem_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\RatingControl\APITests\RatingControl_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\RatingControl\TestUI\RatingControl_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Repeater\APITests\Repeater_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\Repeater\TestUI\Repeater_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ScrollPresenter\APITests\ScrollPresenter_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ScrollPresenter\TestUI\ScrollPresenter_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ScrollView\APITests\ScrollView_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\ScrollView\TestUI\ScrollView_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\SplitButton\APITests\SplitButton_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\SplitButton\TestUI\SplitButton_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\SplitView\TestUI\SplitView_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\SwipeControl\SwipeControl_APITests\SwipeControl_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\SwipeControl\SwipeControl_TestUI\SwipeControl_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TabView\APITests\TabView_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TabView\TestUI\TabView_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TeachingTip\APITests\TeachingTip_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TeachingTip\TestUI\TeachingTip_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TreeView\APITests\TreeView_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TreeView\TestUI\TreeView_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TwoPaneView\APITests\TwoPaneView_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\TwoPaneView\TestUI\TwoPaneView_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\WebView2\TestUI\WebView2_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - test\TestAppUtils\TestAppUtils.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\CommonManaged\CommonManaged.projitems*{fcc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\LayoutPanel\LayoutPanel.vcxitems*{fd3c1a00-0d07-4849-a3b9-646f0ff21d7b}*SharedItemsImports = 9 - dev\SwipeControl\SwipeControl.vcxitems*{fd63f767-bd98-45d9-8a63-3cd4a148d527}*SharedItemsImports = 9 - EndGlobalSection - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug_test|ARM = Debug_test|ARM - Debug_test|arm64 = Debug_test|arm64 - Debug_test|x64 = Debug_test|x64 - Debug_test|x86 = Debug_test|x86 - Debug|ARM = Debug|ARM - Debug|arm64 = Debug|arm64 - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|ARM = Release|ARM - Release|arm64 = Release|arm64 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|ARM.ActiveCfg = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|ARM.Build.0 = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|arm64.ActiveCfg = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|arm64.Build.0 = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x64.ActiveCfg = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x64.Build.0 = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x86.ActiveCfg = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x86.Build.0 = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|ARM.ActiveCfg = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|ARM.Build.0 = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|arm64.ActiveCfg = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|arm64.Build.0 = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x64.ActiveCfg = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x64.Build.0 = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x86.ActiveCfg = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x86.Build.0 = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|ARM.ActiveCfg = Release|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|ARM.Build.0 = Release|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|arm64.ActiveCfg = Release|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|arm64.Build.0 = Release|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x64.ActiveCfg = Release|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x64.Build.0 = Release|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x86.ActiveCfg = Release|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x86.Build.0 = Release|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|ARM.ActiveCfg = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|ARM.Build.0 = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|ARM.Deploy.0 = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|arm64.ActiveCfg = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|x64.ActiveCfg = Debug|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|x64.Build.0 = Debug|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|x64.Deploy.0 = Debug|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|x86.ActiveCfg = Debug|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|x86.Build.0 = Debug|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug_test|x86.Deploy.0 = Debug|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|ARM.ActiveCfg = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|ARM.Build.0 = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|ARM.Deploy.0 = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|arm64.ActiveCfg = Debug|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|x64.ActiveCfg = Debug|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|x64.Build.0 = Debug|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|x64.Deploy.0 = Debug|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|x86.ActiveCfg = Debug|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|x86.Build.0 = Debug|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Debug|x86.Deploy.0 = Debug|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|ARM.ActiveCfg = Release|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|ARM.Build.0 = Release|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|ARM.Deploy.0 = Release|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|arm64.ActiveCfg = Release|ARM - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|x64.ActiveCfg = Release|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|x64.Build.0 = Release|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|x64.Deploy.0 = Release|x64 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|x86.ActiveCfg = Release|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|x86.Build.0 = Release|Win32 - {92081F61-98BB-4105-A90F-B6D524B4F5C9}.Release|x86.Deploy.0 = Release|Win32 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|ARM.ActiveCfg = Debug_test|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|arm64.ActiveCfg = Debug_test|arm64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.ActiveCfg = Debug_test|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.Build.0 = Debug_test|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.Deploy.0 = Debug_test|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.ActiveCfg = Debug_test|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.Build.0 = Debug_test|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.Deploy.0 = Debug_test|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|ARM.ActiveCfg = Debug|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|arm64.ActiveCfg = Debug|arm64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.ActiveCfg = Debug|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.Build.0 = Debug|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.Deploy.0 = Debug|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.ActiveCfg = Debug|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.Build.0 = Debug|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.Deploy.0 = Debug|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|ARM.ActiveCfg = Release|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|arm64.ActiveCfg = Release|arm64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.ActiveCfg = Release|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.Build.0 = Release|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.Deploy.0 = Release|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.ActiveCfg = Release|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.Build.0 = Release|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.Deploy.0 = Release|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|ARM.ActiveCfg = Debug_test|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|arm64.ActiveCfg = Debug_test|arm64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x64.ActiveCfg = Debug_test|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x64.Build.0 = Debug_test|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x64.Deploy.0 = Debug_test|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x86.ActiveCfg = Debug_test|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x86.Build.0 = Debug_test|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x86.Deploy.0 = Debug_test|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|ARM.ActiveCfg = Debug|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|arm64.ActiveCfg = Debug|arm64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x64.ActiveCfg = Debug|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x64.Build.0 = Debug|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x64.Deploy.0 = Debug|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x86.ActiveCfg = Debug|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x86.Build.0 = Debug|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x86.Deploy.0 = Debug|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|ARM.ActiveCfg = Release|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|arm64.ActiveCfg = Release|arm64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x64.ActiveCfg = Release|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x64.Build.0 = Release|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x64.Deploy.0 = Release|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x86.ActiveCfg = Release|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x86.Build.0 = Release|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x86.Deploy.0 = Release|x86 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|ARM.ActiveCfg = Debug|arm - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|ARM.Build.0 = Debug|arm - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|arm64.ActiveCfg = Debug|arm64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|arm64.Build.0 = Debug|arm64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|x64.ActiveCfg = Debug|x64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|x64.Build.0 = Debug|x64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|x86.ActiveCfg = Debug|x86 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug_test|x86.Build.0 = Debug|x86 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|ARM.ActiveCfg = Debug|arm - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|ARM.Build.0 = Debug|arm - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|arm64.ActiveCfg = Debug|arm64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|arm64.Build.0 = Debug|arm64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|x64.ActiveCfg = Debug|x64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|x64.Build.0 = Debug|x64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|x86.ActiveCfg = Debug|x86 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Debug|x86.Build.0 = Debug|x86 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|ARM.ActiveCfg = Release|arm - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|ARM.Build.0 = Release|arm - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|arm64.ActiveCfg = Release|arm64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|arm64.Build.0 = Release|arm64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|x64.ActiveCfg = Release|x64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|x64.Build.0 = Release|x64 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|x86.ActiveCfg = Release|x86 - {1CEEC8E3-419A-4304-841C-08A334B9E4FF}.Release|x86.Build.0 = Release|x86 - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|ARM.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x64.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x86.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|ARM.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|ARM.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|arm64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x64.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x86.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x86.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|ARM.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|ARM.Build.0 = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|arm64.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x64.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x64.Build.0 = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x86.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x86.Build.0 = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|ARM.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x64.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x86.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|ARM.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|ARM.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|arm64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x64.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x86.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x86.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|ARM.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|ARM.Build.0 = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|arm64.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x64.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x64.Build.0 = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x86.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x86.Build.0 = Release|Any CPU - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|ARM.ActiveCfg = Debug_test|ARM - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|arm64.ActiveCfg = Debug_test|arm64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.ActiveCfg = Debug_test|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.Build.0 = Debug_test|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.Deploy.0 = Debug_test|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.ActiveCfg = Debug_test|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.Build.0 = Debug_test|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.Deploy.0 = Debug_test|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|ARM.ActiveCfg = Debug|ARM - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|arm64.ActiveCfg = Debug|arm64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.ActiveCfg = Debug|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.Build.0 = Debug|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.Deploy.0 = Debug|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.ActiveCfg = Debug|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.Build.0 = Debug|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.Deploy.0 = Debug|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|ARM.ActiveCfg = Release|ARM - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|arm64.ActiveCfg = Release|arm64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.ActiveCfg = Release|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.Build.0 = Release|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.Deploy.0 = Release|x64 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.ActiveCfg = Release|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.Build.0 = Release|x86 - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.Deploy.0 = Release|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|ARM.ActiveCfg = Debug_test|ARM - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|arm64.ActiveCfg = Debug_test|arm64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|x64.ActiveCfg = Debug_test|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|x64.Build.0 = Debug_test|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|x64.Deploy.0 = Debug_test|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|x86.ActiveCfg = Debug_test|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|x86.Build.0 = Debug_test|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug_test|x86.Deploy.0 = Debug_test|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|ARM.ActiveCfg = Debug|ARM - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|arm64.ActiveCfg = Debug|arm64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|x64.ActiveCfg = Debug|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|x64.Build.0 = Debug|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|x64.Deploy.0 = Debug|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|x86.ActiveCfg = Debug|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|x86.Build.0 = Debug|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Debug|x86.Deploy.0 = Debug|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|ARM.ActiveCfg = Release|ARM - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|arm64.ActiveCfg = Release|arm64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|x64.ActiveCfg = Release|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|x64.Build.0 = Release|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|x64.Deploy.0 = Release|x64 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|x86.ActiveCfg = Release|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|x86.Build.0 = Release|x86 - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9}.Release|x86.Deploy.0 = Release|x86 - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|ARM.ActiveCfg = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|ARM.Build.0 = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|arm64.ActiveCfg = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|arm64.Build.0 = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|x64.ActiveCfg = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|x64.Build.0 = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|x86.ActiveCfg = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug_test|x86.Build.0 = Debug_test|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|ARM.ActiveCfg = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|ARM.Build.0 = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|arm64.ActiveCfg = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|arm64.Build.0 = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|x64.ActiveCfg = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|x64.Build.0 = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|x86.ActiveCfg = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Debug|x86.Build.0 = Debug|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|ARM.ActiveCfg = Release|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|ARM.Build.0 = Release|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|arm64.ActiveCfg = Release|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|arm64.Build.0 = Release|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|x64.ActiveCfg = Release|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|x64.Build.0 = Release|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|x86.ActiveCfg = Release|Any CPU - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2}.Release|x86.Build.0 = Release|Any CPU - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|ARM.ActiveCfg = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|ARM.Build.0 = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|arm64.ActiveCfg = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|arm64.Build.0 = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x64.ActiveCfg = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x64.Build.0 = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x86.ActiveCfg = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x86.Build.0 = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|ARM.ActiveCfg = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|ARM.Build.0 = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|arm64.ActiveCfg = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|arm64.Build.0 = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x64.ActiveCfg = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x64.Build.0 = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x86.ActiveCfg = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x86.Build.0 = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|ARM.ActiveCfg = Release|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|ARM.Build.0 = Release|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|arm64.ActiveCfg = Release|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|arm64.Build.0 = Release|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x64.ActiveCfg = Release|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x64.Build.0 = Release|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x86.ActiveCfg = Release|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x86.Build.0 = Release|Win32 - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|ARM.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|arm64.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|x64.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug_test|x86.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|ARM.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|ARM.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|arm64.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|arm64.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|x64.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|x64.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|x86.ActiveCfg = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Debug|x86.Build.0 = Debug|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|ARM.ActiveCfg = Release|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|ARM.Build.0 = Release|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|arm64.ActiveCfg = Release|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|arm64.Build.0 = Release|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|x64.ActiveCfg = Release|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|x64.Build.0 = Release|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|x86.ActiveCfg = Release|Any CPU - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE}.Release|x86.Build.0 = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|ARM.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|arm64.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|x64.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug_test|x86.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|ARM.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|ARM.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|arm64.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|arm64.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|x64.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|x64.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|x86.ActiveCfg = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Debug|x86.Build.0 = Debug|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|ARM.ActiveCfg = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|ARM.Build.0 = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|arm64.ActiveCfg = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|arm64.Build.0 = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|x64.ActiveCfg = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|x64.Build.0 = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|x86.ActiveCfg = Release|Any CPU - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {80AD7F51-8997-47B9-BB41-078B81CFF9B0} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {655F5DA8-F87B-45AF-88D1-A884881C3EDF} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {755F5DA9-087C-55A0-98D2-B884881C3ED0} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {248CC96D-67A2-4359-A4E3-AB0DAD110A1E} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {1F86207F-AF12-4C39-8ACD-AE751D312673} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {4A87B4F1-4B6F-435A-950E-B2BB32A16001} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {10C52FD4-52FC-43B3-94AF-895C9B5A014C} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {20C52FD5-62FD-53B4-A4A0-995C9B5A014D} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {AD0C90B0-4845-4D4B-88F1-86F653F8171B} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {05CB5DBD-A481-4DFF-B1A3-642F049D165C} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {1B8EF049-A38E-43E4-B88E-F1EBFCEF07D2} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {395A71A1-4327-477B-85D4-AF0851732CCB} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {E9AC4938-EC2A-46D3-85BF-27316DB8CC4D} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {A4D2FAE8-E7FC-4100-91FF-2202FAC91C70} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {274B93F7-CD18-4ED9-B569-0640529D187B} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {374B93F8-DD19-5EDA-C56A-1640529D187C} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {374B93F7-CD18-4ED9-B569-0640529D187C} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {474B92F7-CD58-FED9-8569-9640529D1871} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {5654F115-F01A-495B-91C7-09408ABF14F0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {F11EB84D-8AED-4C99-B130-8BFD4E8D03EB} = {CDC531B5-F8D8-4A8D-8653-0470B07B2404} - {447F5D0D-9189-4B8A-BCDC-0FE67646DE97} = {CDC531B5-F8D8-4A8D-8653-0470B07B2404} - {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {5FDF2501-AA3D-4082-AD45-D1F2A94C1213} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {AFAAD014-132C-4D2A-A28E-4EF717D3E647} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {BFAAD015-232D-5D2B-B28F-5EF717D3E648} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {BFAAD014-132C-4D2A-A28E-4EF717D3E648} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {8FAAD013-139C-8D2A-2285-45F717D9E64A} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {45D41ACC-2C3C-43D2-BC10-02AA73FFC7C7} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {0DB22BA9-6053-459B-BAF5-E82EA1C78AB3} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {B1242C40-BBB3-4490-A936-5C71A3BE8336} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {E965AF28-0E13-4552-84B7-0C4215E76FD3} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {337D78D3-9499-4B35-BB9F-52F37BB33D9A} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {BF236EE7-B31D-4150-A777-2B91492A84E2} = {E965AF28-0E13-4552-84B7-0C4215E76FD3} - {C0D77E37-D2D0-4E37-B6A1-8E6EAE28945D} = {E965AF28-0E13-4552-84B7-0C4215E76FD3} - {DDB468E4-7B64-4301-8FCB-1BEBBB1E689F} = {337D78D3-9499-4B35-BB9F-52F37BB33D9A} - {ED7DBA65-8F09-44F3-8D25-7BB5A7A89609} = {E965AF28-0E13-4552-84B7-0C4215E76FD3} - {94AAADF1-80CA-45A7-9BD8-C6D00D58334D} = {337D78D3-9499-4B35-BB9F-52F37BB33D9A} - {438CED23-DAB1-495E-9A72-0FF38E01EB80} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3095445A-AFCD-5154-AC36-9770E6EC1AA5} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {00C52FD5-42FD-33B4-84A0-795C9B5A014D} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {437CED93-D8B1-995E-0A72-0AF38E01EB70} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {359544AA-A8CD-715C-CC36-F770E6E81AA0} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {0EC52FD5-42FE-3EB4-84E0-79EC9B5A014E} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {5243EF2C-F250-48BD-B633-39CC2A0A38AA} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {8A1690FB-AA8C-461A-840C-89CDBB44BDBA} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {B0C15318-1F57-4914-B860-EBF248841511} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {414D2AE4-5B65-43E1-9C11-D94817835B3D} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} = {414D2AE4-5B65-43E1-9C11-D94817835B3D} - {3AFFD0CE-C682-4E59-A9D4-BE8EC3F485DA} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} = {414D2AE4-5B65-43E1-9C11-D94817835B3D} - {4993A99D-57AE-4EE7-A3C1-0840ED127608} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {73E823BC-5485-4F26-9B09-8B83C133EE6B} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {1522A856-17CE-4178-A6B3-0692F90D7C55} = {73E823BC-5485-4F26-9B09-8B83C133EE6B} - {0A38E3C5-3CFA-42EB-860C-395A861B6791} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {EEB38379-3A5C-439F-BB5E-535D75F2B6C1} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {5FC770CF-73C1-407A-A195-FDFCEDB2930B} = {CDC531B5-F8D8-4A8D-8653-0470B07B2404} - {DE885C66-929C-464E-BAC4-3E076EC46483} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {AE638A24-2BC6-4D4F-A51E-715D198F01FD} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {B2C714DD-9C6B-400C-9CEF-13A2D48378BD} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {7EE5E585-090A-44BF-A950-80636E242327} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {E98F3DA3-3C00-4F2E-BF3B-2D2AD9D176BC} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {475C3A33-637A-44DC-B789-6C2D78A75283} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {F131939C-ECA6-4B18-A798-72229871B403} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3479A3AE-2854-4BEC-80AB-EAB0772CB90A} = {F131939C-ECA6-4B18-A798-72229871B403} - {7B4DCB6D-069F-437C-BD82-E2690F4F23E5} = {447F5D0D-9189-4B8A-BCDC-0FE67646DE97} - {67D2AC53-8CC0-409F-AD3C-2FCDB0CFBBB4} = {447F5D0D-9189-4B8A-BCDC-0FE67646DE97} - {5BF80AE9-29DF-4BE9-858A-F095C8073473} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {22A3D1C4-4D1C-4B04-B695-8FEC39BFED86} = {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} - {999C289E-5AD6-4700-A44E-E85B696E508A} = {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} - {F30FE0D3-2E44-405E-8519-EC3AB098C41F} = {337D78D3-9499-4B35-BB9F-52F37BB33D9A} - {0A89913A-4FA4-4E77-92C1-049D850D4761} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {FD63F767-BD98-45D9-8A63-3CD4A148D527} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {B75D5D7E-6986-4500-972E-2C10A9B7CC10} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {9A8DA438-193C-4950-A046-2952DE2D3B0B} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {BC75C32B-F63A-4F2D-902C-8142DB31A2E7} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {92081F61-98BB-4105-A90F-B6D524B4F5C9} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {02ED27BE-97E4-4327-BB96-8B3FA6869C48} = {F131939C-ECA6-4B18-A798-72229871B403} - {85A134E5-C83F-44A4-80DF-59F6EBF6C60D} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {A800E818-7212-4FD7-AE3A-1DCAB539DB87} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {593E15D8-F6F9-4ABA-BA65-C6927C178DBD} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {F601284A-00C1-49F9-99B3-70D45585F784} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {1F2872E7-28C9-4C01-88ED-73C43EE1C9A4} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {A0AA8919-2140-42DB-BEB1-B2C3ACE594F4} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {2ED883F5-20DB-4445-8C96-517A21E5E657} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {8D2DA979-6313-49E2-8CF3-B568436D2944} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {999E00C9-0E58-402A-8E0E-CBAFB0ADC7E3} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {5049EA6C-88CE-4ED5-8692-947EEC9E52BC} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {79863454-1DBF-45BB-B3D3-420B8F5E8705} = {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} - {E220EFAB-BA88-458D-A271-279B6630E864} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {19FFFF77-4814-4AD6-ACD7-42C6A50AB0D8} = {E220EFAB-BA88-458D-A271-279B6630E864} - {D73627E9-564C-4A72-A12D-F6C82F17AD0D} = {E220EFAB-BA88-458D-A271-279B6630E864} - {8211954E-FE33-469C-87C7-9C863ACE1759} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8D0E4610-B51D-45C1-8B82-240BD2F73A92} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {9C533EC3-F8FA-4B0E-BA1B-3323932CDFCB} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {44DEAFBC-BB7A-4B02-AEAB-29DF2C2F8587} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {1294409D-9BAD-40CC-A74D-9AB29B343071} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {848448D5-F717-4F88-8F99-311CD60587FA} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {B4CF2535-396D-40AB-9028-D44233B31AE2} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {890A5548-0515-4099-B526-0539FE9A0376} = {B4CF2535-396D-40AB-9028-D44233B31AE2} - {3393A555-DA02-4310-AC37-129EE88661A0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {5D192660-07E0-4176-AE0A-EFEBAFA3C315} = {3393A555-DA02-4310-AC37-129EE88661A0} - {8DC0EA14-D850-4C6E-8918-BEEB89E877BD} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {C332CEAF-68B6-4980-B6F3-B15E350CDCE0} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {2459BC06-2AE5-4C65-BA73-AB28090B6FAB} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {11B35F24-72B2-4228-9960-0D1EA283E1AF} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {F518C300-1796-49AB-9A4F-0530BB285245} = {3393A555-DA02-4310-AC37-129EE88661A0} - {D097A4D5-6B61-424D-99F0-F335EFF41665} = {F518C300-1796-49AB-9A4F-0530BB285245} - {48F7B68B-8050-4523-8374-963AA3B2834F} = {F518C300-1796-49AB-9A4F-0530BB285245} - {BBBB0ADD-4E05-430C-9FFD-08A299FD1B06} = {F518C300-1796-49AB-9A4F-0530BB285245} - {80F1F883-D49B-407D-9E77-C9B0E62B61A9} = {F518C300-1796-49AB-9A4F-0530BB285245} - {549C8EB7-E099-4EAB-A1F6-FAA3FA79B9E0} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {49AE2707-4958-4B14-AC41-11ABD042FEA9} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942} = {49AE2707-4958-4B14-AC41-11ABD042FEA9} - {55CB08CA-19FE-4DB9-8160-A4EC47984B95} = {49AE2707-4958-4B14-AC41-11ABD042FEA9} - {1440A7B7-D3CA-4390-8C85-E1E9A7DF8542} = {49AE2707-4958-4B14-AC41-11ABD042FEA9} - {3C198E38-CC18-4965-AD7E-4A28256662A0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {FAF114DD-AF1F-4D9F-A511-354C19912AAD} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {E687C158-4C66-4AC5-8A1B-D095A82F1549} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {E1C861E2-C4D9-41E1-AED7-5E203451BD4D} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {280C91F4-96B5-4BDE-9E02-E573E1DEF583} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {98A3D371-FA9F-4227-A991-7D2B3495E659} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {FD3C1A00-0D07-4849-A3B9-646F0FF21D7B} = {98A3D371-FA9F-4227-A991-7D2B3495E659} - {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8613ED91-ADE3-4C5C-A09A-041187841EB3} = {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} - {D9AC3716-5608-40D0-999F-26F4B544BE33} = {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} - {954D7000-C06F-49EB-A7D2-0DF83DE6CA35} = {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} - {CDDF46EF-AA2D-4BB3-B33E-98B3DBB3C41B} = {98A3D371-FA9F-4227-A991-7D2B3495E659} - {C112A71E-D9C2-4085-851A-A7BB2910595D} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {11C085FF-8F68-48EE-9949-6EECBD0CBE6C} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {8F6F9336-C45C-40C1-ABDA-3679A20434B1} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {16F32F80-A8B6-44E0-9D99-0E1C2C8E0579} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {E63F1C1D-F06D-46A0-B5C2-184184E44F29} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {FB0D3053-3135-403F-B542-977F3B781673} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {A7F6D6C4-A5A9-43EB-930C-B766417A5E5C} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {A25AE312-7C11-4E30-AE35-2E31C744A250} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {D232C226-CD18-4509-B848-80083AA9892B} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {E770A6D3-7252-4E8A-BD10-FA8524DF8C83} = {D232C226-CD18-4509-B848-80083AA9892B} - {833A6892-A079-469A-81C7-54D4CD88029B} = {D232C226-CD18-4509-B848-80083AA9892B} - {0352711A-D79A-4D82-8255-916D29522AE0} = {D232C226-CD18-4509-B848-80083AA9892B} - {42D6E8F9-59FE-4CA5-83EB-69A7622F5742} = {D232C226-CD18-4509-B848-80083AA9892B} - {807E57C8-F3E8-4049-AB88-BE3D3285B441} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3A07FA59-C5C1-4B46-8B31-043F9CA91226} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546} = {666B53C4-A747-4538-AA51-8FF9DEE1BF60} - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7} = {666B53C4-A747-4538-AA51-8FF9DEE1BF60} - {E9FC52CD-519A-41BB-8092-523FFA9D5617} = {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} - {DE061ED1-947E-487C-81B8-32E92E85B95F} = {C9B1268D-8639-424F-8AEC-EF4EC5459184} - {C9B1268D-8639-424F-8AEC-EF4EC5459184} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {666B53C4-A747-4538-AA51-8FF9DEE1BF60} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {1CEEC8E3-419A-4304-841C-08A334B9E4FF} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {00832735-360B-46BB-9BFA-B8C281951D55} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3353A4A7-87B3-4E43-8F8D-43C7380D1D56} = {00832735-360B-46BB-9BFA-B8C281951D55} - {89EC8D06-CA59-49A9-AEFE-32DCC9DD8020} = {00832735-360B-46BB-9BFA-B8C281951D55} - {50E838A2-A886-46C9-AB0B-A57F510CE643} = {00832735-360B-46BB-9BFA-B8C281951D55} - {6AA772A6-CBF7-4FF3-8864-BC9366015DC2} = {666B53C4-A747-4538-AA51-8FF9DEE1BF60} - {D59C7B8E-5C09-4856-8AF3-25585A888707} = {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2} = {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} - {FCC396F5-26DD-4CA3-981E-C7BC9FEA4546} = {C9B1268D-8639-424F-8AEC-EF4EC5459184} - {74F24BC4-794D-4CB2-8420-80FF7FDACFE9} = {C9B1268D-8639-424F-8AEC-EF4EC5459184} - {4873DE1A-27B5-47ED-9EDC-69727FD2095C} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {499B8BF7-BCA1-4C23-BAA7-59E2C551BE4B} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {18F1DB69-7457-461C-9D19-7F42BFFC0803} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {C4421632-51BC-469D-BC49-F1CBD9269D49} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {42A51D3E-F06A-41A0-BE4C-F94CDDB80678} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {B39300D2-4510-44EA-AA7B-EDA9118F830E} = {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} - {CBAACCF6-A27D-40B3-980B-ADF51A2EBB89} = {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} - {DBEC0BE4-BA3F-41C9-A303-AF98201BE6DC} = {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} - {BA914F48-E924-4FD2-AEE1-264F67DB6C9F} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {B3E64837-A5E4-49CB-97FF-A365307B9191} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {B9F81FEF-1E8D-4FE1-A46B-7002D4C109D2} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {D1E297B4-5E5B-4807-8624-4141C817A98A} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {1D87AAC7-1E11-40FC-90A7-B6CE1C4567AE} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {417000D9-2641-4629-99F2-8F6033A6AC52} = {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} - {48BF2DAB-82B5-4705-A880-F5310FB697F9} = {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} - {4C9CEC92-77C8-4B7B-8595-6C736A660F93} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {00523CAF-422A-4185-9392-D374B72A019A} = {4C9CEC92-77C8-4B7B-8595-6C736A660F93} - {BCDF880A-41EB-4943-AAE2-54A1A1159600} = {4C9CEC92-77C8-4B7B-8595-6C736A660F93} - {B45B3F3E-6761-4CFC-9A8F-90F232DD28F2} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {9D23C997-1F46-444A-8C07-4A4BFF7E4E63} = {B45B3F3E-6761-4CFC-9A8F-90F232DD28F2} - {773F7592-E7B3-42FC-A14A-E815AFD6A0CB} = {B45B3F3E-6761-4CFC-9A8F-90F232DD28F2} - {13DA8235-D04F-46D4-B5B4-F5AE774EEEDE} = {B45B3F3E-6761-4CFC-9A8F-90F232DD28F2} - {7DAE09F6-69EB-4FB3-9F52-AF746CA84DC9} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {F567D0A2-9C61-4793-AE79-12DA915AC11F} = {7DAE09F6-69EB-4FB3-9F52-AF746CA84DC9} - {D8CEA3B7-0012-4F74-B50F-B46E9A93C979} = {7DAE09F6-69EB-4FB3-9F52-AF746CA84DC9} - {CA704A8C-2624-4630-89A0-D86CB1EE409A} = {4C9CEC92-77C8-4B7B-8595-6C736A660F93} - {84673739-208C-427E-A19E-E090EC3733CE} = {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} - {ED3E2182-D259-4DC0-B7BB-9B4219762F4C} = {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} - {19693508-50A7-4C98-BCCB-327ED07C0F4F} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {0F61C8BD-D066-4812-A02B-E95CE18A985D} = {19693508-50A7-4C98-BCCB-327ED07C0F4F} - {3D044EC1-C9D3-4745-B79E-E7BED66E93F8} = {19693508-50A7-4C98-BCCB-327ED07C0F4F} - {1A5321F3-B837-4EB6-9547-37CC70088EA9} = {19693508-50A7-4C98-BCCB-327ED07C0F4F} - {4194505E-4848-4FC4-97D1-0BABF32A11C4} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {64447EFA-19B4-4BF2-9D63-618635C483EC} = {4194505E-4848-4FC4-97D1-0BABF32A11C4} - {8C2D60AF-44BC-47DA-8E44-D62E639BFC0A} = {4194505E-4848-4FC4-97D1-0BABF32A11C4} - {B58EC806-9951-4E5E-AF29-A700A088770E} = {4194505E-4848-4FC4-97D1-0BABF32A11C4} - {9638BF0D-2AA8-4642-A9F1-790BF7FBECF2} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {0115F80C-AB97-412D-85D9-33A5188F8907} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8B056B8F-C1AB-4A80-BD17-DEACE9897E6A} = {0115F80C-AB97-412D-85D9-33A5188F8907} - {AE308818-AF18-48BA-BF33-89779083D297} = {0115F80C-AB97-412D-85D9-33A5188F8907} - {74D18B1B-5F6B-4534-945B-131E8E3206FB} = {0115F80C-AB97-412D-85D9-33A5188F8907} - {2F4E95E9-F729-481C-B9AA-C9BEC91AE395} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {80AF98CA-BC1D-4011-8460-5671799EC419} = {B45B3F3E-6761-4CFC-9A8F-90F232DD28F2} - {C0215617-A17B-45DB-9CDA-C46C0923DA55} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {128E6F7A-578C-48DC-BD3F-750EC662C268} = {C0215617-A17B-45DB-9CDA-C46C0923DA55} - {107794D7-4BE0-407E-A76C-EFA46D1E9F93} = {C0215617-A17B-45DB-9CDA-C46C0923DA55} - {DB2DBB48-C807-4F7C-943E-385E77DF7BDE} = {C0215617-A17B-45DB-9CDA-C46C0923DA55} - {6B4C9F2E-6A2C-48AD-944B-49B9E9BF028D} = {C0215617-A17B-45DB-9CDA-C46C0923DA55} - {10183D43-1785-443E-AEB7-C426FDF14964} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {11DC7B03-88FB-4985-BF77-2BB3A13C75A8} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {AB3261A7-9A8D-4A27-AEA2-3AAC0419C889} = {11DC7B03-88FB-4985-BF77-2BB3A13C75A8} - {225C4174-3141-49B8-ADE2-C7D3408D5103} = {11DC7B03-88FB-4985-BF77-2BB3A13C75A8} - {4F64C819-664F-436A-BCDB-8AB3019B9DD5} = {11DC7B03-88FB-4985-BF77-2BB3A13C75A8} - {CB2352E2-D633-41A3-8CDC-B28731A4C490} = {11DC7B03-88FB-4985-BF77-2BB3A13C75A8} - {84BB4F12-73FD-4E4A-8724-C2C060DF5E82} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {EC3B6F65-32C6-4BC8-8902-EE0B397E2787} = {84BB4F12-73FD-4E4A-8724-C2C060DF5E82} - {50C1F1D3-20AA-49A8-9E4C-CF4E5811A1D8} = {84BB4F12-73FD-4E4A-8724-C2C060DF5E82} - {D6DF4AB9-FACC-4E51-8C57-6B1F96919365} = {84BB4F12-73FD-4E4A-8724-C2C060DF5E82} - {0589A608-FB9C-49BF-9EA3-06CA805F3A9D} = {84BB4F12-73FD-4E4A-8724-C2C060DF5E82} - {CEFD707F-6686-4CF4-8D4C-B5FECD50D739} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {CCC102B7-F5EF-479D-94F1-008D189448B1} = {CEFD707F-6686-4CF4-8D4C-B5FECD50D739} - {32DFAF1E-C2EC-4C52-A4D8-B3A3946242B4} = {CEFD707F-6686-4CF4-8D4C-B5FECD50D739} - {F470A64E-780E-45AA-ABB7-73A8734E51D7} = {CEFD707F-6686-4CF4-8D4C-B5FECD50D739} - {7E2FC35C-7484-4986-B6DA-F77254101A8F} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {563FE343-C6B0-447B-831A-B0CE3AA7A688} = {7E2FC35C-7484-4986-B6DA-F77254101A8F} - {48DF0143-C6A7-4184-BCC4-E59EAC5D49F1} = {7E2FC35C-7484-4986-B6DA-F77254101A8F} - {657121B7-3E4F-4C76-ABE2-0221A7997929} = {7E2FC35C-7484-4986-B6DA-F77254101A8F} - {C1477378-4A7A-43E5-8499-98A23544CC8A} = {7E2FC35C-7484-4986-B6DA-F77254101A8F} - {CE0523BB-5799-4BA0-A461-0ABC6E19F969} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {D1EB61D8-C689-4AD1-BD61-FDAA50362563} = {CE0523BB-5799-4BA0-A461-0ABC6E19F969} - {9CF0D73A-E435-4C17-A41C-11E9FA3EEA2F} = {CE0523BB-5799-4BA0-A461-0ABC6E19F969} - {44F0E6BC-6222-4F16-8050-BB31DD804C4A} = {CE0523BB-5799-4BA0-A461-0ABC6E19F969} - {B1D8E6A2-3FE6-4D80-9685-26DF2C9F4331} = {CE0523BB-5799-4BA0-A461-0ABC6E19F969} - {BB791907-485F-4A16-9612-7FE07FCD1D21} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {9FB38577-696E-47BA-8AE2-F48A3C84A7CA} = {BB791907-485F-4A16-9612-7FE07FCD1D21} - {27AAE2E5-9687-4120-822F-CDB68B9A65B7} = {BB791907-485F-4A16-9612-7FE07FCD1D21} - {DDE1C022-6F9A-4067-89C2-81F2EEAF249F} = {BB791907-485F-4A16-9612-7FE07FCD1D21} - {F14FB632-E705-44BC-9415-75B539F483E1} = {BB791907-485F-4A16-9612-7FE07FCD1D21} - {221D9F75-FFF3-49C1-A88B-7F3898A5756E} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {F1C8A5A1-B1B0-4095-8849-E550FCF2EBF6} = {221D9F75-FFF3-49C1-A88B-7F3898A5756E} - {83FD36C0-189F-4E95-8002-9B73905CA301} = {221D9F75-FFF3-49C1-A88B-7F3898A5756E} - {DB15FF28-AB3A-4FED-A1D5-004A095A3FD5} = {221D9F75-FFF3-49C1-A88B-7F3898A5756E} - {7FA40D21-3085-41B3-9C46-6CBC2F56B442} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {D03847C1-7EE7-4423-82FD-3CB31DAF98D1} = {7FA40D21-3085-41B3-9C46-6CBC2F56B442} - {52AAA6ED-E5A0-41BB-8858-66249333A8D4} = {7FA40D21-3085-41B3-9C46-6CBC2F56B442} - {5693A4DE-E468-4EB1-86C2-1C3EEE4C75DC} = {414D2AE4-5B65-43E1-9C11-D94817835B3D} - {99AF040E-B77B-487D-9CC8-3334E1F1162A} = {5693A4DE-E468-4EB1-86C2-1C3EEE4C75DC} - {B2DBABB6-2CE4-49A4-84E8-4CBC6F4BA8EF} = {5693A4DE-E468-4EB1-86C2-1C3EEE4C75DC} - {E4E384EF-7A6C-4DB4-9E59-2D9B45871544} = {5693A4DE-E468-4EB1-86C2-1C3EEE4C75DC} - {C67BD98D-1228-4154-8EDA-2F8255BBA941} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {E7DEA84C-CCCE-4458-8499-5182F67BC7BA} = {C67BD98D-1228-4154-8EDA-2F8255BBA941} - {D83F60A3-EB44-46F2-8EE7-B28C90004E5F} = {C67BD98D-1228-4154-8EDA-2F8255BBA941} - {1F30CAC6-7EFB-4CE9-B119-64821C117CB9} = {C67BD98D-1228-4154-8EDA-2F8255BBA941} - {1E54C076-7240-463A-A1B1-404187ABCDEB} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {AD144714-93FC-4281-B500-A5C2193DBC60} = {1E54C076-7240-463A-A1B1-404187ABCDEB} - {3E535832-73B4-45B2-B550-34CB14B2C262} = {1E54C076-7240-463A-A1B1-404187ABCDEB} - {2B05A80E-7C01-449C-8345-7D3B3B2143E5} = {1E54C076-7240-463A-A1B1-404187ABCDEB} - {222EF6F6-0845-49E7-81F2-9686CEF85C67} = {4194505E-4848-4FC4-97D1-0BABF32A11C4} - {DD024665-31DA-4290-993E-2E46EB370C77} = {19693508-50A7-4C98-BCCB-327ED07C0F4F} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D93836AB-52D3-4DE2-AE25-23F26F55ECED} - EndGlobalSection -EndGlobal diff --git a/MUXControlsInnerLoop.sln b/MUXControlsInnerLoop.sln deleted file mode 100755 index 41138ef36c..0000000000 --- a/MUXControlsInnerLoop.sln +++ /dev/null @@ -1,1176 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29009.5 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dev", "dev", "{67599AD5-51EC-44CB-85CE-B60CD8CBA270}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "dev\Common\Common.vcxitems", "{80AD7F51-8997-47B9-BB41-078B81CFF9B0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RatingControl", "dev\RatingControl\RatingControl.vcxitems", "{655F5DA8-F87B-45AF-88D1-A884881C3EDF}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScrollView", "dev\ScrollView\ScrollView.vcxitems", "{755F5DA9-087C-55A0-98D2-B884881C3ED0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ColorPicker", "dev\ColorPicker\ColorPicker.vcxitems", "{248CC96D-67A2-4359-A4E3-AB0DAD110A1E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ColorPicker", "ColorPicker", "{1F86207F-AF12-4C39-8ACD-AE751D312673}" - ProjectSection(SolutionItems) = preProject - dev\ColorPicker\improvements.md = dev\ColorPicker\improvements.md - dev\ColorPicker\readme.md = dev\ColorPicker\readme.md - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RatingControl", "RatingControl", "{3B0C114B-AC74-4BB1-975D-26FE5D505BD1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScrollView", "ScrollView", "{4B0C114C-BC75-5BB2-A75E-36FE5D505BD2}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ColorPicker_TestUI", "dev\ColorPicker\TestUI\ColorPicker_TestUI.shproj", "{4A87B4F1-4B6F-435A-950E-B2BB32A16001}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RatingControl_TestUI", "dev\RatingControl\TestUI\RatingControl_TestUI.shproj", "{10C52FD4-52FC-43B3-94AF-895C9B5A014C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollView_TestUI", "dev\ScrollView\TestUI\ScrollView_TestUI.shproj", "{20C52FD5-62FD-53B4-A4A0-995C9B5A014D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.UI.Xaml", "dev\dll\Microsoft.UI.Xaml.vcxproj", "{AD0C90B0-4845-4D4B-88F1-86F653F8171B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{D3327F36-E161-4FED-A0F4-56F2B735827E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NavigationView", "NavigationView", "{05CB5DBD-A481-4DFF-B1A3-642F049D165C}" - ProjectSection(SolutionItems) = preProject - dev\NavigationView\readme.md = dev\NavigationView\readme.md - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NavigationView", "dev\NavigationView\NavigationView.vcxitems", "{1B8EF049-A38E-43E4-B88E-F1EBFCEF07D2}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Collections", "dev\Collections\Collections.vcxitems", "{395A71A1-4327-477B-85D4-AF0851732CCB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ColorPicker_APITests", "dev\ColorPicker\APITests\ColorPicker_APITests.shproj", "{E9AC4938-EC2A-46D3-85BF-27316DB8CC4D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ColorPicker_InteractionTests", "dev\ColorPicker\InteractionTests\ColorPicker_InteractionTests.shproj", "{A4D2FAE8-E7FC-4100-91FF-2202FAC91C70}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RatingControl_APITests", "dev\RatingControl\APITests\RatingControl_APITests.shproj", "{274B93F7-CD18-4ED9-B569-0640529D187B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollView_APITests", "dev\ScrollView\APITests\ScrollView_APITests.shproj", "{374B93F8-DD19-5EDA-C56A-1640529D187C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ParallaxView_APITests", "dev\ParallaxView\APITests\ParallaxView_APITests.shproj", "{374B93F7-CD18-4ED9-B569-0640529D187C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollPresenter_APITests", "dev\ScrollPresenter\APITests\ScrollPresenter_APITests.shproj", "{474B92F7-CD58-FED9-8569-9640529D1871}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{5654F115-F01A-495B-91C7-09408ABF14F0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PersonPicture", "PersonPicture", "{813C1EA5-ADC1-4C14-B3DC-B873098D7AAA}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PersonPicture", "dev\PersonPicture\PersonPicture.vcxitems", "{5FDF2501-AA3D-4082-AD45-D1F2A94C1213}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RatingControl_InteractionTests", "dev\RatingControl\InteractionTests\RatingControl_InteractionTests.shproj", "{AFAAD014-132C-4D2A-A28E-4EF717D3E647}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollView_InteractionTests", "dev\ScrollView\InteractionTests\ScrollView_InteractionTests.shproj", "{BFAAD015-232D-5D2B-B28F-5EF717D3E648}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ParallaxView_InteractionTests", "dev\ParallaxView\InteractionTests\ParallaxView_InteractionTests.shproj", "{BFAAD014-132C-4D2A-A28E-4EF717D3E648}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollPresenter_InteractionTests", "dev\ScrollPresenter\InteractionTests\ScrollPresenter_InteractionTests.shproj", "{8FAAD013-139C-8D2A-2285-45F717D9E64A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResourceHelper", "dev\ResourceHelper\ResourceHelper.vcxitems", "{45D41ACC-2C3C-43D2-BC10-02AA73FFC7C7}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Telemetry", "dev\Telemetry\Telemetry.vcxitems", "{0DB22BA9-6053-459B-BAF5-E82EA1C78AB3}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PullToRefresh", "PullToRefresh", "{B1242C40-BBB3-4490-A936-5C71A3BE8336}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RefreshVisualizer", "RefreshVisualizer", "{E965AF28-0E13-4552-84B7-0C4215E76FD3}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RefreshContainer", "RefreshContainer", "{337D78D3-9499-4B35-BB9F-52F37BB33D9A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshVisualizer_TestUI", "dev\PullToRefresh\RefreshVisualizer\TestUI\RefreshVisualizer_TestUI.shproj", "{BF236EE7-B31D-4150-A777-2B91492A84E2}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshVisualizer_APITests", "dev\PullToRefresh\RefreshVisualizer\APITests\RefreshVisualizer_APITests.shproj", "{C0D77E37-D2D0-4E37-B6A1-8E6EAE28945D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshContainer_TestUI", "dev\PullToRefresh\RefreshContainer\TestUI\RefreshContainer_TestUI.shproj", "{DDB468E4-7B64-4301-8FCB-1BEBBB1E689F}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RefreshVisualizer", "dev\PullToRefresh\RefreshVisualizer\RefreshVisualizer.vcxitems", "{ED7DBA65-8F09-44F3-8D25-7BB5A7A89609}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RefreshContainer", "dev\PullToRefresh\RefreshContainer\RefreshContainer.vcxitems", "{94AAADF1-80CA-45A7-9BD8-C6D00D58334D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ParallaxView", "ParallaxView", "{438CED23-DAB1-495E-9A72-0FF38E01EB80}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ParallaxView", "dev\ParallaxView\ParallaxView.vcxitems", "{3095445A-AFCD-5154-AC36-9770E6EC1AA5}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ParallaxView_TestUI", "dev\ParallaxView\TestUI\ParallaxView_TestUI.shproj", "{00C52FD5-42FD-33B4-84A0-795C9B5A014D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScrollPresenter", "ScrollPresenter", "{437CED93-D8B1-995E-0A72-0AF38E01EB70}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScrollPresenter", "dev\ScrollPresenter\ScrollPresenter.vcxitems", "{359544AA-A8CD-715C-CC36-F770E6E81AA0}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollPresenter_TestUI", "dev\ScrollPresenter\TestUI\ScrollPresenter_TestUI.shproj", "{0EC52FD5-42FE-3EB4-84E0-79EC9B5A014E}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PersonPicture_APITests", "dev\PersonPicture\APITests\PersonPicture_APITests.shproj", "{5243EF2C-F250-48BD-B633-39CC2A0A38AA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PersonPicture_TestUI", "dev\PersonPicture\TestUI\PersonPicture_TestUI.shproj", "{8A1690FB-AA8C-461A-840C-89CDBB44BDBA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PersonPicture_InteractionTests", "dev\PersonPicture\InteractionTests\PersonPicture_InteractionTests.shproj", "{B0C15318-1F57-4914-B860-EBF248841511}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Materials", "Materials", "{414D2AE4-5B65-43E1-9C11-D94817835B3D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Acrylic", "Acrylic", "{96707BBD-8D2A-4715-8DDA-3A60E4AF9914}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AcrylicBrush", "dev\Materials\Acrylic\AcrylicBrush.vcxitems", "{3AFFD0CE-C682-4E59-A9D4-BE8EC3F485DA}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Reveal", "Reveal", "{CE762527-4CC8-4604-A0DD-9EA4CB29C4A9}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RevealBrush", "dev\Materials\Reveal\RevealBrush.vcxitems", "{4993A99D-57AE-4EE7-A3C1-0840ED127608}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Effects", "Effects", "{73E823BC-5485-4F26-9B09-8B83C133EE6B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.UI.Private.Composition.Effects", "dev\Effects\Microsoft.UI.Private.Composition.Effects.vcxitems", "{1522A856-17CE-4178-A6B3-0692F90D7C55}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TreeView", "TreeView", "{0A38E3C5-3CFA-42EB-860C-395A861B6791}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TreeView", "dev\TreeView\TreeView.vcxitems", "{EEB38379-3A5C-439F-BB5E-535D75F2B6C1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TreeView_APITests", "dev\TreeView\APITests\TreeView_APITests.shproj", "{DE885C66-929C-464E-BAC4-3E076EC46483}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TreeView_InteractionTests", "dev\TreeView\InteractionTests\TreeView_InteractionTests.shproj", "{AE638A24-2BC6-4D4F-A51E-715D198F01FD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TreeView_TestUI", "dev\TreeView\TestUI\TreeView_TestUI.shproj", "{B2C714DD-9C6B-400C-9CEF-13A2D48378BD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NavigationView_TestUI", "dev\NavigationView\TestUI\NavigationView_TestUI.shproj", "{7EE5E585-090A-44BF-A950-80636E242327}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NavigationView_ApiTests", "dev\NavigationView\NavigationView_ApiTests\NavigationView_ApiTests.shproj", "{E98F3DA3-3C00-4F2E-BF3B-2D2AD9D176BC}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NavigationView_InteractionTests", "dev\NavigationView\NavigationView_InteractionTests\NavigationView_InteractionTests.shproj", "{475C3A33-637A-44DC-B789-6C2D78A75283}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Lights", "Lights", "{F131939C-ECA6-4B18-A798-72229871B403}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lights", "dev\Lights\Lights.vcxitems", "{3479A3AE-2854-4BEC-80AB-EAB0772CB90A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Reveal_TestUI", "dev\Materials\Reveal\TestUI\Reveal_TestUI.shproj", "{5BF80AE9-29DF-4BE9-858A-F095C8073473}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RefreshInfoProviderAdapters", "RefreshInfoProviderAdapters", "{CD99B535-DFD9-4A17-A2BC-113E93DDE42A}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ScrollViewerIRefreshInfoProviderAdapter", "dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\ScrollViewerIRefreshInfoProviderAdapter.vcxitems", "{22A3D1C4-4D1C-4B04-B695-8FEC39BFED86}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollViewerAdapter_APITests", "dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\APITests\ScrollViewerAdapter_APITests.shproj", "{999C289E-5AD6-4700-A44E-E85B696E508A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RefreshContainer_InteractionTests", "dev\PullToRefresh\RefreshContainer\InteractionTests\RefreshContainer_InteractionTests.shproj", "{F30FE0D3-2E44-405E-8519-EC3AB098C41F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SwipeControl", "SwipeControl", "{0A89913A-4FA4-4E77-92C1-049D850D4761}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SwipeControl", "dev\SwipeControl\SwipeControl.vcxitems", "{FD63F767-BD98-45D9-8A63-3CD4A148D527}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SwipeControl_APITests", "dev\SwipeControl\SwipeControl_APITests\SwipeControl_APITests.shproj", "{B75D5D7E-6986-4500-972E-2C10A9B7CC10}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SwipeControl_InteractionTests", "dev\SwipeControl\SwipeControl_InteractionTests\SwipeControl_InteractionTests.shproj", "{9A8DA438-193C-4950-A046-2952DE2D3B0B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SwipeControl_TestUI", "dev\SwipeControl\SwipeControl_TestUI\SwipeControl_TestUI.shproj", "{BC75C32B-F63A-4F2D-902C-8142DB31A2E7}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Lights_ApiTests", "dev\lights\ApiTests\Lights_ApiTests\Lights_ApiTests.shproj", "{02ED27BE-97E4-4327-BB96-8B3FA6869C48}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonManaged", "dev\CommonManaged\CommonManaged.shproj", "{85A134E5-C83F-44A4-80DF-59F6EBF6C60D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AcrylicBrush_TestUI", "dev\Materials\Acrylic\TestUI\AcrylicBrush_TestUI.shproj", "{A800E818-7212-4FD7-AE3A-1DCAB539DB87}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AcrylicBrush_ApiTests", "dev\Materials\Acrylic\APITests\AcrylicBrush_ApiTests.shproj", "{593E15D8-F6F9-4ABA-BA65-C6927C178DBD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AcrylicBrush_InteractionTests", "dev\Materials\Acrylic\InteractionTests\AcrylicBrush_InteractionTests.shproj", "{F601284A-00C1-49F9-99B3-70D45585F784}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Reveal_InteractionTests", "dev\Materials\Reveal\InteractionTests\Reveal_InteractionTests\Reveal_InteractionTests.shproj", "{1F2872E7-28C9-4C01-88ED-73C43EE1C9A4}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Repeater", "Repeater", "{440DB3C5-0EFF-4F78-AD39-0C147230ABD3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Repeater", "dev\Repeater\Repeater.vcxitems", "{A0AA8919-2140-42DB-BEB1-B2C3ACE594F4}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Repeater_TestUI", "dev\Repeater\TestUI\Repeater_TestUI.shproj", "{2ED883F5-20DB-4445-8C96-517A21E5E657}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Repeater_APITests", "dev\Repeater\APITests\Repeater_APITests.shproj", "{8D2DA979-6313-49E2-8CF3-B568436D2944}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Repeater_InteractionTests", "dev\Repeater\InteractionTests\Repeater_InteractionTests.shproj", "{999E00C9-0E58-402A-8E0E-CBAFB0ADC7E3}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Reveal_APITests", "dev\Materials\Reveal\APITests\Reveal_APITests.shproj", "{5049EA6C-88CE-4ED5-8692-947EEC9E52BC}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ScrollViewerAdapter_InteractionTests", "dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\InteractionTests\ScrollViewerAdapter_InteractionTests.shproj", "{79863454-1DBF-45BB-B3D3-420B8F5E8705}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "IconSource", "IconSource", "{E220EFAB-BA88-458D-A271-279B6630E864}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "IconSource", "dev\IconSource\IconSource.vcxitems", "{19FFFF77-4814-4AD6-ACD7-42C6A50AB0D8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "IconSource_APITests", "dev\IconSource\APITests\IconSource_APITests.shproj", "{D73627E9-564C-4A72-A12D-F6C82F17AD0D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TwoPaneView", "TwoPaneView", "{8211954E-FE33-469C-87C7-9C863ACE1759}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TwoPaneView", "dev\TwoPaneView\TwoPaneView.vcxitems", "{8D0E4610-B51D-45C1-8B82-240BD2F73A92}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TwoPaneView_TestUI", "dev\TwoPaneView\TestUI\TwoPaneView_TestUI.shproj", "{9C533EC3-F8FA-4B0E-BA1B-3323932CDFCB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TwoPaneView_APITests", "dev\TwoPaneView\APITests\TwoPaneView_APITests.shproj", "{44DEAFBC-BB7A-4B02-AEAB-29DF2C2F8587}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TwoPaneView_InteractionTests", "dev\TwoPaneView\InteractionTests\TwoPaneView_InteractionTests.shproj", "{1294409D-9BAD-40CC-A74D-9AB29B343071}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestHooks", "dev\TestHooks\TestHooks.vcxitems", "{848448D5-F717-4F88-8F99-311CD60587FA}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PTRTracing", "PTRTracing", "{B4CF2535-396D-40AB-9028-D44233B31AE2}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PTRTracing", "dev\PullToRefresh\PTRTracing\PTRTracing.vcxitems", "{890A5548-0515-4099-B526-0539FE9A0376}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Interactions", "Interactions", "{3393A555-DA02-4310-AC37-129EE88661A0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ButtonInteraction", "ButtonInteraction", "{5D192660-07E0-4176-AE0A-EFEBAFA3C315}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ButtonInteraction_APITests", "dev\Interactions\ButtonInteraction\APITests\ButtonInteraction_APITests.shproj", "{8DC0EA14-D850-4C6E-8918-BEEB89E877BD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ButtonInteraction_InteractionTests", "dev\Interactions\ButtonInteraction\InteractionTests\ButtonInteraction_InteractionTests.shproj", "{C332CEAF-68B6-4980-B6F3-B15E350CDCE0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ButtonInteraction", "dev\Interactions\ButtonInteraction\ButtonInteraction.vcxitems", "{2459BC06-2AE5-4C65-BA73-AB28090B6FAB}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ButtonInteraction_TestUI", "dev\Interactions\ButtonInteraction\TestUI\ButtonInteraction_TestUI.shproj", "{11B35F24-72B2-4228-9960-0D1EA283E1AF}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SliderInteraction", "SliderInteraction", "{F518C300-1796-49AB-9A4F-0530BB285245}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SliderInteraction", "dev\Interactions\SliderInteraction\SliderInteraction.vcxitems", "{D097A4D5-6B61-424D-99F0-F335EFF41665}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SliderInteraction_APITests", "dev\Interactions\SliderInteraction\APITests\SliderInteraction_APITests.shproj", "{48F7B68B-8050-4523-8374-963AA3B2834F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SliderInteraction_InteractionTests", "dev\Interactions\SliderInteraction\InteractionTests\SliderInteraction_InteractionTests.shproj", "{BBBB0ADD-4E05-430C-9FFD-08A299FD1B06}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SliderInteraction_TestUI", "dev\Interactions\SliderInteraction\TestUI\SliderInteraction_TestUI.shproj", "{80F1F883-D49B-407D-9E77-C9B0E62B61A9}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PTR_TestUI", "dev\PullToRefresh\TestUI\PTR_TestUI.shproj", "{549C8EB7-E099-4EAB-A1F6-FAA3FA79B9E0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MenuBar", "MenuBar", "{49AE2707-4958-4B14-AC41-11ABD042FEA9}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MenuBar", "dev\MenuBar\MenuBar.vcxitems", "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MenuBar_TestUI", "dev\MenuBar\MenuBar_TestUI\MenuBar_TestUI.shproj", "{55CB08CA-19FE-4DB9-8160-A4EC47984B95}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MenuBar_InteractionTests", "dev\MenuBar\MenuBar_InteractionTests\MenuBar_InteractionTests.shproj", "{1440A7B7-D3CA-4390-8C85-E1E9A7DF8542}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SplitButton", "SplitButton", "{3C198E38-CC18-4965-AD7E-4A28256662A0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SplitButton", "dev\SplitButton\SplitButton.vcxitems", "{FAF114DD-AF1F-4D9F-A511-354C19912AAD}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SplitButton_APITests", "dev\SplitButton\APITests\SplitButton_APITests.shproj", "{E687C158-4C66-4AC5-8A1B-D095A82F1549}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SplitButton_InteractionTests", "dev\SplitButton\InteractionTests\SplitButton_InteractionTests.shproj", "{E1C861E2-C4D9-41E1-AED7-5E203451BD4D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SplitButton_TestUI", "dev\SplitButton\TestUI\SplitButton_TestUI.shproj", "{280C91F4-96B5-4BDE-9E02-E573E1DEF583}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LayoutPanel", "LayoutPanel", "{98A3D371-FA9F-4227-A991-7D2B3495E659}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "LayoutPanel", "dev\LayoutPanel\LayoutPanel.vcxitems", "{FD3C1A00-0D07-4849-A3B9-646F0FF21D7B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "DropDownButton", "DropDownButton", "{784CE86A-DF28-46A5-8D4F-FBBFC363FE8F}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DropDownButton", "dev\DropDownButton\DropDownButton.vcxitems", "{8613ED91-ADE3-4C5C-A09A-041187841EB3}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "DropDownButton_InteractionTests", "dev\DropDownButton\InteractionTests\DropDownButton_InteractionTests.shproj", "{D9AC3716-5608-40D0-999F-26F4B544BE33}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "DropDownButton_TestUI", "dev\DropDownButton\TestUI\DropDownButton_TestUI.shproj", "{954D7000-C06F-49EB-A7D2-0DF83DE6CA35}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "LayoutPanel_APITests", "dev\LayoutPanel\APITests\LayoutPanel_APITests.shproj", "{CDDF46EF-AA2D-4BB3-B33E-98B3DBB3C41B}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CommandBarFlyout", "CommandBarFlyout", "{C112A71E-D9C2-4085-851A-A7BB2910595D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommandBarFlyout", "dev\CommandBarFlyout\CommandBarFlyout.vcxitems", "{11C085FF-8F68-48EE-9949-6EECBD0CBE6C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommandBarFlyout_APITests", "dev\CommandBarFlyout\APITests\CommandBarFlyout_APITests.shproj", "{8F6F9336-C45C-40C1-ABDA-3679A20434B1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommandBarFlyout_InteractionTests", "dev\CommandBarFlyout\InteractionTests\CommandBarFlyout_InteractionTests.shproj", "{16F32F80-A8B6-44E0-9D99-0E1C2C8E0579}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommandBarFlyout_TestUI", "dev\CommandBarFlyout\TestUI\CommandBarFlyout_TestUI.shproj", "{E63F1C1D-F06D-46A0-B5C2-184184E44F29}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonStyles_TestUI", "dev\CommonStyles\TestUI\CommonStyles_TestUI.shproj", "{A7F6D6C4-A5A9-43EB-930C-B766417A5E5C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonStyles_InteractionTests", "dev\CommonStyles\InteractionTests\CommonStyles_InteractionTests.shproj", "{A25AE312-7C11-4E30-AE35-2E31C744A250}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RadioButtons", "RadioButtons", "{D232C226-CD18-4509-B848-80083AA9892B}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RadioButtons", "dev\RadioButtons\RadioButtons.vcxitems", "{E770A6D3-7252-4E8A-BD10-FA8524DF8C83}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioButtons_TestUI", "dev\RadioButtons\TestUI\RadioButtons_TestUI.shproj", "{833A6892-A079-469A-81C7-54D4CD88029B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioButtons_APITests", "dev\RadioButtons\APITests\RadioButtons_APITests.shproj", "{0352711A-D79A-4D82-8255-916D29522AE0}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioButtons_InteractionTests", "dev\RadioButtons\InteractionTests\RadioButtons_InteractionTests.shproj", "{42D6E8F9-59FE-4CA5-83EB-69A7622F5742}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CommonStyles", "CommonStyles", "{807E57C8-F3E8-4049-AB88-BE3D3285B441}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonStyles", "dev\CommonStyles\CommonStyles.vcxitems", "{3A07FA59-C5C1-4B46-8B31-043F9CA91226}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUXControlsTestApp", "test\MUXControlsTestApp\MSTest\MUXControlsTestApp.csproj", "{FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUXControlsTestApp.TAEF", "test\MUXControlsTestApp\TAEF\MUXControlsTestApp.TAEF.csproj", "{DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MUXControls.Test.Shared", "test\MUXControls.Test\MUXControls.Test.Shared.shproj", "{E9FC52CD-519A-41BB-8092-523FFA9D5617}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MUXControls.Test", "MUXControls.Test", "{85F9040A-109D-42FF-9BE3-4CF4181DDEF1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MUXControlsTestApp", "MUXControlsTestApp", "{666B53C4-A747-4538-AA51-8FF9DEE1BF60}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RadioMenuFlyoutItem", "RadioMenuFlyoutItem", "{00832735-360B-46BB-9BFA-B8C281951D55}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RadioMenuFlyoutItem", "dev\RadioMenuFlyoutItem\RadioMenuFlyoutItem.vcxitems", "{3353A4A7-87B3-4E43-8F8D-43C7380D1D56}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioMenuFlyoutItem_InteractionTests", "dev\RadioMenuFlyoutItem\InteractionTests\RadioMenuFlyoutItem_InteractionTests.shproj", "{89EC8D06-CA59-49A9-AEFE-32DCC9DD8020}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadioMenuFlyoutItem_TestUI", "dev\RadioMenuFlyoutItem\TestUI\RadioMenuFlyoutItem_TestUI.shproj", "{50E838A2-A886-46C9-AB0B-A57F510CE643}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MUXControlsTestApp.Shared", "test\MUXControlsTestApp\MUXControlsTestApp.Shared.shproj", "{6AA772A6-CBF7-4FF3-8864-BC9366015DC2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXControls.Test", "test\MUXControls.Test\MSTest\MUXControls.Test.csproj", "{D59C7B8E-5C09-4856-8AF3-25585A888707}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXControls.Test.TAEF", "test\MUXControls.Test\TAEF\MUXControls.Test.TAEF.csproj", "{4D8C5D1B-F982-44A1-B744-DD0E51651BF2}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TeachingTip", "TeachingTip", "{4873DE1A-27B5-47ED-9EDC-69727FD2095C}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TeachingTip", "dev\TeachingTip\TeachingTip.vcxitems", "{499B8BF7-BCA1-4C23-BAA7-59E2C551BE4B}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TeachingTip_APITests", "dev\TeachingTip\APITests\TeachingTip_APITests.shproj", "{18F1DB69-7457-461C-9D19-7F42BFFC0803}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TeachingTip_InteractionTests", "dev\TeachingTip\InteractionTests\TeachingTip_InteractionTests.shproj", "{C4421632-51BC-469D-BC49-F1CBD9269D49}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TeachingTip_TestUI", "dev\TeachingTip\TestUI\TeachingTip_TestUI.shproj", "{42A51D3E-F06A-41A0-BE4C-F94CDDB80678}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AnimatedVisualPlayer", "AnimatedVisualPlayer", "{80CCA53D-4A82-4F9F-A825-4FA3718C2AE0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AnimatedVisualPlayer", "dev\AnimatedVisualPlayer\AnimatedVisualPlayer.vcxitems", "{B39300D2-4510-44EA-AA7B-EDA9118F830E}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AnimatedVisualPlayer_InteractionTests", "dev\AnimatedVisualPlayer\InteractionTests\AnimatedVisualPlayer_InteractionTests.shproj", "{CBAACCF6-A27D-40B3-980B-ADF51A2EBB89}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AnimatedVisualPlayer_TestUI", "dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.shproj", "{DBEC0BE4-BA3F-41C9-A303-AF98201BE6DC}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonStyles_APITests", "dev\CommonStyles\APITests\CommonStyles_APITests.shproj", "{BA914F48-E924-4FD2-AEE1-264F67DB6C9F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TabView", "TabView", "{B3E64837-A5E4-49CB-97FF-A365307B9191}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TabView", "dev\TabView\TabView.vcxitems", "{B9F81FEF-1E8D-4FE1-A46B-7002D4C109D2}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TabView_APITests", "dev\TabView\APITests\TabView_APITests.shproj", "{2F4E95E9-F729-481C-B9AA-C9BEC91AE395}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TabView_InteractionTests", "dev\TabView\InteractionTests\TabView_InteractionTests.shproj", "{D1E297B4-5E5B-4807-8624-4141C817A98A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TabView_TestUI", "dev\TabView\TestUI\TabView_TestUI.shproj", "{1D87AAC7-1E11-40FC-90A7-B6CE1C4567AE}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AutoSuggestBox", "AutoSuggestBox", "{CFAFD6A7-FC7B-4C96-B292-A440C7C65D89}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AutoSuggestBox", "dev\AutoSuggestBox\AutoSuggestBox.vcxitems", "{417000D9-2641-4629-99F2-8F6033A6AC52}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AutoSuggestBox_TestUI", "dev\AutoSuggestBox\TestUI\AutoSuggestBox_TestUI.shproj", "{48BF2DAB-82B5-4705-A880-F5310FB697F9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ComboBox", "ComboBox", "{4C9CEC92-77C8-4B7B-8595-6C736A660F93}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ComboBox", "dev\ComboBox\ComboBox.vcxitems", "{00523CAF-422A-4185-9392-D374B72A019A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ComboBox_TestUI", "dev\ComboBox\TestUI\ComboBox_TestUI.shproj", "{BCDF880A-41EB-4943-AAE2-54A1A1159600}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProgressBar", "ProgressBar", "{C5EFA126-F329-4F8B-8DC9-E4182F4976D0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProgressBar", "dev\ProgressBar\ProgressBar.vcxitems", "{0F61C8BD-D066-4812-A02B-E95CE18A985D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressBar_InteractionTests", "dev\ProgressBar\InteractionTests\ProgressBar_InteractionTests.shproj", "{3D044EC1-C9D3-4745-B79E-E7BED66E93F8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressBar_TestUI", "dev\ProgressBar\TestUI\ProgressBar_TestUI.shproj", "{1A5321F3-B837-4EB6-9547-37CC70088EA9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "NumberBox", "NumberBox", "{E95C2CA1-FF23-47CC-A896-CC5175B37890}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "NumberBox", "dev\NumberBox\NumberBox.vcxitems", "{9D23C997-1F46-444A-8C07-4A4BFF7E4E63}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NumberBox_APITests", "dev\NumberBox\APITests\NumberBox_APITests.shproj", "{80AF98CA-BC1D-4011-8460-5671799EC419}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NumberBox_TestUI", "dev\NumberBox\TestUI\NumberBox_TestUI.shproj", "{13DA8235-D04F-46D4-B5B4-F5AE774EEEDE}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "NumberBox_InteractionTests", "dev\NumberBox\InteractionTests\NumberBox_InteractionTests.shproj", "{773F7592-E7B3-42FC-A14A-E815AFD6A0CB}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProgressRing", "dev\ProgressRing\ProgressRing.vcxitems", "{64447EFA-19B4-4BF2-9D63-618635C483EC}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ProgressRing", "ProgressRing", "{5A911304-2863-4A73-8023-26EFCB4E01DA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressRing_InteractionTests", "dev\ProgressRing\InteractionTests\ProgressRing_InteractionTests.shproj", "{8C2D60AF-44BC-47DA-8E44-D62E639BFC0A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressRing_TestUI", "dev\ProgressRing\TestUI\ProgressRing_TestUI.shproj", "{B58EC806-9951-4E5E-AF29-A700A088770E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "RadialGradientBrush", "RadialGradientBrush", "{2165C785-9365-4615-B227-8E9C7444ECE1}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RadialGradientBrush", "dev\RadialGradientBrush\RadialGradientBrush.vcxitems", "{8B056B8F-C1AB-4A80-BD17-DEACE9897E6A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadialGradientBrush_TestUI", "dev\RadialGradientBrush\TestUI\RadialGradientBrush_TestUI.shproj", "{AE308818-AF18-48BA-BF33-89779083D297}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RadialGradientBrush_InteractionTests", "dev\RadialGradientBrush\InteractionTests\RadialGradientBrush_InteractionTests.shproj", "{74D18B1B-5F6B-4534-945B-131E8E3206FB}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C3201CCE-4A1E-492A-BFCF-273F8C2991EC}" - ProjectSection(SolutionItems) = preProject - InnerLoopAreas.props = InnerLoopAreas.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MUXTestInfra", "MUXTestInfra", "{633B8D7A-3207-4BD3-8159-B65710AEA6FF}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MUXTestInfra.Shared", "test\testinfra\MUXTestInfra\MUXTestInfra.Shared.shproj", "{107794D7-4BE0-407E-A76C-EFA46D1E9F93}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXTestInfra.MSTest", "test\testinfra\MUXTestInfra\MSTest\MUXTestInfra.MSTest.csproj", "{D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXTestInfra.TAEF", "test\testinfra\MUXTestInfra\TAEF\MUXTestInfra.TAEF.csproj", "{990BBC65-1114-435D-B5CC-1EB8AAAD72DD}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AppTestAutomationHelpers", "test\testinfra\AppTestAutomationHelpers\AppTestAutomationHelpers.vcxproj", "{128E6F7A-578C-48DC-BD3F-750EC662C268}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{6F7831A4-48F8-41E8-A573-C567A1223CB5}" - ProjectSection(SolutionItems) = preProject - dev\NavigationView\docs\NavigationViewItem.md = dev\NavigationView\docs\NavigationViewItem.md - dev\NavigationView\docs\rendering.md = dev\NavigationView\docs\rendering.md - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PagerControl", "PagerControl", "{E7C2104F-770D-4375-8D3A-D173F222273A}" - ProjectSection(SolutionItems) = preProject - dev\PagerControl\readme.md = dev\PagerControl\readme.md - EndProjectSection -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PagerControl", "dev\PagerControl\PagerControl.vcxitems", "{AB3261A7-9A8D-4A27-AEA2-3AAC0419C889}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PagerControl_TestUI", "dev\PagerControl\TestUI\PagerControl_TestUI.shproj", "{225C4174-3141-49B8-ADE2-C7D3408D5103}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PagerControl_InteractionTests", "dev\PagerControl\InteractionTests\PagerControl_InteractionTests.shproj", "{4F64C819-664F-436A-BCDB-8AB3019B9DD5}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PagerControl_APITests", "dev\PagerControl\APITests\PagerControl_APITests.shproj", "{CB2352E2-D633-41A3-8CDC-B28731A4C490}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Expander", "Expander", "{93FAB536-1139-4FD1-B0BF-97C0C6FAB378}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Expander", "dev\Expander\Expander.vcxitems", "{EC3B6F65-32C6-4BC8-8902-EE0B397E2787}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Expander_TestUI", "dev\Expander\TestUI\Expander_TestUI.shproj", "{50C1F1D3-20AA-49A8-9E4C-CF4E5811A1D8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Expander_InteractionTests", "dev\Expander\InteractionTests\Expander_InteractionTests.shproj", "{D6DF4AB9-FACC-4E51-8C57-6B1F96919365}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "InfoBar", "InfoBar", "{1AD0CB4F-47F0-432B-8D4F-CE33FA3EB8A9}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InfoBar", "dev\InfoBar\InfoBar.vcxitems", "{CCC102B7-F5EF-479D-94F1-008D189448B1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBar_InteractionTests", "dev\InfoBar\InteractionTests\InfoBar_InteractionTests.shproj", "{F470A64E-780E-45AA-ABB7-73A8734E51D7}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBar_TestUI", "dev\InfoBar\TestUI\InfoBar_TestUI.shproj", "{32DFAF1E-C2EC-4C52-A4D8-B3A3946242B4}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Breadcrumb", "Breadcrumb", "{41F0100B-9131-4E80-9F2B-671EEAE4CF32}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BreadcrumbBar", "dev\Breadcrumb\Breadcrumb.vcxitems", "{563FE343-C6B0-447B-831A-B0CE3AA7A688}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Breadcrumb_APITests", "dev\Breadcrumb\APITests\Breadcrumb_APITests.shproj", "{48DF0143-C6A7-4184-BCC4-E59EAC5D49F1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Breadcrumb_TestUI", "dev\Breadcrumb\TestUI\Breadcrumb_TestUI.shproj", "{657121B7-3E4F-4C76-ABE2-0221A7997929}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Breadcrumb_InteractionTests", "dev\Breadcrumb\InteractionTests\Breadcrumb_InteractionTests.shproj", "{C1477378-4A7A-43E5-8499-98A23544CC8A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PipsPager", "PipsPager", "{AA960C72-877F-4F3C-92D2-7ADD34D643F4}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PipsPager", "dev\PipsPager\PipsPager.vcxitems", "{D1EB61D8-C689-4AD1-BD61-FDAA50362563}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PipsPager_APITests", "dev\PipsPager\APITests\PipsPager_APITests.shproj", "{9CF0D73A-E435-4C17-A41C-11E9FA3EEA2F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PipsPager_TestUI", "dev\PipsPager\TestUI\PipsPager_TestUI.shproj", "{44F0E6BC-6222-4F16-8050-BB31DD804C4A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PipsPager_InteractionTests", "dev\PipsPager\InteractionTests\PipsPager_InteractionTests.shproj", "{B1D8E6A2-3FE6-4D80-9685-26DF2C9F4331}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ImageIcon", "ImageIcon", "{21638B33-D4DE-4D10-84F8-3E2DACF975C7}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ImageIcon", "dev\ImageIcon\ImageIcon.vcxitems", "{9FB38577-696E-47BA-8AE2-F48A3C84A7CA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ImageIcon_APITests", "dev\ImageIcon\APITests\ImageIcon_APITests.shproj", "{27AAE2E5-9687-4120-822F-CDB68B9A65B7}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ImageIcon_TestUI", "dev\ImageIcon\TestUI\ImageIcon_TestUI.shproj", "{DDE1C022-6F9A-4067-89C2-81F2EEAF249F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ImageIcon_InteractionTests", "dev\ImageIcon\InteractionTests\ImageIcon_InteractionTests.shproj", "{F14FB632-E705-44BC-9415-75B539F483E1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AnimatedIcon", "AnimatedIcon", "{16AA0E0D-A66B-47D5-8051-541BE529F869}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AnimatedIcon", "dev\AnimatedIcon\AnimatedIcon.vcxitems", "{F1C8A5A1-B1B0-4095-8849-E550FCF2EBF6}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "AnimatedIcon_TestUI", "dev\AnimatedIcon\TestUI\AnimatedIcon_TestUI.shproj", "{83FD36C0-189F-4E95-8002-9B73905CA301}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MonochromaticOverlayPresenter", "MonochromaticOverlayPresenter", "{AED8C469-E765-4A92-A66E-D20513A049A5}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MonochromaticOverlayPresenter", "dev\MonochromaticOverlayPresenter\MonochromaticOverlayPresenter.vcxitems", "{D03847C1-7EE7-4423-82FD-3CB31DAF98D1}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MonochromaticOverlayPresenter_TestUI", "dev\MonochromaticOverlayPresenter\TestUI\MonochromaticOverlayPresenter_TestUI.shproj", "{52AAA6ED-E5A0-41BB-8858-66249333A8D4}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SampleControl", "SampleControl", "{7F772F61-C0BC-447E-9F55-9B9FE6F005DB}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleControl", "dev\SampleControl\SampleControl.vcxitems", "{A329FB8A-3093-4050-83D3-4D9F5847F3B8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SampleControl_APITests", "dev\SampleControl\APITests\SampleControl_APITests.shproj", "{65521A02-7166-48BE-B524-8F8F0ECC3A76}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SampleControl_TestUI", "dev\SampleControl\TestUI\SampleControl_TestUI.shproj", "{05361409-7FBB-4296-996F-2E591857D84A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SampleControl_InteractionTests", "dev\SampleControl\InteractionTests\SampleControl_InteractionTests.shproj", "{30120040-3EB8-404D-9344-5E99E34B6090}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "InfoBadge", "InfoBadge", "{FFCAAB60-C938-40C5-90E4-115584B22CDF}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InfoBadge", "dev\InfoBadge\InfoBadge.vcxitems", "{E7DEA84C-CCCE-4458-8499-5182F67BC7BA}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBadge_APITests", "dev\InfoBadge\APITests\InfoBadge_APITests.shproj", "{D83F60A3-EB44-46F2-8EE7-B28C90004E5F}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBadge_TestUI", "dev\InfoBadge\TestUI\InfoBadge_TestUI.shproj", "{1F30CAC6-7EFB-4CE9-B119-64821C117CB9}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "InfoBadge_InteractionTests", "dev\InfoBadge\InteractionTests\InfoBadge_InteractionTests.shproj", "{F55AB8BF-F828-4A2E-BCDF-68F22AED35C3}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ProgressRing_APITests", "dev\ProgressRing\APITests\ProgressRing_APITests.shproj", "{222EF6F6-0845-49E7-81F2-9686CEF85C67}" -EndProject -Global - GlobalSection(SharedMSBuildProjectFiles) = preSolution - dev\ComboBox\ComboBox.vcxitems*{00523caf-422a-4185-9392-d374b72a019a}*SharedItemsImports = 9 - dev\ParallaxView\TestUI\ParallaxView_TestUI.projitems*{00c52fd5-42fd-33b4-84a0-795c9b5a014d}*SharedItemsImports = 13 - dev\lights\ApiTests\Lights_ApiTests\Lights_ApiTests.projitems*{02ed27be-97e4-4327-bb96-8b3fa6869c48}*SharedItemsImports = 13 - dev\RadioButtons\APITests\RadioButtons_APITests.projitems*{0352711a-d79a-4d82-8255-916d29522ae0}*SharedItemsImports = 13 - dev\SampleControl\TestUI\SampleControl_TestUI.projitems*{05361409-7fbb-4296-996f-2e591857d84a}*SharedItemsImports = 13 - dev\Telemetry\Telemetry.vcxitems*{0db22ba9-6053-459b-baf5-e82ea1c78ab3}*SharedItemsImports = 9 - dev\ScrollPresenter\TestUI\ScrollPresenter_TestUI.projitems*{0ec52fd5-42fe-3eb4-84e0-79ec9b5a014e}*SharedItemsImports = 13 - dev\ProgressBar\ProgressBar.vcxitems*{0f61c8bd-d066-4812-a02b-e95ce18a985d}*SharedItemsImports = 9 - test\testinfra\MUXTestInfra\MUXTestInfra.Shared.projitems*{107794d7-4be0-407e-a76c-efa46d1e9f93}*SharedItemsImports = 13 - dev\RatingControl\TestUI\RatingControl_TestUI.projitems*{10c52fd4-52fc-43b3-94af-895c9b5a014c}*SharedItemsImports = 13 - dev\Interactions\ButtonInteraction\TestUI\ButtonInteraction_TestUI.projitems*{11b35f24-72b2-4228-9960-0d1ea283e1af}*SharedItemsImports = 13 - dev\CommandBarFlyout\CommandBarFlyout.vcxitems*{11c085ff-8f68-48ee-9949-6eecbd0cbe6c}*SharedItemsImports = 9 - dev\TwoPaneView\InteractionTests\TwoPaneView_InteractionTests.projitems*{1294409d-9bad-40cc-a74d-9ab29b343071}*SharedItemsImports = 13 - dev\NumberBox\TestUI\NumberBox_TestUI.projitems*{13da8235-d04f-46d4-b5b4-f5ae774eeede}*SharedItemsImports = 13 - dev\MenuBar\MenuBar_InteractionTests\MenuBar_InteractionTests.projitems*{1440a7b7-d3ca-4390-8c85-e1e9a7df8542}*SharedItemsImports = 13 - dev\Effects\Microsoft.UI.Private.Composition.Effects.vcxitems*{1522a856-17ce-4178-a6b3-0692f90d7c55}*SharedItemsImports = 9 - dev\CommandBarFlyout\InteractionTests\CommandBarFlyout_InteractionTests.projitems*{16f32f80-a8b6-44e0-9d99-0e1c2c8e0579}*SharedItemsImports = 13 - dev\TeachingTip\APITests\TeachingTip_APITests.projitems*{18f1db69-7457-461c-9d19-7f42bffc0803}*SharedItemsImports = 13 - dev\IconSource\IconSource.vcxitems*{19ffff77-4814-4ad6-acd7-42c6a50ab0d8}*SharedItemsImports = 9 - dev\ProgressBar\TestUI\ProgressBar_TestUI.projitems*{1a5321f3-b837-4eb6-9547-37cc70088ea9}*SharedItemsImports = 13 - dev\NavigationView\NavigationView.vcxitems*{1b8ef049-a38e-43e4-b88e-f1ebfcef07d2}*SharedItemsImports = 9 - dev\TabView\TestUI\TabView_TestUI.projitems*{1d87aac7-1e11-40fc-90a7-b6ce1c4567ae}*SharedItemsImports = 13 - dev\Materials\Reveal\InteractionTests\Reveal_InteractionTests\Reveal_InteractionTests.projitems*{1f2872e7-28c9-4c01-88ed-73c43ee1c9a4}*SharedItemsImports = 13 - dev\InfoBadge\TestUI\InfoBadge_TestUI.projitems*{1f30cac6-7efb-4ce9-b119-64821c117cb9}*SharedItemsImports = 13 - dev\ScrollView\TestUI\ScrollView_TestUI.projitems*{20c52fd5-62fd-53b4-a4a0-995c9b5a014d}*SharedItemsImports = 13 - dev\ProgressRing\APITests\ProgressRing_APITests.projitems*{222ef6f6-0845-49e7-81f2-9686cef85c67}*SharedItemsImports = 13 - dev\PagerControl\TestUI\PagerControl_TestUI.projitems*{225c4174-3141-49b8-ade2-c7d3408d5103}*SharedItemsImports = 13 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\ScrollViewerIRefreshInfoProviderAdapter.vcxitems*{22a3d1c4-4d1c-4b04-b695-8fec39bfed86}*SharedItemsImports = 9 - dev\Interactions\ButtonInteraction\ButtonInteraction.vcxitems*{2459bc06-2ae5-4c65-ba73-ab28090b6fab}*SharedItemsImports = 9 - dev\ColorPicker\ColorPicker.vcxitems*{248cc96d-67a2-4359-a4e3-ab0dad110a1e}*SharedItemsImports = 9 - dev\RatingControl\APITests\RatingControl_APITests.projitems*{274b93f7-cd18-4ed9-b569-0640529d187b}*SharedItemsImports = 13 - dev\ImageIcon\APITests\ImageIcon_APITests.projitems*{27aae2e5-9687-4120-822f-cdb68b9a65b7}*SharedItemsImports = 13 - dev\SplitButton\TestUI\SplitButton_TestUI.projitems*{280c91f4-96b5-4bde-9e02-e573e1def583}*SharedItemsImports = 13 - dev\Repeater\TestUI\Repeater_TestUI.projitems*{2ed883f5-20db-4445-8c96-517a21e5e657}*SharedItemsImports = 13 - dev\TabView\APITests\TabView_APITests.projitems*{2f4e95e9-f729-481c-b9aa-c9bec91ae395}*SharedItemsImports = 13 - dev\SampleControl\InteractionTests\SampleControl_InteractionTests.projitems*{30120040-3eb8-404d-9344-5e99e34b6090}*SharedItemsImports = 13 - dev\MenuFlyout\TestUI\MenuFlyout_TestUI.projitems*{2ef860e2-8766-41fc-bde2-e6b18bb8c206}*SharedItemsImports = 13 - dev\TabView\APITests\TabView_APITests.projitems*{2f4e95e9-f729-481c-b9aa-c9bec91ae395}*SharedItemsImports = 13 - dev\ParallaxView\ParallaxView.vcxitems*{3095445a-afcd-5154-ac36-9770e6ec1aa5}*SharedItemsImports = 9 - dev\InfoBar\TestUI\InfoBar_TestUI.projitems*{32dfaf1e-c2ec-4c52-a4d8-b3a3946242b4}*SharedItemsImports = 13 - dev\RadioMenuFlyoutItem\RadioMenuFlyoutItem.vcxitems*{3353a4a7-87b3-4e43-8f8d-43c7380d1d56}*SharedItemsImports = 9 - dev\Lights\Lights.vcxitems*{3479a3ae-2854-4bec-80ab-eab0772cb90a}*SharedItemsImports = 9 - dev\ScrollPresenter\ScrollPresenter.vcxitems*{359544aa-a8cd-715c-cc36-f770e6e81aa0}*SharedItemsImports = 9 - dev\ParallaxView\APITests\ParallaxView_APITests.projitems*{374b93f7-cd18-4ed9-b569-0640529d187c}*SharedItemsImports = 13 - dev\ScrollView\APITests\ScrollView_APITests.projitems*{374b93f8-dd19-5eda-c56a-1640529d187c}*SharedItemsImports = 13 - dev\Collections\Collections.vcxitems*{395a71a1-4327-477b-85d4-af0851732ccb}*SharedItemsImports = 9 - dev\CommonStyles\CommonStyles.vcxitems*{3a07fa59-c5c1-4b46-8b31-043f9ca91226}*SharedItemsImports = 9 - dev\Materials\Acrylic\AcrylicBrush.vcxitems*{3affd0ce-c682-4e59-a9d4-be8ec3f485da}*SharedItemsImports = 9 - dev\ProgressBar\InteractionTests\ProgressBar_InteractionTests.projitems*{3d044ec1-c9d3-4745-b79e-e7bed66e93f8}*SharedItemsImports = 13 - dev\AutoSuggestBox\AutoSuggestBox.vcxitems*{417000d9-2641-4629-99f2-8f6033a6ac52}*SharedItemsImports = 9 - dev\TeachingTip\TestUI\TeachingTip_TestUI.projitems*{42a51d3e-f06a-41a0-be4c-f94cddb80678}*SharedItemsImports = 13 - dev\RadioButtons\InteractionTests\RadioButtons_InteractionTests.projitems*{42d6e8f9-59fe-4ca5-83eb-69a7622f5742}*SharedItemsImports = 13 - dev\TwoPaneView\APITests\TwoPaneView_APITests.projitems*{44deafbc-bb7a-4b02-aeab-29df2c2f8587}*SharedItemsImports = 13 - dev\PipsPager\TestUI\PipsPager_TestUI.projitems*{44f0e6bc-6222-4f16-8050-bb31dd804c4a}*SharedItemsImports = 13 - dev\ResourceHelper\ResourceHelper.vcxitems*{45d41acc-2c3c-43d2-bc10-02aa73ffc7c7}*SharedItemsImports = 9 - dev\ScrollPresenter\APITests\ScrollPresenter_APITests.projitems*{474b92f7-cd58-fed9-8569-9640529d1871}*SharedItemsImports = 13 - dev\NavigationView\NavigationView_InteractionTests\NavigationView_InteractionTests.projitems*{475c3a33-637a-44dc-b789-6c2d78a75283}*SharedItemsImports = 13 - dev\AutoSuggestBox\TestUI\AutoSuggestBox_TestUI.projitems*{48bf2dab-82b5-4705-a880-f5310fb697f9}*SharedItemsImports = 13 - dev\Breadcrumb\APITests\Breadcrumb_APITests.projitems*{48df0143-c6a7-4184-bcc4-e59eac5d49f1}*SharedItemsImports = 13 - dev\Interactions\SliderInteraction\APITests\SliderInteraction_APITests.projitems*{48f7b68b-8050-4523-8374-963aa3b2834f}*SharedItemsImports = 13 - dev\Materials\Reveal\RevealBrush.vcxitems*{4993a99d-57ae-4ee7-a3c1-0840ed127608}*SharedItemsImports = 9 - dev\TeachingTip\TeachingTip.vcxitems*{499b8bf7-bca1-4c23-baa7-59e2c551be4b}*SharedItemsImports = 9 - dev\ColorPicker\TestUI\ColorPicker_TestUI.projitems*{4a87b4f1-4b6f-435a-950e-b2bb32a16001}*SharedItemsImports = 13 - dev\PagerControl\InteractionTests\PagerControl_InteractionTests.projitems*{4f64c819-664f-436a-bcdb-8ab3019b9dd5}*SharedItemsImports = 13 - dev\Materials\Reveal\APITests\Reveal_APITests.projitems*{5049ea6c-88ce-4ed5-8692-947eec9e52bc}*SharedItemsImports = 13 - dev\Expander\TestUI\Expander_TestUI.projitems*{50c1f1d3-20aa-49a8-9e4c-cf4e5811a1d8}*SharedItemsImports = 13 - dev\RadioMenuFlyoutItem\TestUI\RadioMenuFlyoutItem_TestUI.projitems*{50e838a2-a886-46c9-ab0b-a57f510ce643}*SharedItemsImports = 13 - dev\PersonPicture\APITests\PersonPicture_APITests.projitems*{5243ef2c-f250-48bd-b633-39cc2a0a38aa}*SharedItemsImports = 13 - dev\MonochromaticOverlayPresenter\TestUI\MonochromaticOverlayPresenter_TestUI.projitems*{52aaa6ed-e5a0-41bb-8858-66249333a8d4}*SharedItemsImports = 13 - dev\PullToRefresh\TestUI\PTR_TestUI.projitems*{549c8eb7-e099-4eab-a1f6-faa3fa79b9e0}*SharedItemsImports = 13 - dev\MenuBar\MenuBar_TestUI\MenuBar_TestUI.projitems*{55cb08ca-19fe-4db9-8160-a4ec47984b95}*SharedItemsImports = 13 - dev\Breadcrumb\Breadcrumb.vcxitems*{563fe343-c6b0-447b-831a-b0ce3aa7a688}*SharedItemsImports = 9 - dev\Materials\Acrylic\APITests\AcrylicBrush_ApiTests.projitems*{593e15d8-f6f9-4aba-ba65-c6927c178dbd}*SharedItemsImports = 13 - dev\Materials\Reveal\TestUI\Reveal_TestUI.projitems*{5bf80ae9-29df-4be9-858a-f095c8073473}*SharedItemsImports = 13 - dev\PersonPicture\PersonPicture.vcxitems*{5fdf2501-aa3d-4082-ad45-d1f2a94c1213}*SharedItemsImports = 9 - dev\ProgressRing\ProgressRing.vcxitems*{64447efa-19b4-4bf2-9d63-618635c483ec}*SharedItemsImports = 9 - dev\SampleControl\APITests\SampleControl_APITests.projitems*{65521a02-7166-48be-b524-8f8f0ecc3a76}*SharedItemsImports = 13 - dev\RatingControl\RatingControl.vcxitems*{655f5da8-f87b-45af-88d1-a884881c3edf}*SharedItemsImports = 9 - dev\Breadcrumb\TestUI\Breadcrumb_TestUI.projitems*{657121b7-3e4f-4c76-abe2-0221a7997929}*SharedItemsImports = 13 - test\MUXControlsTestApp\MUXControlsTestApp.Shared.projitems*{6aa772a6-cbf7-4ff3-8864-bc9366015dc2}*SharedItemsImports = 13 - dev\RadialGradientBrush\InteractionTests\RadialGradientBrush_InteractionTests.projitems*{74d18b1b-5f6b-4534-945b-131e8e3206fb}*SharedItemsImports = 13 - dev\ScrollView\ScrollView.vcxitems*{755f5da9-087c-55a0-98d2-b884881c3ed0}*SharedItemsImports = 9 - dev\NumberBox\InteractionTests\NumberBox_InteractionTests.projitems*{773f7592-e7b3-42fc-a14a-e815afd6a0cb}*SharedItemsImports = 13 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\InteractionTests\ScrollViewerAdapter_InteractionTests.projitems*{79863454-1dbf-45bb-b3d3-420b8f5e8705}*SharedItemsImports = 13 - dev\NavigationView\TestUI\NavigationView_TestUI.projitems*{7ee5e585-090a-44bf-a950-80636e242327}*SharedItemsImports = 13 - dev\Common\Common.vcxitems*{80ad7f51-8997-47b9-bb41-078b81cff9b0}*SharedItemsImports = 9 - dev\NumberBox\APITests\NumberBox_APITests.projitems*{80af98ca-bc1d-4011-8460-5671799ec419}*SharedItemsImports = 13 - dev\Interactions\SliderInteraction\TestUI\SliderInteraction_TestUI.projitems*{80f1f883-d49b-407d-9e77-c9b0e62b61a9}*SharedItemsImports = 13 - dev\RadioButtons\TestUI\RadioButtons_TestUI.projitems*{833a6892-a079-469a-81c7-54d4cd88029b}*SharedItemsImports = 13 - dev\AnimatedIcon\TestUI\AnimatedIcon_TestUI.projitems*{83fd36c0-189f-4e95-8002-9b73905ca301}*SharedItemsImports = 13 - dev\TestHooks\TestHooks.vcxitems*{848448d5-f717-4f88-8f99-311cd60587fa}*SharedItemsImports = 9 - dev\CommonManaged\CommonManaged.projitems*{85a134e5-c83f-44a4-80df-59f6ebf6c60d}*SharedItemsImports = 13 - dev\DropDownButton\DropDownButton.vcxitems*{8613ed91-ade3-4c5c-a09a-041187841eb3}*SharedItemsImports = 9 - dev\PullToRefresh\PTRTracing\PTRTracing.vcxitems*{890a5548-0515-4099-b526-0539fe9a0376}*SharedItemsImports = 9 - dev\RadioMenuFlyoutItem\InteractionTests\RadioMenuFlyoutItem_InteractionTests.projitems*{89ec8d06-ca59-49a9-aefe-32dcc9dd8020}*SharedItemsImports = 13 - dev\PersonPicture\TestUI\PersonPicture_TestUI.projitems*{8a1690fb-aa8c-461a-840c-89cdbb44bdba}*SharedItemsImports = 13 - dev\RadialGradientBrush\RadialGradientBrush.vcxitems*{8b056b8f-c1ab-4a80-bd17-deace9897e6a}*SharedItemsImports = 9 - dev\MenuBar\MenuBar.vcxitems*{8bc9ceb8-8b4a-11d0-8d11-00a0c91bc942}*SharedItemsImports = 9 - dev\ProgressRing\InteractionTests\ProgressRing_InteractionTests.projitems*{8c2d60af-44bc-47da-8e44-d62e639bfc0a}*SharedItemsImports = 13 - dev\TwoPaneView\TwoPaneView.vcxitems*{8d0e4610-b51d-45c1-8b82-240bd2f73a92}*SharedItemsImports = 9 - dev\Repeater\APITests\Repeater_APITests.projitems*{8d2da979-6313-49e2-8cf3-b568436d2944}*SharedItemsImports = 13 - dev\Interactions\ButtonInteraction\APITests\ButtonInteraction_APITests.projitems*{8dc0ea14-d850-4c6e-8918-beeb89e877bd}*SharedItemsImports = 13 - dev\CommandBarFlyout\APITests\CommandBarFlyout_APITests.projitems*{8f6f9336-c45c-40c1-abda-3679a20434b1}*SharedItemsImports = 13 - dev\ScrollPresenter\InteractionTests\ScrollPresenter_InteractionTests.projitems*{8faad013-139c-8d2a-2285-45f717d9e64a}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshContainer\RefreshContainer.vcxitems*{94aaadf1-80ca-45a7-9bd8-c6d00d58334d}*SharedItemsImports = 9 - dev\DropDownButton\TestUI\DropDownButton_TestUI.projitems*{954d7000-c06f-49eb-a7d2-0df83de6ca35}*SharedItemsImports = 13 - dev\PullToRefresh\ScrollViewerIRefreshInfoProviderAdapter\APITests\APITests.projitems*{999c289e-5ad6-4700-a44e-e85b696e508a}*SharedItemsImports = 13 - dev\Repeater\InteractionTests\Repeater_InteractionTests.projitems*{999e00c9-0e58-402a-8e0e-cbafb0adc7e3}*SharedItemsImports = 13 - dev\SwipeControl\SwipeControl_InteractionTests\SwipeControl_InteractionTests.projitems*{9a8da438-193c-4950-a046-2952de2d3b0b}*SharedItemsImports = 13 - dev\TwoPaneView\TestUI\TwoPaneView_TestUI.projitems*{9c533ec3-f8fa-4b0e-ba1b-3323932cdfcb}*SharedItemsImports = 13 - dev\PipsPager\APITests\PipsPager_APITests.projitems*{9cf0d73a-e435-4c17-a41c-11e9fa3eea2f}*SharedItemsImports = 13 - dev\NumberBox\NumberBox.vcxitems*{9d23c997-1f46-444a-8c07-4a4bff7e4e63}*SharedItemsImports = 9 - dev\ImageIcon\ImageIcon.vcxitems*{9fb38577-696e-47ba-8ae2-f48a3c84a7ca}*SharedItemsImports = 9 - dev\Repeater\Repeater.vcxitems*{a0aa8919-2140-42db-beb1-b2c3ace594f4}*SharedItemsImports = 9 - dev\CommonStyles\InteractionTests\CommonStyles_InteractionTests.projitems*{a25ae312-7c11-4e30-ae35-2e31c744a250}*SharedItemsImports = 13 - dev\SampleControl\SampleControl.vcxitems*{a329fb8a-3093-4050-83d3-4d9f5847f3b8}*SharedItemsImports = 9 - dev\ColorPicker\InteractionTests\ColorPicker_InteractionTests.projitems*{a4d2fae8-e7fc-4100-91ff-2202fac91c70}*SharedItemsImports = 13 - dev\CommonStyles\TestUI\CommonStyles_TestUI.projitems*{a7f6d6c4-a5a9-43eb-930c-b766417a5e5c}*SharedItemsImports = 13 - dev\Materials\Acrylic\TestUI\AcrylicBrush_TestUI.projitems*{a800e818-7212-4fd7-ae3a-1dcab539db87}*SharedItemsImports = 13 - dev\PagerControl\PagerControl.vcxitems*{ab3261a7-9a8d-4a27-aea2-3aac0419c889}*SharedItemsImports = 9 - dev\AnimatedIcon\AnimatedIcon.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\AnimatedVisualPlayer\AnimatedVisualPlayer.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Collections\Collections.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\CommonStyles\CommonStyles.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Common\Common.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\DropDownButton\DropDownButton.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Effects\Microsoft.UI.Private.Composition.Effects.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\IconSource\IconSource.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ImageIcon\ImageIcon.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Lights\Lights.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Materials\Acrylic\AcrylicBrush.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Materials\Reveal\RevealBrush.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\MonochromaticOverlayPresenter\MonochromaticOverlayPresenter.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\ResourceHelper\ResourceHelper.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\SplitButton\SplitButton.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\Telemetry\Telemetry.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\TestHooks\TestHooks.vcxitems*{ad0c90b0-4845-4d4b-88f1-86f653f8171b}*SharedItemsImports = 4 - dev\RadialGradientBrush\TestUI\RadialGradientBrush_TestUI.projitems*{ae308818-af18-48ba-bf33-89779083d297}*SharedItemsImports = 13 - dev\TreeView\InteractionTests\TreeView_InteractionTests.projitems*{ae638a24-2bc6-4d4f-a51e-715d198f01fd}*SharedItemsImports = 13 - dev\RatingControl\InteractionTests\RatingControl_InteractionTests.projitems*{afaad014-132c-4d2a-a28e-4ef717d3e647}*SharedItemsImports = 13 - dev\PersonPicture\InteractionTests\PersonPicture_InteractionTests.projitems*{b0c15318-1f57-4914-b860-ebf248841511}*SharedItemsImports = 13 - dev\PipsPager\InteractionTests\PipsPager_InteractionTests.projitems*{b1d8e6a2-3fe6-4d80-9685-26df2c9f4331}*SharedItemsImports = 13 - dev\TreeView\TestUI\TreeView_TestUI.projitems*{b2c714dd-9c6b-400c-9cef-13a2d48378bd}*SharedItemsImports = 13 - dev\AnimatedVisualPlayer\AnimatedVisualPlayer.vcxitems*{b39300d2-4510-44ea-aa7b-eda9118f830e}*SharedItemsImports = 9 - dev\ProgressRing\TestUI\ProgressRing_TestUI.projitems*{b58ec806-9951-4e5e-af29-a700a088770e}*SharedItemsImports = 13 - dev\SwipeControl\SwipeControl_APITests\SwipeControl_APITests.projitems*{b75d5d7e-6986-4500-972e-2c10a9b7cc10}*SharedItemsImports = 13 - dev\TabView\TabView.vcxitems*{b9f81fef-1e8d-4fe1-a46b-7002d4c109d2}*SharedItemsImports = 9 - dev\CommonStyles\APITests\CommonStyles_ApiTests.projitems*{ba914f48-e924-4fd2-aee1-264f67db6c9f}*SharedItemsImports = 13 - dev\Interactions\SliderInteraction\InteractionTests\SliderInteraction_InteractionTests.projitems*{bbbb0add-4e05-430c-9ffd-08a299fd1b06}*SharedItemsImports = 13 - dev\SwipeControl\SwipeControl_TestUI\SwipeControl_TestUI.projitems*{bc75c32b-f63a-4f2d-902c-8142db31a2e7}*SharedItemsImports = 13 - dev\ComboBox\TestUI\ComboBox_TestUI.projitems*{bcdf880a-41eb-4943-aae2-54a1a1159600}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshVisualizer\TestUI\RefreshVisualizer_TestUI.projitems*{bf236ee7-b31d-4150-a777-2b91492a84e2}*SharedItemsImports = 13 - dev\ParallaxView\InteractionTests\ParallaxView_InteractionTests.projitems*{bfaad014-132c-4d2a-a28e-4ef717d3e648}*SharedItemsImports = 13 - dev\ScrollView\InteractionTests\ScrollView_InteractionTests.projitems*{bfaad015-232d-5d2b-b28f-5ef717d3e648}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshVisualizer\APITests\RefreshVisualizer_APITests.projitems*{c0d77e37-d2d0-4e37-b6a1-8e6eae28945d}*SharedItemsImports = 13 - dev\Breadcrumb\InteractionTests\Breadcrumb_InteractionTests.projitems*{c1477378-4a7a-43e5-8499-98a23544cc8a}*SharedItemsImports = 13 - dev\Interactions\ButtonInteraction\InteractionTests\ButtonInteraction_InteractionTests.projitems*{c332ceaf-68b6-4980-b6f3-b15e350cdce0}*SharedItemsImports = 13 - dev\TeachingTip\InteractionTests\TeachingTip_InteractionTests.projitems*{c4421632-51bc-469d-bc49-f1cbd9269d49}*SharedItemsImports = 13 - dev\PagerControl\APITests\PagerControl_APITests.projitems*{cb2352e2-d633-41a3-8cdc-b28731a4c490}*SharedItemsImports = 13 - dev\AnimatedVisualPlayer\InteractionTests\AnimatedVisualPlayer_InteractionTests.projitems*{cbaaccf6-a27d-40b3-980b-adf51a2ebb89}*SharedItemsImports = 13 - dev\InfoBar\InfoBar.vcxitems*{ccc102b7-f5ef-479d-94f1-008d189448b1}*SharedItemsImports = 9 - dev\LayoutPanel\APITests\LayoutPanel_APITests.projitems*{cddf46ef-aa2d-4bb3-b33e-98b3dbb3c41b}*SharedItemsImports = 13 - dev\MonochromaticOverlayPresenter\MonochromaticOverlayPresenter.vcxitems*{d03847c1-7ee7-4423-82fd-3cb31daf98d1}*SharedItemsImports = 9 - dev\Interactions\SliderInteraction\SliderInteraction.vcxitems*{d097a4d5-6b61-424d-99f0-f335eff41665}*SharedItemsImports = 9 - dev\TabView\InteractionTests\TabView_InteractionTests.projitems*{d1e297b4-5e5b-4807-8624-4141c817a98a}*SharedItemsImports = 13 - dev\PipsPager\PipsPager.vcxitems*{d1eb61d8-c689-4ad1-bd61-fdaa50362563}*SharedItemsImports = 9 - dev\Expander\InteractionTests\Expander_InteractionTests.projitems*{d6df4ab9-facc-4e51-8c57-6b1f96919365}*SharedItemsImports = 13 - dev\IconSource\APITests\IconSource_APITests.projitems*{d73627e9-564c-4a72-a12d-f6c82f17ad0d}*SharedItemsImports = 13 - dev\InfoBadge\APITests\InfoBadge_APITests.projitems*{d83f60a3-eb44-46f2-8ee7-b28c90004e5f}*SharedItemsImports = 13 - dev\DropDownButton\InteractionTests\DropDownButton_InteractionTests.projitems*{d9ac3716-5608-40d0-999f-26f4b544be33}*SharedItemsImports = 13 - dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.projitems*{dbec0be4-ba3f-41c9-a303-af98201be6dc}*SharedItemsImports = 13 - dev\PullToRefresh\RefreshContainer\TestUI\RefreshContainer_TestUI.projitems*{ddb468e4-7b64-4301-8fcb-1bebbb1e689f}*SharedItemsImports = 13 - dev\ImageIcon\TestUI\ImageIcon_TestUI.projitems*{dde1c022-6f9a-4067-89c2-81f2eeaf249f}*SharedItemsImports = 13 - dev\TreeView\APITests\TreeView_APITests.projitems*{de885c66-929c-464e-bac4-3e076ec46483}*SharedItemsImports = 13 - dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\CommonManaged\CommonManaged.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - test\TestAppUtils\TestAppUtils.projitems*{dedc1e4f-cfa5-4443-83eb-e79d425df7e7}*SharedItemsImports = 4 - dev\SplitButton\InteractionTests\SplitButton_InteractionTests.projitems*{e1c861e2-c4d9-41e1-aed7-5e203451bd4d}*SharedItemsImports = 13 - dev\CommandBarFlyout\TestUI\CommandBarFlyout_TestUI.projitems*{e63f1c1d-f06d-46a0-b5c2-184184e44f29}*SharedItemsImports = 13 - dev\SplitButton\APITests\SplitButton_APITests.projitems*{e687c158-4c66-4ac5-8a1b-d095a82f1549}*SharedItemsImports = 13 - dev\RadioButtons\RadioButtons.vcxitems*{e770a6d3-7252-4e8a-bd10-fa8524df8c83}*SharedItemsImports = 9 - dev\InfoBadge\InfoBadge.vcxitems*{e7dea84c-ccce-4458-8499-5182f67bc7ba}*SharedItemsImports = 9 - dev\NavigationView\NavigationView_ApiTests\NavigationView_ApiTests.projitems*{e98f3da3-3c00-4f2e-bf3b-2d2ad9d176bc}*SharedItemsImports = 13 - dev\ColorPicker\APITests\ColorPicker_APITests.projitems*{e9ac4938-ec2a-46d3-85bf-27316db8cc4d}*SharedItemsImports = 13 - test\MUXControls.Test\MUXControls.Test.Shared.projitems*{e9fc52cd-519a-41bb-8092-523ffa9d5617}*SharedItemsImports = 13 - dev\Expander\Expander.vcxitems*{ec3b6f65-32c6-4bc8-8902-ee0b397e2787}*SharedItemsImports = 9 - dev\PullToRefresh\RefreshVisualizer\RefreshVisualizer.vcxitems*{ed7dba65-8f09-44f3-8d25-7bb5a7a89609}*SharedItemsImports = 9 - dev\TreeView\TreeView.vcxitems*{eeb38379-3a5c-439f-bb5e-535d75f2b6c1}*SharedItemsImports = 9 - dev\ImageIcon\InteractionTests\ImageIcon_InteractionTests.projitems*{f14fb632-e705-44bc-9415-75b539f483e1}*SharedItemsImports = 13 - dev\AnimatedIcon\AnimatedIcon.vcxitems*{f1c8a5a1-b1b0-4095-8849-e550fcf2ebf6}*SharedItemsImports = 9 - dev\PullToRefresh\RefreshContainer\InteractionTests\RefreshContainer_InteractionTests.projitems*{f30fe0d3-2e44-405e-8519-ec3ab098c41f}*SharedItemsImports = 13 - dev\InfoBar\InteractionTests\InfoBar_InteractionTests.projitems*{f470a64e-780e-45aa-abb7-73a8734e51d7}*SharedItemsImports = 13 - dev\InfoBadge\InteractionTests\InfoBadge_InteractionTests.projitems*{f55ab8bf-f828-4a2e-bcdf-68f22aed35c3}*SharedItemsImports = 13 - dev\Materials\Acrylic\InteractionTests\AcrylicBrush_InteractionTests.projitems*{f601284a-00c1-49f9-99b3-70d45585f784}*SharedItemsImports = 13 - dev\SplitButton\SplitButton.vcxitems*{faf114dd-af1f-4d9f-a511-354c19912aad}*SharedItemsImports = 9 - dev\AnimatedVisualPlayer\TestUI\AnimatedVisualPlayer_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\CommonManaged\CommonManaged.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\SplitButton\APITests\SplitButton_APITests.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\SplitButton\TestUI\SplitButton_TestUI.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - test\TestAppUtils\TestAppUtils.projitems*{fbc396f5-26dd-4ca3-981e-c7bc9fea4546}*SharedItemsImports = 4 - dev\LayoutPanel\LayoutPanel.vcxitems*{fd3c1a00-0d07-4849-a3b9-646f0ff21d7b}*SharedItemsImports = 9 - dev\SwipeControl\SwipeControl.vcxitems*{fd63f767-bd98-45d9-8a63-3cd4a148d527}*SharedItemsImports = 9 - EndGlobalSection - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug_test|ARM = Debug_test|ARM - Debug_test|arm64 = Debug_test|arm64 - Debug_test|x64 = Debug_test|x64 - Debug_test|x86 = Debug_test|x86 - Debug|ARM = Debug|ARM - Debug|arm64 = Debug|arm64 - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|ARM = Release|ARM - Release|arm64 = Release|arm64 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|ARM.ActiveCfg = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|ARM.Build.0 = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|arm64.ActiveCfg = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|arm64.Build.0 = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x64.ActiveCfg = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x64.Build.0 = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x86.ActiveCfg = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug_test|x86.Build.0 = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|ARM.ActiveCfg = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|ARM.Build.0 = Debug|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|arm64.ActiveCfg = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|arm64.Build.0 = Debug|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x64.ActiveCfg = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x64.Build.0 = Debug|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x86.ActiveCfg = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Debug|x86.Build.0 = Debug|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|ARM.ActiveCfg = Release|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|ARM.Build.0 = Release|ARM - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|arm64.ActiveCfg = Release|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|arm64.Build.0 = Release|arm64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x64.ActiveCfg = Release|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x64.Build.0 = Release|x64 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x86.ActiveCfg = Release|Win32 - {AD0C90B0-4845-4D4B-88F1-86F653F8171B}.Release|x86.Build.0 = Release|Win32 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|ARM.ActiveCfg = Debug_test|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|ARM.Build.0 = Debug_test|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|ARM.Deploy.0 = Debug_test|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|arm64.ActiveCfg = Debug_test|arm64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.ActiveCfg = Debug_test|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.Build.0 = Debug_test|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x64.Deploy.0 = Debug_test|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.ActiveCfg = Debug_test|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.Build.0 = Debug_test|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug_test|x86.Deploy.0 = Debug_test|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|ARM.ActiveCfg = Debug|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|ARM.Build.0 = Debug|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|ARM.Deploy.0 = Debug|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|arm64.ActiveCfg = Debug|arm64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.ActiveCfg = Debug|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.Build.0 = Debug|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x64.Deploy.0 = Debug|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.ActiveCfg = Debug|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.Build.0 = Debug|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Debug|x86.Deploy.0 = Debug|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|ARM.ActiveCfg = Release|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|ARM.Build.0 = Release|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|ARM.Deploy.0 = Release|ARM - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|arm64.ActiveCfg = Release|arm64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.ActiveCfg = Release|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.Build.0 = Release|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x64.Deploy.0 = Release|x64 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.ActiveCfg = Release|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.Build.0 = Release|x86 - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546}.Release|x86.Deploy.0 = Release|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|ARM.ActiveCfg = Debug_test|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|ARM.Build.0 = Debug_test|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|ARM.Deploy.0 = Debug_test|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|arm64.ActiveCfg = Debug_test|arm64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x64.ActiveCfg = Debug_test|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x64.Build.0 = Debug_test|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x64.Deploy.0 = Debug_test|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x86.ActiveCfg = Debug_test|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x86.Build.0 = Debug_test|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug_test|x86.Deploy.0 = Debug_test|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|ARM.ActiveCfg = Debug|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|ARM.Build.0 = Debug|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|ARM.Deploy.0 = Debug|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|arm64.ActiveCfg = Debug|arm64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x64.ActiveCfg = Debug|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x64.Build.0 = Debug|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x64.Deploy.0 = Debug|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x86.ActiveCfg = Debug|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x86.Build.0 = Debug|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Debug|x86.Deploy.0 = Debug|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|ARM.ActiveCfg = Release|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|ARM.Build.0 = Release|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|ARM.Deploy.0 = Release|ARM - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|arm64.ActiveCfg = Release|arm64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x64.ActiveCfg = Release|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x64.Build.0 = Release|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x64.Deploy.0 = Release|x64 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x86.ActiveCfg = Release|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x86.Build.0 = Release|x86 - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7}.Release|x86.Deploy.0 = Release|x86 - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|ARM.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x64.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug_test|x86.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|ARM.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|ARM.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|arm64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x64.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x64.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x86.ActiveCfg = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Debug|x86.Build.0 = Debug|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|ARM.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|ARM.Build.0 = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|arm64.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x64.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x64.Build.0 = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x86.ActiveCfg = Release|Any CPU - {D59C7B8E-5C09-4856-8AF3-25585A888707}.Release|x86.Build.0 = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|ARM.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x64.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug_test|x86.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|ARM.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|ARM.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|arm64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x64.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x64.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x86.ActiveCfg = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Debug|x86.Build.0 = Debug|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|ARM.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|ARM.Build.0 = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|arm64.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x64.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x64.Build.0 = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x86.ActiveCfg = Release|Any CPU - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2}.Release|x86.Build.0 = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|ARM.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|arm64.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|x64.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug_test|x86.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|ARM.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|ARM.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|arm64.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|arm64.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|x64.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|x64.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|x86.ActiveCfg = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Debug|x86.Build.0 = Debug|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|ARM.ActiveCfg = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|ARM.Build.0 = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|arm64.ActiveCfg = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|arm64.Build.0 = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|x64.ActiveCfg = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|x64.Build.0 = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|x86.ActiveCfg = Release|Any CPU - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424}.Release|x86.Build.0 = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|ARM.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|arm64.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|x64.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug_test|x86.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|ARM.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|ARM.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|arm64.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|arm64.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|x64.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|x64.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|x86.ActiveCfg = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Debug|x86.Build.0 = Debug|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|ARM.ActiveCfg = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|ARM.Build.0 = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|arm64.ActiveCfg = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|arm64.Build.0 = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|x64.ActiveCfg = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|x64.Build.0 = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|x86.ActiveCfg = Release|Any CPU - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD}.Release|x86.Build.0 = Release|Any CPU - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|ARM.ActiveCfg = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|ARM.Build.0 = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|arm64.ActiveCfg = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|arm64.Build.0 = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x64.ActiveCfg = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x64.Build.0 = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x86.ActiveCfg = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x86.Build.0 = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|ARM.ActiveCfg = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|ARM.Build.0 = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|arm64.ActiveCfg = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|arm64.Build.0 = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x64.ActiveCfg = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x64.Build.0 = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x86.ActiveCfg = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x86.Build.0 = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|ARM.ActiveCfg = Release|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|ARM.Build.0 = Release|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|arm64.ActiveCfg = Release|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|arm64.Build.0 = Release|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x64.ActiveCfg = Release|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x64.Build.0 = Release|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x86.ActiveCfg = Release|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {80AD7F51-8997-47B9-BB41-078B81CFF9B0} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {655F5DA8-F87B-45AF-88D1-A884881C3EDF} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {755F5DA9-087C-55A0-98D2-B884881C3ED0} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {248CC96D-67A2-4359-A4E3-AB0DAD110A1E} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {1F86207F-AF12-4C39-8ACD-AE751D312673} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {4A87B4F1-4B6F-435A-950E-B2BB32A16001} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {10C52FD4-52FC-43B3-94AF-895C9B5A014C} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {20C52FD5-62FD-53B4-A4A0-995C9B5A014D} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {AD0C90B0-4845-4D4B-88F1-86F653F8171B} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {05CB5DBD-A481-4DFF-B1A3-642F049D165C} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {1B8EF049-A38E-43E4-B88E-F1EBFCEF07D2} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {395A71A1-4327-477B-85D4-AF0851732CCB} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {E9AC4938-EC2A-46D3-85BF-27316DB8CC4D} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {A4D2FAE8-E7FC-4100-91FF-2202FAC91C70} = {1F86207F-AF12-4C39-8ACD-AE751D312673} - {274B93F7-CD18-4ED9-B569-0640529D187B} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {374B93F8-DD19-5EDA-C56A-1640529D187C} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {374B93F7-CD18-4ED9-B569-0640529D187C} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {474B92F7-CD58-FED9-8569-9640529D1871} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {5654F115-F01A-495B-91C7-09408ABF14F0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {5FDF2501-AA3D-4082-AD45-D1F2A94C1213} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {AFAAD014-132C-4D2A-A28E-4EF717D3E647} = {3B0C114B-AC74-4BB1-975D-26FE5D505BD1} - {BFAAD015-232D-5D2B-B28F-5EF717D3E648} = {4B0C114C-BC75-5BB2-A75E-36FE5D505BD2} - {BFAAD014-132C-4D2A-A28E-4EF717D3E648} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {8FAAD013-139C-8D2A-2285-45F717D9E64A} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {45D41ACC-2C3C-43D2-BC10-02AA73FFC7C7} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {0DB22BA9-6053-459B-BAF5-E82EA1C78AB3} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {B1242C40-BBB3-4490-A936-5C71A3BE8336} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {E965AF28-0E13-4552-84B7-0C4215E76FD3} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {337D78D3-9499-4B35-BB9F-52F37BB33D9A} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {BF236EE7-B31D-4150-A777-2B91492A84E2} = {E965AF28-0E13-4552-84B7-0C4215E76FD3} - {C0D77E37-D2D0-4E37-B6A1-8E6EAE28945D} = {E965AF28-0E13-4552-84B7-0C4215E76FD3} - {DDB468E4-7B64-4301-8FCB-1BEBBB1E689F} = {337D78D3-9499-4B35-BB9F-52F37BB33D9A} - {ED7DBA65-8F09-44F3-8D25-7BB5A7A89609} = {E965AF28-0E13-4552-84B7-0C4215E76FD3} - {94AAADF1-80CA-45A7-9BD8-C6D00D58334D} = {337D78D3-9499-4B35-BB9F-52F37BB33D9A} - {438CED23-DAB1-495E-9A72-0FF38E01EB80} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3095445A-AFCD-5154-AC36-9770E6EC1AA5} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {00C52FD5-42FD-33B4-84A0-795C9B5A014D} = {438CED23-DAB1-495E-9A72-0FF38E01EB80} - {437CED93-D8B1-995E-0A72-0AF38E01EB70} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {359544AA-A8CD-715C-CC36-F770E6E81AA0} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {0EC52FD5-42FE-3EB4-84E0-79EC9B5A014E} = {437CED93-D8B1-995E-0A72-0AF38E01EB70} - {5243EF2C-F250-48BD-B633-39CC2A0A38AA} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {8A1690FB-AA8C-461A-840C-89CDBB44BDBA} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {B0C15318-1F57-4914-B860-EBF248841511} = {813C1EA5-ADC1-4C14-B3DC-B873098D7AAA} - {414D2AE4-5B65-43E1-9C11-D94817835B3D} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} = {414D2AE4-5B65-43E1-9C11-D94817835B3D} - {3AFFD0CE-C682-4E59-A9D4-BE8EC3F485DA} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} = {414D2AE4-5B65-43E1-9C11-D94817835B3D} - {4993A99D-57AE-4EE7-A3C1-0840ED127608} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {73E823BC-5485-4F26-9B09-8B83C133EE6B} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {1522A856-17CE-4178-A6B3-0692F90D7C55} = {73E823BC-5485-4F26-9B09-8B83C133EE6B} - {0A38E3C5-3CFA-42EB-860C-395A861B6791} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {EEB38379-3A5C-439F-BB5E-535D75F2B6C1} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {DE885C66-929C-464E-BAC4-3E076EC46483} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {AE638A24-2BC6-4D4F-A51E-715D198F01FD} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {B2C714DD-9C6B-400C-9CEF-13A2D48378BD} = {0A38E3C5-3CFA-42EB-860C-395A861B6791} - {7EE5E585-090A-44BF-A950-80636E242327} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {E98F3DA3-3C00-4F2E-BF3B-2D2AD9D176BC} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {475C3A33-637A-44DC-B789-6C2D78A75283} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {F131939C-ECA6-4B18-A798-72229871B403} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3479A3AE-2854-4BEC-80AB-EAB0772CB90A} = {F131939C-ECA6-4B18-A798-72229871B403} - {5BF80AE9-29DF-4BE9-858A-F095C8073473} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {22A3D1C4-4D1C-4B04-B695-8FEC39BFED86} = {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} - {999C289E-5AD6-4700-A44E-E85B696E508A} = {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} - {F30FE0D3-2E44-405E-8519-EC3AB098C41F} = {337D78D3-9499-4B35-BB9F-52F37BB33D9A} - {0A89913A-4FA4-4E77-92C1-049D850D4761} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {FD63F767-BD98-45D9-8A63-3CD4A148D527} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {B75D5D7E-6986-4500-972E-2C10A9B7CC10} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {9A8DA438-193C-4950-A046-2952DE2D3B0B} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {BC75C32B-F63A-4F2D-902C-8142DB31A2E7} = {0A89913A-4FA4-4E77-92C1-049D850D4761} - {02ED27BE-97E4-4327-BB96-8B3FA6869C48} = {F131939C-ECA6-4B18-A798-72229871B403} - {85A134E5-C83F-44A4-80DF-59F6EBF6C60D} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {A800E818-7212-4FD7-AE3A-1DCAB539DB87} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {593E15D8-F6F9-4ABA-BA65-C6927C178DBD} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {F601284A-00C1-49F9-99B3-70D45585F784} = {96707BBD-8D2A-4715-8DDA-3A60E4AF9914} - {1F2872E7-28C9-4C01-88ED-73C43EE1C9A4} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {A0AA8919-2140-42DB-BEB1-B2C3ACE594F4} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {2ED883F5-20DB-4445-8C96-517A21E5E657} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {8D2DA979-6313-49E2-8CF3-B568436D2944} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {999E00C9-0E58-402A-8E0E-CBAFB0ADC7E3} = {440DB3C5-0EFF-4F78-AD39-0C147230ABD3} - {5049EA6C-88CE-4ED5-8692-947EEC9E52BC} = {CE762527-4CC8-4604-A0DD-9EA4CB29C4A9} - {79863454-1DBF-45BB-B3D3-420B8F5E8705} = {CD99B535-DFD9-4A17-A2BC-113E93DDE42A} - {E220EFAB-BA88-458D-A271-279B6630E864} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {19FFFF77-4814-4AD6-ACD7-42C6A50AB0D8} = {E220EFAB-BA88-458D-A271-279B6630E864} - {D73627E9-564C-4A72-A12D-F6C82F17AD0D} = {E220EFAB-BA88-458D-A271-279B6630E864} - {8211954E-FE33-469C-87C7-9C863ACE1759} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8D0E4610-B51D-45C1-8B82-240BD2F73A92} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {9C533EC3-F8FA-4B0E-BA1B-3323932CDFCB} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {44DEAFBC-BB7A-4B02-AEAB-29DF2C2F8587} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {1294409D-9BAD-40CC-A74D-9AB29B343071} = {8211954E-FE33-469C-87C7-9C863ACE1759} - {848448D5-F717-4F88-8F99-311CD60587FA} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {B4CF2535-396D-40AB-9028-D44233B31AE2} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {890A5548-0515-4099-B526-0539FE9A0376} = {B4CF2535-396D-40AB-9028-D44233B31AE2} - {3393A555-DA02-4310-AC37-129EE88661A0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {5D192660-07E0-4176-AE0A-EFEBAFA3C315} = {3393A555-DA02-4310-AC37-129EE88661A0} - {8DC0EA14-D850-4C6E-8918-BEEB89E877BD} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {C332CEAF-68B6-4980-B6F3-B15E350CDCE0} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {2459BC06-2AE5-4C65-BA73-AB28090B6FAB} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {11B35F24-72B2-4228-9960-0D1EA283E1AF} = {5D192660-07E0-4176-AE0A-EFEBAFA3C315} - {F518C300-1796-49AB-9A4F-0530BB285245} = {3393A555-DA02-4310-AC37-129EE88661A0} - {D097A4D5-6B61-424D-99F0-F335EFF41665} = {F518C300-1796-49AB-9A4F-0530BB285245} - {48F7B68B-8050-4523-8374-963AA3B2834F} = {F518C300-1796-49AB-9A4F-0530BB285245} - {BBBB0ADD-4E05-430C-9FFD-08A299FD1B06} = {F518C300-1796-49AB-9A4F-0530BB285245} - {80F1F883-D49B-407D-9E77-C9B0E62B61A9} = {F518C300-1796-49AB-9A4F-0530BB285245} - {549C8EB7-E099-4EAB-A1F6-FAA3FA79B9E0} = {B1242C40-BBB3-4490-A936-5C71A3BE8336} - {49AE2707-4958-4B14-AC41-11ABD042FEA9} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942} = {49AE2707-4958-4B14-AC41-11ABD042FEA9} - {55CB08CA-19FE-4DB9-8160-A4EC47984B95} = {49AE2707-4958-4B14-AC41-11ABD042FEA9} - {1440A7B7-D3CA-4390-8C85-E1E9A7DF8542} = {49AE2707-4958-4B14-AC41-11ABD042FEA9} - {3C198E38-CC18-4965-AD7E-4A28256662A0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {FAF114DD-AF1F-4D9F-A511-354C19912AAD} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {E687C158-4C66-4AC5-8A1B-D095A82F1549} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {E1C861E2-C4D9-41E1-AED7-5E203451BD4D} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {280C91F4-96B5-4BDE-9E02-E573E1DEF583} = {3C198E38-CC18-4965-AD7E-4A28256662A0} - {98A3D371-FA9F-4227-A991-7D2B3495E659} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {FD3C1A00-0D07-4849-A3B9-646F0FF21D7B} = {98A3D371-FA9F-4227-A991-7D2B3495E659} - {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8613ED91-ADE3-4C5C-A09A-041187841EB3} = {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} - {D9AC3716-5608-40D0-999F-26F4B544BE33} = {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} - {954D7000-C06F-49EB-A7D2-0DF83DE6CA35} = {784CE86A-DF28-46A5-8D4F-FBBFC363FE8F} - {CDDF46EF-AA2D-4BB3-B33E-98B3DBB3C41B} = {98A3D371-FA9F-4227-A991-7D2B3495E659} - {C112A71E-D9C2-4085-851A-A7BB2910595D} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {11C085FF-8F68-48EE-9949-6EECBD0CBE6C} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {8F6F9336-C45C-40C1-ABDA-3679A20434B1} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {16F32F80-A8B6-44E0-9D99-0E1C2C8E0579} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {E63F1C1D-F06D-46A0-B5C2-184184E44F29} = {C112A71E-D9C2-4085-851A-A7BB2910595D} - {A7F6D6C4-A5A9-43EB-930C-B766417A5E5C} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {A25AE312-7C11-4E30-AE35-2E31C744A250} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {D232C226-CD18-4509-B848-80083AA9892B} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {E770A6D3-7252-4E8A-BD10-FA8524DF8C83} = {D232C226-CD18-4509-B848-80083AA9892B} - {833A6892-A079-469A-81C7-54D4CD88029B} = {D232C226-CD18-4509-B848-80083AA9892B} - {0352711A-D79A-4D82-8255-916D29522AE0} = {D232C226-CD18-4509-B848-80083AA9892B} - {42D6E8F9-59FE-4CA5-83EB-69A7622F5742} = {D232C226-CD18-4509-B848-80083AA9892B} - {807E57C8-F3E8-4049-AB88-BE3D3285B441} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3A07FA59-C5C1-4B46-8B31-043F9CA91226} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {FBC396F5-26DD-4CA3-981E-C7BC9FEA4546} = {666B53C4-A747-4538-AA51-8FF9DEE1BF60} - {DEDC1E4F-CFA5-4443-83EB-E79D425DF7E7} = {666B53C4-A747-4538-AA51-8FF9DEE1BF60} - {E9FC52CD-519A-41BB-8092-523FFA9D5617} = {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} - {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {666B53C4-A747-4538-AA51-8FF9DEE1BF60} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {00832735-360B-46BB-9BFA-B8C281951D55} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {3353A4A7-87B3-4E43-8F8D-43C7380D1D56} = {00832735-360B-46BB-9BFA-B8C281951D55} - {89EC8D06-CA59-49A9-AEFE-32DCC9DD8020} = {00832735-360B-46BB-9BFA-B8C281951D55} - {50E838A2-A886-46C9-AB0B-A57F510CE643} = {00832735-360B-46BB-9BFA-B8C281951D55} - {6AA772A6-CBF7-4FF3-8864-BC9366015DC2} = {666B53C4-A747-4538-AA51-8FF9DEE1BF60} - {D59C7B8E-5C09-4856-8AF3-25585A888707} = {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} - {4D8C5D1B-F982-44A1-B744-DD0E51651BF2} = {85F9040A-109D-42FF-9BE3-4CF4181DDEF1} - {4873DE1A-27B5-47ED-9EDC-69727FD2095C} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {499B8BF7-BCA1-4C23-BAA7-59E2C551BE4B} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {18F1DB69-7457-461C-9D19-7F42BFFC0803} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {C4421632-51BC-469D-BC49-F1CBD9269D49} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {42A51D3E-F06A-41A0-BE4C-F94CDDB80678} = {4873DE1A-27B5-47ED-9EDC-69727FD2095C} - {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {B39300D2-4510-44EA-AA7B-EDA9118F830E} = {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} - {CBAACCF6-A27D-40B3-980B-ADF51A2EBB89} = {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} - {DBEC0BE4-BA3F-41C9-A303-AF98201BE6DC} = {80CCA53D-4A82-4F9F-A825-4FA3718C2AE0} - {BA914F48-E924-4FD2-AEE1-264F67DB6C9F} = {807E57C8-F3E8-4049-AB88-BE3D3285B441} - {B3E64837-A5E4-49CB-97FF-A365307B9191} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {B9F81FEF-1E8D-4FE1-A46B-7002D4C109D2} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {2F4E95E9-F729-481C-B9AA-C9BEC91AE395} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {D1E297B4-5E5B-4807-8624-4141C817A98A} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {1D87AAC7-1E11-40FC-90A7-B6CE1C4567AE} = {B3E64837-A5E4-49CB-97FF-A365307B9191} - {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {417000D9-2641-4629-99F2-8F6033A6AC52} = {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} - {48BF2DAB-82B5-4705-A880-F5310FB697F9} = {CFAFD6A7-FC7B-4C96-B292-A440C7C65D89} - {4C9CEC92-77C8-4B7B-8595-6C736A660F93} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {00523CAF-422A-4185-9392-D374B72A019A} = {4C9CEC92-77C8-4B7B-8595-6C736A660F93} - {BCDF880A-41EB-4943-AAE2-54A1A1159600} = {4C9CEC92-77C8-4B7B-8595-6C736A660F93} - {C5EFA126-F329-4F8B-8DC9-E4182F4976D0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {0F61C8BD-D066-4812-A02B-E95CE18A985D} = {C5EFA126-F329-4F8B-8DC9-E4182F4976D0} - {3D044EC1-C9D3-4745-B79E-E7BED66E93F8} = {C5EFA126-F329-4F8B-8DC9-E4182F4976D0} - {1A5321F3-B837-4EB6-9547-37CC70088EA9} = {C5EFA126-F329-4F8B-8DC9-E4182F4976D0} - {E95C2CA1-FF23-47CC-A896-CC5175B37890} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {9D23C997-1F46-444A-8C07-4A4BFF7E4E63} = {E95C2CA1-FF23-47CC-A896-CC5175B37890} - {80AF98CA-BC1D-4011-8460-5671799EC419} = {E95C2CA1-FF23-47CC-A896-CC5175B37890} - {13DA8235-D04F-46D4-B5B4-F5AE774EEEDE} = {E95C2CA1-FF23-47CC-A896-CC5175B37890} - {773F7592-E7B3-42FC-A14A-E815AFD6A0CB} = {E95C2CA1-FF23-47CC-A896-CC5175B37890} - {64447EFA-19B4-4BF2-9D63-618635C483EC} = {5A911304-2863-4A73-8023-26EFCB4E01DA} - {5A911304-2863-4A73-8023-26EFCB4E01DA} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8C2D60AF-44BC-47DA-8E44-D62E639BFC0A} = {5A911304-2863-4A73-8023-26EFCB4E01DA} - {B58EC806-9951-4E5E-AF29-A700A088770E} = {5A911304-2863-4A73-8023-26EFCB4E01DA} - {2165C785-9365-4615-B227-8E9C7444ECE1} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {8B056B8F-C1AB-4A80-BD17-DEACE9897E6A} = {2165C785-9365-4615-B227-8E9C7444ECE1} - {AE308818-AF18-48BA-BF33-89779083D297} = {2165C785-9365-4615-B227-8E9C7444ECE1} - {74D18B1B-5F6B-4534-945B-131E8E3206FB} = {2165C785-9365-4615-B227-8E9C7444ECE1} - {633B8D7A-3207-4BD3-8159-B65710AEA6FF} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {107794D7-4BE0-407E-A76C-EFA46D1E9F93} = {633B8D7A-3207-4BD3-8159-B65710AEA6FF} - {D275F0BB-4A7E-4CC5-AB6E-A2BF463CC424} = {633B8D7A-3207-4BD3-8159-B65710AEA6FF} - {990BBC65-1114-435D-B5CC-1EB8AAAD72DD} = {633B8D7A-3207-4BD3-8159-B65710AEA6FF} - {128E6F7A-578C-48DC-BD3F-750EC662C268} = {633B8D7A-3207-4BD3-8159-B65710AEA6FF} - {6F7831A4-48F8-41E8-A573-C567A1223CB5} = {05CB5DBD-A481-4DFF-B1A3-642F049D165C} - {E7C2104F-770D-4375-8D3A-D173F222273A} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {AB3261A7-9A8D-4A27-AEA2-3AAC0419C889} = {E7C2104F-770D-4375-8D3A-D173F222273A} - {225C4174-3141-49B8-ADE2-C7D3408D5103} = {E7C2104F-770D-4375-8D3A-D173F222273A} - {4F64C819-664F-436A-BCDB-8AB3019B9DD5} = {E7C2104F-770D-4375-8D3A-D173F222273A} - {CB2352E2-D633-41A3-8CDC-B28731A4C490} = {E7C2104F-770D-4375-8D3A-D173F222273A} - {93FAB536-1139-4FD1-B0BF-97C0C6FAB378} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {EC3B6F65-32C6-4BC8-8902-EE0B397E2787} = {93FAB536-1139-4FD1-B0BF-97C0C6FAB378} - {50C1F1D3-20AA-49A8-9E4C-CF4E5811A1D8} = {93FAB536-1139-4FD1-B0BF-97C0C6FAB378} - {D6DF4AB9-FACC-4E51-8C57-6B1F96919365} = {93FAB536-1139-4FD1-B0BF-97C0C6FAB378} - {1AD0CB4F-47F0-432B-8D4F-CE33FA3EB8A9} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {CCC102B7-F5EF-479D-94F1-008D189448B1} = {1AD0CB4F-47F0-432B-8D4F-CE33FA3EB8A9} - {F470A64E-780E-45AA-ABB7-73A8734E51D7} = {1AD0CB4F-47F0-432B-8D4F-CE33FA3EB8A9} - {32DFAF1E-C2EC-4C52-A4D8-B3A3946242B4} = {1AD0CB4F-47F0-432B-8D4F-CE33FA3EB8A9} - {41F0100B-9131-4E80-9F2B-671EEAE4CF32} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {563FE343-C6B0-447B-831A-B0CE3AA7A688} = {41F0100B-9131-4E80-9F2B-671EEAE4CF32} - {48DF0143-C6A7-4184-BCC4-E59EAC5D49F1} = {41F0100B-9131-4E80-9F2B-671EEAE4CF32} - {657121B7-3E4F-4C76-ABE2-0221A7997929} = {41F0100B-9131-4E80-9F2B-671EEAE4CF32} - {C1477378-4A7A-43E5-8499-98A23544CC8A} = {41F0100B-9131-4E80-9F2B-671EEAE4CF32} - {AA960C72-877F-4F3C-92D2-7ADD34D643F4} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {D1EB61D8-C689-4AD1-BD61-FDAA50362563} = {AA960C72-877F-4F3C-92D2-7ADD34D643F4} - {9CF0D73A-E435-4C17-A41C-11E9FA3EEA2F} = {AA960C72-877F-4F3C-92D2-7ADD34D643F4} - {44F0E6BC-6222-4F16-8050-BB31DD804C4A} = {AA960C72-877F-4F3C-92D2-7ADD34D643F4} - {B1D8E6A2-3FE6-4D80-9685-26DF2C9F4331} = {AA960C72-877F-4F3C-92D2-7ADD34D643F4} - {21638B33-D4DE-4D10-84F8-3E2DACF975C7} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {9FB38577-696E-47BA-8AE2-F48A3C84A7CA} = {21638B33-D4DE-4D10-84F8-3E2DACF975C7} - {27AAE2E5-9687-4120-822F-CDB68B9A65B7} = {21638B33-D4DE-4D10-84F8-3E2DACF975C7} - {DDE1C022-6F9A-4067-89C2-81F2EEAF249F} = {21638B33-D4DE-4D10-84F8-3E2DACF975C7} - {F14FB632-E705-44BC-9415-75B539F483E1} = {21638B33-D4DE-4D10-84F8-3E2DACF975C7} - {16AA0E0D-A66B-47D5-8051-541BE529F869} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {F1C8A5A1-B1B0-4095-8849-E550FCF2EBF6} = {16AA0E0D-A66B-47D5-8051-541BE529F869} - {83FD36C0-189F-4E95-8002-9B73905CA301} = {16AA0E0D-A66B-47D5-8051-541BE529F869} - {AED8C469-E765-4A92-A66E-D20513A049A5} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {D03847C1-7EE7-4423-82FD-3CB31DAF98D1} = {AED8C469-E765-4A92-A66E-D20513A049A5} - {52AAA6ED-E5A0-41BB-8858-66249333A8D4} = {AED8C469-E765-4A92-A66E-D20513A049A5} - {7F772F61-C0BC-447E-9F55-9B9FE6F005DB} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {A329FB8A-3093-4050-83D3-4D9F5847F3B8} = {7F772F61-C0BC-447E-9F55-9B9FE6F005DB} - {65521A02-7166-48BE-B524-8F8F0ECC3A76} = {7F772F61-C0BC-447E-9F55-9B9FE6F005DB} - {05361409-7FBB-4296-996F-2E591857D84A} = {7F772F61-C0BC-447E-9F55-9B9FE6F005DB} - {30120040-3EB8-404D-9344-5E99E34B6090} = {7F772F61-C0BC-447E-9F55-9B9FE6F005DB} - {FFCAAB60-C938-40C5-90E4-115584B22CDF} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {E7DEA84C-CCCE-4458-8499-5182F67BC7BA} = {FFCAAB60-C938-40C5-90E4-115584B22CDF} - {D83F60A3-EB44-46F2-8EE7-B28C90004E5F} = {FFCAAB60-C938-40C5-90E4-115584B22CDF} - {1F30CAC6-7EFB-4CE9-B119-64821C117CB9} = {FFCAAB60-C938-40C5-90E4-115584B22CDF} - {F55AB8BF-F828-4A2E-BCDF-68F22AED35C3} = {FFCAAB60-C938-40C5-90E4-115584B22CDF} - {222EF6F6-0845-49E7-81F2-9686CEF85C67} = {5A911304-2863-4A73-8023-26EFCB4E01DA} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D93836AB-52D3-4DE2-AE25-23F26F55ECED} - EndGlobalSection -EndGlobal diff --git a/MUXExperimental.sln b/MUXExperimental.sln deleted file mode 100644 index e133a81084..0000000000 --- a/MUXExperimental.sln +++ /dev/null @@ -1,317 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29209.152 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dev", "dev", "{67599AD5-51EC-44CB-85CE-B60CD8CBA270}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "dev\Common\Common.vcxitems", "{80AD7F51-8997-47B9-BB41-078B81CFF9B0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{D3327F36-E161-4FED-A0F4-56F2B735827E}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Collections", "dev\Collections\Collections.vcxitems", "{395A71A1-4327-477B-85D4-AF0851732CCB}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{5654F115-F01A-495B-91C7-09408ABF14F0}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResourceHelper", "dev\ResourceHelper\ResourceHelper.vcxitems", "{45D41ACC-2C3C-43D2-BC10-02AA73FFC7C7}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "CommonManaged", "dev\CommonManaged\CommonManaged.shproj", "{85A134E5-C83F-44A4-80DF-59F6EBF6C60D}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Microsoft.Experimental.UI.Xaml", "dev\dll\Microsoft.Experimental.UI.Xaml.vcxproj", "{4647FA1B-124E-4447-AF56-4016AB6FAF4A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SampleControl", "SampleControl", "{718B6519-D0E4-4236-AB21-517AF3B3EE27}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SampleControl", "dev\SampleControl\SampleControl.vcxitems", "{A329FB8A-3093-4050-83D3-4D9F5847F3B8}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SampleControl_TestUI", "dev\SampleControl\TestUI\SampleControl_TestUI.shproj", "{05361409-7FBB-4296-996F-2E591857D84A}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SampleControl_InteractionTests", "dev\SampleControl\InteractionTests\SampleControl_InteractionTests.shproj", "{30120040-3EB8-404D-9344-5E99E34B6090}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MUXExperimentalTestApp", "test\MUXExperimentalTest\MUXExperimentalTestApp\MUXExperimentalTestApp.csproj", "{CCA3696F-5CAC-421D-8528-4D9122B4D240}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AppTestAutomationHelpers", "test\testinfra\AppTestAutomationHelpers\AppTestAutomationHelpers.vcxproj", "{128E6F7A-578C-48DC-BD3F-750EC662C268}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MUXExperimentalControls.Test", "MUXExperimentalControls.Test", "{C41F6221-0716-4A7B-AE58-7A9D0DDAA53F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MSTest", "MSTest", "{1D0CC29F-61C8-4330-9CB6-AA9D7F9ACE38}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXExperimental.Test", "test\MUXExperimentalTest\MUXExperimental.Test\MSTest\MUXExperimental.Test.csproj", "{D06B12F6-8633-4C9C-8F0D-114AA7184459}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "MUXExperimental.Test.Shared", "test\MUXExperimentalTest\MUXExperimental.Test\MUXExperimental.Test.Shared.shproj", "{815C5F42-3DEB-4DCB-B143-1C088FCE97F9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TAEF", "TAEF", "{8CD5C170-B2DE-4E68-B6CC-C52DFEFA6D85}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXExperimental.Test.TAEF", "test\MUXExperimentalTest\MUXExperimental.Test\TAEF\MUXExperimental.Test.TAEF.csproj", "{14018522-0223-4334-87D2-C343074DDD48}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXTestInfra.TAEF", "test\testinfra\MUXTestInfra\TAEF\MUXTestInfra.TAEF.csproj", "{74F6AA79-E026-4FDC-8294-49102674977A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TestInfra", "TestInfra", "{CCF338CD-58F3-4C91-8674-14DA5ADFD8EE}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TAEF", "TAEF", "{AD9D5064-9E3C-43FB-9B3A-DD1E44301021}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MSTest", "MSTest", "{85C7AE5E-F4C5-4FEE-82A9-881FA2251649}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MUXTestInfra.MSTest", "test\testinfra\MUXTestInfra\MSTest\MUXTestInfra.MSTest.csproj", "{E9BC58A3-A066-4120-9E8B-611DC8DE4600}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonStyles", "dev\CommonStyles\CommonStyles.vcxitems", "{3A07FA59-C5C1-4B46-8B31-043F9CA91226}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TitleBar", "TitleBar", "{EF60F757-9BD4-4D53-A3C7-6860C67CE4B4}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TitleBar", "dev\TitleBar\TitleBar.vcxitems", "{B122B4A6-BA38-4738-984B-3DAB2177D5E2}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TitleBar_TestUI", "dev\TitleBar\TestUI\TitleBar_TestUI.shproj", "{0C05E2F0-F21F-4E60-A5BD-B4F5EB655C1D}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "TitleBar_InteractionTests", "dev\TitleBar\InteractionTests\TitleBar_InteractionTests.shproj", "{AEC0BAEE-7A86-4539-9E07-A5363F7B9A8C}" -EndProject -Global - GlobalSection(SharedMSBuildProjectFiles) = preSolution - dev\SampleControl\TestUI\SampleControl_TestUI.projitems*{05361409-7fbb-4296-996f-2e591857d84a}*SharedItemsImports = 13 - dev\TitleBar\TestUI\TitleBar_TestUI.projitems*{0c05e2f0-f21f-4e60-a5bd-b4f5eb655c1d}*SharedItemsImports = 13 - dev\SampleControl\InteractionTests\SampleControl_InteractionTests.projitems*{30120040-3eb8-404d-9344-5e99e34b6090}*SharedItemsImports = 13 - dev\Collections\Collections.vcxitems*{395a71a1-4327-477b-85d4-af0851732ccb}*SharedItemsImports = 9 - dev\CommonStyles\CommonStyles.vcxitems*{3a07fa59-c5c1-4b46-8b31-043f9ca91226}*SharedItemsImports = 9 - dev\ResourceHelper\ResourceHelper.vcxitems*{45d41acc-2c3c-43d2-bc10-02aa73ffc7c7}*SharedItemsImports = 9 - dev\Collections\Collections.vcxitems*{4647fa1b-124e-4447-af56-4016ab6faf4a}*SharedItemsImports = 4 - dev\CommonStyles\CommonStyles.vcxitems*{4647fa1b-124e-4447-af56-4016ab6faf4a}*SharedItemsImports = 4 - dev\ResourceHelper\ResourceHelper.vcxitems*{4647fa1b-124e-4447-af56-4016ab6faf4a}*SharedItemsImports = 4 - dev\SampleControl\SampleControl.vcxitems*{4647fa1b-124e-4447-af56-4016ab6faf4a}*SharedItemsImports = 4 - dev\TitleBar\TitleBar.vcxitems*{4647fa1b-124e-4447-af56-4016ab6faf4a}*SharedItemsImports = 4 - dev\Common\Common.vcxitems*{80ad7f51-8997-47b9-bb41-078b81cff9b0}*SharedItemsImports = 9 - dev\SampleControl\InteractionTests\SampleControl_InteractionTests.projitems*{815c5f42-3deb-4dcb-b143-1c088fce97f9}*SharedItemsImports = 13 - dev\TitleBar\InteractionTests\TitleBar_InteractionTests.projitems*{815c5f42-3deb-4dcb-b143-1c088fce97f9}*SharedItemsImports = 13 - test\MUXExperimentalTest\MUXExperimental.Test\MUXExperimental.Test.Shared.projitems*{815c5f42-3deb-4dcb-b143-1c088fce97f9}*SharedItemsImports = 13 - dev\CommonManaged\CommonManaged.projitems*{85a134e5-c83f-44a4-80df-59f6ebf6c60d}*SharedItemsImports = 13 - dev\SampleControl\SampleControl.vcxitems*{a329fb8a-3093-4050-83d3-4d9f5847f3b8}*SharedItemsImports = 9 - dev\TitleBar\InteractionTests\TitleBar_InteractionTests.projitems*{aec0baee-7a86-4539-9e07-a5363f7b9a8c}*SharedItemsImports = 13 - dev\TitleBar\TitleBar.vcxitems*{b122b4a6-ba38-4738-984b-3dab2177d5e2}*SharedItemsImports = 9 - dev\SampleControl\TestUI\SampleControl_TestUI.projitems*{cca3696f-5cac-421d-8528-4d9122b4d240}*SharedItemsImports = 4 - dev\TitleBar\TestUI\TitleBar_TestUI.projitems*{cca3696f-5cac-421d-8528-4d9122b4d240}*SharedItemsImports = 4 - test\TestAppUtils\TestAppUtils.projitems*{cca3696f-5cac-421d-8528-4d9122b4d240}*SharedItemsImports = 4 - EndGlobalSection - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug_test|ARM = Debug_test|ARM - Debug_test|arm64 = Debug_test|arm64 - Debug_test|x64 = Debug_test|x64 - Debug_test|x86 = Debug_test|x86 - Debug|ARM = Debug|ARM - Debug|arm64 = Debug|arm64 - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|ARM = Release|ARM - Release|arm64 = Release|arm64 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|ARM.ActiveCfg = Debug|ARM - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|ARM.Build.0 = Debug|ARM - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|arm64.ActiveCfg = Debug|arm64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|arm64.Build.0 = Debug|arm64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|x64.ActiveCfg = Debug|x64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|x64.Build.0 = Debug|x64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|x86.ActiveCfg = Debug|Win32 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug_test|x86.Build.0 = Debug|Win32 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|ARM.ActiveCfg = Debug|ARM - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|ARM.Build.0 = Debug|ARM - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|arm64.ActiveCfg = Debug|arm64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|arm64.Build.0 = Debug|arm64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|x64.ActiveCfg = Debug|x64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|x64.Build.0 = Debug|x64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|x86.ActiveCfg = Debug|Win32 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Debug|x86.Build.0 = Debug|Win32 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|ARM.ActiveCfg = Release|ARM - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|ARM.Build.0 = Release|ARM - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|arm64.ActiveCfg = Release|arm64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|arm64.Build.0 = Release|arm64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|x64.ActiveCfg = Release|x64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|x64.Build.0 = Release|x64 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|x86.ActiveCfg = Release|Win32 - {4647FA1B-124E-4447-AF56-4016AB6FAF4A}.Release|x86.Build.0 = Release|Win32 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|ARM.ActiveCfg = Debug_test|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|ARM.Build.0 = Debug_test|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|ARM.Deploy.0 = Debug_test|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|arm64.ActiveCfg = Debug_test|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|x64.ActiveCfg = Debug_test|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|x64.Build.0 = Debug_test|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|x64.Deploy.0 = Debug_test|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|x86.ActiveCfg = Debug|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|x86.Build.0 = Debug|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug_test|x86.Deploy.0 = Debug|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|ARM.ActiveCfg = Debug|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|ARM.Build.0 = Debug|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|ARM.Deploy.0 = Debug|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|arm64.ActiveCfg = Debug|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|x64.ActiveCfg = Debug|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|x64.Build.0 = Debug|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|x64.Deploy.0 = Debug|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|x86.ActiveCfg = Debug|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|x86.Build.0 = Debug|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Debug|x86.Deploy.0 = Debug|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|ARM.ActiveCfg = Release|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|ARM.Build.0 = Release|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|ARM.Deploy.0 = Release|ARM - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|arm64.ActiveCfg = Release|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|x64.ActiveCfg = Release|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|x64.Build.0 = Release|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|x64.Deploy.0 = Release|x64 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|x86.ActiveCfg = Release|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|x86.Build.0 = Release|x86 - {CCA3696F-5CAC-421D-8528-4D9122B4D240}.Release|x86.Deploy.0 = Release|x86 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|ARM.ActiveCfg = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|ARM.Build.0 = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|arm64.ActiveCfg = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|arm64.Build.0 = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x64.ActiveCfg = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x64.Build.0 = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x86.ActiveCfg = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug_test|x86.Build.0 = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|ARM.ActiveCfg = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|ARM.Build.0 = Debug|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|arm64.ActiveCfg = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|arm64.Build.0 = Debug|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x64.ActiveCfg = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x64.Build.0 = Debug|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x86.ActiveCfg = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Debug|x86.Build.0 = Debug|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|ARM.ActiveCfg = Release|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|ARM.Build.0 = Release|ARM - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|arm64.ActiveCfg = Release|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|arm64.Build.0 = Release|ARM64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x64.ActiveCfg = Release|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x64.Build.0 = Release|x64 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x86.ActiveCfg = Release|Win32 - {128E6F7A-578C-48DC-BD3F-750EC662C268}.Release|x86.Build.0 = Release|Win32 - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|ARM.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|arm64.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|x64.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug_test|x86.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|ARM.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|ARM.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|arm64.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|arm64.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|x64.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|x64.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|x86.ActiveCfg = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Debug|x86.Build.0 = Debug|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|ARM.ActiveCfg = Release|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|ARM.Build.0 = Release|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|arm64.ActiveCfg = Release|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|arm64.Build.0 = Release|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|x64.ActiveCfg = Release|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|x64.Build.0 = Release|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|x86.ActiveCfg = Release|Any CPU - {D06B12F6-8633-4C9C-8F0D-114AA7184459}.Release|x86.Build.0 = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|ARM.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|arm64.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|x64.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug_test|x86.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|ARM.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|ARM.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|arm64.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|arm64.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|x64.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|x64.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|x86.ActiveCfg = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Debug|x86.Build.0 = Debug|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|ARM.ActiveCfg = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|ARM.Build.0 = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|arm64.ActiveCfg = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|arm64.Build.0 = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|x64.ActiveCfg = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|x64.Build.0 = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|x86.ActiveCfg = Release|Any CPU - {14018522-0223-4334-87D2-C343074DDD48}.Release|x86.Build.0 = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|ARM.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|arm64.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|x64.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug_test|x86.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|ARM.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|ARM.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|arm64.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|arm64.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|x64.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|x64.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|x86.ActiveCfg = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Debug|x86.Build.0 = Debug|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|ARM.ActiveCfg = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|ARM.Build.0 = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|arm64.ActiveCfg = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|arm64.Build.0 = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|x64.ActiveCfg = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|x64.Build.0 = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|x86.ActiveCfg = Release|Any CPU - {74F6AA79-E026-4FDC-8294-49102674977A}.Release|x86.Build.0 = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|ARM.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|ARM.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|arm64.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|arm64.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|x64.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|x64.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|x86.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug_test|x86.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|ARM.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|ARM.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|arm64.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|arm64.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|x64.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|x64.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|x86.ActiveCfg = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Debug|x86.Build.0 = Debug|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|ARM.ActiveCfg = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|ARM.Build.0 = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|arm64.ActiveCfg = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|arm64.Build.0 = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|x64.ActiveCfg = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|x64.Build.0 = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|x86.ActiveCfg = Release|Any CPU - {E9BC58A3-A066-4120-9E8B-611DC8DE4600}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {80AD7F51-8997-47B9-BB41-078B81CFF9B0} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {395A71A1-4327-477B-85D4-AF0851732CCB} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {5654F115-F01A-495B-91C7-09408ABF14F0} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {45D41ACC-2C3C-43D2-BC10-02AA73FFC7C7} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {85A134E5-C83F-44A4-80DF-59F6EBF6C60D} = {5654F115-F01A-495B-91C7-09408ABF14F0} - {4647FA1B-124E-4447-AF56-4016AB6FAF4A} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {718B6519-D0E4-4236-AB21-517AF3B3EE27} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {A329FB8A-3093-4050-83D3-4D9F5847F3B8} = {718B6519-D0E4-4236-AB21-517AF3B3EE27} - {05361409-7FBB-4296-996F-2E591857D84A} = {718B6519-D0E4-4236-AB21-517AF3B3EE27} - {30120040-3EB8-404D-9344-5E99E34B6090} = {718B6519-D0E4-4236-AB21-517AF3B3EE27} - {CCA3696F-5CAC-421D-8528-4D9122B4D240} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {128E6F7A-578C-48DC-BD3F-750EC662C268} = {CCF338CD-58F3-4C91-8674-14DA5ADFD8EE} - {C41F6221-0716-4A7B-AE58-7A9D0DDAA53F} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {1D0CC29F-61C8-4330-9CB6-AA9D7F9ACE38} = {C41F6221-0716-4A7B-AE58-7A9D0DDAA53F} - {D06B12F6-8633-4C9C-8F0D-114AA7184459} = {1D0CC29F-61C8-4330-9CB6-AA9D7F9ACE38} - {815C5F42-3DEB-4DCB-B143-1C088FCE97F9} = {C41F6221-0716-4A7B-AE58-7A9D0DDAA53F} - {8CD5C170-B2DE-4E68-B6CC-C52DFEFA6D85} = {C41F6221-0716-4A7B-AE58-7A9D0DDAA53F} - {14018522-0223-4334-87D2-C343074DDD48} = {8CD5C170-B2DE-4E68-B6CC-C52DFEFA6D85} - {74F6AA79-E026-4FDC-8294-49102674977A} = {AD9D5064-9E3C-43FB-9B3A-DD1E44301021} - {CCF338CD-58F3-4C91-8674-14DA5ADFD8EE} = {D3327F36-E161-4FED-A0F4-56F2B735827E} - {AD9D5064-9E3C-43FB-9B3A-DD1E44301021} = {CCF338CD-58F3-4C91-8674-14DA5ADFD8EE} - {85C7AE5E-F4C5-4FEE-82A9-881FA2251649} = {CCF338CD-58F3-4C91-8674-14DA5ADFD8EE} - {E9BC58A3-A066-4120-9E8B-611DC8DE4600} = {85C7AE5E-F4C5-4FEE-82A9-881FA2251649} - {3A07FA59-C5C1-4B46-8B31-043F9CA91226} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {EF60F757-9BD4-4D53-A3C7-6860C67CE4B4} = {67599AD5-51EC-44CB-85CE-B60CD8CBA270} - {B122B4A6-BA38-4738-984B-3DAB2177D5E2} = {EF60F757-9BD4-4D53-A3C7-6860C67CE4B4} - {0C05E2F0-F21F-4E60-A5BD-B4F5EB655C1D} = {EF60F757-9BD4-4D53-A3C7-6860C67CE4B4} - {AEC0BAEE-7A86-4539-9E07-A5363F7B9A8C} = {EF60F757-9BD4-4D53-A3C7-6860C67CE4B4} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {D93836AB-52D3-4DE2-AE25-23F26F55ECED} - EndGlobalSection -EndGlobal diff --git a/PGO.compile.props b/PGO.compile.props deleted file mode 100644 index 93ce072b3e..0000000000 --- a/PGO.compile.props +++ /dev/null @@ -1,18 +0,0 @@ - - - - true - - - - - - /GENPROFILE /debugtype:cv,fixup %(AdditionalOptions) - UseLinkTimeCodeGeneration - $(VC_ReferencesPath_VC_ARM)\pgort.lib;%(AdditionalDependencies) - $(VC_ReferencesPath_VC_ARM64)\pgort.lib;%(AdditionalDependencies) - $(VC_ReferencesPath_VC_x86)\pgort.lib;%(AdditionalDependencies) - $(VC_ReferencesPath_VC_x64)\pgort.lib;%(AdditionalDependencies) - - - diff --git a/PGO.runtime.props b/PGO.runtime.props deleted file mode 100644 index 3982cd3dec..0000000000 --- a/PGO.runtime.props +++ /dev/null @@ -1,31 +0,0 @@ - - - - $(Platform) - x86 - x64 - x64 - x64 - $(VCToolsInstallDir)bin\Host$(PlatformShortName)\$(PlatformShortName) - $(VCToolsInstallDir)bin\$(PlatformShortName) - - - - - %(Filename)%(Extension) - PreserveNewest - - - %(Filename)%(Extension) - PreserveNewest - - - %(Filename)%(Extension) - PreserveNewest - - - %(Filename)%(Extension) - PreserveNewest - - - \ No newline at end of file diff --git a/ProjectConfigurations.props b/ProjectConfigurations.props deleted file mode 100644 index 0150210f01..0000000000 --- a/ProjectConfigurations.props +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - Debug - ARM - - - Debug - Win32 - - - Debug - x64 - - - Debug - arm64 - - - Release - ARM - - - Release - Win32 - - - Release - x64 - - - Release - arm64 - - - \ No newline at end of file diff --git a/README.md b/README.md index b562d6d668..9c69521e00 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ WinUI is a user interface layer that contains modern controls and styles for bui WinUI 2 is a library of controls that provides official native Microsoft UI controls and features for Windows [UWP apps](https://docs.microsoft.com/windows/uwp/index). WinUI 2 can be used in any Windows 10 UWP XAML app, or in a Xamarin.Forms app running on Windows 10 using [native view embedding](https://docs.microsoft.com/xamarin/xamarin-forms/platform/native-views). -WinUI 3 is the next generation of the WinUI framework. It dramatically expands WinUI into a full UX framework, making WinUI available for all types of Windows apps – from Win32 to UWP – for use as the UI layer. +WinUI 3 is the next generation of the WinUI framework. It dramatically expands WinUI into a full UX framework, making WinUI available for all Desktop Windows apps for use as the UI layer. ## WinUI Community Calls @@ -20,13 +20,17 @@ You can watch them online here on YouTube at the [Windows Developer channel](htt ## Using WinUI 3 -You can build new Windows apps using WinUI 3, which ships as a part of the Windows App SDK. The latest available stable release is the Windows App SDK 1.3 (previously called Project Reunion). With this release, you can ship production Desktop apps to the Microsoft Store. +You can build new Windows apps using WinUI 3, which ships as a part of the Windows App SDK. The latest available stable release is the Windows App SDK 1.4 (previously called Project Reunion). With this release, you can ship production Desktop apps to the Microsoft Store. See the [installation instructions](https://docs.microsoft.com/windows/apps/windows-app-sdk/set-up-your-development-environment), and guidelines on [creating your first WinUI 3 app](https://docs.microsoft.com/windows/apps/winui/winui3/create-your-first-winui3-app). +The source code for WinUI 3 can be found [here](https://github.com/microsoft/microsoft-ui-xaml/tree/winui3/main). + ## Using WinUI 2 You can download and use WinUI packages in your app using the NuGet package manager: see the [Getting Started with the Windows UI Library](https://docs.microsoft.com/uwp/toolkits/winui/getting-started) page for more information. +The source code for WinUI 2 can be found [here](https://github.com/microsoft/microsoft-ui-xaml/tree/winui2/main). + ### Packages | NuGet Package | Build Status | Latest Versions | Documentation | @@ -107,9 +111,8 @@ For a detailed look at the features we're planning on releasing in WinAppSDK che ## Data/Telemetry -This project collects usage data and sends it to Microsoft to help improve our products and services. See the [privacy statement](privacy.md) for more details. +This project collects usage data and sends it to Microsoft to help improve our products and services. Note, however, that no data collection is performed when using your private builds. -For more information on telemetry implementation see the [developer guide](docs/developer_guide.md#Telemetry). # Code of Conduct diff --git a/RunTestsOnTShellConnectedDevice.ps1 b/RunTestsOnTShellConnectedDevice.ps1 deleted file mode 100644 index f922fd9951..0000000000 --- a/RunTestsOnTShellConnectedDevice.ps1 +++ /dev/null @@ -1,259 +0,0 @@ -[CmdletBinding()] -param( - [switch]$NoRun, - [switch]$NoDeploy, - [switch]$NoBuild, - [switch]$ForceDeploy, - [switch]$LogVerbose, - [switch]$LogSuperVerbose, - [switch]$Release, - [Alias("L")][switch]$List, - [Alias("CC")][switch]$CodeCoverage, - [String[]]$Name, - [String[]]$xName, - [String]$Flavor = "Debug", - [String]$Platform = "x86", - [String]$MinVersion, - [switch]$dllOnly, - [switch]$appxOnly, - [switch]$waitForDebugger, - [switch]$waitForAppDebugger, - [int]$Iterations = 1, - [string]$LogFile = "TestResults.out", - [String]$OutputPath = "$PSScriptRoot\CodeCoverageOutput", - [String]$TestTimeout, - [String]$MagellanInstallPath = "$env:USERPROFILE\.nuget\packages\microsoft.internal.magellan\5.4.170227001-pkges" -) - -# -# NOTE: This file currently relies on TShell to execute commands on a remote machine, which is not available externally. -# Use Open-Device to connect to a remote machine, then run this script to run tests on that machine. -# TODO 19757865: Change this so that it no longer has a dependency on TShell. -# - -if (!(test-path variable:\DeviceAddress)) -{ - Write-Host ""; - Write-Host "DeviceAddress variable is not set -- are you connected to a device?" -foregroundcolor red - Write-Host ""; - return; -} - -$deviceDir = "c:\data\test\bin" -$ignoredOutput = cmdd if not exist $deviceDir mkdir $deviceDir - - -if(!$NoDeploy) -{ - $testSuite = "DevTest" - if($Release) - { - $testSuite = "NugetPkgTests" - } - & .\CreateTestBinariesDirFromBuild.ps1 -NoBuild:$NoBuild -TestSuite:$testSuite -Flavor:$Flavor -Platform:$Platform -} - - -# If we're doing a code coverage run, let's instrument the binaries now. -if ($CodeCoverage) -{ - Invoke-Expression "$PSScriptRoot\tools\CodeCoverage\InstrumentBinaries.ps1 -BuildPlatform $Platform -BuildConfiguration $Flavor" -} - -# Always copy over the test files. - -$repoDirectory = Split-Path -Parent $script:MyInvocation.MyCommand.Path -if(!$NoDeploy) -{ - $payloadDir = Join-Path $repoDirectory "HelixPayload\$flavor\$platform\*" - Write-Host "Copying files from '$payloadDir' to device"; - $putDOutput += putd -Recurse $payloadDir $deviceDir -} - -# Make watson keep dumps offline locally. We will check after the tests run to see if there were any dumps. -$regdOutput += regd add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v DisableArchive /t REG_DWORD /d 0 -$regdOutput += regd add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 0 -$regdOutput += regd add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v BypassDataThrottling /t REG_DWORD /d 1 -$regdOutput += regd add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v ConfigureArchive /t REG_DWORD /d 2 -$regdOutput += regd add "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps" /v DumpType /t REG_DWORD /d 2 -$regdOutput += regd add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /v AllowTelemetry /t REG_DWORD /d 3 - -# Get a snapshot of the dump folder before we start running tests -$WERArchiveBeforeRun = ((cmdd dir /s /b "%programdata%\microsoft\windows\wer\reportarchive\*.zip" -HideOutput).Output -split "\r\n") - -cdd $deviceDir -if (!$NoRun) -{ - if ($CodeCoverage) - { - Write-Host "Starting code coverage..." - execd cmd -AsUser -Arguments "/c %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File $deviceDir\StartCodeCoverage.ps1 -MagellanInstallPath $deviceDir\Magellan" - } - - $teCmd = "execd ""$deviceDir\TE.exe"" -DeviceLogPath $LogFile -Arguments """ - $selectQuery = @() - - if (!$appxOnly) - { - if(!$Release) - { - $teCmd += " MUXControls.Test.dll" - } - else - { - $teCmd += " MUXControls.ReleaseTest.dll" - } - } - - if (!$dllOnly) - { - if(!$Release) - { - $teCmd += " MUXControlsTestApp.appx /APPX:CertificateFileName=MUXControlsTestApp.cer"; - $teCmd += " IXMPTestApp.appx /APPX:CertificateFileName=IXMPTestApp.cer"; - } - } - - if ($Name) - { - $nameCondition = ($Name | % { "@Name='*$_*'" }) -join " OR " - $selectQuery += "$nameCondition" - } - - if ($MinVersion) - { - $selectQuery += "@MinVersion='$MinVersion' OR not(@MinVersion=*)" - } - - if($selectQuery) - { - $teCmd += " /select:""""$(($selectQuery | % { "($_)" }) -join " AND ")""""" - } - - if ($LogVerbose -or $LogSuperVerbose) - { - $teCmd += " /logOutput:High /p:LogVerbose"; - } - - if ($LogSuperVerbose) - { - $teCmd += " /p:LogSuperVerbose"; - } - - if ($List) - { - $teCmd += " /list"; - } - - if ($waitForDebugger) - { - $teCmd += " /p:WaitForDebugger"; - } - - if ($waitForAppDebugger) - { - $teCmd += " /p:WaitForAppDebugger"; - } - - if ($TestTimeout) - { - $teCmd += " /testtimeout:$TestTimeout"; - } - else - { - # Don't set a timeout if someone is attaching a debugger. We don't want the test to be killed while - # it is in the middle of being debugged. - if(!$waitForDebugger -and !$waitForAppDebugger) - { - $teCmd += " /testtimeout:0:01"; - } - } - - if ($Iterations -ne 1) - { - $teCmd += " /testmode:loop /looptest:$Iterations" - } - - $teCmd += " /screenCaptureOnError"""; - - Write-Host - Write-Host "Running '$teCmd'"; - Write-Host - Invoke-Expression $teCmd | Set-Variable TEOutput; - if ($TEOutput.ExitCode -ne 0) - { - Write-Host ("ERROR: TE.exe returned error code {0}" -f $TEOutput.ExitCode); - } - - if ($CodeCoverage) - { - Write-Host "Stopping code coverage..." - execd cmd -AsUser -Arguments "/c %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File $deviceDir\StopCodeCoverage.ps1 -TestSuite Integration -MagellanInstallPath $deviceDir\Magellan" 1> $null - Write-Host - - if ($TEOutput.ExitCode -eq 0) - { - Write-Host "Gathering code coverage data..." - - if (-not (Test-Path "$OutputPath")) - { - New-Item "$OutputPath" -ItemType Directory - } - - Copy-Item "BuildOutput\$Flavor\$platform\Microsoft.UI.Xaml\instr\*.covsym" "$OutputPath\" 1> $null - getd "C:\ProgramData\Coverage\microsoft.ui.xaml.dll\*.covdata" "$OutputPath\" 1> $null - - Write-Host "Creating code coverage report..." - - Invoke-Expression "$PSScriptRoot\tools\CodeCoverage\CreateCodeCoverageReport.ps1 -MagellanInstallPath `"$MagellanInstallPath`" -covSymPath `"$OutputPath`" -covDataPath `"$OutputPath`" -coverageSummaryOutputPath `"$OutputPath\Summary`" -coverageReportOutputPath `"$OutputPath\Report`" -isLocalRun" 1> $null - - if (Test-Path $OutputPath\Report\index.html) - { - Write-Host "Code coverage report written to $OutputPath\Report." - - $shouldOpenReport = "" - while ($shouldOpenReport -inotlike "y" -and $shouldOpenReport -inotlike "n") - { - $shouldOpenReport = Read-Host "Open report? (y/n)" - } - - if ($shouldOpenReport -ilike "y") - { - Start-Process -FilePath "$OutputPath\Report\index.html" - } - } - } - else - { - Write-Host "Test failures detected. Skipping code coverage data gathering." - } - } -} - -# If we were doing a code coverage run, let's put back the old test appx now. -if ($CodeCoverage -and (Test-Path "$testAppOutputDir\AppPackages\MUXControlsTestApp_Test\MUXControlsTestApp.appx.orig")) -{ - Remove-Item "$testAppOutputDir\AppPackages\MUXControlsTestApp_Test\MUXControlsTestApp.appx" - Rename-Item "$testAppOutputDir\AppPackages\MUXControlsTestApp_Test\MUXControlsTestApp.appx.orig" "$testAppOutputDir\AppPackages\MUXControlsTestApp_Test\MUXControlsTestApp.appx" -} - -# Check for dumps -$WERArchiveAfterRun = ((cmdd dir /s /b "%programdata%\microsoft\windows\wer\reportarchive\*.zip" -HideOutput).Output -split "\r\n") -$NewCabs = $WERArchiveAfterRun | Where-Object { -not $WERArchiveBeforeRun.Contains($_) } -Write-Verbose "Before cabs: $WERArchiveBeforeRun" -Write-Verbose "After cabs: $WERArchiveAfterRun" -Write-Verbose "New cabs = $NewCabs" -if ($NewCabs) -{ - Write-Host "Error: Dumps found during test run" -foregroundcolor Red - $LocalDumpPath = "$PSScriptRoot\DumpFiles" - if (-not (Test-Path $LocalDumpPath)) { New-Item -Force $LocalDumpPath -ItemType Directory } - foreach ($NewCab in $NewCabs) - { - # Make the filename the archive directory name (instead of "report.zip") - $fileName = Split-Path (Split-Path $NewCab) -Leaf - $localFilePath = "$LocalDumpPath\$fileName.zip" - $ignored = Get-Device $NewCab -Destination $localFilePath - Write-Host "CAB: $localFilePath" -foregroundcolor Red - } -} \ No newline at end of file diff --git a/SdkVersion.props b/SdkVersion.props deleted file mode 100644 index b99ffa4e0c..0000000000 --- a/SdkVersion.props +++ /dev/null @@ -1,22 +0,0 @@ - - - - - 10.0.15063.0 - 10.0.16299.0 - 10.0.17134.0 - 10.0.17763.0 - 10.0.18362.0 - 10.0.22000.0 - 10.0.22000.0 - - - - $(SDKVersion21H1) - - - $(SDKVersionInsider) - - diff --git a/build/AzurePipelinesTemplates/MUX-BuildAndPublishPGONuGet-Job.yml b/build/AzurePipelinesTemplates/MUX-BuildAndPublishPGONuGet-Job.yml deleted file mode 100644 index 90443fb092..0000000000 --- a/build/AzurePipelinesTemplates/MUX-BuildAndPublishPGONuGet-Job.yml +++ /dev/null @@ -1,57 +0,0 @@ -parameters: - dependsOn: '' - pgdFile: Microsoft.UI.Xaml.pgd - pgoArtifact: PGO - -jobs: -- job: BuildAndPublishPGONuGet - dependsOn: ${{ parameters.dependsOn }} - pool: - name: WinDevPool-S - variables: - artifactsPath: $(Build.SourcesDirectory)\Artifacts - pgoToolsPath: $(Build.SourcesDirectory)\tools\MUXPGODatabase - nuspecPath: $(pgoToolsPath)\NuSpecs - nuspecFilename: PGO.nuspec - - steps: - - task: DownloadBuildArtifacts@0 - inputs: - artifactName: ${{ parameters.pgoArtifact }} - downloadPath: $(artifactsPath) - - - task: CopyFiles@2 - displayName: 'Copy pgd files to NuGet build directory' - inputs: - sourceFolder: $(artifactsPath)\${{ parameters.pgoArtifact }} - contents: '**\${{ parameters.pgdFile }}' - targetFolder: $(nuspecPath)\tools - - - task: powershell@2 - displayName: 'Generate NuSpec file' - inputs: - targetType: filePath - filePath: $(pgoToolsPath)\generate-nuspec.ps1 - workingDirectory: $(pgoToolsPath) - arguments: $(nuspecPath)\$(nuspecFilename).template $(nuspecPath)\$(nuspecFilename) - - - task: CmdLine@1 - displayName: 'Build NuGet package' - inputs: - filename: '$(Build.SourcesDirectory)\tools\NugetWrapper.cmd' - arguments: pack "$(nuspecPath)\$(nuspecFilename)" -BasePath "$(nuspecPath)" -OutputDirectory "$(Build.ArtifactStagingDirectory)" -properties PROGRAMFILES="%ProgramFiles(x86)%" - - - task: PublishBuildArtifacts@1 - inputs: - pathToPublish: $(Build.ArtifactStagingDirectory) - artifactName: ${{ parameters.pgoArtifact }} - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet push' - inputs: - command: push - nuGetFeedType: external - packagesToPush: $(Build.ArtifactStagingDirectory)/*.nupkg - publishFeedCredentials: MUX-Dependencies - feedsToUse: config - nugetConfigPath: '$(Build.SourcesDirectory)/NuGet.config' \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-BuildDevProject-Steps.yml b/build/AzurePipelinesTemplates/MUX-BuildDevProject-Steps.yml deleted file mode 100644 index ce85967e6b..0000000000 --- a/build/AzurePipelinesTemplates/MUX-BuildDevProject-Steps.yml +++ /dev/null @@ -1,125 +0,0 @@ -parameters: - signOutput: false - -steps: - - - template: MUX-InstallDotNetSDK-Steps.yml - - - template: MUX-InstallWindowsSDK-Steps.yml - - - template: MUX-InstallNuget-Steps.yml - - - template: MUX-RestorePgo-Steps.yml - - - template: MUX-BuildProject-Steps.yml - parameters: - solutionPath: MUXControls.sln - nugetConfigPath: nuget.config - appxPackageDir: $(appxPackageDir) - buildOutputDir: $(buildOutputDir) - publishDir: $(publishDir) - - - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 - displayName: 'Component Detection' - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore MUXExperimental.sln' - inputs: - restoreSolution: MUXExperimental.sln - feedsToUse: config - nugetConfigPath: nuget.config - - - task: VSBuild@1 - displayName: 'Build solution MUXExperimental.sln' - inputs: - solution: MUXExperimental.sln - vsVersion: 16.0 - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' - msbuildArgs: '/restore /p:UseInsiderSDK=$(UseInsiderSDK) /p:AppxPackageDir="$(appxPackageDir)" /p:AppxBundle=Never /p:AppxSymbolPackageEnabled=false /binaryLogger:$(Build.SourcesDirectory)/MUXExperimental.sln.$(buildPlatform).$(buildConfiguration).binlog /p:MUXVersionBuild=$(builddate_yymm) /p:MUXVersionRevision=$(builddate_dd)$(buildrevision) /p:VCToolsInstallDir="$(VCToolsInstallDir)\" /p:VCToolsRedistDir="$(VCToolsRedistDir)\"' - - - task: PublishBuildArtifacts@1 - displayName: 'Publish MUXExperimental.sln binlog' - condition: succeededOrFailed() - inputs: - PathtoPublish: $(Build.SourcesDirectory)/MUXExperimental.sln.$(buildPlatform).$(buildConfiguration).binlog - artifactName: drop - - # Copies output from PREfast SDL Native Rules task to expected location for consumption by PkgESSecComp - # These are processed by the Compliance Job (defined in MUX-ComplianceChecks-Job.yml) - # Note, only Debug builds are configured to run the code analysis tool. - - task: CopyFiles@1 - displayName: 'Copy nativecodeanalysis xml files' - condition: eq(variables['buildConfiguration'], 'Debug') - inputs: - SourceFolder: '$(buildOutputDir)' - Contents: | - **\*.nativecodeanalysis.xml - TargetFolder: '$(Agent.BuildDirectory)\nativecodeanalysis' - - task: PublishBuildArtifacts@1 - displayName: 'Publish artifact: nativecodeanalysis' - condition: eq(variables['buildConfiguration'], 'Debug') - inputs: - PathtoPublish: '$(Agent.BuildDirectory)\nativecodeanalysis' - artifactName: nativecodeanalysis - - - ${{ if eq( parameters.signOutput, true) }}: - - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 - displayName: 'CodeSign' - inputs: - ConnectedServiceName: WinUISigning - FolderPath: '$(buildOutputDir)/$(buildConfiguration)/$(buildPlatform)/Microsoft.UI.Xaml' - # Recursively finds files matching these patterns: - Pattern: | - **/Microsoft.UI.Xaml.dll - **/Microsoft.UI.Xaml.winmd - **/Microsoft.Experimental.UI.Xaml.dll - **/Microsoft.Experimental.UI.Xaml.winmd - UseMinimatch: true - signConfigType: inlineSignParams - inlineOperation: | - [ - { - "KeyCode" : "CP-230217", - "OperationCode" : "SigntoolSign", - "Parameters" : { - "OpusName" : "Microsoft", - "OpusInfo" : "http://www.microsoft.com", - "FileDigest" : "/fd \"SHA256\"", - "PageHash" : "/NPH", - "TimeStamp" : "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256" - }, - "ToolName" : "sign", - "ToolVersion" : "1.0" - }, - { - "KeyCode" : "CP-230217", - "OperationCode" : "SigntoolVerify", - "Parameters" : {}, - "ToolName" : "sign", - "ToolVersion" : "1.0" - } - ] - # We only publish symbols to microsoftpublicsymbols for signed builds. - - task: PublishSymbols@2 # Publish symbols to public Microsoft Symbol Server - displayName: 'Publish symbols (public)' - inputs: - SearchPattern: $(buildOutputDir)/$(buildConfiguration)/$(buildPlatform)/**/*.pdb - SymbolServerType: 'TeamServices' - env: - LIB: $(Build.SourcesDirectory) - ArtifactServices_Symbol_AccountName: microsoftpublicsymbols - ArtifactServices_Symbol_PAT: $(WinUILab-Pipeline-PAT) - - task: PublishSymbols@2 # Publish symbols to internal symweb - displayName: 'Publish symbols (internal)' - inputs: - SearchPattern: $(buildOutputDir)/$(buildConfiguration)/$(buildPlatform)/**/*.pdb - SymbolServerType: 'TeamServices' - - - template: MUX-MakeFrameworkPackages-Steps.yml - parameters: - buildOutputDir: $(buildOutputDir) - signOutput: ${{parameters.signOutput}} - - - task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0 - displayName: 'Component Detection' \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-BuildProject-Steps.yml b/build/AzurePipelinesTemplates/MUX-BuildProject-Steps.yml deleted file mode 100644 index 5dbc5508cd..0000000000 --- a/build/AzurePipelinesTemplates/MUX-BuildProject-Steps.yml +++ /dev/null @@ -1,48 +0,0 @@ -parameters: - solutionPath: '' - nugetConfigPath: 'nuget.config' - buildOutputDir: '$(Build.SourcesDirectory)\BuildOutput' - appxPackageDir: '$(build.artifactStagingDirectory)\$(buildConfiguration)\$(buildPlatform)\AppxPackages' - artifactName: 'drop' - -steps: - - template: MUX-PopulateBuildDateAndRevision-Steps.yml - - - script: | - echo parameters.solutionPath = '${{ parameters.solutionPath }}' - echo parameters.nugetConfigPath = '${{ parameters.nugetConfigPath }}' - echo parameters.appxPackageDir = '${{ parameters.appxPackageDir }}' - echo parameters.buildOutputDir = '${{ parameters.buildOutputDir }}' - displayName: 'BuildProject: Display parameters' - - - task: CmdLine@1 - displayName: 'Display build machine environment variables' - inputs: - filename: 'set' - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore ${{ parameters.solutionPath }}' - inputs: - restoreSolution: ${{ parameters.solutionPath }} - feedsToUse: config - nugetConfigPath: ${{ parameters.nugetConfigPath }} - - - task: VSBuild@1 - displayName: 'Build solution ${{ parameters.solutionPath }}' - inputs: - solution: ${{ parameters.solutionPath }} - vsVersion: 16.0 - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' - msbuildArgs: '/restore /p:UseInsiderSDK=$(UseInsiderSDK) /p:AppxPackageDir="${{ parameters.appxPackageDir }}" /p:AppxBundle=Never /p:AppxSymbolPackageEnabled=false /binaryLogger:$(Build.SourcesDirectory)/${{ parameters.solutionPath }}.$(buildPlatform).$(buildConfiguration).binlog /p:MUXVersionBuild=$(builddate_yymm) /p:MUXVersionRevision=$(builddate_dd)$(buildrevision) /p:VCToolsInstallDir="$(VCToolsInstallDir)\" /p:VCToolsRedistDir="$(VCToolsRedistDir)\" /p:PGOBuildMode=$(PGOBuildMode)' - - - task: PublishBuildArtifacts@1 - displayName: 'Publish ${{ parameters.solutionPath }} binlog' - condition: succeededOrFailed() - inputs: - PathtoPublish: $(Build.SourcesDirectory)/${{ parameters.solutionPath }}.$(buildPlatform).$(buildConfiguration).binlog - artifactName: ${{ parameters.artifactName }} - - - template: MUX-SourceIndexPDBs-Steps.yml - parameters: - buildOutputDir: ${{ parameters.buildOutputDir }} \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-CreateHelixProjFile-Steps.yml b/build/AzurePipelinesTemplates/MUX-CreateHelixProjFile-Steps.yml deleted file mode 100644 index aab7580676..0000000000 --- a/build/AzurePipelinesTemplates/MUX-CreateHelixProjFile-Steps.yml +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - condition: '' - testBinaryDirectoryPath: '$(Build.SourcesDirectory)\HelixPayload' - testFilePattern: '' - outputProjDir: $(Build.SourcesDirectory)\helixworkitems - outputProjFileName: '' - taefQuery: '' - -steps: - - task: powershell@2 - displayName: 'Create ${{ parameters.outputProjFileName }}' - condition: ${{ parameters.condition }} - inputs: - targetType: filePath - filePath: build\Helix\GenerateTestProjFile.ps1 - arguments: -TestFilePattern '${{ parameters.testFilePattern }}' -TestBinaryDirectoryPath '${{ parameters.testBinaryDirectoryPath }}' -OutputProjFile '${{ parameters.outputProjDir }}\${{ parameters.outputProjFileName }}' -TaefQuery "${{ parameters.taefQuery }}" -TestNamePrefix $(buildConfiguration).$(buildPlatform) \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-CreateNugetPackage-Job.yml b/build/AzurePipelinesTemplates/MUX-CreateNugetPackage-Job.yml deleted file mode 100644 index 38de2202e3..0000000000 --- a/build/AzurePipelinesTemplates/MUX-CreateNugetPackage-Job.yml +++ /dev/null @@ -1,100 +0,0 @@ -parameters: -# Extract the build revision number from Build.BuildNumber. This is needed to pass to build-nupkg - jobName: '' - buildOutputDir: '$(Build.SourcesDirectory)\BuildOutput' - nupkgdir: '$(build.artifactStagingDirectory)' -# The "primary" build arch is the one that the nuspec gets its winmd, pri, and other neutral files from - primaryBuildArch: x86 - buildFlavor: Release - signOutput: false - useReleaseTag: 'false' - prereleaseVersionTag: 'prerelease' - -jobs: -- job: ${{ parameters.jobName }} - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-S - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-S - - steps: - - - template: MUX-PopulateBuildDateAndRevision-Steps.yml - - - script: | - echo parameters.jobName '${{ parameters.jobName }}' - echo parameters.buildOutputDir '${{ parameters.buildOutputDir }}' - echo parameters.nupkgdir '${{ parameters.nupkgdir }}' - echo parameters.publishPath '${{ parameters.publishPath }}' - echo buildrevision=$(buildrevision) - echo builddate=$(builddate) - echo useReleaseTag=${{ parameters.useReleaseTag }} - displayName: 'CreateNugetPackage: Display parameters' - - - task: DownloadBuildArtifacts@1 - inputs: - artifactName: drop - downloadPath: '$(Build.SourcesDirectory)\Artifacts' - - - template: MUX-InstallNuget-Steps.yml - - - powershell: | - $prereleaseTag = "${{ parameters.prereleaseVersionTag }}" - if ("${{ parameters.useReleaseTag}}" -eq [bool]::TrueString) { $prereleaseTag = "" } - - & "$env:Build_SourcesDirectory\build\NuSpecs\build-nupkg.ps1" ` - -BuildOutput '$(Build.SourcesDirectory)\Artifacts\drop' ` - -OutputDir '${{ parameters.nupkgdir }}' ` - -prereleaseversion "$prereleaseTag" ` - -DateOverride '$(builddate)' ` - -Subversion '$(buildrevision)' ` - -BuildArch ${{ parameters.primaryBuildArch }} ` - -BuildFlavor ${{ parameters.buildFlavor }} - - displayName: 'build-nupkg.ps1' - - - ${{ if eq( parameters.signOutput, true) }}: - - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 - displayName: 'CodeSign (nupkg)' - inputs: - ConnectedServiceName: WinUISigning - FolderPath: '${{ parameters.nupkgdir }}' - Pattern: | - **/Microsoft.UI.Xaml*.nupkg - **/Microsoft.Experimental.UI.Xaml*.nupkg - UseMinimatch: true - signConfigType: inlineSignParams - inlineOperation: | - [ - { - "KeyCode" : "CP-401405", - "OperationCode" : "NuGetSign", - "Parameters" : {}, - "ToolName" : "sign", - "ToolVersion" : "1.0" - }, - { - "KeyCode" : "CP-401405", - "OperationCode" : "NuGetVerify", - "Parameters" : {}, - "ToolName" : "sign", - "ToolVersion" : "1.0" - } - ] - - - task: PublishBuildArtifacts@1 - displayName: 'Publish artifact: nupkg' - inputs: - PathtoPublish: '${{ parameters.nupkgdir }}' - artifactName: 'drop' - -# To publish the package to vsts feed, set queue time variable NuGetFeed = d62f8eac-f05c-4c25-bccb-21f98b95c95f -# This is the magic GUID from the pipeline visual designer for this feed: https://dev.azure.com/ms/microsoft-ui-xaml/_packaging?_a=feed&feed=MUX-CI - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - condition: and(ne(variables['NuGetFeed'], ''), ne(variables['Build.Reason'], 'Manual')) - displayName: 'NuGet push to $(NuGetFeed)' - inputs: - command: push - publishVstsFeed: $(NuGetFeed) - packagesToPush: $(Build.ArtifactStagingDirectory)/*.nupkg diff --git a/build/AzurePipelinesTemplates/MUX-InstallDotNetSDK-Steps.yml b/build/AzurePipelinesTemplates/MUX-InstallDotNetSDK-Steps.yml deleted file mode 100644 index 9d2aae3778..0000000000 --- a/build/AzurePipelinesTemplates/MUX-InstallDotNetSDK-Steps.yml +++ /dev/null @@ -1,10 +0,0 @@ -parameters: - dotNetVersion: 3.1.415 - -steps: - - task: UseDotNet@2 - displayName: 'Use .NET Core sdk ${{ parameters.dotNetVersion }}' - inputs: - packageType: sdk - version: ${{ parameters.dotNetVersion }} - installationPath: $(Agent.ToolsDirectory)/dotnet \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-InstallNuget-Steps.yml b/build/AzurePipelinesTemplates/MUX-InstallNuget-Steps.yml deleted file mode 100644 index 1e26a69f82..0000000000 --- a/build/AzurePipelinesTemplates/MUX-InstallNuget-Steps.yml +++ /dev/null @@ -1,8 +0,0 @@ -parameters: - nugetVersion: 5.8.0 - -steps: - - task: NuGetToolInstaller@0 - displayName: 'Use NuGet ${{ parameters.nugetVersion }}' - inputs: - versionSpec: ${{ parameters.nugetVersion }} diff --git a/build/AzurePipelinesTemplates/MUX-InstallWindowsSDK-Steps.yml b/build/AzurePipelinesTemplates/MUX-InstallWindowsSDK-Steps.yml deleted file mode 100644 index e727164e80..0000000000 --- a/build/AzurePipelinesTemplates/MUX-InstallWindowsSDK-Steps.yml +++ /dev/null @@ -1,38 +0,0 @@ -parameters: - sdkVersion: 22000 - -steps: - - task: powershell@2 - inputs: - targetType: filePath - filePath: build\Install-WindowsSdkISO.ps1 - arguments: ${{ parameters.sdkVersion }} - displayName: 'Install Windows SDK (${{ parameters.sdkVersion }})' - - # Not currently in use. Uncomment when we need to use an Insider/Internal SDK again. - # - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - # condition: eq(variables['UseInsiderSDK'], 'true') - # displayName: 'Install Insider Windows SDK Part 1' - # inputs: - # command: custom - # arguments: 'install InternalWindowsSDK-part1 -NonInteractive -Version 1.0.7 -Source https://pkgs.dev.azure.com/microsoft/WinUI/_packaging/WinUIInternalWindowsSDK/nuget/v3/index.json -OutputDirectory packages -PackageSaveMode nupkg' - - # - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - # condition: eq(variables['UseInsiderSDK'], 'true') - # displayName: 'Install Insider Windows SDK Part 2' - # inputs: - # command: custom - # arguments: 'install InternalWindowsSDK-part2 -NonInteractive -Version 1.0.7 -Source https://pkgs.dev.azure.com/microsoft/WinUI/_packaging/WinUIInternalWindowsSDK/nuget/v3/index.json -OutputDirectory packages -PackageSaveMode nupkg' - - # - task: CmdLine@1 - # condition: eq(variables['UseInsiderSDK'], 'true') - # displayName: 'Merge Insider Windows SDK Parts' - # inputs: - # filename: '$(Build.SourcesDirectory)\tools\InternalWindowsSDKNuget\MergeNupkgParts.cmd' - - # - task: CmdLine@1 - # condition: eq(variables['UseInsiderSDK'], 'true') - # displayName: 'Set up Insider Windows SDK' - # inputs: - # filename: '$(Build.SourcesDirectory)\tools\InternalWindowsSDKNuget\SetUpInternalWindowsSDK.cmd' - diff --git a/build/AzurePipelinesTemplates/MUX-MakeFrameworkPackages-Steps.yml b/build/AzurePipelinesTemplates/MUX-MakeFrameworkPackages-Steps.yml deleted file mode 100644 index ffaca1823a..0000000000 --- a/build/AzurePipelinesTemplates/MUX-MakeFrameworkPackages-Steps.yml +++ /dev/null @@ -1,67 +0,0 @@ -parameters: - buildOutputDir: '$(Build.SourcesDirectory)\Artifacts\drop' - signOutput: false - -steps: - - powershell: | - $platforms = @("x86", "x64", "arm", "arm64") - $configs = @("debug", "release") - foreach ($platform in $platforms) - { - foreach ($config in $configs) - { - $rootPath = "${{ parameters.buildOutputDir }}\$config\$platform" - Write-Host "" - Write-Host "Checking for $rootPath\Microsoft.UI.Xaml" - Write-Host "" - if (Test-Path "$rootPath\Microsoft.UI.Xaml") - { - $env:BUILDOUTPUT_OVERRIDE = $rootPath - & $env:Build_SourcesDirectory\tools\MakeAppxHelper.cmd $platform $config -builddate_yymm $env:BUILDDATE_YYMM -builddate_dd $env:BUILDDATE_DD -subversion $env:BUILDREVISION -verbose - if ($lastexitcode -ne 0) { - Write-Host ##vso[task.logissue type=error;] Make AppxHelper $platform $config failed with exit code $lastexitcode - Exit 1 - } - } - } - } - displayName: 'Make FrameworkPackages' - - - ${{ if eq( parameters.signOutput, true) }}: - - task: EsrpCodeSigning@1 - displayName: First Party StoreSign Framework Package - inputs: - ConnectedServiceName: WinUISigning - FolderPath: '${{ parameters.buildOutputDir }}\$(buildConfiguration)\$(buildPlatform)\FrameworkPackage' - Pattern: | - *.appx - signConfigType: 'inlineSignParams' - inlineOperation: >- - [ - { - "KeyCode" : "Dynamic", - "CertTemplateName" : "WINMSAPP1ST", - "CertSubjectName" : "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", - "OperationCode" : "SigntoolSign", - "Parameters" : { - "OpusName" : "Microsoft", - "OpusInfo" : "http://www.microsoft.com", - "FileDigest" : "/fd \"SHA256\"", - "TimeStamp" : "/tr \"http://rfc3161.gtm.corp.microsoft.com/TSS/HttpTspServer\" /td sha256" - }, - "ToolName" : "sign", - "ToolVersion" : "1.0" - }, - { - "KeyCode" : "Dynamic", - "CertTemplateName" : "WINMSAPP1ST", - "CertSubjectName" : "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", - "OperationCode" : "SigntoolVerify", - "Parameters" : {}, - "ToolName" : "sign", - "ToolVersion" : "1.0" - } - ] - SessionTimeout: '60' - MaxConcurrency: '50' - MaxRetryAttempts: '5' diff --git a/build/AzurePipelinesTemplates/MUX-MergePGD-Job.yml b/build/AzurePipelinesTemplates/MUX-MergePGD-Job.yml deleted file mode 100644 index 9f063be29d..0000000000 --- a/build/AzurePipelinesTemplates/MUX-MergePGD-Job.yml +++ /dev/null @@ -1,61 +0,0 @@ -parameters: - dependsOn: '' - pgdFile: Microsoft.UI.Xaml.pgd - pgoArtifact: PGO - -jobs: -- job: MergePGD - dependsOn: ${{ parameters.dependsOn }} - pool: - name: WinDevPool-S - variables: - artifactsPath: $(Build.SourcesDirectory)\Artifacts - pgoArtifactsPath: $(artifactsPath)\${{ parameters.pgoArtifact }} - strategy: - matrix: ${{ parameters.matrix }} - - steps: - # The environment variable VCToolsInstallDir isn't defined on lab machines, so we need to retrieve it ourselves. - - script: | - "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -requires Microsoft.Component.MSBuild -property InstallationPath > %TEMP%\vsinstalldir.txt - set /p _VSINSTALLDIR15=<%TEMP%\vsinstalldir.txt - del %TEMP%\vsinstalldir.txt - call "%_VSINSTALLDIR15%\Common7\Tools\VsDevCmd.bat" - echo VCToolsInstallDir = %VCToolsInstallDir% - echo ##vso[task.setvariable variable=VCToolsInstallDir]%VCToolsInstallDir% - displayName: 'Retrieve VC tools directory' - - - task: DownloadBuildArtifacts@0 - inputs: - artifactName: TestOutput-fwPkg - downloadPath: $(artifactsPath)\pgo - - - task: DownloadBuildArtifacts@0 - inputs: - artifactName: ${{ parameters.pgoArtifact }} - downloadPath: $(artifactsPath) - - - task: powershell@2 - displayName: CopyPGOFiles.ps1 - inputs: - targetType: filePath - filePath: build\Helix\CopyPGOFiles.ps1 - arguments: -SourceFolder '$(artifactsPath)\pgo\TestOutput-fwPkg\$(testos)\$(buildPlatform)$(buildConfiguration)' -OutputFolder '$(artifactsPath)' - - - script: | - cd $(buildPlatform) - "%VCToolsInstallDir%\bin\hostx64\x64\pgomgr.exe" /merge *.pgc ${{ parameters.pgdFile }} - displayName: 'Merge pgc files into pgd' - workingDirectory: $(pgoArtifactsPath) - - - task: CopyFiles@2 - displayName: 'Copy merged pgd to artifact staging' - inputs: - sourceFolder: $(pgoArtifactsPath) - contents: '**\$(buildPlatform)\${{ parameters.pgdFile }}' - targetFolder: $(Build.ArtifactStagingDirectory) - - - task: PublishBuildArtifacts@1 - inputs: - pathToPublish: $(Build.ArtifactStagingDirectory) - artifactName: ${{ parameters.pgoArtifact }} \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-NugetReleaseTest-Job.yml b/build/AzurePipelinesTemplates/MUX-NugetReleaseTest-Job.yml deleted file mode 100644 index 2ce6441bce..0000000000 --- a/build/AzurePipelinesTemplates/MUX-NugetReleaseTest-Job.yml +++ /dev/null @@ -1,135 +0,0 @@ -parameters: - buildJobName: 'BuildNugetPkgTests' - buildArtifactName: 'NugetPkgTestsDrop' - runTestJobName: 'RunNugetPkgTestsInHelix' - dependsOn: '' - runTests: 'true' - test_matrix: '' - useFrameworkPkg: false - taefQuery: '' - matrix: - Debug_x86: - buildPlatform: 'x86' - buildConfiguration: 'Debug' - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - Debug_x64: - buildPlatform: 'x64' - buildConfiguration: 'Debug' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - Release_arm: - buildPlatform: 'arm' - buildConfiguration: 'Release' - Release_arm64: - buildPlatform: 'arm64' - buildConfiguration: 'Release' - -jobs: -- job: ${{ parameters.buildJobName }} - dependsOn: - - ${{if parameters.dependsOn }}: - - ${{ parameters.dependsOn }} - - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-S - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-S - demands: ImageOverride -equals WinDevVS16-9 - strategy: - maxParallel: 10 - matrix: ${{ parameters.matrix }} - - variables: - solutionDir: test\MUXControlsReleaseTest - solutionPath: test\MUXControlsReleaseTest\MUXControlsReleaseTest.sln - artifactDownloadPath: $(Build.SourcesDirectory)\Artifacts - buildOutputDir: $(Build.SourcesDirectory)\BuildOutput - useFrameworkPkg: ${{ parameters.useFrameworkPkg }} - localPackagesPath: $(Build.SourcesDirectory)\localpackages - - - steps: - # When using the nupkg from artifacts we need to make a new nuget.config that points the MUXReleaseTest - # projects at the just-built nupkg. The MUXRelease projects use a specific nuget version so we need - # to update nuget.config to include the drop location as well as update the version in the csproj and - # packages.config for the projects. - - task: DownloadBuildArtifacts@1 - inputs: - artifactName: drop - downloadPath: $(artifactDownloadPath) - itemPattern: '**\*.nupkg' - - - task: powershell@2 - displayName: GenerateTestPFX.ps1 - inputs: - targetType: filePath - filePath: GenerateTestPFX.ps1 - - # Copy nupkg to localpackages and update proj file to point to it - - powershell: | - $pathToNupkg = "$($env:artifactDownloadPath)\drop" - if($env:useFrameworkPkg -eq "true") - { - $pathToNupkg = "$($env:artifactDownloadPath)\drop\FrameworkPackage" - } - Write-Host "pathToNupkg: $pathToNupkg" - - $candidateNupkgs = Get-ChildItem $pathToNupkg\Microsoft.UI.Xaml.*.nupkg - $nupkgFile = $candidateNupkgs[0].FullName; - - Copy-Item $nupkgFile $env:localPackagesPath - - $newVersion = $candidateNupkgs[0].Name.Replace("Microsoft.UI.Xaml.", "").Replace(".nupkg", "") - Write-Host "New version: $newVersion" - .\test\MUXControlsReleaseTest\updateUsedNugetPackageVersion.ps1 $newVersion - displayName: Update proj files to use candidate nupkg. - - - template: MUX-InstallWindowsSDK-Steps.yml - - - template: MUX-InstallNuget-Steps.yml - - - template: MUX-InstallDotNetSDK-Steps.yml - - # The environment variable VCToolsInstallDir isn't defined on lab machines, so we need to retrieve it ourselves. - - script: | - "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -requires Microsoft.Component.MSBuild -property InstallationPath > %TEMP%\vsinstalldir.txt - set /p _VSINSTALLDIR15=<%TEMP%\vsinstalldir.txt - del %TEMP%\vsinstalldir.txt - call "%_VSINSTALLDIR15%\Common7\Tools\VsDevCmd.bat" - echo VCToolsInstallDir = %VCToolsInstallDir% - echo VCToolsRedistDir = %VCToolsRedistDir% - echo ##vso[task.setvariable variable=VCToolsInstallDir]%VCToolsInstallDir% - echo ##vso[task.setvariable variable=VCToolsRedistDir]%VCToolsRedistDir% - displayName: 'Retrieve VC tools directory' - - - template: MUX-BuildProject-Steps.yml - parameters: - solutionPath: test\MUXControlsReleaseTest\RuntimeComponentThatUsesMUX\RuntimeComponentThatUsesMUX.sln - artifactName: ${{ parameters.buildArtifactName }} - - - template: MUX-BuildProject-Steps.yml - parameters: - solutionPath: $(solutionPath) - artifactName: ${{ parameters.buildArtifactName }} - - - template: MUX-PublishProjectOutput-Steps.yml - parameters: - artifactName: ${{ parameters.buildArtifactName }} - -- ${{if eq(parameters.runTests, 'true')}}: - - template: MUX-RunHelixTests-Job.yml - parameters: - dependsOn: ${{ parameters.buildJobName }} - ${{if eq(parameters.useFrameworkPkg, 'false')}}: - testSuite: 'nupkg' - ${{if eq(parameters.useFrameworkPkg, 'true')}}: - testSuite: 'fwPkg' - artifactName: ${{ parameters.buildArtifactName }} - ${{if eq(parameters.useFrameworkPkg, 'true')}}: - taefQuery: "(not (@NugetPkgTestsOnly = 'true'))" - rerunPassesRequiredToAvoidFailure: 5 - maxParallel: 2 \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-PopulateBuildDateAndRevision-Steps.yml b/build/AzurePipelinesTemplates/MUX-PopulateBuildDateAndRevision-Steps.yml deleted file mode 100644 index d63e1ca1ab..0000000000 --- a/build/AzurePipelinesTemplates/MUX-PopulateBuildDateAndRevision-Steps.yml +++ /dev/null @@ -1,25 +0,0 @@ -steps: - # Extract the build revision number from Build.BuildNumber. This is needed to pass to build-nupkg. - # This relies on the format of the pipeline name being of the format: $(date:yyMM).$(date:dd)$(rev:rrr) - # We can't use those variables here (they only work in the *name* of the top level Yaml), so - # pull them out here and set the variables for use in the nuget package version. - - powershell: | - # Some builds have "-branchname" appended, but when this happens the environment variable - # TFS_BUILDNUMBER has the un-modified version. - if ($env:TFS_BUILDNUMBER) - { - $env:BUILD_BUILDNUMBER = $env:TFS_BUILDNUMBER - } - $yymm = $env:BUILD_BUILDNUMBER.substring($env:BUILD_BUILDNUMBER.length - 10, 4) - $dd = $env:BUILD_BUILDNUMBER.substring($env:BUILD_BUILDNUMBER.length - 5, 2) - $revision = $env:BUILD_BUILDNUMBER.substring($env:BUILD_BUILDNUMBER.length - 3, 3) - Write-Host "##vso[task.setvariable variable=builddate]$yymm$dd" - Write-Host "##vso[task.setvariable variable=builddate_yymm]$yymm" - Write-Host "##vso[task.setvariable variable=builddate_dd]$dd" - Write-Host "##vso[task.setvariable variable=buildrevision]$revision" - - Write-Host builddate=$yymm$dd - Write-Host builddate_yymm=$yymm - Write-Host builddate_dd=$dd - Write-Host buildrevision=$revision - displayName: 'Get build revision number' diff --git a/build/AzurePipelinesTemplates/MUX-ProcessTestResults-Job.yml b/build/AzurePipelinesTemplates/MUX-ProcessTestResults-Job.yml deleted file mode 100644 index 85dd903aeb..0000000000 --- a/build/AzurePipelinesTemplates/MUX-ProcessTestResults-Job.yml +++ /dev/null @@ -1,88 +0,0 @@ -parameters: - dependsOn: '' - rerunPassesRequiredToAvoidFailure: 5 - minimumExpectedTestsExecutedCount: 2000 - checkJobAttempt: false - pgoArtifact: '' - -jobs: -- job: ProcessTestResults - condition: succeededOrFailed() - dependsOn: ${{ parameters.dependsOn }} - pool: - vmImage: 'windows-2019' - timeoutInMinutes: 120 - variables: - helixOutputFolder: $(Build.SourcesDirectory)\HelixOutput - winuiHelixVersion: 0.5.8 - helixScriptPath: $(Build.SourcesDirectory)\build\Helix\packages\Microsoft.Internal.WinUI.Helix.$(winuiHelixVersion)\scripts\pipeline - ${{if eq(parameters.pgoArtifact, '') }}: - processHelixFilesExtraArgs: '' - ${{if ne(parameters.pgoArtifact, '') }}: - processHelixFilesExtraArgs: -ProcessAllJobs - - steps: - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore build/Helix/packages.config' - inputs: - restoreSolution: build/Helix/packages.config - feedsToUse: config - nugetConfigPath: nuget.config - restoreDirectory: packages - - - task: powershell@2 - displayName: 'UpdateUnreliableTests.ps1' - condition: succeededOrFailed() - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - HelixAccessToken: $(HelixApiAccessToken) - inputs: - targetType: filePath - filePath: $(helixScriptPath)\UpdateUnreliableTests.ps1 - arguments: -RerunPassesRequiredToAvoidFailure '${{ parameters.rerunPassesRequiredToAvoidFailure }}' - - - task: powershell@2 - displayName: 'OutputTestResults.ps1' - condition: succeededOrFailed() - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - HelixAccessToken: $(HelixApiAccessToken) - inputs: - targetType: filePath - filePath: $(helixScriptPath)\OutputTestResults.ps1 - arguments: -MinimumExpectedTestsExecutedCount '${{ parameters.minimumExpectedTestsExecutedCount }}' - - - task: powershell@2 - displayName: 'ProcessHelixFiles.ps1' - condition: succeededOrFailed() - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - HelixAccessToken: $(HelixApiAccessToken) - inputs: - targetType: filePath - filePath: $(helixScriptPath)\ProcessHelixFiles.ps1 - arguments: -OutputFolder '$(helixOutputFolder)' $(processHelixFilesExtraArgs) - - - ${{if ne(parameters.pgoArtifact, '') }}: - - task: powershell@2 - displayName: CopyPGOFiles.ps1 - inputs: - targetType: filePath - filePath: build\Helix\CopyPGOFiles.ps1 - arguments: -SourceFolder '$(helixOutputFolder)' -OutputFolder '$(Build.ArtifactStagingDirectory)' - - - task: PublishBuildArtifacts@1 - displayName: 'Publish Helix files' - condition: succeededOrFailed() - inputs: - PathtoPublish: $(helixOutputFolder) - artifactName: helixTestOutput - - - ${{if ne(parameters.pgoArtifact, '') }}: - - task: PublishBuildArtifacts@1 - displayName: 'Publish pgc files' - condition: succeededOrFailed() - inputs: - PathtoPublish: $(Build.ArtifactStagingDirectory)\PGO\Release - artifactName: ${{ parameters.pgoArtifact }} diff --git a/build/AzurePipelinesTemplates/MUX-PublishProjectOutput-Steps.yml b/build/AzurePipelinesTemplates/MUX-PublishProjectOutput-Steps.yml deleted file mode 100644 index 910010ef7e..0000000000 --- a/build/AzurePipelinesTemplates/MUX-PublishProjectOutput-Steps.yml +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - artifactName: 'drop' - -steps: - - task: powershell@2 - displayName: 'Copy files to staging dir' - inputs: - targetType: filePath - filePath: build\CopyFilesToStagingDir.ps1 - arguments: -BuildOutputDir '$(buildOutputDir)' -PublishDir '$(Build.ArtifactStagingDirectory)' -Platform '$(buildPlatform)' -Configuration '$(buildConfiguration)' - - - task: PublishBuildArtifacts@1 - displayName: 'Publish artifact: ${{ parameters.artifactName }}' - inputs: - PathtoPublish: '$(Build.ArtifactStagingDirectory)' - artifactName: ${{ parameters.artifactName }} diff --git a/build/AzurePipelinesTemplates/MUX-PushCBSVpack-Job.yml b/build/AzurePipelinesTemplates/MUX-PushCBSVpack-Job.yml deleted file mode 100644 index 663709e3ba..0000000000 --- a/build/AzurePipelinesTemplates/MUX-PushCBSVpack-Job.yml +++ /dev/null @@ -1,138 +0,0 @@ -parameters: - dependsOn: '' - -jobs: -- job: CreateVPack - dependsOn: - - ${{ parameters.dependsOn }} - pool: - name: WinDevPool-S - variables: - windowsPublicsWinmdVersion: 0.0.2 - internalSDKFeedUrl: https://pkgs.dev.azure.com/microsoft/WinUI/_packaging/WinUIInternalWindowsSDK/nuget/v3/index.json - publishDir: $(Build.SourcesDirectory)\publish - - steps: - - task: PkgESSetupBuild@12 - displayName: Package ES - Setup Build - inputs: - disableOutputRedirect: true - - - template: MUX-InstallNuget-Steps.yml - - - task: NuGetAuthenticate@0 - - - task: NodeTool@0 - - - task: DownloadBuildArtifacts@0 - inputs: - artifactName: drop - downloadPath: $(System.ArtifactsDirectory) - - # This contains the OS internal version of windows.winmd which is required for us to re-merge our winmd so that it can be used from OS repo. - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'nuget install Microsoft.Internal.WinUI.WindowsPublicsWinmd' - inputs: - command: custom - arguments: 'install Microsoft.Internal.WinUI.WindowsPublicsWinmd -NonInteractive -Version $(windowsPublicsWinmdVersion) -Source $(internalSDKFeedUrl) -OutputDirectory packages' - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore dev\dll\packages.config' - inputs: - restoreSolution: dev\dll\packages.config - feedsToUse: config - nugetConfigPath: nuget.config - restoreDirectory: $(Build.SourcesDirectory)\packages - - - script: | - $(Build.SourcesDirectory)\build\CreateCBSVPack.cmd -releaseFolder $(System.ArtifactsDirectory)\drop\Release -publicsRoot $(Build.SourcesDirectory)\packages\Microsoft.Internal.WinUI.WindowsPublicsWinmd.$(windowsPublicsWinmdVersion) -publishDir $(publishDir) - displayName: CreateCBSVPack.cmd - failOnStderr: true - # Note: This task sets the 'vpackversion' variable that is used below. - - - task: PublishBuildArtifacts@1 - displayName: Publish WinUIVpack Artifact - inputs: - PathtoPublish: $(publishDir)\WinUIVpack - artifactName: WinUIVpack - # This artifact is not consumed by anyone, but it is useful for debugging purposes. - - - task: PublishBuildArtifacts@1 - displayName: Publish CBS Artifact - inputs: - PathtoPublish: $(publishDir)\cbs - artifactName: cbs - # This artifact is not consumed by anyone, but it is useful for debugging purposes. - - - template: v2/Steps/PackageES/Windows.SDL.Binary.Analysis.OS.Undocked.yml@templates_onebranch - parameters: - variables: - ob_outputDirectory: $(publishDir) # provide path to binaries to be scanned - - # Push the VPacks: - - task: PkgESVPack@12 - displayName: 'Push VPack Microsoft.UI.Xaml' - condition: eq(variables['PublishVpack'], 'true') - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - sourceDirectory: '$(publishDir)\WinUIVpack' - githubToken: $(WinUI2GitHubToken) - description: Microsoft.UI.Xaml - pushPkgName: Microsoft.UI.Xaml - version: $(vpackversion) - - task: PkgESVPack@12 - displayName: 'Push VPack MicrosoftUIXamlInbox_x64' - condition: eq(variables['PublishVpack'], 'true') - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - sourceDirectory: '$(publishDir)\CBS\x64' - githubToken: $(WinUI2GitHubToken) - description: 'MicrosoftUIXamlInbox_x64' - pushPkgName: 'MicrosoftUIXamlInbox_x64' - version: $(vpackversion) - - task: PkgESVPack@12 - displayName: 'Push VPack MicrosoftUIXamlInbox_x86' - condition: eq(variables['PublishVpack'], 'true') - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - sourceDirectory: '$(publishDir)\CBS\x86' - githubToken: $(WinUI2GitHubToken) - description: 'MicrosoftUIXamlInbox_x86' - pushPkgName: 'MicrosoftUIXamlInbox_x86' - version: $(vpackversion) - - task: PkgESVPack@12 - displayName: 'Push VPack MicrosoftUIXamlInbox_arm' - condition: eq(variables['PublishVpack'], 'true') - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - sourceDirectory: '$(publishDir)\CBS\arm' - githubToken: $(WinUI2GitHubToken) - description: 'MicrosoftUIXamlInbox_arm' - pushPkgName: 'MicrosoftUIXamlInbox_arm' - version: $(vpackversion) - - task: PkgESVPack@12 - displayName: 'Push VPack MicrosoftUIXamlInbox_arm64' - condition: eq(variables['PublishVpack'], 'true') - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - sourceDirectory: '$(publishDir)\CBS\arm64' - githubToken: $(WinUI2GitHubToken) - description: 'MicrosoftUIXamlInbox_arm64' - pushPkgName: 'MicrosoftUIXamlInbox_arm64' - version: $(vpackversion) - - task: PkgESVPack@12 - displayName: 'Push VPack MicrosoftUIXamlInboxWinmd' - condition: eq(variables['PublishVpack'], 'true') - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - sourceDirectory: '$(publishDir)\CBS\winmd' - githubToken: $(WinUI2GitHubToken) - description: 'MicrosoftUIXamlInboxWinmd' - pushPkgName: 'MicrosoftUIXamlInboxWinmd' - version: $(vpackversion) \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-RestorePgo-Steps.yml b/build/AzurePipelinesTemplates/MUX-RestorePgo-Steps.yml deleted file mode 100644 index 56e1e60353..0000000000 --- a/build/AzurePipelinesTemplates/MUX-RestorePgo-Steps.yml +++ /dev/null @@ -1,21 +0,0 @@ -steps: - # The environment variable VCToolsInstallDir isn't defined on lab machines, so we need to retrieve it ourselves. - - script: | - "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -Latest -requires Microsoft.Component.MSBuild -property InstallationPath > %TEMP%\vsinstalldir.txt - set /p _VSINSTALLDIR15=<%TEMP%\vsinstalldir.txt - del %TEMP%\vsinstalldir.txt - call "%_VSINSTALLDIR15%\Common7\Tools\VsDevCmd.bat" - echo VCToolsInstallDir = %VCToolsInstallDir% - echo VCToolsRedistDir = %VCToolsRedistDir% - echo ##vso[task.setvariable variable=VCToolsInstallDir]%VCToolsInstallDir% - echo ##vso[task.setvariable variable=VCToolsRedistDir]%VCToolsRedistDir% - displayName: 'Retrieve VC tools directory' - - - task: powershell@2 - displayName: 'Restore PGO database' - condition: eq(variables['PGOBuildMode'], 'Optimize') - inputs: - targetType: filePath - workingDirectory: $(Build.SourcesDirectory)\tools\MUXPGODatabase - filePath: $(Build.SourcesDirectory)\tools\MUXPGODatabase\restore-pgodb.ps1 - arguments: -NuGetConfigPath $(Build.SourcesDirectory)\nuget.config \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-RunHelixTests-Job.yml b/build/AzurePipelinesTemplates/MUX-RunHelixTests-Job.yml deleted file mode 100644 index bfc7cf91f0..0000000000 --- a/build/AzurePipelinesTemplates/MUX-RunHelixTests-Job.yml +++ /dev/null @@ -1,152 +0,0 @@ -parameters: - dependsOn: '' - condition: succeeded() - testSuite: devtest - # If a Pipeline runs this template more than once, this parameter should be unique per build flavor to differentiate the - # the different test runs: - artifactName: 'drop' - maxParallel: 10 - rerunPassesRequiredToAvoidFailure: 5 - taefQuery: '' - # if 'useBuildOutputFromBuildId' is set, we will default to using a build from this pipeline: - - matrix: - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'release' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'release' - -jobs: -- job: CreateTestPayload_${{ parameters.testSuite }} - dependsOn: ${{ parameters.dependsOn }} - condition: ${{ parameters.condition }} - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-S - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-S - timeoutInMinutes: 120 - strategy: - maxParallel: 10 - matrix: ${{ parameters.matrix }} - variables: - artifactsDir: $(Build.SourcesDirectory)\Artifacts - useBuildOutputFromPipeline: $(System.DefinitionId) - useBuildOutputFromBuildId: '' - - steps: - - task: CmdLine@1 - displayName: 'Display build machine environment variables' - inputs: - filename: 'set' - - - template: MUX-InstallNuget-Steps.yml - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore build/Helix/packages.config' - inputs: - restoreSolution: build/Helix/packages.config - feedsToUse: config - nugetConfigPath: nuget.config - restoreDirectory: packages - - - task: DownloadBuildArtifacts@1 - condition: - and(succeeded(),eq(variables['useBuildOutputFromBuildId'],'')) - inputs: - artifactName: ${{ parameters.artifactName }} - downloadPath: '$(artifactsDir)' - - - task: DownloadBuildArtifacts@1 - condition: - and(succeeded(),ne(variables['useBuildOutputFromBuildId'],'')) - inputs: - buildType: specific - buildVersionToDownload: specific - project: $(System.TeamProjectId) - pipeline: $(useBuildOutputFromPipeline) - buildId: $(useBuildOutputFromBuildId) - artifactName: ${{ parameters.artifactName }} - downloadPath: '$(artifactsDir)' - - - task: powershell@2 - displayName: 'PrepareHelixPayload.ps1' - inputs: - targetType: filePath - filePath: build\Helix\PrepareHelixPayload.ps1 - arguments: -Platform '$(buildPlatform)' -Configuration '$(buildConfiguration)' -ArtifactName '${{ parameters.artifactName }}' - - - task: CmdLine@1 - displayName: 'Display Helix payload contents' - inputs: - filename: 'dir' - arguments: '/s $(Build.SourcesDirectory)\HelixPayload' - - - task: PublishBuildArtifacts@1 - displayName: 'Publish artifact: TestPayload-${{ parameters.testSuite}}' - inputs: - PathtoPublish: $(Build.SourcesDirectory)\HelixPayload - artifactName: TestPayload-${{ parameters.testSuite}} - - - - ${{ if eq(parameters.testSuite, 'devtest') }}: - - template: MUX-CreateHelixProjFile-Steps.yml - parameters: - testBinaryDirectoryPath: '$(Build.SourcesDirectory)\HelixPayload\$(buildConfiguration)\$(buildPlatform)' - testFilePattern: 'MUXControls.Test.dll' - outputProjFileName: 'RunTestsInHelix-InteractionTests.proj' - taefQuery: ${{ parameters.taefQuery }} - - template: MUX-CreateHelixProjFile-Steps.yml - parameters: - testBinaryDirectoryPath: '$(Build.SourcesDirectory)\HelixPayload\$(buildConfiguration)\$(buildPlatform)' - testFilePattern: 'MUXControlsTestApp.msix' - outputProjFileName: 'RunTestsInHelix-ApiTests.proj' - taefQuery: ${{ parameters.taefQuery }} - - template: MUX-CreateHelixProjFile-Steps.yml - parameters: - testBinaryDirectoryPath: '$(Build.SourcesDirectory)\HelixPayload\$(buildConfiguration)\$(buildPlatform)' - testFilePattern: 'IXMPTestApp.msix' - outputProjFileName: 'RunTestsInHelix-IXMPTestAppTests.proj' - taefQuery: ${{ parameters.taefQuery }} - - - ${{ if in(parameters.testSuite, 'nupkg', 'fwpkg') }}: - - template: MUX-CreateHelixProjFile-Steps.yml - parameters: - testBinaryDirectoryPath: '$(Build.SourcesDirectory)\HelixPayload\$(buildConfiguration)\$(buildPlatform)' - testFilePattern: 'MUXControls.ReleaseTest.dll' - outputProjFileName: 'RunTestsInHelix-NugetTests.proj' - taefQuery: ${{ parameters.taefQuery }} - - - task: CopyFiles@2 - displayName: 'Copy helix work item proj files' - inputs: - SourceFolder: '$(Build.SourcesDirectory)\helixworkitems' - TargetFolder: '$(Build.ArtifactStagingDirectory)\$(buildPlatform)$(buildConfiguration)\' - Contents: '*.proj' - - task: PublishBuildArtifacts@1 - displayName: 'Publish generated .proj files' - inputs: - PathtoPublish: $(Build.ArtifactStagingDirectory) - artifactName: TestWorkItems-${{ parameters.testSuite}} - -- template: MUX-RunTestsOnPipeline-Job.yml - parameters: - runTestJobName: RunTestsRS5x86_${{ parameters.testSuite }} - dependsOn: CreateTestPayload_${{ parameters.testSuite }} - parallel: ${{ parameters.maxParallel }} - testSuite: ${{ parameters.testSuite }} - testOS: Win10-RS5 - buildPlatform: x86 - buildConfiguration: release - -- template: MUX-RunTestsOnPipeline-Job.yml - parameters: - runTestJobName: RunTests22H2x64_${{ parameters.testSuite }} - dependsOn: CreateTestPayload_${{ parameters.testSuite }} - parallel: ${{ parameters.maxParallel }} - testSuite: ${{ parameters.testSuite }} - testOS: Win10-22H2 - buildPlatform: x64 - buildConfiguration: release \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-RunTestsOnPipeline-Job.yml b/build/AzurePipelinesTemplates/MUX-RunTestsOnPipeline-Job.yml deleted file mode 100644 index 063ab4d574..0000000000 --- a/build/AzurePipelinesTemplates/MUX-RunTestsOnPipeline-Job.yml +++ /dev/null @@ -1,127 +0,0 @@ -parameters: - runTestJobName: RunTestsOnPipeline - dependsOn: '' - testSuite: DevTestSuite - rerunPassesRequiredToAvoidFailure: 5 - testOS: Win10-22H2 - buildPlatform: x86 - buildConfiguration: release - parallel: 10 - -jobs: - -- job: ${{ parameters.runTestJobName }} - dependsOn: ${{ parameters.dependsOn }} - condition: not(failed()) - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-Test - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-Test - demands: ImageOverride -equals ${{ parameters.testOS }} - - timeoutInMinutes: 90 - strategy: - parallel: ${{ parameters.parallel }} - - variables: - useBuildOutputFromBuildId: $(Build.BuildId) - winuiHelixVersion: 0.5.8 - helixScriptPath: $(Build.SourcesDirectory)\build\Helix\packages\Microsoft.Internal.WinUI.Helix.$(winuiHelixVersion)\scripts\pipeline - - testSuite: ${{ parameters.testSuite }} - testOS: ${{ parameters.testOS }} - buildPlatform: ${{ parameters.buildPlatform }} - buildConfiguration: ${{ parameters.buildConfiguration }} - buildFlavor: $(buildPlatform)$(buildConfiguration) - - workItemsProjNameFilter: '*proj' - workItemsProjDir: $(Build.SourcesDirectory)\TestWorkItems-$(testSuite)\$(buildFlavor) - testPayloadDir: $(Build.SourcesDirectory)\TestPayload-$(testSuite)\$(buildConfiguration)\$(buildPlatform) - uploadRoot: c:\uploadroot - uploadRootInner: $(uploadRoot)\$(testOS)\$(buildFlavor) - testOutputArtifactName: TestOutput-$(testSuite) - testRunTitlePrefix: $(testSuite)-$(testOS)-$(buildFlavor) - testRunTitle: '$(testRunTitlePrefix)-$(System.JobPositionInPhase)' - - steps: - - task: PowerShell@2 - displayName: 'Display OS version info' - inputs: - targetType: 'inline' - script: | - Get-Item -Path 'HKLM:\Software\Microsoft\Windows NT\CurrentVersion' - - - script: set - displayName: 'Display current environment variables' - - - template: MUX-InstallNuget-Steps.yml - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore build/Helix/packages.config' - inputs: - restoreSolution: build/Helix/packages.config - feedsToUse: config - nugetConfigPath: nuget.config - restoreDirectory: packages - - - task: DownloadBuildArtifacts@1 - inputs: - buildType: specific - buildVersionToDownload: specific - project: $(System.TeamProjectId) - pipeline: $(System.DefinitionId) - buildId: $(useBuildOutputFromBuildId) - artifactName: TestWorkItems-$(testSuite) - downloadPath: $(Build.SourcesDirectory) - - - task: DownloadBuildArtifacts@1 - inputs: - buildType: specific - buildVersionToDownload: specific - project: $(System.TeamProjectId) - pipeline: $(System.DefinitionId) - buildId: $(useBuildOutputFromBuildId) - artifactName: TestPayload-$(testSuite) - downloadPath: $(Build.SourcesDirectory) - itemPattern: '**/$(buildConfiguration)/$(buildPlatform)/**/*' - - - task: powershell@2 - displayName: Run Tests - timeoutInMinutes: 60 - inputs: - targetType: filePath - filePath: $(helixScriptPath)\RunTestPassSliceOnBuildAgent.ps1 - arguments: -WorkItemProjFileNameFilter $(workItemsProjNameFilter) -WorkItemProjDir $(workItemsProjDir) -TestPayloadDir $(testPayloadDir) -UploadRoot $(uploadRootInner) -JobPositionInPhase $(System.JobPositionInPhase) -TotalJobsInPhase $(System.TotalJobsInPhase) -RerunPassesRequiredToAvoidFailure ${{ parameters.rerunPassesRequiredToAvoidFailure }} - errorActionPreference: stop - workingDirectory: $(helixScriptPath) - - - task: PublishBuildArtifacts@1 - displayName: 'Publish TestOutput artifact' - condition: always() - inputs: - PathtoPublish: $(uploadRoot) - artifactName: $(testOutputArtifactName) - - - task: PublishTestResults@2 - condition: always() - inputs: - testResultsFormat: xUnit - testResultsFiles: testResults-*.xml - searchFolder: $(helixScriptPath) - mergeTestResults: true - failTaskOnFailedTests: true - testRunTitle: '$(testRunTitle)' - buildPlatform: $(buildPlatform) - buildConfiguration: $(buildConfiguration) - - - task: powershell@2 - displayName: 'UpdateUnreliableTests.ps1' - condition: eq(variables['System.PullRequest.IsFork'], false) - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - targetType: filePath - filePath: $(helixScriptPath)\UpdateUnreliableTests-Pipeline.ps1 - arguments: -RerunPassesRequiredToAvoidFailure ${{ parameters.rerunPassesRequiredToAvoidFailure }} -TestRunTitle $(testRunTitle) -SubResultsDirPath $(uploadRootInner) - \ No newline at end of file diff --git a/build/AzurePipelinesTemplates/MUX-SourceIndexPDBs-Steps.yml b/build/AzurePipelinesTemplates/MUX-SourceIndexPDBs-Steps.yml deleted file mode 100644 index f0033b32a8..0000000000 --- a/build/AzurePipelinesTemplates/MUX-SourceIndexPDBs-Steps.yml +++ /dev/null @@ -1,18 +0,0 @@ -parameters: - buildOutputDir: $(buildOutputDir) - -steps: - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore build\SourceIndexing\packages.config' - inputs: - restoreSolution: build/SourceIndexing/packages.config - feedsToUse: config - nugetConfigPath: nuget.config - restoreDirectory: $(Build.SourcesDirectory)/packages - - - task: powershell@2 - displayName: 'Source Index PDBs' - inputs: - targetType: filePath - filePath: build\SourceIndexing\IndexPdbs.ps1 - arguments: -SearchDir '${{ parameters.buildOutputDir }}\$(buildConfiguration)' -SourceRoot '$(Build.SourcesDirectory)' -recursive -Verbose -CommitId $(Build.SourceVersion) diff --git a/build/AzurePipelinesTemplates/MUX-WACKTests-Job.yml b/build/AzurePipelinesTemplates/MUX-WACKTests-Job.yml deleted file mode 100644 index 890d6fecf2..0000000000 --- a/build/AzurePipelinesTemplates/MUX-WACKTests-Job.yml +++ /dev/null @@ -1,92 +0,0 @@ -parameters: - name: 'WACKTests' - dependsOn: '' - artifactName: 'NugetPkgTestsDrop' - matrix: - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - Release_Arm: - buildPlatform: 'arm' - buildConfiguration: 'Release' - Release_Arm64: - buildPlatform: 'arm64' - buildConfiguration: 'Release' -jobs: -- job: ${{ parameters.name }} - dependsOn: ${{ parameters.dependsOn }} - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-S - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-S - strategy: - maxParallel: 10 - matrix: ${{ parameters.matrix }} - - variables: - artifactDownloadPath: $(Build.SourcesDirectory)\Artifacts - appxPackagesPath: $(artifactDownloadPath)\${{parameters.artifactName}}\$(buildConfiguration)\$(buildPlatform)\AppxPackages - resultLogStagingPath: $(Build.ArtifactStagingDirectory)\Results\WACKTestResults-$(buildConfiguration)-$(buildPlatform) - - steps: - - - task: DownloadBuildArtifacts@0 - inputs: - artifactName: ${{ parameters.artifactName }} - downloadPath: '$(artifactDownloadPath)' - itemPattern: '**\*.?(appx|msix)' - - - task: PkgESWACKTests@12 - displayName: Run WACK tests for NugetPackageTestApp - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - PackageFilePath: '$(appxPackagesPath)\NugetPackageTestApp_Test\NugetPackageTestApp.msix' - - task: CopyFiles@2 - displayName: 'Copy results for NugetPackageTestApp' - condition: succeededOrFailed() - inputs: - sourceFolder: $(appxPackagesPath)\NugetPackageTestApp_Test\ - contents: '*.xml' - targetFolder: $(resultLogStagingPath) - - - task: PkgESWACKTests@12 - displayName: Run WACK tests for AppThatUsesMUXIndirectly - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - condition: succeededOrFailed() - inputs: - PackageFilePath: '$(appxPackagesPath)\AppThatUsesMUXIndirectly_Test\AppThatUsesMUXIndirectly.msix' - - task: CopyFiles@2 - displayName: 'Copy results for AppThatUsesMUXIndirectly' - condition: succeededOrFailed() - inputs: - sourceFolder: $(appxPackagesPath)\AppThatUsesMUXIndirectly_Test\ - contents: '*.xml' - targetFolder: $(resultLogStagingPath) - - - task: PkgESWACKTests@12 - displayName: Run WACK tests for UwpAppWithFullTrustProcess - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - condition: succeededOrFailed() - inputs: - PackageFilePath: '$(appxPackagesPath)\UwpAppWithFullTrustProcess_package_Test\UwpAppWithFullTrustProcess_package.msix' - - task: CopyFiles@2 - displayName: 'Copy results for UwpAppWithFullTrustProcess' - condition: succeededOrFailed() - inputs: - sourceFolder: $(appxPackagesPath)\UwpAppWithFullTrustProcess_package_Test\ - contents: '*.xml' - targetFolder: $(resultLogStagingPath) - - - task: PublishBuildArtifacts@1 - displayName: Publish results - condition: succeededOrFailed() - inputs: - PathtoPublish: $(Build.ArtifactStagingDirectory)\Results - artifactName: ${{ parameters.artifactName }} \ No newline at end of file diff --git a/build/BuildAll.proj b/build/BuildAll.proj deleted file mode 100644 index d5b8d83fd0..0000000000 --- a/build/BuildAll.proj +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Configuration=Debug;Platform=x86 - - - Configuration=Release;Platform=x86 - - - Configuration=Debug;Platform=x64 - - - Configuration=Release;Platform=x64 - - - Configuration=Debug;Platform=arm - - - Configuration=Release;Platform=arm - - - Configuration=Debug;Platform=arm64 - - - Configuration=Release;Platform=arm64 - - - - - - - - - - - \ No newline at end of file diff --git a/build/CopyFilesToStagingDir.ps1 b/build/CopyFilesToStagingDir.ps1 deleted file mode 100644 index f6d521f157..0000000000 --- a/build/CopyFilesToStagingDir.ps1 +++ /dev/null @@ -1,93 +0,0 @@ -[CmdLetBinding()] -Param( - [string]$BuildOutputDir, - [string]$PublishDir, - [string]$Platform, - [string]$Configuration, - [switch]$PublishAppxFiles=$false -) - -$FullBuildOutput = "$($BuildOutputDir)\$($Configuration)\$($Platform)" -$FullPublishDir = "$($PublishDir)\$($Configuration)\$($Platform)" - -if (!(Test-Path $FullPublishDir)) { mkdir $FullPublishDir } - - -function PublishFile { - Param($source, $destinationDir, [switch]$IfExists = $false) - - if ((-not $IfExists) -or (Test-Path $source)) - { - Write-Host "Copy from '$source' to '$destinationDir'" - if (-not (Test-Path $destinationDir)) - { - $ignore = New-Item -ItemType Directory $destinationDir - } - Copy-Item -Recurse -Force $source $destinationDir - } - else - { - Write-Host "Not copying '$source' to $destinationDir because it did not exist" - } -} - -PublishFile -IfExists $FullBuildOutput\Microsoft.UI.Xaml\Microsoft.UI.Xaml.dll $FullPublishDir\Microsoft.UI.Xaml\ -PublishFile -IfExists $FullBuildOutput\Microsoft.UI.Xaml\Microsoft.UI.Xaml.pri $FullPublishDir\Microsoft.UI.Xaml\ -PublishFile -IfExists $FullBuildOutput\Microsoft.UI.Xaml\sdk\Microsoft.UI.Xaml.winmd $FullPublishDir\Microsoft.UI.Xaml\sdk\ -PublishFile -IfExists $FullBuildOutput\Microsoft.UI.Xaml\Generic.xaml $FullPublishDir\Microsoft.UI.Xaml\ -PublishFile -IfExists $FullBuildOutput\Microsoft.UI.Xaml.Design\Microsoft.UI.Xaml.Design.dll $FullPublishDir\Microsoft.UI.Xaml.Design\ -PublishFile -IfExists $BuildOutputDir\$Configuration\AnyCPU\Microsoft.UI.Xaml.FrameworkPackagePRI\Microsoft.UI.Xaml.pri $FullPublishDir\Microsoft.UI.Xaml.FrameworkPackagePRI\ -PublishFile -IfExists $BuildOutputDir\$Configuration\AnyCPU\MUXControls.Test.TAEF\*.dll $FullPublishDir\Test\ -PublishFile -IfExists $BuildOutputDir\$Configuration\$Platform\MUXControlsTestApp.TAEF\WebView2Loader.dll $FullPublishDir\Test\ -PublishFile -IfExists $BuildOutputDir\$Configuration\AnyCPU\MUXControls.ReleaseTest.TAEF\MUXControls.ReleaseTest.dll $FullPublishDir\Test\ -PublishFile -IfExists $BuildOutputDir\$Configuration\AnyCPU\MUXControls.ReleaseTest.TAEF\WebView2Loader.dll $FullPublishDir\Test\ -PublishFile -IfExists $BuildOutputDir\$Configuration\AnyCPU\MUXExperimental.Test.TAEF\MUXExperimental.Test.dll $FullPublishDir\Test\ - -PublishFile -IfExists $FullBuildOutput\Microsoft.Experimental.UI.Xaml\Microsoft.Experimental.UI.Xaml.dll $FullPublishDir\Microsoft.Experimental.UI.Xaml\ -PublishFile -IfExists $FullBuildOutput\Microsoft.Experimental.UI.Xaml\Microsoft.Experimental.UI.Xaml.pri $FullPublishDir\Microsoft.Experimental.UI.Xaml\ -PublishFile -IfExists $FullBuildOutput\Microsoft.Experimental.UI.Xaml\sdk\Microsoft.Experimental.UI.Xaml.winmd $FullPublishDir\Microsoft.Experimental.UI.Xaml\sdk\ -PublishFile -IfExists $FullBuildOutput\Microsoft.Experimental.UI.Xaml\Generic.xaml $FullPublishDir\Microsoft.Experimental.UI.Xaml\ - -# pgosweep and vcruntime are required to run pgo instrumented test run. They are placed from the -# cx test app instead of releasetest.dll since these are architecture specific and the ReleaseTest assembly is AnyCPU. -PublishFile -IfExists $FullBuildOutput\NugetPackageTestAppCX\pgosweep.exe $FullPublishDir\Test\ -PublishFile -IfExists $FullBuildOutput\NugetPackageTestAppCX\vcruntime140.dll $FullPublishDir\Test\ -PublishFile -IfExists $FullBuildOutput\NugetPackageTestAppCX\vc_redist.x64.exe $FullPublishDir\Test\ -PublishFile -IfExists $FullBuildOutput\NugetPackageTestAppCX\vc_redist.x86.exe $FullPublishDir\Test\ - -PublishFile -IfExists $FullBuildOutput\FrameworkPackage\*.* $FullPublishDir\FrameworkPackage - -if ($PublishAppxFiles) -{ - $AppxPackagesDir = "$FullPublishDir\AppxPackages" - - PublishFile -IfExists $FullBuildOutput\MUXControlsTestApp.TAEF\AppPackages\MUXControlsTestApp_Test\ $AppxPackagesDir - PublishFile -IfExists $FullBuildOutput\IXMPTestApp.TAEF\AppPackages\IXMPTestApp_Test\ $AppxPackagesDir - PublishFile -IfExists $FullBuildOutput\MUXControlsTestAppWPFPackage\AppPackages\MUXControlsTestAppWPFPackage_Test\ $AppxPackagesDir - - PublishFile -IfExists $FullBuildOutput\NugetPackageTestApp\AppPackages\NugetPackageTestApp_Test\ $AppxPackagesDir - PublishFile -IfExists $FullBuildOutput\NugetPackageTestAppCX\AppPackages\NugetPackageTestAppCX_Test\ $AppxPackagesDir - PublishFile -IfExists $FullBuildOutput\AppThatUsesMUXIndirectly\AppPackages\AppThatUsesMUXIndirectly_Test\ $AppxPackagesDir - PublishFile -IfExists $FullBuildOutput\WpfApp.Package\AppPackages\WpfApp_Test\ $AppxPackagesDir - PublishFile -IfExists $FullBuildOutput\MUXExperimentalTestApp\AppPackages\MUXExperimentalTestApp_Test\ $AppxPackagesDir -} - -$UnpackagedAppsDir = "$FullPublishDir\UnpackagedApps" - -PublishFile -IfExists $FullBuildOutput\WpfApp\ $UnpackagedAppsDir - -# Publish pdbs: -$symbolsOutputDir = "$($FullPublishDir)\Symbols\" -PublishFile -IfExists $FullBuildOutput\Microsoft.UI.Xaml\Microsoft.UI.Xaml.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\Microsoft.Experimental.UI.Xaml\Microsoft.Experimental.UI.Xaml.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\IXMPTestApp.TAEF\IXMPTestApp.pdb $symbolsOutputDir -PublishFile -IfExists $BuildOutputDir\$Configuration\AnyCPU\MUXControls.Test\MUXControls.Test.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\MUXControlsTestApp.TAEF\MUXControlsTestApp.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\MUXControlsTestAppForIslands\MUXControlsTestAppForIslands.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\MUXControlsTestAppWPF\MUXControlsTestAppWPF.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\TestAppCX\TestAppCX.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\NugetPackageTestApp\NugetPackageTestApp.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\AppThatUsesMUXIndirectly\AppThatUsesMUXIndirectly.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\NugetPackageTestAppCX\NugetPackageTestAppCX.pdb $symbolsOutputDir -PublishFile -IfExists $BuildOutputDir\$Configuration\AnyCPU\MUXExperimental.Test.TAEF\MUXExperimental.Test.pdb $symbolsOutputDir -PublishFile -IfExists $FullBuildOutput\MUXExperimentalTestApp\MUXExperimentalTestApp.pdb $symbolsOutputDir \ No newline at end of file diff --git a/build/CreateCBSVPack.cmd b/build/CreateCBSVPack.cmd deleted file mode 100644 index 1776535759..0000000000 --- a/build/CreateCBSVPack.cmd +++ /dev/null @@ -1,8 +0,0 @@ -pushd %~dp0 -echo "Calling DevCmd.cmd" -call ..\DevCmd.cmd /PreserveContext -pushd %~dp0 -echo "Calling CreateCBSVpack.ps1" -powershell -ExecutionPolicy Unrestricted -NoProfile -NonInteractive -Command %~dpn0.ps1 %* -popd -popd \ No newline at end of file diff --git a/build/CreateCBSVPack.ps1 b/build/CreateCBSVPack.ps1 deleted file mode 100644 index a9ec528c55..0000000000 --- a/build/CreateCBSVPack.ps1 +++ /dev/null @@ -1,208 +0,0 @@ -param -( - [Parameter(Mandatory=$true)] - [string] $releaseFolder, - - [Parameter(Mandatory=$true)] - [string] $publicsRoot, - - [Parameter(Mandatory=$true)] - [string] $publishDir -) - -Trap -{ - Write-Error $_.Exception.Message; - Exit 1 -}; - -$repoRoot = $script:MyInvocation.MyCommand.Path | Split-Path -Parent | Split-Path -Parent - -function GetVersionFromManifest([string] $manifestPath) -{ - return (Get-Content $manifestPath) | Select-String 'Version="(.+?)"' -caseSensitive | Foreach-Object {$_.Matches} | Foreach-Object {$_.Groups[1].Value} | Select-Object -First 1 -} - -function UnpackAppx([string] $sourceFolder, [string] $targetFolder) -{ - $appxPath = "$sourceFolder\FrameworkPackage" - - $appx = Get-ChildItem "$appxPath" -Filter "Microsoft.UI.Xaml*.appx" - - $count = ($appx | Measure-Object).Count - - if ($count -ne 1) - { - Write-Host "There is 0 or 1+ .appx in $appxPath" - exit 1 - } - - $path = $appx.FullName - - Write-Host "Running: makeappx.exe unpack /p $path /d $targetFolder /o /l" - makeappx.exe unpack /p "$path" /d "$targetFolder" /o /l | Out-Null -} - -function Get-ScriptDirectory { - Split-Path -parent $PSCommandPath -} - -function Get-WebView2PackageVersion { - $packagesConfig = Join-Path $repoRoot "dev\dll\packages.config" - [xml]$packages = Get-Content $packagesConfig - $webView2Version = $packages.SelectSingleNode("//packages/package[@id=`"Microsoft.Web.WebView2`"]").version - - return $webView2Version -} - -function RemergeWinMd([string] $winmdSourceFolder, [string] $winmdTargetFolder, [string] $winmdReferencesDir) -{ - Write-Host "re-merge Microsoft.UI.Xaml.winmd" - - New-Item -Path "$winmdTargetFolder" -ItemType Directory | Out-Null - - # We need to re-merge Microsoft.UI.Xaml.winmd against the OS internal metadata instead of against the metadata from the public sdk: - $mdMergeArgs = "-v -metadata_dir ""$winmdReferencesDir"" -o ""$winmdTargetFolder"" -i ""$winmdSourceFolder"" -partial -n:3 -createPublicMetadata -transformExperimental:transform" - Write-Host "mdmerge $mdMergeArgs" - Invoke-Expression "mdmerge $mdMergeArgs" | Out-Null - if($LASTEXITCODE) - { - Write-Error "mdmerge exited with error ($LASTEXITCODE)" - exit - } -} - -if (-not (Test-Path "$releaseFolder")) -{ - Write-Error "Not found folder $releaseFolder" - Exit 1 -} - -if (-not (Test-Path "$publicsRoot")) -{ - Write-Error "Not found folder $publicsRoot" - Exit 1 -} - -if(!(Get-Command mdmerge -ErrorAction Ignore)) -{ - Write-Error "Cannot find mdmerge. Make sure to run from a Developer Command Prompt." - exit 1 -} -$winuiVpackFolder = "$publishDir\WinUIVpack" -$cbsFolder = "$publishDir\CBS" -$cbswinmdFolder = "$cbsFolder\winmd" -$packagesDir = Join-Path $repoRoot "packages" -$winmdReferencesDir = Join-Path $repoRoot "winmdreferences" - -if (Test-Path $cbsFolder) -{ - Write-Host "Deleting $cbsFolder" - Remove-Item -Path $cbsFolder -Force -Recurse| Out-Null -} - -if (Test-Path $winuiVpackFolder) -{ - Write-Host "Deleting $winuiVpackFolder" - Remove-Item -Path $winuiVpackFolder -Force -Recurse| Out-Null -} - -if (Test-Path $winmdReferencesDir) -{ - Write-Host "Deleting $winmdReferencesDir" - Remove-Item -Path $winmdReferencesDir -Force -Recurse| Out-Null -} - -New-Item -Path "$winuiVpackFolder" -ItemType Directory | Out-Null -New-Item -Path "$cbsFolder" -ItemType Directory | Out-Null -New-Item -Path "$winmdReferencesDir" -ItemType Directory | Out-Null - -Write-Host "Copy OS publics to $winmdReferencesDir" -$osBuildMetadataDir = Join-Path $publicsRoot "onecoreuap\internal\buildmetadata" -Copy-Item "$osBuildMetadataDir\*.winmd" "$winmdReferencesDir" -Force - -Write-Host "Copy WebView2 winmd to $winmdReferencesDir" -$webView2Version = Get-WebView2PackageVersion -$webView2WinMdPath = Join-Path $packagesDir "Microsoft.Web.WebView2.$($webView2Version)\lib" -Copy-Item "$webView2WinMdPath\*.winmd" "$winmdReferencesDir" -Force - -$buildFlavours = @("X64", "X86", "ARM", "ARM64") - -foreach ($flavour in $buildFlavours) -{ - $sourceFolder = "$releaseFolder\$flavour" - if (-not (Test-Path $sourceFolder)) - { - Write-Error "Not found folder $sourceFolder" - Exit 1 - } -} - -# Create WinUI Vpack: -foreach ($flavour in $buildFlavours) -{ - $sourceFolder = "$releaseFolder\$flavour\FrameworkPackage" - $winmdSourceFolder = "$releaseFolder\$flavour\Microsoft.UI.Xaml\sdk" - $targetFolder = "$winuiVpackFolder\$flavour" - $winmdTargetFolder = "$winuiVpackFolder\winmd" - - New-Item -Path "$targetFolder" -ItemType Directory | Out-Null - - $search = "Microsoft.UI.Xaml.*.appx" - $found = Get-ChildItem $sourceFolder -Filter $search - if ($found.Length -eq 0) - { - Write-Error "Could not find '$search' in '$sourceFolder'" - Exit 1 - } - - $fileName = $found[0].Name - $sourcePathFull = $found[0].FullName - - $destPathFull = Join-Path $targetFolder $fileName - - Write-Verbose "Copy item from '$sourcePathFull' to '$destPathFull' " - Copy-Item $sourcePathFull $destPathFull - - if ($flavour -ieq "X64") - { - RemergeWinMd $winmdSourceFolder $winmdTargetFolder $winmdReferencesDir - } -} - -# Create CBS Vpacks: -foreach ($flavour in $buildFlavours) -{ - $sourceFolder = "$releaseFolder\$flavour" - $targetFolder = "$cbsFolder\$flavour" - - New-Item -Path "$cbsFolder\$flavour" -ItemType Directory | Out-Null - - UnpackAppx "$sourceFolder" "$targetFolder" - - Write-Host "Preparing AppxManifest, .pdb and resources.pri for $flavour" - Copy-Item "$sourceFolder\Symbols\Microsoft.UI.Xaml.pdb" "$targetFolder" -Force | Out-Null - Copy-Item "$sourceFolder\FrameworkPackage\CBSAppxManifest.xml" "$targetFolder\AppxManifest.xml" -Force | Out-Null - Copy-Item "$sourceFolder\FrameworkPackage\CBSresources.pri" "$targetFolder\resources.pri" -Force | Out-Null - - if ($flavour -ieq "X64") - { - RemergeWinMd $targetFolder $cbswinmdFolder $winmdReferencesDir - } -} - -$manifestVersion = GetVersionFromManifest "$targetFolder\AppxManifest.xml" -$version = $manifestVersion.split(".") -$major = $version[0] -$minor = $version[1] -$patch = $version[2] - -$vpackversion = "$($major).$($minor).$($patch)" -Write-Host "vpackversion=$vpackversion" - -$readmeFilePath = Join-Path $cbsFolder "readme.txt" -$contentString = "This is the contents of version '$($vpackversion)' of the MicrosoftUIXamlInbox VPacks" -Set-Content -Path $readmeFilePath -Value $contentString - -# This sets a Pipeline variable that the Job will use to push the created vpacks with the specified version. -Write-Host "##vso[task.setvariable variable=vpackversion;isOutput=true;]$vpackversion" \ No newline at end of file diff --git a/build/FrameworkPackage/ExtractAppxFilesForStoreSubmission.ps1 b/build/FrameworkPackage/ExtractAppxFilesForStoreSubmission.ps1 deleted file mode 100644 index 41fdc9d0f6..0000000000 --- a/build/FrameworkPackage/ExtractAppxFilesForStoreSubmission.ps1 +++ /dev/null @@ -1,37 +0,0 @@ -<# -.SYNOPSIS -This script is used to extract the appx files from a nuget package, rename them to include the platform -architecture, and then put them all in the same directory. This facilitates submitting the packages to -the Store. -#> -[CmdLetBinding()] -Param( - [Parameter(Position=0,Mandatory=$true)] - [string]$nugetPackage, - [Parameter(Position=1,Mandatory=$true)] - [string]$outputDirectory) - - -Add-Type -AssemblyName System.IO.Compression.FileSystem -$appxArchiveEntries = [System.IO.Compression.ZipFile]::OpenRead($nugetPackage).Entries | Where-Object { $_.FullName.EndsWith(".appx") } - -[Environment]::CurrentDirectory = $PSScriptRoot -$outputPath = [System.IO.Path]::GetFullPath($outputDirectory) -Write-Verbose "Output path = $outputPath" - -if (-not (Test-Path $outputPath)) -{ - $ignore = New-Item -ItemType Directory $outputPath - Write-Verbose $ignore -} - -foreach ($appxEntry in $appxArchiveEntries) -{ - $pathParts = $appxEntry.FullName.Split("/") - $platform = $pathParts[2] - $fileName = $pathParts[$pathParts.Length - 1] - $outputFile = $fileName.Replace(".appx", ".$platform.appx") - $outputFilePath = Join-Path $outputPath $outputFile - Write-Verbose "Extracting $($appxEntry.FullName) to $outputPath" - [System.IO.Compression.ZipFileExtensions]::ExtractToFile($appxEntry, $outputFilePath) -} \ No newline at end of file diff --git a/build/FrameworkPackage/FrameworkPackageContents/AppxManifest.xml b/build/FrameworkPackage/FrameworkPackageContents/AppxManifest.xml deleted file mode 100644 index 83532e7657..0000000000 --- a/build/FrameworkPackage/FrameworkPackageContents/AppxManifest.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - true - $(PackageName) - Microsoft Platform Extensions - Microsoft.UI.Xaml - logo.png - - - - - - - - - -$(ActivatableTypes) - - - Microsoft.UI.Xaml.dll - - - - - - \ No newline at end of file diff --git a/build/FrameworkPackage/FrameworkPackageContents/FrameworkPackageFiles.txt b/build/FrameworkPackage/FrameworkPackageContents/FrameworkPackageFiles.txt deleted file mode 100644 index 95213fafde..0000000000 --- a/build/FrameworkPackage/FrameworkPackageContents/FrameworkPackageFiles.txt +++ /dev/null @@ -1,3 +0,0 @@ -[Files] -"AppxManifest.xml" "AppxManifest.xml" -"logo.png" "logo.png" diff --git a/build/FrameworkPackage/FrameworkPackageContents/logo.png b/build/FrameworkPackage/FrameworkPackageContents/logo.png deleted file mode 100644 index a47acc431a..0000000000 Binary files a/build/FrameworkPackage/FrameworkPackageContents/logo.png and /dev/null differ diff --git a/build/FrameworkPackage/MakeFrameworkPackage.cmd b/build/FrameworkPackage/MakeFrameworkPackage.cmd deleted file mode 100644 index d22bd44e36..0000000000 --- a/build/FrameworkPackage/MakeFrameworkPackage.cmd +++ /dev/null @@ -1,20 +0,0 @@ -@echo off - -set ERRORLEVEL= - -REM echo ----------------------------- SDK DIR DUMP ----------------------------- -REM dir /s /b "C:\Windows\Microsoft.NET\Framework" -REM echo ----------------------------- END DIR DUMP ----------------------------- - -REM if not defined NETFXSDKDir (call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\Common7\Tools\vsvars32.bat") - -pushd %~dp0 -powershell -ExecutionPolicy Unrestricted -NoLogo -NoProfile -Command "&{ %~dpn0.ps1 %*; exit $lastexitcode }" - -if %ERRORLEVEL% NEQ 0 ( - @echo ##vso[task.logissue type=error;] MakeFrameworkPackage failed with exit code %ERRORLEVEL% - goto END -) - -:END -EXIT /B %ERRORLEVEL% \ No newline at end of file diff --git a/build/FrameworkPackage/MakeFrameworkPackage.ps1 b/build/FrameworkPackage/MakeFrameworkPackage.ps1 deleted file mode 100644 index 5b79cd961d..0000000000 --- a/build/FrameworkPackage/MakeFrameworkPackage.ps1 +++ /dev/null @@ -1,376 +0,0 @@ -[CmdLetBinding()] -Param( - [string]$inputDirectory, - [string]$outputDirectory, - [string]$Platform, - [string]$Configuration, - [string]$Publisher = "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", - [string]$VersionOverride, - [int]$Subversion = "000", - [string]$builddate_yymm, - [string]$builddate_dd, - [string]$WindowsSdkBinDir, - [string]$BasePackageName, - [string]$PackageNameSuffix) - -Import-Module $PSScriptRoot\..\..\tools\Utils.psm1 -DisableNameChecking - -function Copy-IntoNewDirectory { - Param($source, $destinationDir, [switch]$IfExists = $false) - - if ((-not $IfExists) -or (Test-Path $source)) - { - Write-Verbose "Copy from '$source' to '$destinationDir'" - if (-not (Test-Path $destinationDir)) - { - $ignore = New-Item -ItemType Directory $destinationDir - } - Copy-Item -Recurse -Force $source $destinationDir - } -} - -function ExecuteMakePri -{ - Param($WindowsSdkBinDir, $makePriArgs) - $makepriNew = "`"" + (Join-Path $WindowsSdkBinDir "makepri.exe") + "`" $makePriArgs" - Write-Host $makepriNew - cmd /c $makepriNew - if ($LastExitCode -ne 0) { Exit 1 } -} - -# only keep 21h1 themeresources, and set other themeresources to " " -# I didn't set it to "" because "" will change the `makepri dump` layout, but " " will not. -function RepackCBSResourcesPri -{ - Param($WindowsSdkBinDir, $sourceFile, $targetFile, $intermediateFolder) - New-Item -Path "$intermediateFolder" -ItemType Directory -Force | Out-Null - - $priconfigFrom = Join-Path "$PSScriptRoot" "cbspriconfig.xml" - $priconfig = Join-Path "$intermediateFolder" "priconfig.xml" - Copy-Item "$priconfigFrom" "$priconfig" -Force | Out-Null - - $cbsResourcesPriXml = "$intermediateFolder\CBSresources.pri.xml" - $resourcesPriXml = "$intermediateFolder\resources.pri.xml" - - # step 1: makepri dump CBSresources.pri to CBSresources.pri.xml - ExecuteMakePri "$WindowsSdkBinDir" "dump /dt detailed /if $sourceFile /of `"$cbsResourcesPriXml`" /o" - - # step 2: set rs2-19h1 resources to " " and save as resources.pri.xml - # In base64, IA== is " ". - [XML] $xml = Get-Content -Encoding UTF8 "$cbsResourcesPriXml" - $nodes = $xml.PriInfo.ResourceMap.SelectNodes("ResourceMapSubtree/ResourceMapSubtree/ResourceMapSubtree/NamedResource") - - $namesToBeChanged = @("19h1_themeresources.xbf", "rs5_themeresources.xbf", "rs4_themeresources.xbf", "rs3_themeresources.xbf", "rs2_themeresources.xbf", - "19h1_generic.xbf", "rs5_generic.xbf", "rs4_generic.xbf", "rs4_generic.xbf", "rs3_generic.xbf", "rs2_generic.xbf", - "19h1_themeresources_v1.xbf", "rs5_themeresources_v1.xbf", "rs4_themeresources_v1.xbf", "rs3_themeresources_V1.xbf", "rs2_themeresources_v1.xbf", - "19h1_generic_v1.xbf", "rs5_generic_v1.xbf", "rs4_generic_v1.xbf", "rs4_generic_v1.xbf", "rs3_generic_v1.xbf", "rs2_generic_v1.xbf", - "19h1_compact_themeresources.xbf", "rs5_compact_themeresources.xbf", "rs4_compact_themeresources.xbf", "rs3_compact_themeresources.xbf", "rs2_compact_themeresources.xbf", - "19h1_compact_themeresources_v1.xbf", "rs5_compact_themeresources_v1.xbf", "rs4_compact_themeresources_v1.xbf", "rs3_compact_themeresources_V1.xbf", "rs2_compact_themeresources_v1.xbf", - "21h1_compact_themeresources_v1.xbf", "21h1_compact_themeresources.xbf" - ) - - foreach($name in $namesToBeChanged) { - $nodes | - ? { $_.name -eq $name } | - % { $_.Candidate.Base64Value = "IA==" } - } - - [System.Xml.XmlWriterSettings] $xmlSettings = New-Object System.Xml.XmlWriterSettings - - #Preserve Windows formating - $xmlSettings.Indent = $true - $xmlSettings.IndentChars = "`t" - - #Keeping UTF-8 without BOM - $xmlSettings.Encoding = New-Object System.Text.UTF8Encoding($false) - - [System.Xml.xmlWriter] $xmlWriter = [System.Xml.xmlWriter]::Create("$resourcesPriXml", $xmlSettings) - $xml.Save($xmlWriter) - $xmlWriter.Close() - - # step 3: re-create PRI with resources.pri.xml - ExecuteMakePri "$WindowsSdkBinDir" "new /pr `"$intermediateFolder`" /cf `"$priconfig`" /in Microsoft.UI.Xaml.CBS /of `"$targetFile`" /o" - - # step 4: verify the re-created PRI is not the same with the original .pri - if((Get-FileHash "$sourceFile").hash -eq (Get-FileHash "$targetFile").hash) - { - Write-Error("$sourceFile should not equal to $targetFile"); - Exit 1 - } - - # step 5: dump the two pris and compare the content, they should be the same. - $file1 = "$intermediateFolder\source.pri.xml" - $file2 = "$intermediateFolder\target.pri.xml" - - ExecuteMakePri "$WindowsSdkBinDir" "dump /if $sourceFile /of `"$file1`" /o" - ExecuteMakePri "$WindowsSdkBinDir" "dump /if $targetFile /of `"$file2`" /o" - - # step 6: verify the dumped file, they should be the same - if((Get-FileHash "$file1").hash -ne (Get-FileHash "$file2").hash) - { - Write-Error("$file1 should equal to $file2"); - Exit 1 - } -} - -pushd $PSScriptRoot - -$fullOutputPath = [IO.Path]::GetFullPath($outputDirectory) -Write-Host "MakeFrameworkPackage: $fullOutputPath" -ForegroundColor Magenta -# Write-Output "Path: $env:PATH" - -mkdir -Force $fullOutputPath\PackageContents | Out-Null -mkdir -Force $fullOutputPath\Resources | Out-Null -mkdir -Force $fullOutputPath\CBS | Out-Null - -Copy-IntoNewDirectory FrameworkPackageContents\* $fullOutputPath\PackageContents - -Copy-IntoNewDirectory PriConfig\* $fullOutputPath - -$KitsRoot10 = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows Kits\Installed Roots" -Name KitsRoot10).KitsRoot10 -$WindowsSdkBinDir = Join-Path $KitsRoot10 "bin\x86" -# If this path is not found, construct one using Program Files (x86). VS2019 hosted agents seem to have the wrong path populated in the registry. -if (-not (Test-Path $WindowsSdkBinDir)) -{ - Write-Host "Not found: $WindowsSdkBinDir" - $KitsRoot10 = "${env:ProgramFiles(x86)}\Windows Kits\10" - $WindowsSdkBinDir = Join-Path $KitsRoot10 "bin\x86" -} - -$ActivatableTypes = "" - -# Copy over and add to the manifest file list the .dll, .winmd for the inputs. Also copy the .pri -# but don't list it because it will be merged together. - -Write-Output "Input: $inputDirectory" -$inputBaseFileName = "Microsoft.UI.Xaml" -$inputBasePath = $inputDirectory - -Copy-IntoNewDirectory "$inputBasePath\$inputBaseFileName.dll" $fullOutputPath\PackageContents -Copy-IntoNewDirectory "$inputBasePath\$inputBaseFileName.pri" $fullOutputPath\Resources -Copy-IntoNewDirectory "$inputBasePath\sdk\$inputBaseFileName.winmd" $fullOutputPath\PackageContents - -Write-Verbose "Copying $inputBasePath\Themes" -Copy-IntoNewDirectory -IfExists $inputBasePath\Themes $fullOutputPath\PackageContents\Microsoft.UI.Xaml - -#Find the latest available sdk -function Get-SDK-References-Path -{ - [xml]$sdkPropsContent = Get-Content $PSScriptRoot\..\..\sdkversion.props - $sdkVersions = $sdkPropsContent.SelectNodes("//*[contains(local-name(), 'SDKVersion')]") | Sort-Object -Property '#text' -Descending - foreach ($version in $sdkVersions) - { - $sdkReferencesPath = Join-Path (Join-Path $kitsRoot10 "References\") ($version.'#text') - Write-Verbose "Checking $sdkReferencesPath ..." - if (Test-Path $sdkReferencesPath) - { - Write-Verbose "Found $sdkReferencesPath" - return $sdkReferencesPath - } - } - return '' -} - -$sdkReferencesPath = Get-SDK-References-Path -$WindowsSdkBinDir = Join-Path $sdkReferencesPath.Replace("References", "bin") "x64" -Write-Verbose "SdkReferencesPath = $sdkReferencesPath" -Write-Verbose "WindowsSdkBinDir = $WindowsSdkBinDir" -$foundationWinmdPath = Get-ChildItem -Recurse $sdkReferencesPath"\Windows.Foundation.FoundationContract" -Filter "Windows.Foundation.FoundationContract.winmd" | Select-Object -ExpandProperty FullName -$universalWinmdPath = Get-ChildItem -Recurse $sdkReferencesPath"\Windows.Foundation.UniversalApiContract" -Filter "Windows.Foundation.UniversalApiContract.winmd" | Select-Object -ExpandProperty FullName -$refrenceWinmds = $foundationWinmdPath + ";" + $universalWinmdPath -Write-Verbose "Calling Get-ActivatableTypes with '$inputBasePath\sdk\$inputBaseFileName.winmd' '$refrenceWinmds'" -$classes = Get-ActivatableTypes $inputBasePath\sdk\$inputBaseFileName.winmd $refrenceWinmds | Sort-Object -Property FullName -Write-Host $classes.Length Types found. -@" -"$inputBaseFileName.dll" "$inputBaseFileName.dll" -"$inputBaseFileName.winmd" "$inputBaseFileName.winmd" -"@ | Out-File -Append -Encoding "UTF8" $fullOutputPath\PackageContents\FrameworkPackageFiles.txt - - $ActivatableTypes += @" - - - $inputBaseFileName.dll - -"@ - -ForEach ($class in $classes) -{ - $className = $class.fullname - #Write-Host "Activatable type : $className" - $ActivatableTypes += " `r`n" -} - -$ActivatableTypes += @" - - - -"@ - -Copy-IntoNewDirectory ..\..\dev\Materials\Acrylic\Assets\NoiseAsset_256x256_PNG.png $fullOutputPath\Assets - -$customPropsFile = "$PSScriptRoot\..\..\version.props" -Write-Verbose "Looking in $customPropsFile" - -if (-not (Test-Path $customPropsFile)) -{ - Write-Error "Expected '$customPropsFile' to exist" - Exit 1 -} -[xml]$customProps = (Get-Content $customPropsFile) -$versionMajor = $customProps.GetElementsByTagName("MUXVersionMajor").'#text' -$versionMinor = $customProps.GetElementsByTagName("MUXVersionMinor").'#text' - -Write-Verbose "CustomProps = $customProps, VersionMajor = '$versionMajor', VersionMinor = '$versionMinor'" - -if ((!$versionMajor) -or (!$versionMinor)) -{ - Write-Error "Expected MUXVersionMajor and MUXVersionMinor tags to be in version.props file" - Exit 1 -} - -if (-not $PackageNameSuffix) -{ - $PackageNameSuffix = "$($versionMajor).$($versionMinor)" -} - -# Calculate the version the same as our nuget package. - -if ($VersionOverride) -{ - $version = $VersionOverride -} -else -{ - $pstZone = [System.TimeZoneInfo]::FindSystemTimeZoneById("Pacific Standard Time") - $pstTime = [System.TimeZoneInfo]::ConvertTimeFromUtc((Get-Date).ToUniversalTime(), $pstZone) - # Split version into yyMM.dd because appx versions can't be greater than 65535 - # Also store submission requires that the revision field stay 0, so our scheme is: - # B.yyMM.ddNNN - # compared to nuget version which is: - # A.B.yyMMddNN - # We could consider dropping the B part out of the minor section if we need to because - # it's part of the package name, but we'll try to keep it in for now. - if (-not $builddate_yymm) - { - $builddate_yymm = ($pstTime).ToString("yyMM") - } - if (-not $builddate_dd) - { - $builddate_dd = ($pstTime).ToString("dd") - } - - # Pad subversion up to 3 digits - $subversionPadded = $subversion.ToString("000") - - $version = "${versionMinor}." + $builddate_yymm + "." + $builddate_dd.TrimStart("0") + "$subversionPadded.0" - - Write-Verbose "Version = $version" -} - -Write-Host "Version = $version" -ForegroundColor Green - -$versionPropsFile = -@" - - - - $version - - -"@ - -Set-Content -Value $versionPropsFile $fullOutputPath\MicrosoftUIXamlVersion.props - - -# Also copy in some loose files - -$PackageName = $BasePackageName -if ($PackageNameSuffix) -{ - $PackageName += ".$PackageNameSuffix" -} -if ($Configuration -ilike "debug") -{ - # NOTE: Having the package be named differently between debug and release is possible (and is what other frameworks do) - # but in general our customers don't care to be running debug versions of MUX bits when their app is debug. So by default - # we use the "release" appx in their Debug builds. For testing purposes a Debug build produces an appx of the same name - # as the release version so that you can in-place upgrade to a debug version on your own machine for debugging MUX. - #$PackageName += ".Debug" -} - -# AppxManifest needs some pieces generated per-flavor. -$manifestContents = Get-Content $fullOutputPath\PackageContents\AppxManifest.xml -$manifestContents = $manifestContents.Replace('$(PackageName)', "$PackageName") -$manifestContents = $manifestContents.Replace('$(Platform)', "$Platform") -$manifestContents = $manifestContents.Replace('$(Publisher)', "$Publisher") -$manifestContents = $manifestContents.Replace('$(ActivatableTypes)', "$ActivatableTypes") -$manifestContents = $manifestContents.Replace('$(Version)', "$Version") -Set-Content -Value $manifestContents $fullOutputPath\PackageContents\AppxManifest.xml - -$manifestContents = $manifestContents.Replace("$PackageName", "Microsoft.UI.Xaml.CBS") -$manifestContents = $manifestContents.Replace('FrameworkPackageDetector', "CBSPackageDetector") -Set-Content -Value $manifestContents $fullOutputPath\CBSAppxManifest.xml - -# Call GetFullPath to clean up the path -- makepri is very picky about double slashes in the path. -$priConfigPath = [IO.Path]::GetFullPath("$fullOutputPath\priconfig.xml") -$priOutputPath = [IO.Path]::GetFullPath("$fullOutputPath\resources.pri") -$priCBSOutputPath = [IO.Path]::GetFullPath("$fullOutputPath\CBSresources.pri") -$noiseAssetPath = [IO.Path]::GetFullPath("$fullOutputPath\Assets\NoiseAsset_256x256_PNG.png") -$resourceContents = [IO.Path]::GetFullPath("$fullOutputPath\Resources") - -$pfxPath = [IO.Path]::GetFullPath("MSTest.pfx") -$CertificateFriendlyName = "MSTest" - -$cert = New-SelfSignedCertificate -Type Custom ` - -Subject $Publisher ` - -KeyUsage DigitalSignature ` - -FriendlyName $CertificateFriendlyName ` - -CertStoreLocation "Cert:\CurrentUser\My" ` - -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}") - -$certificateBytes = $cert.Export([System.Security.Cryptography.X509Certificates.X509ContentType]::Pkcs12) -[System.IO.File]::WriteAllBytes($pfxPath, $certificateBytes) - -pushd $fullOutputPath\PackageContents - -$xbfFilesPath = "$fullOutputPath\PackageContents\Microsoft.UI.Xaml" -if (($Configuration -ilike "debug") -and (Test-Path $xbfFilesPath)) -{ - Get-ChildItem -Recurse $xbfFilesPath -File | Resolve-Path -Relative | %{ $_.Replace(".\", "") } | -%{ @" -"$_" "$_" -"@ } | Out-File -Append -Encoding "UTF8" $fullOutputPath\PackageContents\FrameworkPackageFiles.txt -} - -# Append output path of resources.pri as well -@" -"$priOutputPath" "resources.pri" -"$noiseAssetPath" "Microsoft.UI.Xaml\Assets\NoiseAsset_256x256_PNG.png" -"@ | Out-File -Append -Encoding "UTF8" $fullOutputPath\PackageContents\FrameworkPackageFiles.txt - -ExecuteMakePri "$WindowsSdkBinDir" "new /pr $fullOutputPath /cf $priConfigPath /of $priOutputPath /in $PackageName /o" - -$cbsIntermediateFolder = [IO.Path]::GetFullPath("$fullOutputPath\CBS") -$cbsIntermediatePri = Join-Path $cbsIntermediateFolder "CBSresources.pri" - -# create CBS\CBSresources.pri -ExecuteMakePri "$WindowsSdkBinDir" " new /pr $fullOutputPath /cf $priConfigPath /of $cbsIntermediatePri /in Microsoft.UI.Xaml.CBS /o" - -# unpack CBS\CBSresources.pri and repack it as CBSresources.pri -RepackCBSResourcesPri "$WindowsSdkBinDir" "$cbsIntermediatePri" "$priCBSOutputPath" "$cbsIntermediateFolder" - -$outputAppxFileFullPath = Join-Path $fullOutputPath "$PackageName.appx" -$outputAppxFileFullPath = [IO.Path]::GetFullPath($outputAppxFileFullPath) - -$makeappx = "`"" + (Join-Path $WindowsSdkBinDir "makeappx.exe") + "`" pack /o /p $outputAppxFileFullPath /f FrameworkPackageFiles.txt" -Write-Host $makeappx -cmd /c $makeappx -if ($LastExitCode -ne 0) { Exit 1 } - -$signtool = "`"" + (Join-Path $WindowsSdkBinDir "signtool.exe") + "`" sign /a /v /fd SHA256 /f $pfxPath $outputAppxFileFullPath" -Write-Host $signtool -cmd /c $signtool -if ($LastExitCode -ne 0) { Exit 1 } - -popd -popd diff --git a/build/FrameworkPackage/PriConfig/pri.resfiles b/build/FrameworkPackage/PriConfig/pri.resfiles deleted file mode 100644 index e837e00550..0000000000 --- a/build/FrameworkPackage/PriConfig/pri.resfiles +++ /dev/null @@ -1 +0,0 @@ -.\Resources\Microsoft.UI.Xaml.pri diff --git a/build/FrameworkPackage/PriConfig/priconfig.xml b/build/FrameworkPackage/PriConfig/priconfig.xml deleted file mode 100644 index 976dff1542..0000000000 --- a/build/FrameworkPackage/PriConfig/priconfig.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/FrameworkPackage/cbspriconfig.xml b/build/FrameworkPackage/cbspriconfig.xml deleted file mode 100644 index fe8f31eca3..0000000000 --- a/build/FrameworkPackage/cbspriconfig.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/Helix/CopyPGOFiles.ps1 b/build/Helix/CopyPGOFiles.ps1 deleted file mode 100644 index 42c063d55f..0000000000 --- a/build/Helix/CopyPGOFiles.ps1 +++ /dev/null @@ -1,24 +0,0 @@ -Param( - [string]$SourceFolder, - [string]$OutputFolder -) - -$pgcFiles = Get-ChildItem -Recurse $SourceFolder | where { $_.Name.EndsWith(".pgc") } - -foreach($pgcFile in $pgcFiles) -{ - $flavorPath = $pgcFile.Name.Split('.')[0] - $archPath = $pgcFile.Name.Split('.')[1] - $fileName = $pgcFile.Name.Remove(0, $flavorPath.length + $archPath.length + 2) - $fullPath = "$OutputFolder\PGO\$archPath" - $destination = "$fullPath\$fileName" - - Write-Host "Copying $($pgcFile.Name) to $destination" - - if (-Not (Test-Path $fullPath)) - { - New-Item $fullPath -ItemType Directory - } - Write-Host "Copy $($pgcFile.FullName) to $destination" - Copy-Item $pgcFile.FullName $destination -} \ No newline at end of file diff --git a/build/Helix/GenerateTestProjFile.ps1 b/build/Helix/GenerateTestProjFile.ps1 deleted file mode 100644 index b8b1e7f143..0000000000 --- a/build/Helix/GenerateTestProjFile.ps1 +++ /dev/null @@ -1,28 +0,0 @@ -[CmdLetBinding()] -Param( - [Parameter(Mandatory = $true)] - [string]$TestFilePattern, - - [Parameter(Mandatory = $true)] - [string]$TestBinaryDirectoryPath, - - [Parameter(Mandatory = $true)] - [string]$OutputProjFile, - - [string]$TestNamePrefix, - - [string]$TaefQuery -) - -[xml]$pkgVerData = (Get-Content "$PSScriptRoot\packages.config") -$winuiHelixVer = $pkgVerData.SelectSingleNode("//packages/package[@id=`"Microsoft.Internal.WinUI.Helix`"]").version - -$packagesDir = Join-Path (Split-Path -Parent $script:MyInvocation.MyCommand.Path) "packages" -$pipelinesScriptsDir = Join-Path $packagesDir "Microsoft.Internal.WinUI.Helix.$winuiHelixVer\scripts\pipeline" - -& $pipelinesScriptsDir\GenerateHelixWorkItems.ps1 -TestFilePattern $TestFilePattern ` - -TestBinaryDirectoryPath $TestBinaryDirectoryPath ` - -OutputProjFile $OutputProjFile ` - -TaefBaseQuery $TaefQuery ` - -TestTimeout "00:30:00" ` - -TestNamePrefix $TestNamePrefix \ No newline at end of file diff --git a/build/Helix/PrepareHelixPayload.ps1 b/build/Helix/PrepareHelixPayload.ps1 deleted file mode 100644 index f0c00b211b..0000000000 --- a/build/Helix/PrepareHelixPayload.ps1 +++ /dev/null @@ -1,111 +0,0 @@ -[CmdLetBinding()] -Param( - [ValidateSet("x86", "x64")] - [string]$Platform = "x86", - - [ValidateSet("Debug", "Release")] - [string]$Configuration= "Debug", - - [string]$ArtifactName='drop' -) - -$payloadDir = "HelixPayload\$Configuration\$Platform" - - -$repoDirectory = Join-Path (Split-Path -Parent $script:MyInvocation.MyCommand.Path) "..\..\" -$nugetPackagesDir = Join-Path (Split-Path -Parent $script:MyInvocation.MyCommand.Path) "packages" - -# Create the payload directory. Remove it if it already exists. -If(test-path $payloadDir) -{ - Remove-Item $payloadDir -Recurse -} -New-Item -ItemType Directory -Force -Path $payloadDir - - -[xml]$pkgVerData = (Get-Content "$PSScriptRoot\packages.config") -$winuiHelixVer = $pkgVerData.SelectSingleNode("//packages/package[@id=`"Microsoft.Internal.WinUI.Helix`"]").version -$mitaVer = $pkgVerData.SelectSingleNode("//packages/package[@id=`"microsoft.windows.apps.test`"]").version -$taefVer = $pkgVerData.SelectSingleNode("//packages/package[@id=`"TAEF.Redist.Wlk`"]").version -$muxcustomBuildTasksVer = $pkgVerData.SelectSingleNode("//packages/package[@id=`"MUXCustomBuildTasks`"]").version -$netCoreAppVer = $pkgVerData.SelectSingleNode("//packages/package[@id=`"Microsoft.NETCore.App.Runtime.win-$Platform`"]").version - -Write-Host "winuiHelixVer = $winuiHelixVer" -Write-Host "mitaVer = $mitaVer" -Write-Host "taefVer = $taefVer" -Write-Host "muxcustomBuildTasksVer = $muxcustomBuildTasksVer" -Write-Host "netCoreAppVer = $netCoreAppVer" - -# Copy files from nuget packages -Copy-Item "$nugetPackagesDir\Microsoft.Internal.WinUI.Helix.$winuiHelixVer\scripts\test\*" $payloadDir -Copy-Item "$nugetPackagesDir\taef.redist.wlk.$taefVer\build\Binaries\$Platform\*" $payloadDir -Copy-Item "$nugetPackagesDir\taef.redist.wlk.$taefVer\build\Binaries\$Platform\CoreClr\*" $payloadDir -New-Item -ItemType Directory -Force -Path "$payloadDir\.netcoreapp3.1\" -Copy-Item "$nugetPackagesDir\Microsoft.NETCore.App.Runtime.win-$Platform.$netCoreAppVer\runtimes\win-$Platform\lib\netcoreapp3.1\*" "$payloadDir\.netcoreapp3.1\" -Copy-Item "$nugetPackagesDir\Microsoft.NETCore.App.Runtime.win-$Platform.$netCoreAppVer\runtimes\win-$Platform\native\*" "$payloadDir\.netcoreapp3.1\" -Copy-Item "$nugetPackagesDir\MUXCustomBuildTasks.$muxcustomBuildTasksVer\tools\$platform\WttLog.dll" $payloadDir - -function Copy-If-Exists -{ - Param($source, $destinationDir) - - if (Test-Path $source) - { - Write-Host "Copy from '$source' to '$destinationDir'" - Copy-Item -Force $source $destinationDir - } - else - { - Write-Host "'$source' does not exist." - } -} - -function Copy-Recursively-If-Exists -{ - Param($source, $destinationDir) - - if (Test-Path $source) - { - Write-Host "Copy from '$source' to '$destinationDir'" - if (-not (Test-Path $destinationDir)) - { - $ignore = New-Item -ItemType Directory $destinationDir - } - Copy-Item -Recurse -Force $source $destinationDir - } - else - { - Write-Host "'$source' does not exist." - } -} - -# Copy files from the 'drop' artifact dir -Copy-Item "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\Test\*.dll" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\Test\MUXExperimental.Test.dll" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\Test\WebView2Loader.dll" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\MUXControlsTestApp_Test\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\MUXControlsTestApp_Test\Dependencies\$Platform\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\MUXExperimentalTestApp_Test\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\MUXExperimentalTestApp_Test\Dependencies\$Platform\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\AppThatUsesMUXIndirectly_Test\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\AppThatUsesMUXIndirectly_Test\Dependencies\$Platform\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\IXMPTestApp_Test\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\IXMPTestApp_Test\Dependencies\$Platform\*" $payloadDir - -# Copy files from the 'NugetPkgTestsDrop' or 'FrameworkPkgTestsDrop' artifact dir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\Test\MUXControls.ReleaseTest.dll" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\Test\pgosweep.exe" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\Test\vc_redist.*.exe" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\Test\vcruntime140.dll" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\NugetPackageTestApp_Test\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\NugetPackageTestApp_Test\Dependencies\$Platform\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\NugetPackageTestAppCX_Test\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\NugetPackageTestAppCX_Test\Dependencies\$Platform\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\WpfApp_Test\*" $payloadDir -Copy-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\AppxPackages\WpfApp_Test\Dependencies\$Platform\*" $payloadDir -Copy-Recursively-If-Exists "$repoDirectory\Artifacts\$ArtifactName\$Configuration\$Platform\UnpackagedApps\WpfApp\" $payloadDir - -# Copy files from the repo -New-Item -ItemType Directory -Force -Path "$payloadDir" -Copy-Item "build\helix\scripts\*" "$payloadDir" -Copy-Item "version.props" "$payloadDir" diff --git a/build/Helix/RunTestsInHelix.proj b/build/Helix/RunTestsInHelix.proj deleted file mode 100644 index 08d914ea07..0000000000 --- a/build/Helix/RunTestsInHelix.proj +++ /dev/null @@ -1,19 +0,0 @@ - - - pr/winui/$(BUILD_SOURCEBRANCH)/ - true - true - true - $(HelixPreCommands);set testbuildplatform=$(Platform);set rerunPassesRequiredToAvoidFailure=$(rerunPassesRequiredToAvoidFailure) - - - - - - - - - - - - \ No newline at end of file diff --git a/build/Helix/global.json b/build/Helix/global.json deleted file mode 100644 index a31d6c281f..0000000000 --- a/build/Helix/global.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "sdk": { - "version": "3.1" - }, - "msbuild-sdks": { - "Microsoft.DotNet.Helix.Sdk": "7.0.0-beta.22275.2" - } -} \ No newline at end of file diff --git a/build/Helix/packages.config b/build/Helix/packages.config deleted file mode 100644 index 8277f24345..0000000000 --- a/build/Helix/packages.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/build/Helix/readme.md b/build/Helix/readme.md deleted file mode 100644 index da52e1790f..0000000000 --- a/build/Helix/readme.md +++ /dev/null @@ -1,32 +0,0 @@ -This directory contains code and configuration files to run WinUI tests in Helix. - -Helix is a cloud hosted test execution environment which is accessed via the Arcade SDK. -More details: -* [Arcade](https://github.com/dotnet/arcade) -* [Helix](https://github.com/dotnet/arcade/tree/main/src/Microsoft.DotNet.Helix/Sdk) - -WinUI tests are scheduled in Helix by the Azure DevOps Pipeline: [RunHelixTests.yml](../RunHelixTests.yml). - -The workflow is as follows: -1. NuGet Restore is called on the packages.config in this directory. This downloads any runtime dependencies -that are needed to run tests. -2. PrepareHelixPayload.ps1 is called. This copies the necessary files from various locations into a Helix -payload directory. This directory is what will get sent to the Helix machines. -3. RunTestsInHelix.proj is executed. This proj has a dependency on -[Microsoft.DotNet.Helix.Sdk](https://github.com/dotnet/arcade/tree/main/src/Microsoft.DotNet.Helix/Sdk) -which it uses to publish the Helix payload directory and to schedule the Helix Work Items. The WinUI tests -are parallelized into multiple Helix Work Items. -4. Each Helix Work Item calls [runtests.cmd](runtests.cmd) with a specific query to pass to -[TAEF](https://docs.microsoft.com/en-us/windows-hardware/drivers/taef/) which runs the tests. -5. If a test is detected to have failed, we run it again, first once, then eight more times if it fails again. -If it fails all ten times, we report the test as failed; otherwise, we report it as unreliable, -which will show up as a warning, but which will not fail the build. When a test is reported as unreliable, -we include the results for each individual run via a JSON string in the original test's errorMessage field. -6. TAEF produces logs in WTT format. Helix is able to process logs in XUnit format. We run -[ConvertWttLogToXUnit.ps1](ConvertWttLogToXUnit.ps1) to convert the logs into the necessary format. -7. RunTestsInHelix.proj has EnableAzurePipelinesReporter set to true. This allows the XUnit formatted test -results to be reported back to the Azure DevOps Pipeline. -8. We process unreliable tests once all tests have been reported by reading the JSON string from the -errorMessage field and calling the Azure DevOps REST API to modify the unreliable tests to have sub-results -added to the test and to mark the test as "warning", which will enable people to see exactly how the test -failed in runs where it did. \ No newline at end of file diff --git a/build/Helix/scripts/CopyVisualTreeVerificationFiles.ps1 b/build/Helix/scripts/CopyVisualTreeVerificationFiles.ps1 deleted file mode 100644 index 00661dece8..0000000000 --- a/build/Helix/scripts/CopyVisualTreeVerificationFiles.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -$picturesFolder = [Environment]::GetFolderPath('MyPictures') -Move-Item $picturesFolder\*.xml $Env:HELIX_WORKITEM_UPLOAD_ROOT diff --git a/build/Helix/scripts/InstallTestAppDependencies.ps1 b/build/Helix/scripts/InstallTestAppDependencies.ps1 deleted file mode 100644 index 17cb5b7237..0000000000 --- a/build/Helix/scripts/InstallTestAppDependencies.ps1 +++ /dev/null @@ -1,50 +0,0 @@ -# Displaying progress is unnecessary and is just distracting. -$ProgressPreference = "SilentlyContinue" - -$dependencyFiles = Get-ChildItem -Filter "*dependencies.txt" -$dependencies = [System.Collections.Generic.List[string]]@() - -foreach ($file in $dependencyFiles) -{ - Write-Host "Collecting dependencies for $file..." - - foreach ($line in Get-Content $file) - { - if (-not $dependencies.Contains($line)) - { - $dependencies.Add($line) - } - } -} - -foreach ($dependency in $dependencies) -{ - Write-Host "Adding AppX dependency $dependency..." - - Write-Host " Retrieving certificate..." - $dependencyCertFile = "$env:TEMP\$($dependency.Replace(".appx", ".cer"))" - [System.IO.File]::WriteAllBytes($dependencyCertFile, (Get-AuthenticodeSignature $dependency).SignerCertificate.Export([System.Security.Cryptography.X509Certificates.X509ContentType]::Cert)) - - Write-Host " Installing certificate..." - Start-Process "certutil.exe" -ArgumentList "-addStore TrustedPeople $dependencyCertFile" -NoNewWindow -Wait | Out-Null - - Write-Host " Installing AppX..." - Add-AppxPackage $dependency -ErrorVariable appxerror -ErrorAction SilentlyContinue - - if ($appxerror) - { - foreach ($error in $appxerror) - { - # In the case where the package does not install becasuse a higher version is already installed - # we don't want to print an error message, since that is just noise. Filter out such errors. - if($error.Exception.Message -match "0x80073D06") - { - Write-Host "A higher version of this package is already installed." - } - else - { - Write-Error $error - } - } - } -} \ No newline at end of file diff --git a/build/Helix/scripts/TestPass-EnsureMachineState.ps1 b/build/Helix/scripts/TestPass-EnsureMachineState.ps1 deleted file mode 100644 index 4f96f5e5d2..0000000000 --- a/build/Helix/scripts/TestPass-EnsureMachineState.ps1 +++ /dev/null @@ -1,24 +0,0 @@ -Write-Host "TestPass-EnsureMachineState.ps1" - -# Kill any running test processes -$testProcessNames = @( - "MUXControlsTestApp", - "IXMPTestApp", - "NugetPackageTestApp", - "NugetPackageTestAppCX", - "te", - "te.processhost", - "AppThatUsesMUXIndirectly", - "TextInputHost", - "WpfApp") -foreach($testProcessName in $testProcessNames) -{ - $procs = Get-Process -Name $testProcessName -ErrorAction SilentlyContinue - foreach($proc in $procs) - { - Write-Host "Found running proc: $($proc.Name) - $($proc.Id)" - Write-Host "Killing Process" - Stop-Process $proc -Force - } -} - diff --git a/build/Helix/scripts/TestPass-OneTimeMachineSetup.ps1 b/build/Helix/scripts/TestPass-OneTimeMachineSetup.ps1 deleted file mode 100644 index 9c1c513ee9..0000000000 --- a/build/Helix/scripts/TestPass-OneTimeMachineSetup.ps1 +++ /dev/null @@ -1,104 +0,0 @@ -Write-Host "TestPass-PreRun.ps1" - -$Platform = $env:testbuildplatform -if(!$Platform) -{ - $Platform = "x86" -} - -Write-Host "Installing VC Redist" -if(Test-Path ./vc_redist.x64.exe) -{ - & ./vc_redist.x64.exe /install /quiet /norestart -} -else -{ - Write-Host "Not found: vc_redist.x64.exe" -} - - -function UninstallTestApps { - Param([string[]]$appsToUninstall) - - foreach($pkgName in $appsToUninstall) - { - foreach($pkg in (Get-AppxPackage $pkgName).PackageFullName) - { - Write-Output "Removing: $pkg" - Remove-AppxPackage $pkg - } - - # Sometimes an app can get into a state where it is no longer returned by Get-AppxPackage, but it is still present - # which prevents other versions of the app from being installed. - # To handle this, we can directly call Remove-AppxPackage against the full name of the package. However, without - # Get-AppxPackage to find the PackageFullName, we just have to manually construct the name. - $packageFullName = "$($pkgName)_1.0.0.0_$($Platform)__6f07fta6qpts2" - Write-Host "Removing $packageFullName if installed" - Remove-AppxPackage $packageFullName -ErrorVariable appxerror -ErrorAction SilentlyContinue - if($appxerror) - { - foreach($error in $appxerror) - { - # In most cases, Remove-AppPackage will fail due to the package not being found. Don't treat this as an error. - if(!($error.Exception.Message -match "0x80073CF1")) - { - Write-Error $error - } - } - } - else - { - Write-Host "Sucessfully removed $packageFullName" - } - } -} - -Write-Host "Uninstall any of our test apps that may have been left over from previous test runs" -UninstallTestApps("NugetPackageTestApp", "NugetPackageTestAppCX", "IXMPTestApp", "MUXControlsTestApp") - -Write-Host "Uninstall MUX Framework package that may have been left over from previous test runs" -# We don't want to uninstall all versions of the MUX Framework package, as there may be other apps preinstalled on the system -# that depend on it. We only uninstall the Framework package that corresponds to the version of MUX that we are testing. -[xml]$versionData = (Get-Content "version.props") -$versionMajor = $versionData.GetElementsByTagName("MUXVersionMajor").'#text' -$versionMinor = $versionData.GetElementsByTagName("MUXVersionMinor").'#text' -UninstallTestApps("Microsoft.UI.Xaml.$versionMajor.$versionMinor") - -$certs = Get-ChildItem *.cer -foreach($cert in $certs) -{ - certutil -addstore TrustedPeople $cert.Name -} - -.\InstallTestAppDependencies.ps1 - - - -# If we set the registry from a 32-bit process on a 64-bit machine, we will set the "virtualized" syswow registry. -# For crash dump collection we always want to set the "native" registry, so we make sure to invoke the native cmd.exe -$nativeCmdPath = "$env:SystemRoot\system32\cmd.exe" -if([Environment]::Is64BitOperatingSystem -and ![Environment]::Is64BitProcess) -{ - # The "sysnative" path is a 'magic' path that allows a 32-bit process to invoke the native 64-bit cmd.exe. - $nativeCmdPath = "$env:SystemRoot\sysnative\cmd.exe" -} - -$dumpFolder = $env:HELIX_DUMP_FOLDER -if(!$dumpFolder) -{ - $dumpFolder = "C:\dumps" -} - -function Enable-CrashDumpsForProcesses { - Param([string[]]$namesOfProcessesForDumpCollection) - - foreach($procName in $namesOfProcessesForDumpCollection ) - { - Write-Host "Enabling local crash dumps for $procName" - & $nativeCmdPath /c reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\$procName" /v DumpFolder /t REG_EXPAND_SZ /d $dumpFolder /f - & $nativeCmdPath /c reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\$procName" /v DumpType /t REG_DWORD /d 2 /f - & $nativeCmdPath /c reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps\$procName" /v DumpCount /t REG_DWORD /d 3 /f - } -} - -Enable-CrashDumpsForProcesses @("MUXControlsTestApp.exe,IXMPTestApp.exe","NugetPackageTestApp.exe","NugetPackageTestAppCX.exe","AppThatUsesMUXIndirectly.exe","WpfApp.exe") \ No newline at end of file diff --git a/build/Helix/scripts/TestPass-PostRun.ps1 b/build/Helix/scripts/TestPass-PostRun.ps1 deleted file mode 100644 index 4de35f3f30..0000000000 --- a/build/Helix/scripts/TestPass-PostRun.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -.\CopyVisualTreeVerificationFiles.ps1 - -$uploadRoot = $env:HELIX_WORKITEM_UPLOAD_ROOT -$testnameprefix = $env:testnameprefix - -$pgcFiles = Get-ChildItem $uploadRoot | where { $_.Name.EndsWith(".pgc") } -foreach($pgcFile in $pgcFiles) -{ - $newName = "$testnameprefix.$($pgcFile.Name)" - $newPath = Join-Path $pgcFile.Directory $newName - Write-Host "Move-Item $($pgcFile.FullName) $newPath" - Move-Item $pgcFile.FullName $newPath -} \ No newline at end of file diff --git a/build/Install-WindowsSdkISO.ps1 b/build/Install-WindowsSdkISO.ps1 deleted file mode 100644 index 9b9be60ecf..0000000000 --- a/build/Install-WindowsSdkISO.ps1 +++ /dev/null @@ -1,346 +0,0 @@ -[CmdletBinding()] -param([Parameter(Mandatory=$true, Position=0)] - [string]$buildNumber) - -# Ensure the error action preference is set to the default for PowerShell3, 'Stop' -$ErrorActionPreference = 'Stop' - -# Constants -$WindowsSDKOptions = @("OptionId.UWPCpp", "OptionId.DesktopCPPx64", "OptionId.DesktopCPPx86", "OptionId.DesktopCPPARM64", "OptionId.DesktopCPPARM", "OptionId.WindowsDesktopDebuggers") -$WindowsSDKRegPath = "HKLM:\Software\WOW6432Node\Microsoft\Windows Kits\Installed Roots" -$WindowsSDKRegRootKey = "KitsRoot10" -$WindowsSDKVersion = "10.0.$buildNumber.0" -$WindowsSDKInstalledRegPath = "$WindowsSDKRegPath\$WindowsSDKVersion\Installed Options" -$StrongNameRegPath = "HKLM:\SOFTWARE\Microsoft\StrongName\Verification" -$PublicKeyTokens = @("31bf3856ad364e35") - -if ($buildNumber -notmatch "^\d{5,}$") -{ - Write-Host "ERROR: '$buildNumber' doesn't look like a windows build number" - Write-Host - Exit 1 -} - -function Download-File -{ - param ([string] $outDir, - [string] $downloadUrl, - [string] $downloadName) - - $downloadPath = Join-Path $outDir "$downloadName.download" - $downloadDest = Join-Path $outDir $downloadName - $downloadDestTemp = Join-Path $outDir "$downloadName.tmp" - - Write-Host -NoNewline "Downloading $downloadName..." - - $retries = 10 - $downloaded = $false - while (-not $downloaded) - { - try - { - $webclient = new-object System.Net.WebClient - $webclient.DownloadFile($downloadUrl, $downloadPath) - $downloaded = $true - } - catch [System.Net.WebException] - { - Write-Host - Write-Warning "Failed to fetch updated file from $downloadUrl : $($error[0])" - if (!(Test-Path $downloadDest)) - { - if ($retries -gt 0) - { - Write-Host "$retries retries left, trying download again" - $retries-- - start-sleep -Seconds 10 - } - else - { - throw "$downloadName was not found at $downloadDest" - } - } - else - { - Write-Warning "$downloadName may be out of date" - } - } - } - - Unblock-File $downloadPath - - $downloadDestTemp = $downloadPath; - - # Delete and rename to final dest - Write-Host "testing $downloadDest" - if (Test-Path $downloadDest) - { - Write-Host "Deleting: $downloadDest" - Remove-Item $downloadDest -Force - } - - Move-Item -Force $downloadDestTemp $downloadDest - Write-Host "Done" - - return $downloadDest -} - -function Get-ISODriveLetter -{ - param ([string] $isoPath) - - $diskImage = Get-DiskImage -ImagePath $isoPath - if ($diskImage) - { - $volume = Get-Volume -DiskImage $diskImage - - if ($volume) - { - $driveLetter = $volume.DriveLetter - if ($driveLetter) - { - $driveLetter += ":" - return $driveLetter - } - } - } - - return $null -} - -function Mount-ISO -{ - param ([string] $isoPath) - - # Check if image is already mounted - $isoDrive = Get-ISODriveLetter $isoPath - - if (!$isoDrive) - { - Mount-DiskImage -ImagePath $isoPath -StorageType ISO | Out-Null - } - - $isoDrive = Get-ISODriveLetter $isoPath - Write-Verbose "$isoPath mounted to ${isoDrive}:" -} - -function Dismount-ISO -{ - param ([string] $isoPath) - - $isoDrive = (Get-DiskImage -ImagePath $isoPath | Get-Volume).DriveLetter - - if ($isoDrive) - { - Write-Verbose "$isoPath dismounted" - Dismount-DiskImage -ImagePath $isoPath | Out-Null - } -} - -function Disable-StrongName -{ - param ([string] $publicKeyToken = "*") - - reg ADD "HKLM\SOFTWARE\Microsoft\StrongName\Verification\*,$publicKeyToken" /f | Out-Null - if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64") - { - reg ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\StrongName\Verification\*,$publicKeyToken" /f | Out-Null - } -} - -function Test-Admin -{ - $identity = [Security.Principal.WindowsIdentity]::GetCurrent() - $principal = New-Object Security.Principal.WindowsPrincipal $identity - $principal.IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) -} - -function Test-RegistryPathAndValue -{ - param ( - [parameter(Mandatory=$true)] - [ValidateNotNullOrEmpty()] - [string] $path, - [parameter(Mandatory=$true)] - [ValidateNotNullOrEmpty()] - [string] $value) - - try - { - if (Test-Path $path) - { - Get-ItemProperty -Path $path | Select-Object -ExpandProperty $value -ErrorAction Stop | Out-Null - return $true - } - } - catch - { - } - - return $false -} - -function Test-InstallWindowsSDK -{ - $retval = $true - - if (Test-RegistryPathAndValue -Path $WindowsSDKRegPath -Value $WindowsSDKRegRootKey) - { - # A Windows SDK is installed - # Is an SDK of our version installed with the options we need? - $allRequiredSdkOptionsInstalled = $true - foreach($sdkOption in $WindowsSDKOptions) - { - if (!(Test-RegistryPathAndValue -Path $WindowsSDKInstalledRegPath -Value $sdkOption)) - { - $allRequiredSdkOptionsInstalled = $false - } - } - - if($allRequiredSdkOptionsInstalled) - { - # It appears we have what we need. Double check the disk - $sdkRoot = Get-ItemProperty -Path $WindowsSDKRegPath | Select-Object -ExpandProperty $WindowsSDKRegRootKey - if ($sdkRoot) - { - if (Test-Path $sdkRoot) - { - $refPath = Join-Path $sdkRoot "References\$WindowsSDKVersion" - if (Test-Path $refPath) - { - $umdPath = Join-Path $sdkRoot "UnionMetadata\$WindowsSDKVersion" - if (Test-Path $umdPath) - { - # Pretty sure we have what we need - $retval = $false - } - } - } - } - } - } - - return $retval -} - -function Test-InstallStrongNameHijack -{ - foreach($publicKeyToken in $PublicKeyTokens) - { - $key = "$StrongNameRegPath\*,$publicKeyToken" - if (!(Test-Path $key)) - { - return $true - } - } - - return $false -} - -Write-Host -NoNewline "Checking for installed Windows SDK $WindowsSDKVersion..." -$InstallWindowsSDK = Test-InstallWindowsSDK -if ($InstallWindowsSDK) -{ - Write-Host "Installation required" -} -else -{ - Write-Host "INSTALLED" -} - -$StrongNameHijack = Test-InstallStrongNameHijack -Write-Host -NoNewline "Checking if StrongName bypass required..." - -if ($StrongNameHijack) -{ - Write-Host "REQUIRED" -} -else -{ - Write-Host "Done" -} - -if ($StrongNameHijack -or $InstallWindowsSDK) -{ - if (!(Test-Admin)) - { - Write-Host - throw "ERROR: Elevation required" - } -} - -if ($InstallWindowsSDK) -{ - # Static(ish) link for Windows SDK - # Note: there is a delay from Windows SDK announcements to availability via the static link - $uri = "https://software-static.download.prss.microsoft.com/sg/download/Windows_InsiderPreview_SDK_en-us_$($buildNumber)_1.iso"; - - if ($env:TEMP -eq $null) - { - $env:TEMP = Join-Path $env:SystemDrive 'temp' - } - - $winsdkTempDir = Join-Path (Join-Path $env:TEMP ([System.IO.Path]::GetRandomFileName())) "WindowsSDK" - - if (![System.IO.Directory]::Exists($winsdkTempDir)) - { - [void][System.IO.Directory]::CreateDirectory($winsdkTempDir) - } - - $file = "winsdk_$buildNumber.iso" - - Write-Verbose "Getting WinSDK from $uri" - $downloadFile = Download-File $winsdkTempDir $uri $file - Write-Verbose "File is at $downloadFile" - $downloadFileItem = Get-Item $downloadFile - - # Check to make sure the file is at least 10 MB. - if ($downloadFileItem.Length -lt 10*1024*1024) - { - Write-Host - Write-Host "ERROR: Downloaded file doesn't look large enough to be an ISO. The requested version may not be on microsoft.com yet." - Write-Host - Exit 1 - } - - # TODO Check if zip, exe, iso, etc. - try - { - Write-Host -NoNewline "Mounting ISO $file..." - Mount-ISO $downloadFile - Write-Host "Done" - - $isoDrive = Get-ISODriveLetter $downloadFile - - if (Test-Path $isoDrive) - { - Write-Host -NoNewLine "Installing WinSDK..." - - $setupPath = Join-Path "$isoDrive" "WinSDKSetup.exe" - Start-Process -Wait $setupPath "/features $WindowsSDKOptions /q" - Write-Host "Done" - } - else - { - throw "Could not find mounted ISO at ${isoDrive}" - } - } - finally - { - Write-Host -NoNewline "Dismounting ISO $file..." - Dismount-ISO $downloadFile - Write-Host "Done" - } -} - -if ($StrongNameHijack) -{ - Write-Host -NoNewline "Disabling StrongName for Windows SDK..." - - foreach($key in $PublicKeyTokens) - { - Disable-StrongName $key - } - - Write-Host "Done" -} \ No newline at end of file diff --git a/build/Localization/CopyBackLocalizedFiles.ps1 b/build/Localization/CopyBackLocalizedFiles.ps1 deleted file mode 100644 index 5157823404..0000000000 --- a/build/Localization/CopyBackLocalizedFiles.ps1 +++ /dev/null @@ -1,52 +0,0 @@ -[CmdLetBinding()] -param( - [string]$LocalizedFilesLocation="$PSScriptRoot\..\..\BuildOutput\LocalizationDrop" -) - -if (-not (Test-Path "$LocalizedFilesLocation")) -{ - Write-Host "Could not find LocalizationDrop folder. Either specify using -LocalizedFilesLocation or place in the BuildOutput folder." -ForegroundColor Red - Exit 1 -} - -Write-Host "Copying localized files back into the source tree" -ForegroundColor Green - -$controlsPath = Convert-Path "$PSScriptRoot\..\..\dev\" - -# Retrieve all the english resource files in the repo -$englishResourceFiles = Get-ChildItem -Path $controlsPath -Include "Resources.resw" -Recurse | Where-Object {$_.Directory -Match "en-us"} - -# Use ColorPicker as an example in order to extract the list of available languages -$languages = get-childitem "$LocalizedFilesLocation\ColorPicker" | Where-Object { $_.Name -match "-" } | % { $_.Name } - -foreach ($language in $languages) -{ - Write-Verbose "Current language: $language" - foreach ($file in $englishResourceFiles) - { - $destFilePath = $file.FullName -ireplace "en-us",$language - - # Extract control name (directory name under ..\dev\) - $endPath = $file.FullName.substring($controlsPath.Length) - $controlName = ($endPath -split '\\')[0] - - $fileName = Split-Path -Leaf $destFilePath - - $destFileLocation = Split-Path -Parent $destFilePath - - $sourceLocation = "$LocalizedFilesLocation\$controlName\$language\$fileName" - Write-Verbose "Dest: $destFileLocation Source: $sourceLocation" - - if (-not (Test-Path $sourceLocation)) - { - Write-Host "File does not exist: $sourceLocation " -ForegroundColor Red - continue - } - - if (-not (Test-Path $destFileLocation)) { mkdir $destFileLocation } - $output = Copy-Item $sourceLocation $destFileLocation - } -} -Write-Host - -Write-Host "Done!" -ForegroundColor Green \ No newline at end of file diff --git a/build/Localization/PrepLocFilesForUpload.ps1 b/build/Localization/PrepLocFilesForUpload.ps1 deleted file mode 100644 index 8652794416..0000000000 --- a/build/Localization/PrepLocFilesForUpload.ps1 +++ /dev/null @@ -1,29 +0,0 @@ -[CmdLetBinding()] -param( - [string]$DestinationFilePath -) - -Write-Host "Copying resource files to staging area to prep for upload." -ForegroundColor Green - -$controlsPath = Convert-Path "$PSScriptRoot\..\..\dev\" - -# Retrieve all the english resource files in the repo -$englishResourceFiles = Get-ChildItem -Path $controlsPath -Include "Resources.resw" -Recurse | Where-Object {$_.Directory -Match "en-us"} - -foreach ($file in $englishResourceFiles) -{ - # Extract control name (directory name under ..\dev\) - $endPath = $file.FullName.substring($controlsPath.Length) - $controlName = ($endPath -split '\\')[0] - - $destFileLocation = "$DestinationFilePath\$controlName" - $sourceLocation = $file.FullName - Write-Verbose "Dest: $destFileLocation Source: $sourceLocation" - - if (-not (Test-Path $destFileLocation)) { mkdir $destFileLocation } - $output = Copy-Item $sourceLocation $destFileLocation -} - -Write-Host - -Write-Host "Done!" -ForegroundColor Green diff --git a/build/Localization/readme.md b/build/Localization/readme.md deleted file mode 100644 index 0d7209cf58..0000000000 --- a/build/Localization/readme.md +++ /dev/null @@ -1,17 +0,0 @@ -# Localization process - -This directory contains everything necessary to process our english-only .resw files and receive back from the localization -service the localized files. - -Uploading english-only .resw files to Touchdown for localization: -1. MUX-LocalizationHandoff is a scheduled pipeline that runs regularly. It will automatically upload the lastest english .resw files to Touchdown for localization. - -Checking-in the localized .resw files requires some manual steps. The plan is to automate this in the future. -1. When there are newly available localized strings, Touchdown notifies the team via email. -2. Each run of MUX-LocalizationHandoff retrieves the latest localized files and publishes them as a build artifact under 'LocalizationDrop' -3. Download & unzip this artifact (either from a pipeline run that happened after the reciept of the aforementioned email or from a manually scheduled pipeline run). -4. Run the script `build\Localization\CopyBackLocalizedFiles.ps1`. Either place the downloaded folder under `\BuildOutput\` or specify its location using /`-LocalizedFilesLocation`. -5. Check-in the changes to main - -## If you're doing this for a new control -Make sure that your Resources.resw file is located in *ControlName*\Strings\en-us because the localization process will create sibling directories for all other languages. \ No newline at end of file diff --git a/build/MUX-CI.yml b/build/MUX-CI.yml deleted file mode 100644 index 477cfd47f2..0000000000 --- a/build/MUX-CI.yml +++ /dev/null @@ -1,79 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) -variables: - minimumExpectedTestsExecutedCount: 2000 # Sanity check for minimum expected tests to be reported - rerunPassesRequiredToAvoidFailure: 5 - -stages: -- stage: Build - jobs: - - job: Build - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-L - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-L - demands: ImageOverride -equals WinDevVS17-latest - timeoutInMinutes: 120 - strategy: - maxParallel: 10 - matrix: - Debug_x86: - buildPlatform: 'x86' - buildConfiguration: 'Debug' - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - Release_Arm: - buildPlatform: 'arm' - buildConfiguration: 'Release' - Release_Arm64: - buildPlatform: 'arm64' - buildConfiguration: 'Release' - - variables: - appxPackageDir : $(build.artifactStagingDirectory)\$(buildConfiguration)\$(buildPlatform)\AppxPackages - buildOutputDir : $(Build.SourcesDirectory)\BuildOutput - publishDir : $(Build.ArtifactStagingDirectory) - steps: - - template: AzurePipelinesTemplates\MUX-BuildDevProject-Steps.yml - - template: AzurePipelinesTemplates\MUX-PublishProjectOutput-Steps.yml - -- stage: Test - dependsOn: Build - jobs: - - template: AzurePipelinesTemplates\MUX-RunHelixTests-Job.yml - parameters: - name: 'RunTestsInHelix' - rerunPassesRequiredToAvoidFailure: $(rerunPassesRequiredToAvoidFailure) - - # Create Nuget Package -- stage: Pack - dependsOn: Build - jobs: - - template: AzurePipelinesTemplates\MUX-CreateNugetPackage-Job.yml - parameters: - jobName: CreateNugetPackage - prereleaseVersionTag: ci - - # Build solution that depends on nuget package - - template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - buildJobName: 'BuildNugetPkgTests' - buildArtifactName: 'NugetPkgTestsDrop' - runTestJobName: 'RunNugetPkgTestsInHelix' - dependsOn: CreateNugetPackage - useFrameworkPkg: false - - # Framework package tests - - template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - buildJobName: 'BuildFrameworkPkgTests' - buildArtifactName: 'FrameworkPkgTestsDrop' - runTestJobName: 'RunFrameworkPkgTestsInHelix' - dependsOn: CreateNugetPackage - useFrameworkPkg: true \ No newline at end of file diff --git a/build/MUX-CreateUnreliableTestReport.yml b/build/MUX-CreateUnreliableTestReport.yml deleted file mode 100644 index 41dd2b8e62..0000000000 --- a/build/MUX-CreateUnreliableTestReport.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) -schedules: -- cron: "0 0 * * 0" - displayName: Weekly Sunday report - branches: - include: - - main - always: true -jobs: -- job: CreateUnreliableTestReport - timeoutInMinutes: 120 - steps: - - script: set - displayName: 'Display current environment variables' - - - task: powershell@2 - displayName: 'Create unreliable test report' - env: - SYSTEM_ACCESSTOKEN: $(System.AccessToken) - inputs: - targetType: filePath - filePath: tools\CreateUnreliableTestReport.ps1 - arguments: -DaysPrior 30 -OutputCsvFile $(Agent.TempDirectory)\UnreliableTestReport.csv - - - task: powershell@2 - displayName: 'Output unreliable test report' - inputs: - targetType: filePath - filePath: tools\OutputUnreliableTestReport.ps1 - arguments: -ReportCsvFile $(Agent.TempDirectory)\UnreliableTestReport.csv - - - task: PublishBuildArtifacts@1 - displayName: 'Publish unreliable test report' - inputs: - PathtoPublish: $(Agent.TempDirectory)\UnreliableTestReport.csv - artifactName: report - - \ No newline at end of file diff --git a/build/MUX-LocalizationHandoff.yml b/build/MUX-LocalizationHandoff.yml deleted file mode 100644 index 732e654b54..0000000000 --- a/build/MUX-LocalizationHandoff.yml +++ /dev/null @@ -1,62 +0,0 @@ -variables: -- group: WinUITeamKeyVault-Secrets - - -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) -jobs: -- job: LocalizationHandoff - pool: - vmImage: 'windows-2019' - variables: - resourceStagingDirectory: '$(Build.ArtifactStagingDirectory)\LocStaging' - resourceOutputDirectory: '$(Build.ArtifactStagingDirectory)\LocOutput' - - steps: - - powershell: | - & "$env:Build_SourcesDirectory\build\Localization\PrepLocFilesForUpload.ps1" ` - -DestinationFilePath '${{ variables.resourceStagingDirectory }}' - displayName: 'PrepLocFilesForUpload.ps1' - - - task: TouchdownBuildTask@1 - displayName: 'Call Touchdown Build Service' - inputs: - environment: 'PRODEXT' - teamId: '104' - authType: 'OAuth' - authId: 'e8416663-8a55-4cb6-9bba-12038b37a6ed' - authKey: $(WinUILab-TouchdownLoc-Key) - relativePathRoot: ${{ variables.resourceStagingDirectory }} - resourceFilePath: '**/Resources.resw' - outputDirectoryRoot: ${{ variables.resourceOutputDirectory }} - appendRelativeDir: true - cultureMappingType: 'None' - - - task: PublishBuildArtifacts@1 - displayName: 'Publish Artifacts - Localized Resources' - condition: always() - inputs: - PathtoPublish: ${{ variables.resourceOutputDirectory }} - artifactName: 'LocalizationDrop' - parallel: true - parallelCount: 8 - - # Copy back files returned from localization service and notify if there are changes that need to be commited - - powershell: | - & "$env:Build_SourcesDirectory\build\Localization\CopyBackLocalizedFiles.ps1" ` - -LocalizedFilesLocation '${{ variables.resourceOutputDirectory }}' - displayName: 'CopyBackLocalizedFiles.ps1' - - - powershell: | - $changes = & git ls-files -m - Write-Host "Edited files:" - Write-Host "$changes" - if ($changes -imatch "\.resw") - { - Write-Host "##vso[task.complete result=SucceededWithIssues;]" - Write-Host "##vso[task.logissue type=warning;]Localization updates needed" - foreach ($change in $changes) - { - Write-Host "##vso[task.logissue type=warning;]$change" - } - } - displayName: checkEditedFiles \ No newline at end of file diff --git a/build/MUX-PGOInstrument.yml b/build/MUX-PGOInstrument.yml deleted file mode 100644 index a4bd6457d0..0000000000 --- a/build/MUX-PGOInstrument.yml +++ /dev/null @@ -1,92 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) - -variables: - module: Microsoft.UI.Xaml - pgdFile: $(module).pgd - pgoArtifact: PGO - -stages: -- stage: Build - jobs: - - job: Build - pool: - name: WinDevPool-L - demands: ImageOverride -equals WinDevVS17-latest - timeoutInMinutes: 120 - strategy: - maxParallel: 10 - matrix: - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - variables: - appxPackageDir : $(build.artifactStagingDirectory)\$(buildConfiguration)\$(buildPlatform)\AppxPackages - buildOutputDir : $(Build.SourcesDirectory)\BuildOutput - publishDir : $(Build.ArtifactStagingDirectory) - PGOBuildMode: 'Instrument' - steps: - - template: AzurePipelinesTemplates\MUX-BuildDevProject-Steps.yml - - template: AzurePipelinesTemplates\MUX-PublishProjectOutput-Steps.yml - - task: CopyFiles@2 - inputs: - sourceFolder: $(buildOutputDir)\$(buildConfiguration)\$(buildPlatform)\$(module) - contents: $(pgdFile) - targetFolder: $(Build.ArtifactStagingDirectory)\$(pgoArtifact)\$(buildPlatform) - - task: PublishBuildArtifacts@1 - displayName: 'Publish pgd files' - inputs: - PathtoPublish: $(Build.ArtifactStagingDirectory)\$(pgoArtifact) - artifactName: $(pgoArtifact) - -- stage: Pack - dependsOn: Build - jobs: - # Create Nuget Package - - template: AzurePipelinesTemplates\MUX-CreateNugetPackage-Job.yml - parameters: - jobName: CreateNugetPackage - prereleaseVersionTag: pgo - -- stage: Train - dependsOn: Pack - jobs: - # Framework package tests - - template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - buildJobName: 'BuildFrameworkPkgTests' - buildArtifactName: 'FrameworkPkgTestsDrop' - runTestJobName: 'RunFrameworkPkgTestsInHelix' - useFrameworkPkg: true - matrix: - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - -- stage: Merge - dependsOn: Train - jobs: - - template: AzurePipelinesTemplates\MUX-MergePGD-Job.yml - parameters: - pgdFile: $(pgdFile) - pgoArtifact: $(pgoArtifact) - matrix: - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - testOS: Win10-RS5 - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - testOS: Win10-22H2 - - - template: AzurePipelinesTemplates\MUX-BuildAndPublishPGONuGet-Job.yml - parameters: - dependsOn: MergePGD - pgdFile: $(pgdFile) - pgoArtifact: $(pgoArtifact) \ No newline at end of file diff --git a/build/MUX-PR.yml b/build/MUX-PR.yml deleted file mode 100644 index 1d2b1386c1..0000000000 --- a/build/MUX-PR.yml +++ /dev/null @@ -1,84 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) -variables: - minimumExpectedTestsExecutedCount: 2000 # Sanity check for minimum expected tests to be reported - rerunPassesRequiredToAvoidFailure: 5 - useBuildOutputFromBuildId: '' - -stages: -- stage: Setup - jobs: - - job: Setup - pool: - vmImage: 'windows-latest' - steps: - - task: powershell@2 - name: checkPayload - displayName: 'Check if build is required for this PR' - inputs: - targetType: filePath - filePath: build\ShouldSkipPRBuild.ps1 - -- stage: Build - dependsOn: Setup - condition: ne(dependencies.Setup.outputs['Setup.checkPayload.shouldSkipPRBuild'],'True') - jobs: - - job: Build - condition: eq(variables['useBuildOutputFromBuildId'],'') - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-L - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-L - demands: ImageOverride -equals WinDevVS17-latest - timeoutInMinutes: 120 - strategy: - maxParallel: 10 - matrix: - Debug_x86: - buildPlatform: 'x86' - buildConfiguration: 'Debug' - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - variables: - appxPackageDir : $(build.artifactStagingDirectory)\$(buildConfiguration)\$(buildPlatform)\AppxPackages - buildOutputDir : $(Build.SourcesDirectory)\BuildOutput - publishDir : $(Build.ArtifactStagingDirectory) - steps: - - template: AzurePipelinesTemplates\MUX-BuildDevProject-Steps.yml - - template: AzurePipelinesTemplates\MUX-PublishProjectOutput-Steps.yml - -- stage: Test - dependsOn: Build - jobs: - - template: AzurePipelinesTemplates\MUX-RunHelixTests-Job.yml - parameters: - rerunPassesRequiredToAvoidFailure: $(rerunPassesRequiredToAvoidFailure) - -# Create Nuget Package -- stage: Pack - dependsOn: Build - jobs: - - template: AzurePipelinesTemplates\MUX-CreateNugetPackage-Job.yml - parameters: - jobName: CreateNugetPackage - primaryBuildArch: x64 - prereleaseVersionTag: pr - - - template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - dependsOn: CreateNugetPackage - useFrameworkPkg: false - runTests: 'false' - matrix: - Debug_x64: - buildPlatform: 'x64' - buildConfiguration: 'Debug' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' \ No newline at end of file diff --git a/build/MUX-Release.yml b/build/MUX-Release.yml deleted file mode 100644 index 06c231e55f..0000000000 --- a/build/MUX-Release.yml +++ /dev/null @@ -1,173 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) -variables: - minimumExpectedTestsExecutedCount: 35 # Sanity check for minimum expected tests to be reported - Packaging.EnableSBOMSigning: true - -resources: - repositories: - - repository: self - type: git - ref: refs/heads/main - - repository: templates_onebranch - type: git - name: OneBranch.Pipelines/GovernedTemplates - ref: refs/heads/main -jobs: -- job: Scanning - pool: - name: WinDevPool-S - demands: ImageOverride -equals WinDevVS17-latest - - steps: - - - checkout: self - - - task: NodeTool@0 - - - template: v2/Steps/PackageES/Windows.SDL.Sources.Analysis.OS.Undocked.yml@templates_onebranch - parameters: - globalsdl: - codeql: - tsandjs: - enabled: false - python: - enabled: false - psscriptanalyzer: - enable: true - prefast: - enabled: true - -- job: Build - # Skip the build job if we are reusing the output of a previous build. - # useBuildOutputFromBuildId variable is set on the Pipeline at Queue time. - condition: - eq(variables['useBuildOutputFromBuildId'],'') - pool: - name: WinDevPool-L - demands: ImageOverride -equals WinDevVS17-latest - timeoutInMinutes: 120 - strategy: - maxParallel: 10 - matrix: - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - Release_Arm: - buildPlatform: 'arm' - buildConfiguration: 'Release' - Release_Arm64: - buildPlatform: 'arm64' - buildConfiguration: 'Release' - - variables: - appxPackageDir : $(build.artifactStagingDirectory)\$(buildConfiguration)\$(buildPlatform)\AppxPackages - buildOutputDir : $(Build.SourcesDirectory)\BuildOutput - publishDir : $(Build.ArtifactStagingDirectory) - artifactsDir: $(Build.SourcesDirectory)\Artifacts - sbomdir: $(Build.ArtifactStagingDirectory)\sbom\$(buildConfiguration)\$(buildPlatform) - steps: - - - checkout: self - - # Download and extract nuget package with non-stubbed MicrosoftTelemetry.h header - - task: DownloadPackage@1 - displayName: 'Download Microsoft.Telemetry.Inbox.Native' - inputs: - feed: '/3415933f-ac0d-4766-8c0a-3f4c247c25f5' # 0 - view: 'ef61a1c1-003b-4a27-bde5-beec8301021b' # Release - definition: '2fe60c09-c66f-4275-ae2d-f015c7170c72' # Microsoft.Telemetry.Inbox.Native - version: '10.0.18362.1-190318-1202.19h1-release.amd64fre' # latest version - downloadPath: '$(System.DefaultWorkingDirectory)' # download and extract to repo root - - # Replace the stubbed MicrosoftTelemetry.h with the real one - # Delete the existing stubbed MicrosoftTelemetry.h first, to ensure that if it is no longer at the expected path that the task, and build, fails - - script: | - del $(System.DefaultWorkingDirectory)\dev\telemetry\MicrosoftTelemetry.h - move /Y $(System.DefaultWorkingDirectory)\build\native\inc\MicrosoftTelemetry.h $(System.DefaultWorkingDirectory)\dev\telemetry\ - failOnStderr: true - displayName: 'Replace existing stubbed MicrosoftTelemetry.h header with the real version from the nuget package' - - - template: AzurePipelinesTemplates\MUX-BuildDevProject-Steps.yml - parameters: - signOutput: true - - - script: | - mkdir $(sbomdir) - - task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0 - displayName: 'Generate SBOM manifest' - inputs: - BuildDropPath: $(sbomdir) - - - template: AzurePipelinesTemplates\MUX-PublishProjectOutput-Steps.yml - - - task: PkgESSetupBuild@12 - displayName: Package ES - Setup Build - inputs: - disableOutputRedirect: true - - - task: NodeTool@0 - - - template: v2/Steps/PackageES/Windows.SDL.Binary.Analysis.OS.Undocked.yml@templates_onebranch - parameters: - variables: - ob_outputDirectory: $(buildOutputDir)\ # provide path to binaries to be scanned - -# Create Nuget Package -- template: AzurePipelinesTemplates\MUX-CreateNugetPackage-Job.yml - parameters: - jobName: CreateNugetPackage - dependsOn: Build - signOutput: true - useReleaseTag: '$(MUXFinalRelease)' - prereleaseVersionTag: prerelease - -- template: AzurePipelinesTemplates\MUX-PushCBSVpack-Job.yml - parameters: - dependsOn: Build - -# Build solution that depends on nuget package -- template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - buildJobName: 'BuildNugetPkgTests' - buildArtifactName: 'NugetPkgTestsDrop' - runTestJobName: 'RunNugetPkgTestsInHelix' - helixType: 'test/nuget' - dependsOn: CreateNugetPackage - useFrameworkPkg: false - -# Framework package tests -- template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - buildJobName: 'BuildFrameworkPkgTests' - buildArtifactName: 'FrameworkPkgTestsDrop' - runTestJobName: 'RunFrameworkPkgTestsInHelix' - helixType: 'test/frpkg' - dependsOn: CreateNugetPackage - useFrameworkPkg: true - -- template: AzurePipelinesTemplates\MUX-ProcessTestResults-Job.yml - parameters: - dependsOn: - - RunNugetPkgTestsInHelix - - RunFrameworkPkgTestsInHelix - rerunPassesRequiredToAvoidFailure: 5 - minimumExpectedTestsExecutedCount: $(minimumExpectedTestsExecutedCount) - -# NuGet package WACK tests -- template: AzurePipelinesTemplates\MUX-WACKTests-Job.yml - parameters: - name: 'NugetPkgWACKTests' - dependsOn: BuildNugetPkgTests - artifactName: 'NugetPkgTestsDrop' - -# Framework package WACK tests -- template: AzurePipelinesTemplates\MUX-WACKTests-Job.yml - parameters: - name: 'FrameworkPkgWACKTests' - dependsOn: BuildFrameworkPkgTests - artifactName: 'FrameworkPkgTestsDrop' \ No newline at end of file diff --git a/build/MUX-SimpleBuildAndTest.yml b/build/MUX-SimpleBuildAndTest.yml deleted file mode 100644 index 2b44c8c07b..0000000000 --- a/build/MUX-SimpleBuildAndTest.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) -# The following variables are set at queue time: -# buildPlatform -# buildConfiguration -# helixTargetQueues -# taefQuery -# useBuildOutputFromBuildId -# useBuildOutputFromPipeline -jobs: -- job: Build - condition: - eq(variables['useBuildOutputFromBuildId'],'') - pool: - ${{ if eq(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPoolOSS-L - ${{ if ne(variables['System.CollectionUri'], 'https://dev.azure.com/ms/') }}: - name: WinDevPool-L - demands: ImageOverride -equals WinDevVS17-latest - timeoutInMinutes: 120 - variables: - appxPackageDir : $(build.artifactStagingDirectory)\$(buildConfiguration)\$(buildPlatform)\AppxPackages - buildOutputDir : $(Build.SourcesDirectory)\BuildOutput - publishDir : $(Build.ArtifactStagingDirectory) - steps: - - template: AzurePipelinesTemplates\MUX-BuildDevProject-Steps.yml - - template: AzurePipelinesTemplates\MUX-PublishProjectOutput-Steps.yml - -- template: AzurePipelinesTemplates\MUX-RunHelixTests-Job.yml - parameters: - name: 'RunTestsInHelix' - dependsOn: - - Build - condition: in(dependencies.Build.result, 'Succeeded', 'SucceededWithIssues', 'Skipped') - testSuite: 'DevTestSuite' - taefQuery: $(taefQuery) - useBuildOutputFromPipeline: $(useBuildOutputFromPipeline) - # Specify a dummy matrix to override the default matrix - matrix: - config: - isDummyMatrix: true - -- template: AzurePipelinesTemplates\MUX-ProcessTestResults-Job.yml - parameters: - dependsOn: RunTestsInHelix - rerunPassesRequiredToAvoidFailure: 5 - minimumExpectedTestsExecutedCount: 1 \ No newline at end of file diff --git a/build/NuSpecs/Intellisense/Microsoft.UI.Xaml.xml b/build/NuSpecs/Intellisense/Microsoft.UI.Xaml.xml deleted file mode 100644 index 7a61a87dc7..0000000000 --- a/build/NuSpecs/Intellisense/Microsoft.UI.Xaml.xml +++ /dev/null @@ -1,5967 +0,0 @@ - - - - Microsoft.UI.Xaml - - - - Exposes AnimatedVisualPlayer types to Microsoft UI Automation. - - - Initializes a new instance of the AnimatedVisualPlayerAutomationPeer class. - The AnimatedVisualPlayer control instance to create the peer for. - - - Exposes BreadcrumbBar types to Microsoft UI Automation. - - - Initializes a new instance of the BreadcrumbBarItemAutomationPeer class. - The BreadcrumbBarItem instance to create the peer for. - - - Sends a request to invoke the item associated with the automation peer. - - - Exposes ColorPickerSlider types to Microsoft UI Automation. - - - Initializes a new instance of the ColorPickerSliderAutomationPeer class. - The ColorPickerSlider control instance to create the peer for. - - - Exposes ColorSpectrum types to Microsoft UI Automation. - - - Initializes a new instance of the ColorSpectrumAutomationPeer class. - The ColorSpectrum control instance to create the peer for. - - - Exposes DropDownButton types to Microsoft UI Automation. - - - Initializes a new instance of the DropDownButtonAutomationPeer class. - The DropDownButton control instance to create the peer for. - - - Collapses the DropDownButton. - - - Expands the DropDownButton. - - - Gets the state, expanded or collapsed, of the DropDownButton. - A value of the enumeration. - - - Exposes Expander types to Microsoft UI Automation. - - - Initializes a new instance of the ExpanderAutomationPeer class. - The Expander control instance to create the peer for. - - - Hides the content area of the control. - - - Displays the content area of the control. - - - Gets the value of the Expander.IsExpanded" property and returns whether the Expander is currently expanded or collapsed. - Expanded if the content area of the control is currently shown; Collapsed if the content area is hidden. - - - Exposes InfoBar types to Microsoft UI Automation. - - - Initializes a new instance of the InfoBarAutomationPeer class. - The InfoBar control instance to create the peer for. - - - Exposes MenuBar types to Microsoft UI Automation. - - - Initializes a new instance of the MenuBarAutomationPeer class. - The MenuBar control instance to create the peer for. - - - Exposes MenuBarItem types to Microsoft UI Automation. - - - Initializes a new instance of the MenuBarItemAutomationPeer class. - The MenuBarItem control instance to create the peer for. - - - Hides all nodes, controls, or content that are descendants of the MenuBarItem. - - - Displays all child nodes, controls, or content of the MenuBarItem. - - - Sends a request to click the MenuBarItem associated with the automation peer. - - - Gets the state, expanded or collapsed, of the MenuBarItem. - A value of the enumeration. - - - Exposes NavigationViewItem types to Microsoft UI Automation. - - - Initializes a new instance of the NavigationViewItemAutomationPeer class. - The NavigationViewItem control instance to create the peer for. - - - Collapses the specified node in the tree. - - - Expands the specified node in the tree. - - - Gets the value of the NavigationViewItem.IsExpanded" property and returns whether the NavigationViewItem is currently expanded or collapsed. - Expanded if the NavigationViewItem is currently expanded, Collapsed otherwise. - - - Exposes NumberBox types to Microsoft UI Automation. - - - Initializes a new instance of the NumberBoxAutomationPeer class. - The NumberBox control instance to create the peer for. - - - Exposes PersonPicture types to Microsoft UI Automation. - - - Initializes a new instance of the PersonPictureAutomationPeer class. - The PersonPicture control instance to create the peer for. - - - Exposes PipsPager types to Microsoft UI Automation. - - - Initializes a new instance of the PipsPagerAutomationPeer class. - The PipsPager control instance to create the peer for. - - - Exposes ProgressBar types to Microsoft UI Automation. - - - Initializes a new instance of the ProgressBarAutomationPeer class. - The ProgressBar control instance to create the peer for. - - - Exposes ProgressRing types to Microsoft UI Automation. - - - Initializes a new instance of the ProgressRingAutomationPeer class. - The ProgressRing control instance to create the peer for. - - - - - - - - - - - - - - - - Exposes RatingControl types to Microsoft UI Automation. - - - Initializes a new instance of the RatingControlAutomationPeer class. - The RatingControl control instance to create the peer for. - - - Exposes ItemsRepeater types to Microsoft UI Automation. - - - Initializes a new instance of the RepeaterAutomationPeer class. - The ItemsRepeater control instance to create the peer for. - - - Exposes SplitButton types to Microsoft UI Automation. - - - Initializes a new instance of the SplitButtonAutomationPeer class. - The SplitButton control instance to create the peer for. - - - Collapses the SplitButton. - - - Expands the SplitButton. - - - - Gets the state, expanded or collapsed, of the SplitButton. - A value of the enumeration. - - - Exposes TabView types to Microsoft UI Automation. - - - Initializes a new instance of the TabViewAutomationPeer class. - The TabView control instance to create the peer for. - - - Exposes TabViewItem types to Microsoft UI Automation. - - - The TabViewItem control instance to create the peer for. - - - Exposes TeachingTip types to Microsoft UI Automation. - - - Initializes a new instance of the TeachingTipAutomationPeer class. - The TeachingTip control instance to create the peer for. - - - Exposes ToggleSplitButton types to Microsoft UI Automation. - - - Initializes a new instance of the ToggleSplitButtonAutomationPeer class. - The ToggleSplitButton control instance to create the peer for. - - - Collapses the associated ToggleSplitButton. - - - Expands the associated ToggleSplitButton. - - - Cycles through the toggle states of the ToggleSplitButton. - - - Gets a value indicating the expanded or collapsed state of the associated ToggleSplitButton. - The expanded or collapsed state of the associated ToggleSplitButton. The default value is Expanded. - - - Gets the toggle state of a ToggleSplitButton type. - The toggle state of the ToggleSplitButton. The default value is Indeterminate. - - - Exposes TreeViewItem types to Microsoft UI Automation. - - - Initializes a new instance of the TreeViewItemAutomationPeer class. - The TreeViewItem control instance to create the peer for. - - - Collapses the associated TreeViewItem. - - - Expands the associated TreeViewItem. - - - Gets a value indicating the expanded or collapsed state of the associated TreeViewItem. - The expanded or collapsed state of the associated TreeViewItem. The default value is Expanded. - - - Exposes TreeViewItem data types to Microsoft UI Automation. - - - Initializes a new instance of the TreeViewItemDataAutomationPeer class. - The TreeViewItem. - The TreeViewList parent control instance for which to create the peer. - - - Collapses the associated Microsoft.UI.Xaml.Automation.Peers.TreeViewItemDataAutomationPeer". - - - Expands the associated Microsoft.UI.Xaml.Automation.Peers.TreeViewItemDataAutomationPeer". - - - Gets a value indicating the expanded or collapsed state of the associated TreeViewItemDataAutomationPeer. - The expanded or collapsed state of the associated TreeViewItemDataAutomationPeer. The default value is Expanded. - - - Exposes TreeViewList types to Microsoft UI Automation. - - - Initializes a new instance of the TreeViewListAutomationPeer class. - The TreeViewList control instance to create the peer for. - - - Represents an icon that displays and controls a visual that can animate in response to user interaction and visual state changes. - - - Initializes a new instance of the AnimatedIcon class. - - - Retrieves the value of the AnimatedIcon.State" attached property for the specified DependencyObject. - The object from which the property value is retrieved. - The current value of the AnimatedIcon.State" attached property on the specified dependency object. - - - Specifies the value of the AnimatedIcon.State" attached property for the specified DependencyObject. - The object for which the property value is specified. - The value of the AnimatedIcon.State" attached property on the specified dependency object. - - - Gets or sets the static icon to use when the animated icon cannot run. - The static icon to use when the animated icon cannot run. The default is null. - - - Identifies the FallbackIconSource dependency property. - The identifier for the FallbackIconSource dependency property. - - - - - Gets or sets the animated visual shown by the AnimatedIcon object. - The animated visual shown by the AnimatedIcon. The default is null. - - - Identifies the Source dependency property. - The identifier for the Source dependency property. - - - Property that the developer sets on AnimatedIcon. - - - Identifies the AnimatedIcon.State" XAML attached property. - The identifier for the AnimatedIcon.State" XAML attached property. - - - Represents a shareable object used to create an icon that displays and controls a visual that can animate in response to user interaction and visual state changes. - - - Initializes a new instance of the AnimatedIconSource class. - - - Gets or sets the static icon to use when the animated icon cannot run. - The static icon to use when the animated icon cannot run. The default is null. - - - Identifies the FallbackIconSource dependency property. - The identifier for the FallbackIconSource dependency property. - - - - - Gets or sets the animated visual shown by the AnimatedIconSource object. - The animated visual shown by the AnimatedIconSource. The default is null. - - - Identifies the Source dependency property. - The identifier for the Source dependency property. - - - An element that displays and controls an IAnimatedVisual. - - - Initializes a new instance of the AnimatedVisualPlayer class. - - - Pauses the currently playing animated visual, or does nothing if no play is underway. - - - Starts playing the loaded animated visual, or does nothing if no animated visual is loaded. - The point from which to start the animation, as a value from 0 to 1. - The point at which to finish the animation, as a value from 0 to 1. - If true, the animation loops continuously between _fromProgress_ and _toProgress_. If false, the animation plays once then stops. - An async action that is completed when the play is stopped or, if _looped_ is not set, when the play reaches _toProgress_. - - - Resumes the currently paused animated visual, or does nothing if there is no animated visual loaded or the animated visual is not paused. - - - Moves the progress of the animated visual to the given value, or does nothing if no animated visual is loaded. - A value from 0 to 1 that represents the progress of the animated visual. - - - Stops the current play, or does nothing if no play is underway. - - - Gets or sets a value that indicates whether an animated visual plays immediately when it is loaded. - true if the animated visual plays immediately when it is loaded; otherwise false. The default is true. - - - Identifies the AutoPlay dependency property. - The identifier for the AutoPlay dependency property. - - - Gets optional diagnostics information about the last attempt to load an animated visual. - Diagnostics information about the last attempt to load an animated visual. - - - Identifies the Diagnostics dependency property. - The identifier for the Diagnostics dependency property. - - - Gets the duration of the the currently loaded animated visual, or TimeSpan.Zero if no animated visual is loaded. - The duration of the the currently loaded animated visual, or TimeSpan.Zero if no animated visual is loaded. - - - Identifies the Duration dependency property. - The identifier for the Duration dependency property. - - - Gets or sets content to display if an animated visual fails to load. - Content to display if an animated visual fails to load. - - - Identifies the FallbackContent dependency property. - The identifier for the FallbackContent dependency property. - - - Gets a value that indicates whether an animated visual is loaded. - true if an animated visual is loaded; otherwise, false. - - - Identifies the IsAnimatedVisualLoaded dependency property. - The identifier for the IsAnimatedVisualLoaded dependency property. - - - Gets a value that indicates whether an animated visual is loaded and a play is underway. - true if an animated visual is loaded and a play is underway; otherwise, false. - - - Identifies the IsPlaying dependency property. - The identifier for the IsPlaying dependency property. - - - Gets or sets the rate at which the animation plays. - The rate at which the animation plays. The default is 1.0. - - - Identifies the PlaybackRate dependency property. - The identifier for the PlaybackRate dependency property. - - - Gets a CompositionObject that is animated along with the progress of the AnimatedVisualPlayer. - A CompositionObject that is animated along with the progress of the AnimatedVisualPlayer. - - - Gets or sets the provider of the animated visual for the player. - The provider of the animated visual for the player. - - - Identifies the Source dependency property. - The identifier for the Source dependency property. - - - Gets or sets a value that describes how an animated visual should be stretched to fill the destination rectangle. - A value that describes how an animated visual should be stretched to fill the destination rectangle. The default is Uniform. - - - Identifies the Stretch dependency property. - The identifier for the Stretch dependency property. - - - Represents an animation for a check mark that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedAcceptVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedAcceptVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Represents an animation for a back arrow that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedBackVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedBackVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Represents an animation for a downward facing chevron that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedChevronDownSmallVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedChevronDownSmallVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Represents an animation for a chevron that rotates from right to down that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedChevronRightDownSmallVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedChevronRightDownSmallVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Represents an animation for a chevron that rotates from up to down that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedChevronUpDownSmallVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedChevronUpDownSmallVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Represents an animation for a magnifying glass that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedFindVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedFindVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Represents an animation for a navigation menu that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedGlobalNavigationButtonVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedGlobalNavigationButtonVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Represents an animation for a settings icon that can be used as an animated icon source. - - - Initializes a new instance of the AnimatedSettingsVisualSource class. - - - Sets the color of the animated visual for an AnimatedIcon. - The property name of the color as defined in the JSON file for the animated icon. - The color value the animated icon is being set to. - - - Attempts to create an instance of an AnimatedSettingsVisualSource object for an AnimatedIcon. - The Compositor used to create objects for the animated visual. - Diagnostics information about the IAnimatedVisualSource implementation. - -This parameter is optional. - An IAnimatedVisual, or null. - - - Provides a mapping from marker names to playback positions in the animated visual for an AnimatedIcon. - The collection of marker names and values as defined in the JSON file for the animated icon. - - - Helper class to apply a backdrop material to the root of the XAML content. - - - Gets the value of the BackdropMaterial.ApplyToRootOrPageBackground XAML attached property for the target element. - The object from which the property value is read. - The BackdropMaterial.ApplyToRootOrPageBackground XAML attached property value of the requested object. - - - Sets the value of the BackdropMaterial.ApplyToRootOrPageBackground XAML attached property for a target element. - The object to which the property value is written. - The value to set. - - - Applies the backdrop material to the root or background of the XAML content. - - - Identifies the BackdropMaterial.ApplyToRootOrPageBackground XAML attached property. - The identifier for the BackdropMaterial.ApplyToRootOrPageBackground XAML attached property. - - - Represents an icon source that uses a bitmap as its content. - - - Initializes a new instance of the BitmapIconSource class. - - - Gets or sets a value that indicates whether the bitmap is shown in a single color. - true to show the bitmap in a single color; false to show the bitmap in full color. The default is true. - - - Identifies the ShowAsMonochrome dependency property. - The identifier for the ShowAsMonochrome dependency property. - - - Gets or sets the Uniform Resource Identifier (URI) of the bitmap to use as the icon content. - The Uri of the bitmap to use as the icon content. The default is null. - - - Identifies the UriSource dependency property. - The identifier for the UriSource dependency property. - - - The BreadcrumbBar control provides the direct path of pages or folders to the current location. - - - Occurs when an item is clicked in the BreadcrumbBar. - - - Initializes a new instance of the BreadcrumbBar class. - - - Gets or sets an object source used to generate the content of the BreadcrumbBar. - An object source used to generate the content of the BreadcrumbBar. - - - Identifies the ItemsSource dependency property. - The identifier for the ItemsSource dependency property. - - - Gets or sets the data template for the BreadcrumbBarItem. - The data template that is used to display the content of the BreadcrumbBarItem. - - - Identifies the ItemTemplate dependency property. - The identifer for the ItemTemplate dependency property. - - - Represents an item in a BreadcrumbBar control. - - - Initializes a new instance of the BreadcrumbBarItem class. - - - Provides data for the BreadcrumbBar.ItemClicked" event. - - - Gets the index of the item that was clicked. - The index of the item that was clicked. - - - Gets the Content property value of the BreadcrumbBarItem that is clicked. - The Content property value of the BreadcrumbBarItem that is clicked. - - - Provides event data for a ColorChanged event (see ColorPicker.ColorChanged" and ColorSpectrum.ColorChanged" ). - - - Gets the color that is currently selected in the control. - The color that is currently selected in the control. - - - Gets the color that was previously selected in the control. - The color that was previously selected in the control. - - - Represents a control that lets a user pick a color using a color spectrum, sliders, or text input. - - - Occurs when the Color property has changed. - - - Initializes a new instance of the ColorPicker class. - - - Gets or sets the current color value. - The current color value. - - - Identifies the Color dependency property. - The identifier for the Color dependency property. - - - Gets or sets a value that indicates how the Hue-Saturation-Value (HSV) color components are mapped onto the ColorSpectrum. - A value of the enumeration. The default is HueSaturation. - - - Identifies the ColorSpectrumComponents dependency property. - The identifier for the ColorSpectrumComponents dependency property. - - - Gets or sets a value that indicates whether the ColorSpectrum is shown as a square or a circle. - A value of the enumeration. The default is Box, which shows the spectrum as a square. - - - Identifies the ColorSpectrumShape dependency property. - The identifier for the ColorSpectrumShape dependency property. - - - Gets or sets a value that indicates whether the alpha channel can be modified. - true if the alpha channel is enabled; otherwise, false. The default is false. - - - Identifies the IsAlphaEnabled dependency property. - The identifier for the IsAlphaEnabled dependency property. - - - Gets or sets a value that indicates whether the slider control for the alpha channel is shown. - true if the alpha channel slider is shown; otherwise, false. The default is true. - - - Identifies the IsAlphaSliderVisible dependency property. - The identifier for the IsAlphaSliderVisible dependency property. - - - Gets or sets a value that indicates whether the text input box for the alpha channel is shown. - true if the alpha channel text input box is shown; otherwise, false. The default is true. - - - Identifies the IsAlphaTextInputVisible dependency property. - The identifier for the IsAlphaTextInputVisible dependency property. - - - Gets or sets a value that indicates whether the text input boxes for the color channels are shown. - true if the color channel text input boxes are shown; otherwise, false. The default is true. - - - Identifies the IsColorChannelTextInputVisible dependency property. - The identifier for the IsColorChannelTextInputVisible dependency property. - - - Gets or sets a value that indicates whether the color preview bar is shown. - true if the color preview bar is shown; otherwise, false. The default is true. - - - Identifies the IsColorPreviewVisible dependency property. - The identifier for the IsColorPreviewVisible dependency property. - - - Gets or sets a value that indicates whether the slider control for the color value is shown. - true if the color slider is shown; otherwise, false. The default is true. - - - Identifies the IsColorSliderVisible dependency property. - The identifier for the IsColorSliderVisible dependency property. - - - Gets or sets a value that indicates whether the color spectrum control is shown. - true if the color spectrum is shown; otherwise, false. The default is true. - - - Identifies the IsColorSpectrumVisible dependency property. - The identifier for the IsColorSpectrumVisible dependency property. - - - Gets or sets a value that indicates whether the text input box for a HEX color value is shown. - true if the HEX color text input box is shown; otherwise, false. The default is true. - - - Identifies the IsHexInputVisible dependency property. - The identifier for the IsHexInputVisible dependency property. - - - Gets or sets a value that indicates whether the 'more' button is shown. - true if the 'more' button is shown; otherwise, false. The default is false. - - - Identifies the IsMoreButtonVisible dependency property. - The identifier for the IsMoreButtonVisible dependency property. - - - Gets or sets the maximum Hue value in the range 0-359. - The maximum Hue value in the range 0-359. The default is 359. - - - Identifies the MaxHue dependency property. - The identifier for the MaxHue dependency property. - - - Gets or sets the maximum Saturation value in the range 0-100. - The maximum Saturation value in the range 0-100. The default is 100. - - - Identifies the MaxSaturation dependency property. - The identifier for the MaxSaturation dependency property. - - - Gets or sets the maximum Value value in the range 0-100. - The maximum Value value in the range 0-100. The default is 100. - - - Identifies the MaxValue dependency property. - The identifier for the MaxValue dependency property. - - - Gets or sets the minimum Hue value in the range 0-359. - The minimum Hue value in the range 0-359. The default is 0. - - - Identifies the MinHue dependency property. - The identifier for the MinHue dependency property. - - - Gets or sets the minimum Saturation value in the range 0-100. - The minimum Saturation value in the range 0-100. The default is 100. - - - Identifies the MinSaturation dependency property. - The identifier for the MinSaturation dependency property. - - - Gets or sets the minimum Value value in the range 0-100. - The minimum Value value in the range 0-100. The default is 100. - - - Identifies the MinValue dependency property. - The identifier for the MinValue dependency property. - - - - - Gets or sets the previous color. - The previous color. The default is null. - - - Identifies the PreviousColor dependency property. - The identifier for the PreviousColor dependency property. - - - Defines constants for specifying which Hue-Saturation-Value (HSV) and Alpha channel values a slider sets in a ColorPicker control. - - - The slider controls the Alpha channel. - - - The slider controls the Hue channel. - - - The slider controls the Saturation channel. - - - The slider controls the Value channel. - - - Defines constants that specify how the Hue-Saturation-Value (HSV) color components are mapped onto the ColorSpectrum. - - - Hue is mapped to the X axis. Saturation is mapped to the Y axis. - - - Hue is mapped to the X axis. Value is mapped to the Y axis. - - - Saturation is mapped to the X axis. Hue is mapped to the Y axis. - - - Saturation is mapped to the X axis. Value is mapped to the Y axis. - - - Value is mapped to the X axis. Hue is mapped to the Y axis. - - - Value is mapped to the X axis. Saturation is mapped to the Y axis. - - - Defines constants that specify how the ColorSpectrum control is shown. - - - The ColorSpectrum control is shown as a square. - - - The ColorSpectrum control is shown as a circle. - - - Represents a specialized flyout that provides layout for AppBarButton controls. - - - Initializes a new instance of the CommandBarFlyout class. - - - Gets or sets a value that indicates whether or not the CommandBarFlyout should always stay in its Expanded state and block the user from entering the Collapsed state. Defaults to false. - - - Gets the collection of primary command elements for the CommandBarFlyout. - The collection of primary command elements for the CommandBarFlyout. The default is an empty collection. - - - Gets the collection of secondary command elements for the CommandBarFlyout. - The collection of secondary command elements for the CommandBarFlyout. The default is an empty collection. - - - - - - Represents a button that includes a chevron to indicate a menu can be opened. - - - Initializes a new instance of the DropDownButton class. - - - Represents the optional arguments to use when calling an implementation of the GetElement object. - - - Initializes a new instance of the ElementFactoryGetArgs class. - - - Gets or sets the data item to prepare an element for. - The data item to prepare an element for. - - - Gets or sets the parent of the prepared element. - The parent of the prepared element. - - - Represents the optional arguments to use when calling an implementation of the RecycleElement object. - - - Initializes a new instance of the ElementFactoryRecycleArgs class. - - - Gets or sets the element to recycle. - The element to recycle. - - - Gets or sets the parent of the recycled element. - The parent of the recycled element. - - - Defines constants that specify whether to suppress automatic recycling of the retrieved element or force creation of a new element. - - - Creation of a new element is forced. - - - No option is specified. - - - The element is ignored by the automatic recycling logic. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Defines constants that specify in which direction a control should expand. - - - The content area expands downwards from the header. - - - The content area expands upwards from the header. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Represents a control that displays a header and has a collapsible body that displays content. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Occurs when the content area of the Expander is hidden. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Occurs when the content area of the Expander starts to be shown. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Initializes a new instance of the Expander class. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets or sets a value that indicates the direction in which the content area expands. - A value of the enumeration that indicates the direction in which the content area expands. The default is Down. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Identifies the ExpandDirection dependency property. - The identifier for the ExpandDirection dependency property. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets or sets the XAML content that is displayed in the header of the Expander. - The XAML content that is displayed in the header. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Identifies the Header dependency property. - The identifier for the Header dependency property. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets or sets the data template for the Expander.Header". - The data template that is used to display the header of the Expander. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Identifies the HeaderTemplate dependency property. - The identifier for the HeaderTemplate dependency property. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets or sets a reference to a custom DataTemplateSelector logic class that returns a template to apply to the Header. - A reference to a custom DataTemplateSelector logic class. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Identifies the HeaderTemplateSelector dependency property. - The identifier for the HeaderTemplateSelector dependency property. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets or sets a value that indicates whether the content area of the Expander is shown. - true if the content area is shown; otherwise, false. The default is false. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Identifies the IsExpanded dependency property. - The identifier for the IsExpanded dependency property. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets an object that provides calculated values that can be referenced as TemplatedParent sources when defining templates for an Expander. - An instance of ExpanderTemplateSettings. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Provides data for the Expander.Collapsed" event. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Provides data for the Expander.Expanding" event. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Provides calculated values that can be referenced as TemplatedParent sources when defining templates for an Expander. Not intended for general use. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets the height of the Expander content. - The height of the Expander content. - - - ::: moniker range="winui-3.0-preview" -> [!CAUTION] -> This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions. -::: moniker-end - -Gets the height of the Expander content when the expand direction is negative. - The height of the Expander content when the expand direction is negative. - - - Represents an icon source that uses a glyph from the specified font. - - - Initializes a new instance of the FontIconSource class. - - - Gets or sets the font used to display the icon glyph. - The font used to display the icon glyph. The default is the font family defined by the SymbolThemeFontFamily theme resource (see Remarks). - - - Gets the identifier for the FontFamily dependency property. - The identifier for the FontFamily dependency property. - - - Gets or sets the size of the icon glyph. - A non-negative value that specifies the font size, measured in pixels. - - - Gets the identifier for the FontSize dependency property. - The identifier for the FontSize dependency property. - - - Gets or sets the font style for the icon glyph. - A named constant of the enumeration that specifies the style in which the icon glyph is rendered. The default is Normal. - - - Gets the identifier for the FontStyle dependency property. - The identifier for the FontStyle dependency property. - - - Gets or sets the thickness of the icon glyph. - A value that specifies the thickness of the icon glyph. The default is Normal. - - - Gets the identifier for the FontWeight dependency property. - The identifier for the FontWeight dependency property. - - - Gets or sets the character code that identifies the icon glyph. - The hexadecimal character code for the icon glyph. - - - Gets the identifier for the Glyph dependency property. - The identifier for the Glyph dependency property. - - - Gets or sets a value that indicates whether automatic text enlargement, to reflect the system text size setting, is enabled. - true if automatic text enlargement is enabled; otherwise, false. - - - Gets the identifier for the IsTextScaleFactorEnabled dependency property. - The identifier for the IsTextScaleFactorEnabled dependency property. - - - Gets or sets a value that indicates whether the icon is mirrored when its containing element's FlowDirection is RightToLeft. - true if the icon is mirrored when the FlowDirection; otherwise, false. The default is false. - - - Gets the identifier for the MirroredWhenRightToLeft dependency property. - The identifier for the MirroredWhenRightToLeft dependency property. - - - An animated Composition.Visual" that can be used by other objects, such as an AnimatedVisualPlayer or AnimatedIcon. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Gets the duration of the animated visual. - The size of the animated visual. - - - Gets the root Visual of the animated visual. - The root Visual of the animated visual. - - - Gets the size of the animated visual. - The size of the animated visual. - - - An animated Visual that can be used by other objects, such as an AnimatedVisualPlayer. - - - Attempts to create an instance of an animated visual. - The Compositor that will be used to create objects for the animated visual. - An optional object containing diagnostics information about the result. The type and contents of the object depend on the implementation of IAnimatedVisualSource. - An IAnimatedVisual, or null. - - - An animated Visual that can be used by other objects, such as an AnimatedIcon. - - - Sets a color for the animated visual. - The property name of the color as defined in the JSON file for the animated icon. - The color value for the propertyName. - - - Gets a collection that provides a mapping of marker names to playback positions in the animation. - The collection of marker names and values defined in the JSON file for the animated icon. - - - Represents the base class for an icon source. - - - - Gets or sets a brush that describes the foreground color. - The brush that paints the foreground of the control. The default is null, (a null brush) which is evaluated as Transparent for rendering. However, this value is typically set by a default system resource at runtime, which is tied to the active theme and other settings. - - - Identifies the Foreground dependency property. - The identifier for the Foreground dependency property. - - - When implemented by an IAnimatedVisualSource, indicates to the player that the current animated visual should be discarded. - - - Occurs when the animated visual previously provided by the IDynamicAnimatedVisualSource should be discarded. - - - Provides methods that support mapping between an item's unique identifier and index. - - - Retrieves the index of the item that has the specified unique identifier (key). - The unique identifier (key) of the item to find the index of. - The index of the item with the specified _key_. - - - Retrieves the unique identifier (key) for the item at the specified index. - The index of the item to get the key for. - The unique identifier (key) for the item at the specified _index_. - - - Represents an icon that uses an Image as its content. - - - Initializes a new instance of the ImageIcon class. - - - Gets or sets the URI of the image file to use as the icon. - The URI of the image file to use as the icon. The default is null. - - - Identifies the Source dependency property. - The identifier for the Source dependency property. - - - Represents an icon source that uses an image type as its content. The image types currently supported are .bmp, .gif, .jpg, .png, .wdp, and .tiff. - - - Initializes a new instance of the ImageIconSource class. - - - Gets or sets the URI of the image file to use as the icon source. - The URI of the image file to use as the icon source. The default is null. - - - Identifies the ImageSource dependency property. - The identifier for the ImageSource dependency property. - - - - - - - - - - - - - - - - - An InfoBar is an inline notification for essential app-wide messages. The InfoBar will take up space in a layout and will not cover up other content or float on top of it. It supports rich content (including titles, messages, icons, and buttons) and can be configured to be user-dismissable or persistent. - - - Occurs after the close button is clicked in the InfoBar. - - - Occurs after the InfoBar is closed. - - - Occurs just before the InfoBar begins to close. - - - Initializes a new instance of the InfoBar class. - - - Gets or sets the action button of the InfoBar. - The action button of the InfoBar. The default is null. - - - Identifies the ActionButton dependency property. - The identifier for the ActionButton dependency property. - - - Gets or sets the command to invoke when the close button is clicked in the InfoBar. - The command to invoke when the close button is clicked in the InfoBar. The default is null. - - - Gets or sets the parameter to pass to the command for the close button in the InfoBar. - The parameter to pass to the command for the close button in the InfoBar. The default is null. - - - Identifies the CloseButtonCommandParameter dependency property. - The identifier for the CloseButtonCommandParameter dependency property. - - - Identifies the CloseButtonCommand dependency property. - The identifier for the CloseButtonCommand dependency property. - - - Gets or sets the Style to apply to the close button in the InfoBar. - The Style to apply to the close button in the InfoBar. - - - Identifies the CloseButtonStyle dependency property. - The identifier for the CloseButtonStyle dependency property. - - - Gets or sets the XAML Content that is displayed below the title and message in the InfoBar. - - - Identifies the Content dependency property. - The identifier for the Content dependency property. - - - Gets or sets the data template for the InfoBar.Content". - The data template that is used to display the content of the InfoBar. - - - Identifies the ContentTemplate dependency property. - The identifier for the ContentTemplate dependency property. - - - Gets or sets the graphic content to appear alongside the title and message in the InfoBar. - The graphic content to appear alongside the title and message in the InfoBar. - - - Identifies the IconSource dependency property. - The identifier for the IconSource dependency property. - - - Gets or sets a value that indicates whether the user can close the InfoBar. - true if the user can close the InfoBar; otherwise, false. The default is true. - - - Identifies the IsClosable dependency property. - The identifier for the IsClosable dependency property. - - - Gets or sets a value that indicates whether the icon is visible in the InfoBar. - true if the icon is visible; otherwise, false. The default is true. - - - Identifies the IsIconVisible dependency property. - The identifier for the IsIconVisible dependency property. - - - Gets or sets a value that indicates whether the InfoBar is open. - true if the InfoBar is open; otherwise, false. The default is false. - - - Identifies the IsOpen dependency property. - The identifier for the IsOpen dependency property. - - - Gets or sets the message of the InfoBar. - The message of the InfoBar. The default is an empty string. - - - Identifies the Message dependency property. - The identifier for the Message dependency property. - - - Gets or sets the type of the InfoBar to apply consistent status color, icon, and assistive technology settings dependent on the criticality of the notification. - The style of the InfoBar that indicates the criticality of the notification. The default is Informational - - - Identifies the Severity dependency property. - The identifier for the Severity dependency property. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for an InfoBar. Not intended for general use. - An object that provides calculated values for templates. - - - Identifies the TemplateSettings dependency property. - The identifier for the TemplateSettings dependency property. - - - Gets or sets the title of the InfoBar. - The title of the InfoBar. The default is an empty string. - - - Identifies the Title dependency property. - The identifier for the Title dependency property. - - - Provides data for the InfoBar.Closed" event. - - - Gets a constant that specifies whether the cause of the Closed event was due to user interaction (Close button click) or programmatic closure. - - - Defines constants that indicate the cause of the InfoBar closure. - - - The InfoBar was closed by the user clicking the close button. - - - The InfoBar was programmatically closed. - - - Provides data for the InfoBar.Closing event. - - - Gets or sets a value that indicates whether the Closing event should be canceled in the InfoBar. - - - Gets a constant that specifies whether the cause of the Closing event was due to user interaction (Close button click) or programmatic closure. - - - Defines constants that indicate the criticality of the InfoBar that is shown. - - - Communicates that the InfoBar is displaying information regarding an error or problem that has occurred. For assistive technologies, they will follow the behavior set in the NotificationProcessing_ImportantAll constant. - - - Communicates that the InfoBar is displaying general information that requires the user's attention. For assistive technologies, they will follow the behavior set in the Processing_All constant. - - - Communicates that the InfoBar is displaying information regarding a long-running and/or background task that has completed successfully. For assistive technologies, they will follow the behavior set in the Processing_All constant. - - - Communicates that the InfoBar is displaying information regarding a condition that might cause a problem in the future. For assistive technologies, they will follow the behavior set in the NotificationProcessing_ImportantAll constant. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a InfoBar. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a InfoBar. - - - Gets the icon element. - - - Identifies the InfoBarTemplateSettings.IconElement" dependency property. - The identifier for the InfoBarTemplateSettings.IconElement" dependency property. - - - Represents a data-driven collection control that incorporates a flexible layout system, custom views, and virtualization, with no default UI or interaction policies. - - - Occurs each time an element is cleared and made available to be re-used. - - - Occurs for each realized UIElement when the index for the item it represents has changed. - - - Occurs each time an element is prepared for use. - - - Initializes a new instance of the ItemsRepeater class. - - - Retrieves the index of the item from the data source that corresponds to the specified UIElement. - The element that corresponds to the item to get the index of. - The index of the item from the data source that corresponds to the specified UIElement, or -1 if the element is not supported. - - - Retrieves the UIElement that corresponds to the item at the specified index in the data source. - The index of the item. - A UIElement that corresponds to the item at the specified index. If the item is not realized, a new UIElement is created. - - - Retrieves the realized UIElement that corresponds to the item at the specified index in the data source. - The index of the item. - The UIElement that corresponds to the item at the specified index if the item is realized, or null if the item is not realized. - - - Gets or sets a brush that provides the background of the control. - The brush that provides the background of the control. The default is null, (a null brush) which is evaluated as Transparent for rendering. - - - Identifies the Background dependency property. - The identifier for the Background dependency property. - - - Gets or sets a value that indicates the size of the buffer used to realize items when panning or scrolling horizontally. - A non-negative value that indicates the size of the buffer as a multiple of the viewport size. The default value is determined by the system. - - - Identifies the HorizontalCacheLength dependency property. - The identifier for the HorizontalCacheLength dependency property. - - - Gets or sets an object source used to generate the content of the ItemsRepeater. - The object that is used to generate the content of the ItemsRepeater. The default is null. - - - Identifies the ItemsSource dependency property. - The identifier for the ItemsSource dependency property. - - - Gets a standardized view of the supported interactions between a given ItemsSource object and the ItemsRepeater control and its associated components. - A standardized view of the supported interactions between an ItemsSource object and the ItemsRepeater. - - - Gets or sets the template used to display each item. - The template that specifies the visualization of the data objects. The default is null. - - - Identifies the ItemTemplate dependency property. - The identifier for the ItemTemplate dependency property. - - - Gets or sets the layout used to size and position elements in the ItemsRepeater. - The layout used to size and position elements. The default is a StackLayout with vertical orientation. - - - Identifies the Layout dependency property. - The identifier for the Layout dependency property. - - - Gets or sets a value that indicates the size of the buffer used to realize items when panning or scrolling vertically. - A non-negative value that indicates the size of the buffer as a multiple of the viewport size. The default value is determined by the system. - - - Identifies the VerticalCacheLength dependency property. - The identifier for the VerticalCacheLength dependency property. - - - Provides data for the ItemsRepeater.ElementClearing event. - - - Gets the element that is being cleared for re-use. - The element that is being cleared. - - - Provides data for the ItemsRepeater.ElementIndexChanged event. - - - Get the element for which the index changed. - The element for which the index changed. - - - Gets the index of the element after the change. - The index of the element after the change. - - - Gets the index of the element before the change. - The index of the element before the change. - - - Provides data for the ItemsRepeater.ElementPrepared event. - - - Gets the prepared element. - The prepared element. - - - Gets the index of the item the element was prepared for. - The index of the item the element was prepared for. - - - A helper to coordinate interaction between the ItemsRepeater and ScrollViewer. -Use the ItemsRepeaterScrollHost if your app will run on versions of Windows prior Windows 10 1809 (Build 17763). If your app will only run on versions of Windows 1809 or higher, there is no need to use this control. - - - Initializes a new instance of the ItemsRepeaterScrollHost class. - - - The currently chosen anchor element to use for scroll anchoring. - The most recently chosen UIElement for scroll anchoring after a layout pass, or null. - - - Determines the horizontal position of the ScrollViewer's _anchor point_ with respect to the viewport. By default, the ScrollViewer selects an element as its CurrentAnchor by identifying the element in its viewport nearest to the anchor point. - A normalized value (0.0 to 1.0). The default is 0.0. - - - Gets or sets the ScrollViewer to host. - A ScrollViewer that contains one or more ItemsRepeater controls. - - - Determines the vertical position of the ScrollViewer's _anchor point_ with respect to the viewport. By default, the ScrollViewer selects an element as its CurrentAnchor by identifying the element in its viewport nearest to the anchor point. - A normalized value (0.0 to 1.0). The default is 0.0. - - - Represents a standardized view of the supported interactions between a given ItemsSource object and an ItemsRepeater control. - - - Occurs when the collection has changed to indicate the reason for the change and which items changed. - - - Initializes a new instance of the ItemsSourceView class for the specified data source. - The data source for this view. - - - Retrieves the item at the specified index. - The index of the item to retrieve. - The item at the specified index. - - - Retrieves the index of the item that has the specified unique identifier (key). - The unique identifier (key) of the item to find the index of. - The index of the item with the specified _key_. - - - Retrieves the index of the specified item. - The object to find in the collection. - The index of the item to find, if found. - - - Retrieves the unique identifier (key) for the item at the specified index. - The index of the item to get the key for. - The unique identifier (key) for the item at the specified _index_. - - - Gets the number of items in the collection. - The number of items in the collection. - - - Gets a value that indicates whether the items source can provide a unique key for each item. - true if the items source can provide a unique key for each item; otherwise, false. - - - Represents the base class for an object that sizes and arranges child elements for a host. - - - Occurs when the arrange state (layout) has been invalidated. - - - Occurs when the measurement state (layout) has been invalidated. - - - Positions child elements and determines a size for a container UIElement. Container elements that support attached layouts should call this method from their layout override implementations to form a recursive layout update. - The context object that facilitates communication between the layout and its host container. - The final size that the container computes for the child in layout. - The actual size that is used after the element is arranged in layout. - - - Initializes any per-container state the layout requires when it is attached to a UIElement container. - The context object that facilitates communication between the layout and its host container. - - - Invalidates the arrange state (layout) for all UIElement containers that reference this layout. After the invalidation, the UIElement will have its layout updated, which occurs asynchronously. - - - Invalidates the measurement state (layout) for all UIElement containers that reference this layout. - - - Suggests a DesiredSize for a container element. A container element that supports attached layouts should call this method from their own MeasureOverride implementations to form a recursive layout update. The attached layout is expected to call the Measure for each of the container’s UIElement children. - The context object that facilitates communication between the layout and its host container. - The available space that a container can allocate to a child object. A child object can request a larger space than what is available; the provided size might be accommodated if scrolling or other resize behavior is possible in that particular container. - The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects or based on other considerations such as a fixed container size. - - - Removes any state the layout previously stored on the UIElement container. - The context object that facilitates communication between the layout and its host container. - - - Represents the base class for an object that facilitates communication between an attached layout and its host container. - - - Gets or sets an object that represents the state of a layout. - An object that represents the state of a layout. - - - Implements the behavior of LayoutState in a derived or custom LayoutContext. - The value that should be returned as LayoutState by the LayoutContext. - - - Represents a specialized container that presents a set of menus in a horizontal row, typically at the top of an app window. - - - Initializes a new instance of the MenuBar class. - - - Gets the collection of top-level menu items. - The collection of top-level menu items. - - - Identifies the Items dependency property. - The identifier for the Items dependency property. - - - Represents a top-level menu in a MenuBar control. - - - Initializes a new instance of the MenuBarItem class. - - - Gets the collection of commands in a MenuBar menu. - The collection of commands in a MenuBar menu. - - - Identifies the Items dependency property. - The identifier for the Items dependency property. - - - Gets or sets the text label for a MenuBar menu. - The text label for this menu. The default is an empty string. - - - Identifies the Title dependency property. - The identifier for the Title dependency property. - - - Represents the flyout of a MenuBarItem. - - - Initializes a new instance of the MenuBarItemFlyout class. - - - Represents a container that enables navigation of app content. It has a header, a view for the main content, and a menu pane for navigation commands. - - - Occurs when the back button receives an interaction such as a click or tap. - - - Occurs when a node in the tree is collapsed. - - - Occurs when the DisplayMode property changes. - - - Occurs when a node in the tree starts to expand. - - - Occurs when an item in the menu receives an interaction such a a click or tap. - - - Occurs when the NavigationView pane is closed. - - - Occurs when the NavigationView pane is closing. - - - Occurs when the NavigationView pane is opened. - - - Occurs when the NavigationView pane is opening. - - - Occurs when the currently selected item changes. - - - Initializes a new instance of the NavigationView class. - - - Collapses the specified node in the tree. - The node to be collapsed. - - - Returns the container corresponding to the specified menu item. - The menu item to retrieve the container for. - A container that corresponds to the specified menu item, if the item has a container and exists in the collection; otherwise, null. - - - Expands the specified node in the tree. - The node to be expanded. - - - Returns the item that corresponds to the specified, generated container. - The DependencyObject that corresponds to the item to be returned. - The contained item, or the container if it does not contain an item. - - - Gets or sets a value that indicates whether the header is always visible. - true if the header is always visible; otherwise, false. - - - Identifies the AlwaysShowHeader dependency property. - The identifier for the AlwaysShowHeader dependency property. - - - Gets or sets an AutoSuggestBox to be displayed in the NavigationView. - An AutoSuggestBox box to be displayed in the NavigationView. - - - Identifies the AutoSuggestBox dependency property. - The identifier for the AutoSuggestBox dependency property. - - - Gets or sets the minimum window width at which the NavigationView enters Compact display mode. - The minimum window width at which the NavigationView enters Compact display mode. The default is 641 pixels. - - - Identifies the CompactModeThresholdWidth dependency property. - The identifier for the CompactModeThresholdWidth dependency property. - - - Gets or sets the width of the NavigationView pane in its compact display mode. - The width of the pane in its compact display mode. The default is 48 device-independent pixel (DIP). - - - Identifies the CompactPaneLength dependency property. - The identifier for the CompactPaneLength dependency property. - - - Gets or sets a UI element that is shown at the top of the control, below the pane if PaneDisplayMode is Top. - The element that is shown at the top of the control. - - - Identifies the ContentOverlay dependency property. - The identifier for the ContentOverlay dependency property. - - - Gets a value that specifies how the pane and content areas of a NavigationView are being shown. - A value of the enumeration that specifies how the pane and content areas of a NavigationView are being shown. - - - Identifies the DisplayMode dependency property. - The identifier for the DisplayMode dependency property. - - - Gets or sets the minimum window width at which the NavigationView enters Expanded display mode. - The minimum window width at which the NavigationView enters Expanded display mode. The default is 1008 pixels. - - - Identifies the ExpandedModeThresholdWidth dependency property. - The identifier for the ExpandedModeThresholdWidth dependency property. - - - Gets the list of objects to be used as navigation items in the footer menu. - The collection of menu items displayed in the footer section of the NavigationView. The default is an empty collection. - - - Identifies the FooterMenuItems dependency property. - The identifier for the FooterMenuItems dependency property. - - - Gets or sets the object that represents the navigation items to be used in the footer menu. - The object that is used to generate the content of the NavigationView FooterMenuItems. The default is null. - - - Identifies the FooterMenuItemsSource dependency property. - The identifier for the FooterMenuItemsSource dependency property. - - - Gets or sets the header content. - The header content for the NavigationView. - - - Identifies the Header dependency property. - The identifier for the Header dependency property. - - - Gets or sets the DataTemplate used to display the control's header. - The DataTemplate used to display the control's header. - - - Identifies the HeaderTemplate dependency property. - The identifier for the HeaderTemplate dependency property. - - - Gets or sets a value that indicates whether the back button is visible or not. Default value is "Auto", which indicates that button visibility depends on the DisplayMode setting of the NavigationView. - A value of the enumeration that specifies the visibility of the NavigationView back button. The default is "Auto". - - - Identifies the IsBackButtonVisible dependency property. - The identifier for the IsBackButtonVisible dependency property. - - - Gets or sets a value that indicates whether the back button is enabled or disabled. - true if the back button is enabled; otherwise, false. The default is false. - - - Identifies the IsBackEnabled dependency property. - The identifier for the IsBackEnabled dependency property. - - - Gets or sets a value that specifies whether the NavigationView pane is expanded to its full width. - true if the pane is expanded to its full width; otherwise, false. - - - Identifies the IsPaneOpen dependency property. - The identifier for the IsPaneOpen dependency property. - - - Gets or sets a value that indicates whether the menu toggle button is shown. - true if the menu button is shown; otherwise, false. The default is true. - - - Identifies the IsPaneToggleButtonVisible dependency property. - The identifier for the IsPaneToggleButtonVisible dependency property. - - - Gets or sets a value that determines whether the pane is shown. - true is the pane is shown; otherwise, false. The default is true. - - - Identifies the IsPaneVisible dependency property. - The identifier for the IsPaneVisible dependency property. - - - Gets or sets a value that indicates whether the settings button is shown. - true if the settings button is shown; otherwise, false. The default is true. - - - Identifies the IsSettingsVisible dependency property. - The identifier for the IsSettingsVisible dependency property. - - - Gets or sets a value that indicates whether top padding is added to the navigation view's header when used with a custom title bar. - true if automatic padding is enabled; otherwise, false. The default is true. - - - Identifies the IsTitleBarAutoPaddingEnabled dependency property. - The identifier for the IsTitleBarAutoPaddingEnabled dependency property. - - - Gets or sets the style that is used when rendering the menu item containers. - The style applied to the item containers. The default is null. - - - Identifies the MenuItemContainerStyle dependency property. - The identifier for the MenuItemContainerStyle dependency property. - - - Gets or sets a reference to a custom StyleSelector values to use for the item container based on characteristics of the object being displayed. - A custom StyleSelector logic class. - - - Identifies the MenuItemContainerStyleSelector dependency property. - The identifier for the MenuItemContainerStyleSelector dependency property. - - - Gets the collection of menu items displayed in the NavigationView. - The collection of menu items displayed in the NavigationView. The default is an empty collection. - - - Identifies the MenuItems dependency property. - The identifier for the MenuItems dependency property. - - - Gets or sets an object source used to generate the content of the NavigationView menu. - The object that is used to generate the content of the NavigationView menu. The default is null. - - - Identifies the MenuItemsSource dependency property. - The identifier for the MenuItemsSource dependency property. - - - Gets or sets the DataTemplate used to display each menu item. - The template that specifies the visualization of the menu data objects. The default is null. - - - Identifies the MenuItemTemplate dependency property. - The identifier for the MenuItemTemplate dependency property. - - - Gets or sets a reference to a custom DataTemplateSelector referenced by this property returns a template to apply to items. - A reference to a custom DataTemplateSelector logic class. - - - Identifies the MenuItemTemplateSelector dependency property. - The identifier for the MenuItemTemplateSelector dependency property. - - - Gets or sets the width of the NavigationView pane when it's fully expanded. - The width of the NavigationView pane when it's fully expanded. The default is 320 device-independent pixel (DIP). - - - Identifies the OpenPaneLength dependency property. - The identifier for the OpenPaneLength dependency property. - - - Gets or sets a value that indicates what text label is shown for the overflow menu. - A value of the enumeration that indicates what text label is shown for the overflow menu. The default is MoreLabel, which shows the text "More". - - - Identifies the OverflowLabelMode dependency property. - The identifier for the OverflowLabelMode dependency property. - - - Gets or sets a UI element that is shown in the NavigationView pane. - The element that is shown in the NavigationView pane. - - - Identifies the PaneCustomContent dependency property. - The identifier for the PaneCustomContent dependency property. - - - Gets or sets a value that indicates how and where the NavigationView pane is shown. - A value of the enumeration that indicates how and where the NavigationView pane is shown. The default is Auto. - - - Identifies the PaneDisplayMode dependency property. - The identifier for the PaneDisplayMode dependency property. - - - Gets or sets the content for the pane footer. - The content of the pane footer. The default is null. - - - Identifies the PaneFooter dependency property. - The identifier for the PaneFooter dependency property. - - - Gets or sets the content for the pane header. - The content of the pane header. The default is null. - - - Identifies the PaneHeader dependency property. - The identifier for the PaneHeader dependency property. - - - Gets or sets the label adjacent to the menu icon when the NavigationView pane is open. - The label adjacent to the menu icon when the pane is open. The default is an empty string. - - - Identifies the PaneTitle dependency property. - The identifier for the PaneTitle dependency property. - - - Gets or sets the Style that defines the look of the menu toggle button. - The Style that defines the look of the menu toggle button. The default is null. - - - Identifies the PaneToggleButtonStyle dependency property. - The identifier for the PaneToggleButtonStyle dependency property. - - - Gets or sets the selected item. - The selected item. The default is null. - - - Identifies the SelectedItem dependency property. - The identifier for the SelectedItem dependency property. - - - Gets or sets a value that indicates whether item selection changes when keyboard focus changes. - A value of the enumeration that indicates whether selection changes when keyboard focus changes. The default is Disabled. - - - Identifies the SelectionFollowsFocus dependency property. - The identifier for the SelectionFollowsFocus dependency property. - - - Gets the navigation item that represents the entry point to app settings. - The item that represents the entry point to app settings. - - - Identifies the SettingsItem dependency property. - The identifier for the SettingsItem dependency property. - - - Gets or sets a value that indicates when gamepad bumpers can be used to navigate the top-level navigation items in a NavigationView. - A value of the enumeration that indicates when gamepad bumpers can be used to navigate the top-level navigation items in a NavigationView. The default is Never. - - - Identifies the ShoulderNavigationEnabled dependency property. - The identifier for the ShoulderNavigationEnabled dependency property. - - - Gets an object that provides calculated values that can be referenced as TemplateBinding sources when defining templates for a NavigationView control. - An object that provides calculated values for templates. - - - Identifies the TemplateSettings dependency property. - The identifier for the TemplateSettings dependency property. - - - Defines constants that specify whether the back button is visible in NavigationView. - - - The system chooses whether or not to display the back button, depending on the device/form factor. On phones, tablets, desktops, and hubs, the back button is visible. On Xbox/TV, the back button is collapsed. - - - Do not display the back button in NavigationView, and do not reserve space for it in layout. - - - Display the back button in NavigationView. - - - Provides event data for the NavigationView.BackRequested" event. - - - Defines constants that specify how the pane is shown in a NavigationView. - - - The pane always shows as a narrow sliver which can be opened to full width. - - - The pane stays open alongside the content. - - - Only the menu button remains fixed. The pane shows and hides as needed. - - - Provides data for the NavigationView.DisplayModeChanged" event. - - - Gets the new display mode. - The new display mode. - - - Represents the container for an item in a NavigationView control. - - - Initializes a new instance of the NavigationViewItem class. - - - Gets the CompactPaneLength of the NavigationView that hosts this item. - The CompactPaneLength of the NavigationView that hosts this item. - - - Identifies the CompactPaneLength dependency property. - The identifier for the CompactPaneLength dependency property. - - - Gets or sets a value that indicates whether the current item has child items that haven't been shown. - true if the tree node is expanded; otherwise, false. The default value is false. - -This property is analogous to the TreeViewItem.HasUnrealizedChildren property. - - - Identifies the HasUnrealizedChildren dependency property. - The identifier for the HasUnrealizedChildren dependency property. - - - Gets or sets the icon to show next to the menu item text. - The icon to show next to the menu item text. The default is null. - - - Identifies the Icon dependency property. - The identifier for the Icon dependency property. - - - Gets or sets the value that indicates whether or not descendant item is selected. - true if descendant item is currently selected, otherwise false. The default value is false. - - - Identifies the IsChildSelected dependency property. - The identifier for the IsChildSelected dependency property. - - - Gets or sets a value that indicates whether a tree node is expanded. Ignored if there are no menu items. - true if the tree node is expanded; otherwise, false. The default value is false. - - - Identifies the IsExpanded dependency property. - The identifier for the IsExpanded dependency property. - - - Gets the collection of menu items displayed as children of the NavigationViewItem. - The collection of menu items displayed as children of the NavigationViewItem. - - - Identifies the MenuItems dependency property. - The identifier for the MenuItems dependency property. - - - Gets or sets an object source used to generate the children of the NavigationViewItem. - The object source that holds the children of the NavigationViewItem. - - - Identifies the MenuItemsSource dependency property. - The identifier for the MenuItemsSource dependency property. - - - Gets or sets a value that indicates whether invoking a navigation menu item also selects it. - true if invoking a navigation menu item also selects it; otherwise, false. The default is true. - - - Identifies the SelectsOnInvoked dependency property. - The identifier for the SelectsOnInvoked dependency property. - - - Base class for NavigationView menu items. - - - Gets or sets the value that indicates whether a NavigationViewItem is selected. - true if item is currently selected, false otherwise. - - - Identifies the IsSelected dependency property. - The identifier for the IsChildSelected dependency property. - - - Provides event data for the NavigationViewItem.Collapsed" event. - - - Gets the object that has been collapsed after the NavigationViewItem.Collapsed event. - The object that has been collapsed. - - - Gets the container of the object that was collapsed in the NavigationViewItem.Collapsed event. - The container of the collapsed object. - - - Provides event data for the NavigationViewItem.Expanding" event. - - - Gets the object that is expanding after the NavigationViewItem.Expanding event. - The expanding object. - - - Gets the container of the expanding item after a NavigationViewItem.Expanding event. - The container of the expanding item. - - - Represents a header for a group of menu items in a NavigationView. - - - Initializes a new instance of the NavigationViewItemHeader class. - - - Provides event data for the NavigationView.ItemInvoked" event. - - - Initializes a new instance of the NavigationViewItemInvokedEventArgs class. - - - Gets a reference to the invoked item. - The invoked item. - - - Gets the container for the invoked item. - The container for the invoked item. - - - Gets a value that indicates whether the InvokedItem is the menu item for Settings. - true if the InvokedItem is the menu item for Settings; otherwise, false. - - - Gets the navigation transition recommended for the direction of the navigation. - The navigation transition recommended for the direction of the navigation. - - - Represents a line that separates menu items in a NavigationView. - - - Initializes a new instance of the NavigationViewItemSeparator class. - - - Defines constants that specify the label for the overflow button in a NavigationView. - - - The text label "More" is shown next to the chevron. - - - No text label is shown, only a chevron. - - - Provides data for the NavigationView.PaneClosing" event. - - - Gets or sets a value that indicates whether the event should be canceled. - true to cancel the event; otherwise, false. The default is false. - - - Defines constants that specify how and where the NavigationView pane is shown. - - - The pane is shown on the left side of the control, and changes between minimal, compact, and full states depending on the width of the window. - - - The pane is shown on the left side of the control in its fully open state. - - - The pane is shown on the left side of the control. Only the pane icons are shown by default. - - - The pane is shown on the left side of the control. Only the pane menu button is shown by default. - - - The pane is shown at the top of the control. - - - Provides data for the NavigationView.SelectionChanged" event. - - - Gets a value that indicates whether the SelectedItem is the menu item for Settings. - true if the SelectedItem is the menu item for Settings; otherwise, false. - - - Gets the navigation transition recommended for the direction of the navigation. - The navigation transition recommended for the direction of the navigation. - - - Gets the newly selected menu item. - The newly selected menu item. - - - Gets the container for the selected item. - The container for the selected item. - - - Defines constants that specify whether item selection changes when keyboard focus changes in a NavigationView. - - - Selection does not change when keyboard focus changes. - - - Selection changes when keyboard focus changes. - - - Defines constants that specify when gamepad bumpers can be used to navigate the top-level navigation items in a NavigationView. - - - Gamepad bumpers always navigate the top-level navigation items. - - - Gamepad bumpers never navigate the top-level navigation items. - - - Gamepad bumpers navigate the top-level navigation items when the SelectionFollowsFocus property is Enabled. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a NavigationView. Not intended for general use. - - - Initializes a new instance of the NavigationViewTemplateSettings class. - - - Gets the visibility of the back button. - The visibility of the back button. - - - Identifies the BackButtonVisibility dependency property. - The identifier for the BackButtonVisibility dependency property. - - - Gets the visibility of the left pane. - The visibility of the left pane. - - - Identifies the LeftPaneVisibility dependency property. - The identifier for the LeftPaneVisibility dependency property. - - - Gets the visibility of the overflow button. - The visibility of the overflow button. - - - Identifies the OverflowButtonVisibility dependency property. - The identifier for the OverflowButtonVisibility dependency property. - - - Gets the visibility of the pane toggle button. - The visibility of the pane toggle button. - - - Identifies the PaneToggleButtonVisibility dependency property. - The identifier for the PaneToggleButtonVisibility dependency property. - - - - - Gets the SelectionFollowsFocus value. - The SelectionFollowsFocus value. - - - Identifies the SingleSelectionFollowsFocus dependency property. - The identifier for the SingleSelectionFollowsFocus dependency property. - - - - - Gets the padding value of the top pane. - The padding value of the top pane. - - - Identifies the TopPadding dependency property. - The identifier for the TopPadding dependency property. - - - Gets the visibility of the top pane. - The visibility of the top pane. - - - Identifies the TopPaneVisibility dependency property. - The identifier for the TopPaneVisibility dependency property. - - - Represents the base class for an object that sizes and arranges child elements for a host and and does not support virtualization. - - - Initializes a new instance of the NonVirtualizingLayout class. - - - When implemented in a derived class, provides the behavior for the "Arrange" pass of layout. Classes can override this method to define their own "Arrange" pass behavior. - The context object that facilitates communication between the layout and its host container. - The final area within the container that this object should use to arrange itself and its children. - The actual size that is used after the element is arranged in layout. - - - When overridden in a derived class, initializes any per-container state the layout requires when it is attached to a UIElement container. - The context object that facilitates communication between the layout and its host container. - - - Provides the behavior for the "Measure" pass of the layout cycle. Classes can override this method to define their own "Measure" pass behavior. - The context object that facilitates communication between the layout and its host container. - The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available. - The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects or based on other considerations such as a fixed container size. - - - When overridden in a derived class, removes any state the layout previously stored on the UIElement container. - The context object that facilitates communication between the layout and its host container. - - - Represents the base class for layout context types that do not support virtualization. - - - Initializes a new instance of the NonVirtualizingLayoutContext class. - - - Gets the collection of child UIElements from the container that provides the context. - The collection of child elements from the container that provides the context. - - - Implements the behavior for getting the return value of Children in a derived or custom NonVirtualizingLayoutContext. - The value that should be returned as Children by the NonVirtualizingLayoutContext. - - - Represents a control that can be used to display and edit numbers. - - - Occurs after the user triggers evaluation of new input by pressing the Enter key, clicking a spin button, or by changing focus. - - - Initializes a new instance of the NumberBox class. - - - Toggles whether the control will accept and evaluate a basic formulaic expression entered as input. - - - Identifies the AcceptsExpression dependency property. - The identifier for the AcceptsExpression dependency property. - - - Gets or sets content that is shown below the control. The content should provide guidance about the input expected by the control. - - - Identifies the Description dependency property. - The identifier for the Description dependency property. - - - Gets or sets the content for the control's header. - - - Identifies the Header dependency property. - The identifier for the Header dependency property. - - - Gets or sets the DataTemplate used to display the content of the control's header. - - - Identifies the HeaderTemplate dependency property. - The identifier for the HeaderTemplate dependency property. - - - Toggles whether line breaking occurs if a line of text extends beyond the available width of the control. - - - Identifies the IsWrapEnabled dependency property. - The identifier for the IsWrapEnabled dependency property. - - - Gets or sets the value that is added to or subtracted from Value when a large change is made, such as with the PageUP and PageDown keys. - - - Identifies the LargeChange dependency property. - The identifier for the LargeChange dependency property. - - - Gets or sets the numerical maximum for Value. - - - Identifies the Maximum dependency property. - The identifier for the Maximum dependency property. - - - Gets or sets the numerical minimum for Value. - - - Identifies the Minimum dependency property. - The identifier for the Minimum dependency property. - - - Gets or sets the object used to specify the formatting of Value. - - - Identifies the NumberFormatter dependency property. - The identifier for the NumberFormatter dependency property. - - - Gets or sets the text that is displayed in the control until the value is changed by a user action or some other operation. - - - Identifies the PlaceholderText dependency property. - The identifier for the PlaceholderText dependency property. - - - Gets or sets a value that indicates whether the on-screen keyboard is shown when the control receives focus programmatically. - - - Identifies the PreventKeyboardDisplayOnProgrammaticFocus dependency property. - The identifier for the PreventKeyboardDisplayOnProgrammaticFocus dependency property. - - - Gets or sets the flyout that is shown when text is selected, or null if no flyout is shown. - - - Identifies the SelectionFlyout dependency property. - The identifier for the SelectionFlyout dependency property. - - - - Identifies the SelectionHighlightColor dependency property. - The identifier for the SelectionHighlightColor dependency property. - - - Gets or sets the value that is added to or subtracted from Value when a small change is made, such as with an arrow key or scrolling. - - - Identifies the SmallChange dependency property. - The identifier for the SmallChange dependency property. - - - Gets or sets a value that indicates the placement of buttons used to increment or decrement the Value property. - - - Identifies the SpinButtonPlacementMode dependency property. - The identifier for the SpinButtonPlacementMode dependency property. - - - Gets or sets the string type representation of the Value property. - - - Identifies the Text dependency property. - The identifier for the Text dependency property. - - - Gets or sets a value that indicates how the reading order is determined for the NumberBox. - - - Identifies the TextReadingOrder dependency property. - The identifier for the TextReadingOrder dependency property. - - - Gets or sets the input validation behavior to invoke when invalid input is entered. - - - Identifies the ValidationMode dependency property. - The identifier for the ValidationMode dependency property. - - - Gets or sets the numeric value of a NumberBox. - - - Identifies the Value dependency property. - The identifier for the Value dependency property. - - - Defines values that specify how the spin buttons used to increment or decrement the Value of a NumberBox are displayed. - - - The spin buttons have two visual states, depending on focus. By default, the spin buttons are displayed in a compact, vertical orientation. When the Numberbox gets focus, the spin buttons expand. - -:::image type="content" source="images/controls/numberbox-spinbuttonplacementmode-compact.png" alt-text="NumberBox showing both visual states for Compact spin buttons"::: - - - The spin buttons are not displayed. - - - The spin buttons are displayed in an expanded, horizontal orientation. - -:::image type="content" source="images/controls/numberbox-spinbuttonplacementmode-inline.png" alt-text="NumberBox with Inline spin buttons"::: - - - Defines values that specify the input validation behavior of a NumberBox when invalid input is entered. - - - Input validation is disabled - - - Invalid input is replaced by NumberBox.PlaceholderText" text. - - - Provides event data for the NumberBox.ValueChanged" event. - - - Contains the new Value to be set for a NumberBox. - - - Contains the old Value being replaced in a NumberBox. - - - Defines constants that specify how the source offset values of a ParallaxView are interpreted. - - - The source start/end offset value is interpreted as an absolute value. - - - The source start/end offset value is added to the auto-computed source offset. - - - Represents a container that associates the scroll position of a foreground element, such as a list, with a background element, such as an image. A 3D effect is created from each element having a different scrolling rate. - - - Initializes a new instance of the ParallaxView class. - - - Forces the automatically computed horizontal offsets to be recomputed. - - - Forces the automatically computed vertical offsets to be recomputed. - - - Gets or sets the background content of the ParallaxView. - The background content of the ParallaxView, typically an image. The default is null. - - - Identifies the Child dependency property. - The identifier for the Child dependency property. - - - Represents the horizontal range of motion of the child element. - The horizontal range of motion. The default is 0. - - - Identifies the HorizontalShift dependency property. - The identifier for the HorizontalShift dependency property. - - - Represents the horizontal scroll offset at which the parallax motion ends. - The horizontal scroll offset at which parallax motion ends. The default is 0. - - - Identifies the HorizontalSourceEndOffset dependency property. - The identifier for the HorizontalSourceEndOffset dependency property. - - - Gets or sets a value that determines how the horizontal source offset values of a ParallaxView are interpreted. - A value of the enumeration that determines how the horizontal source offset values of a ParallaxView are interpreted. - - - Identifies the HorizontalSourceOffsetKind dependency property. - The identifier for the HorizontalSourceOffsetKind dependency property. - - - Represents the horizontal scroll offset at which parallax motion starts. - The horizontal scroll offset at which parallax motion starts. The default is 0. - - - Identifies the HorizontalSourceStartOffset dependency property. - The identifier for the HorizontalSourceStartOffset dependency property. - - - Gets or sets a value that indicates whether the horizontal parallax ratio is clampled to a specified percentage of the source scroll velocity. - true if the parallax ratio is clampled to a specified percentage of the source scroll velocity; otherwise, false. The default is true. - - - Identifies the IsHorizontalShiftClamped dependency property. - The identifier for the IsHorizontalShiftClamped dependency property. - - - Gets or sets a value that indicates whether the vertical parallax ratio is clampled to a specified percentage of the source scroll velocity. - true if the parallax ratio is clampled to a specified percentage of the source scroll velocity; otherwise, false. The default is true. - - - Identifies the IsVerticalShiftClamped dependency property. - The identifier for the IsVerticalShiftClamped dependency property. - - - Clamps the horizontal parallax ratio to the specified percentage of the source scroll velocity. - The maximum percentage of the source scroll velocity. The default is 1.0. - - - Identifies the MaxHorizontalShiftRatio dependency property. - The identifier for the MaxHorizontalShiftRatio dependency property. - - - Clamps the vertical parallax ratio to the specified percentage of the source scroll velocity. - The maximum percentage of the source scroll velocity. The default is 1.0. - - - Identifies the MaxVerticalShiftRatio dependency property. - The identifier for the MaxVerticalShiftRatio dependency property. - - - The element that either is or contains the ScrollViewer that controls the parallax operation. - - - Identifies the Source dependency property. - The identifier for the Source dependency property. - - - Represents the vertical range of motion of the child element. - The vertical range of motion. The default is 0. - - - Identifies the VerticalShift dependency property. - The identifier for the VerticalShift dependency property. - - - Represents the vertical scroll offset at which the parallax motion ends. - The vertical scroll offset at which parallax motion ends. The default is 0. - - - Identifies the VerticalSourceEndOffset dependency property. - The identifier for the VerticalSourceEndOffset dependency property. - - - Gets or sets a value that determines how the vertical source offset values of a ParallaxView are interpreted. - A value of the enumeration that determines how the vertical source offset values of a ParallaxView are interpreted. - - - Identifies the VerticalSourceOffsetKind dependency property. - The identifier for the VerticalSourceOffsetKind dependency property. - - - Represents the vertical scroll offset at which parallax motion starts. - The vertical scroll offset at which parallax motion starts. The default is 0. - - - Identifies the VerticalSourceStartOffset dependency property. - The identifier for the VerticalSourceStartOffset dependency property. - - - Represents an icon source that uses a vector path as its content. - - - Initializes a new instance of the PathIconSource class. - - - Gets or sets a Geometry. - A description of the shape to be drawn. - - - Identifies the Data dependency property. - The identifier for the Data dependency property. - - - Represents a control that displays the avatar image for a person, if one is available; if not, it displays the person's initials or a generic glyph. - - - Initializes a new instance of the PersonPicture class. - - - Gets or sets a Segoe MDL2 Assets font glyph to display on the badge. - The hexadecimal character code for the badge glyph. - - - Identifies the BadgeGlyph dependency property. - The identifier for the BadgeGlyph dependency property. - - - Gets or sets the source of an image to display on the badge. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the BadgeImageSource dependency property. - The identifier for the BadgeImageSource dependency property. - - - Gets or sets the contact number to display on the badge. - The contact number to display on the badge. - - - Identifies the BadgeNumber dependency property. - The identifier for the BadgeNumber dependency property. - - - Gets or sets the contact text to display on the badge. - The contact text to display on the badge. - - - Identifies the BadgeText dependency property. - The identifier for the BadgeText dependency property. - - - Gets or sets a Contact object that contains information about the person. - A Contact object that contains information about the person. - - - Identifies the Contact dependency property. - The identifier for the Contact dependency property. - - - Gets or sets the contact's display name. - The contact's display name. - - - Identifies the DisplayName dependency property. - The identifier for the DisplayName dependency property. - - - Gets or sets the contact's initials. - The contact's initials. - - - Identifies the Initials dependency property. - The identifier for the Initials dependency property. - - - Gets or sets a value that indicates whether the PersonPicture represents a group or an individual. - true if the PersonPicture represents a group; otherwise, false. - - - Identifies the IsGroup dependency property. - The identifier for the IsGroup dependency property. - - - Gets or sets a value that indicates whether a small image is displayed rather than a large image when both are available. - true to display a small image even when a large image is available; otherwise, false. The default is false. - - - Identifies the PreferSmallImage dependency property. - The identifier for the PreferSmallImage dependency property. - - - Gets or sets the source of the contact's profile picture. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the ProfilePicture dependency property. - The identifier for the ProfilePicture dependency property. - - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a PersonPicture control. Not intended for general use. - - - Gets the image brush used on the control. - The image brush used on the control. - - - Gets the contact's initials. - The contact's initials. - - - Represents a control that enables navigation within linearly paginated content using a configurable collection of glyphs, each of which represents a single "page" within a limitless range. - - - Occurs after the selected index changes on the PipsPager. - - - Initializes a new instance of the PipsPager class. - - - The maximum number of pips shown in the PipsPager at one time. - The maximum number of pips shown in the PipsPager at one time. The default value is 5. - -When possible, the PipsPager always centers itself on the selected pip. - -MaxVisiblePips should be set to a positive number. If set to 0, no pages will be visible to the user. - - - Identifies the MaxVisiblePips dependency property. - The identifier for the MaxVisiblePips dependency property. - - - Gets or sets the style to apply to the Next button. - The style to apply to the Next button. - - - Identifies the NextButtonStyle dependency property. - The identifier for the NextButtonStyle dependency property. - - - Gets or sets the display state of the Next button. - The display state of the Previous button. The default value is 'Collapsed'. - - - Identifies the NextButtonVisibility dependency property. - The identifier for the NextButtonVisibility dependency property. - - - Gets or sets the style for the default, unselected pips in the PipsPager. - The style for the default, unselected pips in the PipsPager. - - - Identifies the NormalPipStyle dependency property. - The identifier for the NormalPipStyle dependency property. - - - Gets or sets the maximum number of pages supported by the PipsPager. - The maximum number of pages supported by the PipsPager. The default is -1 (infinite). - - - Identifies the NumberOfPages dependency property. - The identifier for the NormalPipStyle dependency property. - - - Gets or sets the orientation of the pips and navigation buttons in the PipsPager. - The orientation of the pips and navigation buttons in the PipsPager. The default is Horizontal. - - - Identifies the Orientation dependency property. - The identifier for the Orientation dependency property. - - - Gets or sets the style to apply to the Previous button. - The style to apply to the Previous button. - - - Identifies the PreviousButtonStyle dependency property. - The identifier for the PreviousButtonStyle dependency property. - - - Gets or sets the display state of the Previous button. - The display state of the Previous button. The default value is 'Collapsed'. - - - Identifies the PreviousButtonVisibility dependency property. - The identifier for the PreviousButtonVisibility dependency property. - - - Gets or sets the 0 based index of the currently selected pip in the PipsPager. A pip is always selected. - The 0 based index of the currently selected pip in the PipsPager. The default value is 0. - - - Identifies the SelectedPageIndex dependency property. - The identifier for the SelectedPageIndex dependency property. - - - Gets or sets the style to apply to the selected pip in the PipsPager. - The style to apply to the selected pip in the PipsPager. - - - Identifies the SelectedPipStyle dependency property. - The identifier for the SelectedPipStyle dependency property. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a PipsPager. Not intended for general use. - An object that provides calculated values for templates. - - - Defines constants that specify how the navigation buttons of the PipsPager are displayed. - - - The button is not visible and does not take up layout space. - - - The navigation button is visible and enabled, but hidden when content is at one or the other extent. For example, the Previous button is hidden when the current page is the first page, and the Next button is hidden when the current page is the last page. - - - The button behavior is the same as Visible except the button is visible only when the pointer cursor is over the pager, or keyboard focus is inside the pager or on a navigation button. - - - Provides data for the PipsPager.SelectedIndexChanged" event. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a PipsPager. - - - Gets or sets the list of integers to represent the pips in the PipsPager. - - - - Gets whether the interior corners of the AutoSuggestBox control are square. - The AutoSuggestBox control. - True, if the corners are square. Otherwise, false. - - - Sets whether the interior corners of the AutoSuggestBox control are square. - The AutoSuggestBox control. - True, if the corners are square. Otherwise, false. - - - Identifies the KeepInteriorCornersSquare dependency property. Not implemented. - The identifier for the KeepInteriorCornersSquare dependency property. - - - Represents a slider in a ColorPicker control. - - - Initializes a new instance of the ColorPickerSlider class. - - - Gets or sets a value that indicates which color channel the slider modifies. - A value of the enumeration that indicates which color channel the slider modifies. - - - Identifies the ColorChannel dependency property. - The identifier for the ColorChannel dependency property. - - - Represents a control that lets a user choose a color from a visual spectrum. - - - Occurs when the Color property has changed. - - - Initializes a new instance of the ColorSpectrum class. - - - Gets or sets the current color value. - The current color value. - - - Identifies the Color dependency property. - The identifier for the Color dependency property. - - - Gets or sets a value that indicates how the Hue-Saturation-Value (HSV) color components are mapped onto the ColorSpectrum. - A value of the enumeration. The default is HueSaturation. - - - Identifies the Components dependency property. - The identifier for the Components dependency property. - - - Gets or sets the current color value as a Vector4. - The current HSV color value. - - - Identifies the HsvColor dependency property. - The identifier for the HsvColor dependency property. - - - Gets or sets the maximum Hue value in the range 0-359. - The maximum Hue value in the range 0-359. The default is 359. - - - Identifies the MaxHue dependency property. - The identifier for the MaxHue dependency property. - - - Gets or sets the maximum Saturation value in the range 0-100. - The maximum Saturation value in the range 0-100. The default is 100. - - - Identifies the MaxSaturation dependency property. - The identifier for the MaxSaturation dependency property. - - - Gets or sets the maximum Value value in the range 0-100. - The maximum Value value in the range 0-100. The default is 100. - - - Identifies the MaxValue dependency property. - The identifier for the MaxValue dependency property. - - - Gets or sets the minimum Hue value in the range 0-359. - The minimum Hue value in the range 0-359. The default is 0. - - - Identifies the MinHue dependency property. - The identifier for the MinHue dependency property. - - - Gets or sets the minimum Saturation value in the range 0-100. - The minimum Saturation value in the range 0-100. The default is 100. - - - Identifies the MinSaturation dependency property. - The identifier for the MinSaturation dependency property. - - - Gets or sets the minimum Value value in the range 0-100. - The minimum Value value in the range 0-100. The default is 100. - - - Identifies the MinValue dependency property. - The identifier for the MinValue dependency property. - - - Gets or sets a value that indicates whether the ColorSpectrum is shown as a square or a circle. - A value of the enumeration. The default is Box, which shows the spectrum as a square. - - - Identifies the Shape dependency property. - The identifier for the Shape dependency property. - - - - Initializes a new instance of the ColumnMajorUniformToLargestGridLayout class. - - - - Identifies the ColumnSpacing dependency property. - The identifier for the ColumnSpacing dependency property. - - - - Identifies the MaxColumns dependency property. - The identifier for the MaxColumns dependency property. - - - - The identifier for the RowSpacing dependency property. - - - Provides ComboBox helper methods for the XAML compiler. - - - Gets whether the interior corners of the ComboBox control are square. - The ComboBox control. - True, if the corners are square. Otherwise, false. - - - Sets whether the interior corners of the ComboBox control are square. - The ComboBox control. - True, if the corners are square. Otherwise, false. - - - - Identifies the KeepInteriorCornersSquare dependency property. Not implemented. - The identifier for the KeepInteriorCornersSquare dependency property. - - - Represents a specialized command bar used in a CommandBarFlyout. - - - Initializes a new instance of the CommandBarFlyoutCommandBar class. - - - Gets an object that provides calculated values that can be referenced as {TemplateBinding} markup extension sources when defining templates for a CommandBarFlyoutCommandBar control. - An object that provides calculated values for templates. - - - - - - - - - - - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a CommandBarFlyout control. Not intended for general use. - - - Gets the end position for the close animation. - The end position for the animation. - - - Gets the rectangle used to clip the content. - The rectangle used to clip the content. - - - Gets the current width of the control. - The current width of the control. - - - Gets the end position for the expand down animation. - The end position for the animation. - - - Gets the hold position for the expand down animation. - The hold position for the animation. - - - Gets the start position for the expand down animation. - The start position for the animation. - - - Gets the vertical position of the overflow when expanded down. - The vertical position of the overflow when expanded down. - - - Gets the width of the control when expanded. - The width of the control when expanded. - - - Gets the end position for the expand up animation. - The end position for the animation. - - - Gets the hold position for the expand up animation. - The hold position for the animation. - - - Gets the start position for the expand up animation. - The start position for the animation. - - - Gets the vertical position of the overflow when expanded up. - The vertical position of the overflow when expanded up. - - - Gets the end position for the open animation. - The end position for the animation. - - - Gets the start position for the open animation. - The start position for the animation. - - - Gets the rectangle used to clip the overflow content. - The rectangle used to clip the overflow content. - - - Gets the end position for the width expansion animation. - The end position for the animation. - - - Gets the start position for the width expansion animation. - The start position for the animation. - - - Gets the amount of change for the width expansion. - The amount of change for the width expansion. - - - Gets the end position for the "more" button width expansion animation. - The end position for the animation. - - - Gets the start position for the "more" button width expansion animation. - The start position for the animation. - - - Converts an existing CornerRadius struct to a new CornerRadius struct, with filters applied to extract only the specified fields, leaving the others set to 0. - - - Initializes a new instance of the CornerRadiusFilterConverter class. - - - Converts the source CornerRadius by extracting only the fields specified by the Filter and leaving others set to 0. - The source CornerRadius being passed to the target. - The type of the target property. Part of the IValueConverter.Convert interface method, but not used. - An optional parameter to be used in the converter logic. Part of the IValueConverter.Convert interface method, but not used. - The language of the conversion. Part of the IValueConverter.Convert interface method, but not used. - The converted CornerRadius/double value to be passed to the target dependency property. - - - Not implemented. - The target data being passed to the source. - The type of the target property. - An optional parameter to be used in the converter logic. - The language of the conversion. - The value to be passed to the source object. - - - Gets or sets the type of the filter applied to the CornerRadiusFilterConverter. - An enumeration value that specifies the filter type for a CornerRadiusFilterConverter. - - - Identifies the Filter dependency property. - The identifier for the Filter dependency property. - - - Gets or sets the scale multiplier applied to the CornerRadiusFilterConverter. - A double value that specifies the scale for the CornerRadiusFilterConverter. - - - Identifies the Scale dependency property. - The identifier for the Scale dependency property. - - - Defines constants that specify the filter type for a CornerRadiusFilterConverter instance. - - - Filters BottomLeft and BottomRight values, sets TopLeft and TopRight to 0. - - - Gets the double value of BottomRight corner. - - - Filters TopLeft and BottomLeft values, sets TopRight and BottomRight to 0. - - - No filter applied. - - - Filters TopRight and BottomRight values, sets TopLeft and BottomLeft to 0. - - - Filters TopLeft and TopRight values, sets BottomLeft and BottomRight to 0. - - - Gets the double value of TopLeft corner. - - - Converts a CornerRadius to Thickness and also applies filters to extract only the specified fields, leaving the others set to 0. - - - Initializes a new instance of the CornerRadiusToThicknessConverter class. - - - Converts a CornerRadius value to a Thickness. - The source CornerRadius being passed to the target. - The type of the target property. Part of the IValueConverter.Convert interface method, but not used. - An optional parameter to be used in the converter logic. Part of the IValueConverter.Convert interface method, but not used. - The language of the conversion. Part of the IValueConverter.Convert interface method, but not used. - The converted Thickness value to be passed to the target dependency property. - - - Not implemented. - The target data being passed to the source. - The type of the target property. - An optional parameter to be used in the converter logic. - The language of the conversion. - The value to be passed to the source object. - - - Gets or sets the conversion kind that will be applied to the CornerRadiusToThicknessConverter. - An enumeration value that specifies the conversion kind for a CornerRadiusToThicknessConverter. - - - Identifies the ConversionKind dependency property. - The identifier for the ConversionKind dependency property. - - - - - Defines constants that specify the filter type for a CornerRadiusToThicknessConverter instance. - - - - - Filters BottomLeft and BottomRight values, sets TopLeft and TopRight to 0. - - - Filters TopLeft and TopRight values, sets BottomLeft and BottomRight to 0. - - - - - - - Filters TopLeft and BottomLeft values, sets TopRight and BottomRight to 0. - - - Filters TopRight and BottomRight values, sets TopLeft and BottomLeft to 0. - - - - - - - - - - - - - - - Represents a panel that arranges its items horizontally if there is available space, otherwise vertically. - - - Initializes a new instance of the InfoBarPanel class. - - - Gets the HorizontalOrientationMargin from an object. - The object that has an HorizontalOrientationMargin. - The object's HorizontalOrientationMargin. - - - Gets the VerticalOrientationMargin from an object. - The object that has an VerticalOrientationMargin. - The object's VerticalOrientationMargin. - - - Sets the HorizontalOrientationMargin to an object. - The object that the HorizontalOrientationMargin value will be set to. - The value of the HorizontalOrientationMargin. - - - Sets the VerticalOrientationMargin to an object. - The object that the VerticalOrientationMargin value will be set to. - The value of the VerticalOrientationMargin. - - - The margin of the InfoBarPanel when its items are horizontally aligned. This property is reserved for internal use and is not intended to be used in your code. - - - Gets the identifier for the InfoBar.HorizontalOrientationMargin dependency property. - The identifier for the InfoBar.HorizontalOrientationMargin dependency property. - - - Gets and sets the distance between the edges of the InfoBarPanel and its children when the panel is oriented horizontally. - The distance between the edges of the InfoBarPanel and its children when the panel is oriented horizontally. - - - Gets the identifier for the InfoBar.HorizontalOrientationPadding dependency property. - The identifier for the InfoBar.HorizontalOrientationPadding dependency property. - - - The margin of the InfoBarPanel when its items are vertically aligned. This property is reserved for internal use and is not intended to be used in your code. - - - Gets the identifier for the InfoBar.VerticalOrientationMargin dependency property. - The identifier for the InfoBar.VerticalOrientationMargin dependency property. - - - Gets and sets the distance between the edges of the InfoBarPanel and its children when the panel is oriented vertically. - The distance between the edges of the InfoBarPanel and its children when the panel is oriented vertically. - - - Gets the identifier for the InfoBar.VerticalOrientationPadding dependency property. - The identifier for the InfoBar.VerticalOrientationPadding dependency property. - - - - - - - - - - - - - - Represents the visual elements of a NavigationViewItem. - - - Initializes a new instance of the NavigationViewItemPresenter class. - - - Gets or sets the icon in a NavigationView item. - The NavigationView item's icon. - - - Identifies the Icon dependency property. - The identifier for the Icon dependency property. - - - - - - - - - - - - - - - - - - - - - - - - - Represents the ListView corresponding to the TabStrip within the TabView. - - - Initializes a new instance of the TabViewListView class. - - - Represents a control that indicates the progress of an operation. - - - Initializes a new instance of the ProgressBar class. - - - Gets or sets a value that indicates whether the progress bar reports generic progress with a repeating pattern or reports progress based on the Value property. - true if the progress bar reports generic progress with a repeating pattern; false if the progress bar reports progress based on the Value property. The default is false. - - - Identifies the IsIndeterminate dependency property. - The identifier for the IsIndeterminate dependency property. - - - Gets or sets a value that indicates whether the progress bar should use visual states that communicate an Error state to the user. - true if the progress bar should use visual states that communicate an Error state to the user; otherwise, false. The default is false. - - - Identifies the ShowError dependency property. - The identifier for the ShowError dependency property. - - - Gets or sets a value that indicates whether the progress bar should use visual states that communicate a Paused state to the user. - true if the progress bar should use visual states that communicate a Paused state to the user; otherwise, false. The default is false. - - - Identifies the ShowPaused dependency property. - The identifier for the ShowPaused dependency property. - - - Gets an object that provides calculated values that can be referenced as TemplateBinding sources when defining templates for a ProgressBar control. - An object that provides calculated values for templates. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressBar control. Not intended for general use. - - - - Gets the target "To" point of the secondary container animation that animates the ProgressBar. - A double that represents the orientation-specific x- or y-value that is the target "To" point of the secondary animation. - - - Gets the "From" point of the secondary container animation that animates the ProgressBar. - A double that represents the orientation-specific x- or y-value that is the"From" point of the secondary animation. - - - Gets the target "To" point of the primary container animation that animates the ProgressBar. - A double that represents the orientation-specific x- or y-value that is the target "To" point of the primary animation. - - - Gets the target midpoint of the container animation that animates the ProgressBar. - A double that represents the orientation-specific x- or y-value that is the midpoint of the animation. - - - Gets the "From" point of the primary container animation that animates the ProgressBar. - A double that represents the orientation-specific x- or y-value that is the"From" point of the primary animation. - - - Gets the "To" point of the "Ellipse" animation that animates the ProgressBar. - The "To" point of the "Ellipse" animation that animates the ProgressBar. This is internally calculated as 2/3 of the ActualWidth of the control. - - - Gets the stopped point of the "Ellipse" animation that animates the ProgressBar. - The stopped point of the Ellipse animation that animates the ProgressBar]. This is internally calculated as 1/3 of the [ActualWidth of the control. - - - Gets the template-defined diameter of the "Ellipse" element that is animated in a templated ProgressBar. - The "Ellipse" element width in pixels. - - - Gets the template-defined offset poisition of the "Ellipse" element that is animated in a templated ProgressBar. - - - Gets the indicator length delta, which is useful for repositioning transitions. - The delta in pixels. - - - Represents a control that indicates the progress of an operation. The typical visual appearance is a ring-shaped "spinner". - - - Initializes a new instance of the ProgressRing class. - - - Gets or sets a value that indicates whether the ProgressRing is showing progress. - True if the ProgressRing is showing progress; otherwise, false. The default is false. - - - Identifies the IsActive dependency property. - The identifier for the IsActive dependency property. - - - Gets or sets a value that indicates whether the progress ring reports generic progress with a repeating pattern or reports progress based on the Value property. - true if the progress ring reports generic progress with a repeating pattern; false if the progress ring reports progress based on the Value property. - - - Identifies the IsIndeterminate dependency property. - The identifier for the IsIndeterminate dependency property. - - - Gets or sets the highest allowed Value of the range element. - The highest possible Value of the range element. The default is 100. - - - Identifies the Maximum dependency property. - The identifier for the Maximum dependency property. - - - Gets or sets the minimum allowed Value of the range element. - Minimum allowed Value of the range element. The default is 0. - - - Identifies the Minimum dependency property. - The identifier for the Minimum dependency property. - - - Gets an object that provides calculated values that can be referenced as TemplateBinding sources when defining templates for a ProgressRing control. - An object that provides calculated values for templates. - - - Gets or sets the current magnitude of the progress ring. - The current magnitude of the progress ring. The default is 0. - - - Identifies the Value dependency property. - The identifier for the Value dependency property. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a ProgressRing control. Not intended for general use. - - - Gets the template-defined diameter of the "Ellipse" element that is animated in a templated ProgressRing. - The "Ellipse" width in pixels. - - - Gets the template-defined offset position of the "Ellipse" element that is animated in a templated ProgressRing. - The offset in pixels. - - - Gets the maximum bounding size of the progress ring as rendered. - The maximum bounding size of the progress ring as rendered in pixels. - - - Represents a control that shows a group of related options from which one can be selected. - - - Occurs when the currently selected item changes. - - - Initializes a new instance of the RadioButtons class. - - - Returns the container for the item at the specified index within the item collection. - The index of the item to retrieve. - The container for the item at the specified index within the item collection, if the item has a container; otherwise, null. - - - Gets or sets the content for the group header. - The content of the group header. The default is null. - - - Identifies the Header dependency property. - The identifier for the Header dependency property. - - - Gets or sets the data template used to display the content of the control's header. - The template that specifies the visualization of the header object. The default is null. - - - Identifies the HeaderTemplate dependency property. - The identifier for the HeaderTemplate dependency property. - - - Gets the collection used to generate the content of the control. - The collection that is used to generate the content of the control, if it exists; otherwise, null. The default is an empty collection. - - - Identifies the Items dependency property. - The identifier for the Items dependency property. - - - Gets or sets an object source used to generate the content of the control. - The object that is used to generate the content of the control. The default is null. - - - Identifies the ItemsSource dependency property. - The identifier for the ItemsSource dependency property. - - - Gets or sets the DataTemplate used to display each item. - The template that specifies the visualization of the data objects. The default is null. - - - Identifies the ItemTemplate dependency property. - The identifier for the ItemTemplate dependency property. - - - Gets or sets the maximum number of columns the radio buttons are arranged in. - The maximum number of columns the radio buttons are arranged in. The default is 1. - - - Identifies the MaxColumns dependency property. - The identifier for the MaxColumns dependency property. - - - Gets or sets the index of the selected radio button. - The index of the selected radio button. The default is -1, which indicates that no radio button is selected. - - - Identifies the SelectedIndex dependency property. - The identifier for the SelectedIndex dependency property. - - - Gets or sets the selected radio button. - The selected radio button. The default is null. - - - Identifies the SelectedItem dependency property. - The identifier for the SelectedItem dependency property. - - - Represents a menu item that is mutually exclusive with other radio menu items in its group. - - - Initializes a new instance of the RadioMenuFlyoutItem class. - - - - - - - - - - Represents whether the MenuFlyoutSubItem has RadioMenuFlyoutItems as children. - - - Gets or sets the name that specifies which RadioMenuFlyoutItem controls are mutually exclusive. - - - Identifies the GroupName dependency property. - The identifier for the GroupName dependency property. - - - Gets or sets whether the RadioMenuFlyoutItem is checked. - - - Identifies the IsChecked dependency property. - The identifier for the IsChecked dependency property. - - - Represents a control that lets a user enter a star rating. - - - Occurs when the Value property has changed. - - - Initializes a new instance of the RatingControl class. - - - Gets or sets the text label for the control. - The text label for the control. The default is an empty string. - - - Identifies the Caption dependency property. - The identifier for Caption dependency property. - - - Gets or sets the initial set rating value. - The initial set rating value. The default is 1. - - - Identifies the InitialSetValue dependency property. - The identifier for InitialSetValue dependency property. - - - Gets or sets the value that determines if the user can remove the rating. - true if the user can remove the rating; otherwise, false. The default is true. - - - Identifies the IsClearEnabled dependency property. - The identifier for IsClearEnabled dependency property. - - - Gets or sets the value that determines if the user can change the rating. - true if the rating is read-only; otherwise, false. The default is false. - - - Identifies the IsReadOnly dependency property. - The identifier for IsReadOnly dependency property. - - - Gets or sets info about the visual states of the items that represent a rating. - A RatingItemInfo-derived object that contains details about the visual states of the items that represent a rating. - - - Identifies the ItemInfo dependency property. - The identifier for ItemInfo dependency property. - - - Gets or sets the maximum allowed rating value. - The maximum allowed rating value. The default is 5. - - - Identifies the MaxRating dependency property. - The identifier for MaxRating dependency property. - - - Gets or sets the rating that is displayed in the control until the value is changed by a user action or some other operation. - The rating that is displayed in the control when no value is entered. The default is null. - - - Identifies the PlaceholderValue dependency property. - The identifier for PlaceholderValue dependency property. - - - Gets or sets the rating value. - The rating value. The default is null. - - - Identifies the Value dependency property. - The identifier for Value dependency property. - - - Represents information about the visual states of font elements that represent a rating. - - - Initializes a new instance of the RatingItemFontInfo class. - - - Gets or sets a Segoe MDL2 Assets font glyph that represents a rating element that is disabled. - The hexadecimal character code for the rating element glyph. - - - Identifies the DisabledGlyph dependency property. - The identifier for DisabledGlyph dependency property. - - - Gets or sets a Segoe MDL2 Assets font glyph that represents a rating element that has been set by the user. - The hexadecimal character code for the rating element glyph. - - - Identifies the Glyph dependency property. - The identifier for Glyph dependency property. - - - Gets or sets a Segoe MDL2 Assets font glyph that represents a rating element that is showing a placeholder value. - The hexadecimal character code for the rating element glyph. - - - Identifies the PlaceholderGlyph dependency property. - The identifier for PlaceholderGlyph dependency property. - - - Gets or sets a Segoe MDL2 Assets font glyph that represents a rating element that has the pointer over it. - The hexadecimal character code for the rating element glyph. - - - Identifies the PointerOverGlyph dependency property. - The identifier for PointerOverGlyph dependency property. - - - Gets or sets a Segoe MDL2 Assets font glyph that represents a rating element showing a placeholder value with the pointer over it. - The hexadecimal character code for the rating element glyph. - - - Identifies the PointerOverPlaceholderGlyph dependency property. - The identifier for PointerOverPlaceholderGlyph dependency property. - - - Gets or sets a Segoe MDL2 Assets font glyph that represents a rating element that has not been set. - The hexadecimal character code for the rating element glyph. - - - Identifies the UnsetGlyph dependency property. - The identifier for UnsetGlyph dependency property. - - - Represents information about the visual states of image elements that represent a rating. - - - Initializes a new instance of the RatingItemImageInfo class. - - - Gets or sets an image that represents a rating element that is disabled. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the DisabledImage dependency property. - The identifier for DisabledImage dependency property. - - - Gets or sets an image that represents a rating element that has been set by the user. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the Image dependency property. - The identifier for Image dependency property. - - - Gets or sets an image that represents a rating element that is showing a placeholder value. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the PlaceholderImage dependency property. - The identifier for PlaceholderImage dependency property. - - - Gets or sets an image that represents a rating element that has the pointer over it. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the PointerOverImage dependency property. - The identifier for PointerOverImage dependency property. - - - Gets or sets an image that represents a rating element showing a placeholder value with the pointer over it. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the PointerOverPlaceholderImage dependency property. - The identifier for PointerOverPlaceholderImage dependency property. - - - Gets or sets an image that represents a rating element that has not been set. - An object that represents the image source file for the drawn image. Typically you set this with a BitmapImage with a stream, perhaps a stream from a storage file. - - - Identifies the UnsetImage dependency property. - The identifier for UnsetImage dependency property. - - - Represents information about the visual states of the elements that represent a rating. - - - Initializes a new instance of the RatingItemInfo class. - - - Represents a container control that provides a RefreshVisualizer and pull-to-refresh functionality for scrollable content. - - - Occurs when an update of the content has been initiated. - - - Initializes a new instance of the RefreshContainer control. - - - Initiates an update of the content. - - - Gets or sets a value that specifies the direction to pull to initiate a refresh. - An enumeration value that specifies the direction to pull to initiate a refresh. - - - Identifies the PullDirection dependency property. - The identifier for the PullDirection dependency property. - - - Gets or sets the RefreshVisualizer for this container. - The RefreshVisualizer for this container. - - - Identifies the Visualizer dependency property. - The identifier for the Visualizer dependency property. - - - Provides event data. - - - Gets the interaction ratio value. - The interaction ratio value. - - - Defines constants that specify the direction to pull a RefreshContainer to initiate a refresh. - - - Pull from bottom to top to initiate a refresh. - - - Pull from left to right to initiate a refresh. - - - Pull from right to left to initiate a refresh. - - - Pull from top to bottom to initiate a refresh. - - - Provides event data for RefreshRequested events. - - - Gets a deferral object for managing the work done in the RefreshRequested event handler. - A deferral object. - - - Provides event data for the RefreshVisualizer.RefreshStateChanged" event. - - - Gets a value that indicates the new state of the RefreshVisualizer. - An enumeration value that indicates the new state of the RefreshVisualizer. - - - Gets a value that indicates the previous state of the RefreshVisualizer. - An enumeration value that indicates the previous state of the RefreshVisualizer. - - - Represents a control that provides animated state indicators for content refresh. - - - Occurs when an update of the content has been initiated. - - - Occurs when the state of the visualizer changes. - - - Initializes a new instance of the RefreshVisualizer class. - - - Initiates an update of the content. - - - Gets or sets the content of the visualizer. - The content of the visualizer. - - - Identifies the Content dependency property. - The identifier for the Content dependency property. - - - Identifies the InfoProvider dependency property. - The identifier for the InfoProvider dependency property. - - - Gets or sets a value that indicates the orientation of the visualizer. - A value of the enumeration that indicates the orientation of the visualizer. The default is Top. - - - Identifies the Orientation dependency property. - The identifier for the Orientation dependency property. - - - Gets a value that indicates the state of the visualizer. - A value of the enumeration that indicates the state of the visualizer. - - - Identifies the State dependency property. - The identifier for the State dependency property. - - - Defines constants that specify the orientation of a RefreshVisualizer. - - - - - - - Defines constants that specify the state of a RefreshVisualizer - - - The visualizer is idle. - - - The user is interacting with the visualizer. - - - The visualizer was pulled in the refresh direction from a position where a refresh is not allowed. Typically, the ScrollViewer was not at position 0 at the start of the pull. - - - The visualizer is pending. - - - The visualizer is being refreshed. - - - Represents a specialized ListViewItemPresenter that supports custom visual state management. - -> [!NOTE] -> No longer required. Please use ListViewItemPresenter in Windows 10 April 2018 Update (version 1803) and newer. - - - Initializes a new instance of the RevealListViewItemPresenter class. - - - Represents a button with two parts that can be invoked separately. One part behaves like a standard button and the other part invokes a flyout. - - - Occurs when a button control is clicked. - - - Initializes a new instance of the SplitButton class. - - - Gets or sets the command to invoke when this button is pressed. - The command to invoke when this button is pressed. The default is null. - - - Gets or sets the parameter to pass to the Command property. - The parameter to pass to the Command property. The default is null. - - - Identifies the CommandParameter dependency property. - The identifier for the CommandParameter dependency property. - - - Identifies the Command dependency property. - The identifier for the Command dependency property. - - - Gets or sets the flyout associated with this button. - The flyout associated with this button. The default is null. - - - Identifies the Flyout dependency property. - The identifier for the Flyout dependency property. - - - Provides event data for the SplitButton.Click". - - - Arranges the child elements of an ItemsRepeater into a single line that can be oriented horizontally or vertically. - - - Initializes a new instance of the StackLayout class. - - - Gets or sets the axis along which items are laid out. - One of the enumeration values that specifies the axis along which items are laid out. The default is Vertical. - - - Identifies the Orientation dependency property. - The identifier for the Orientation dependency property. - - - Gets or sets a uniform distance (in pixels) between stacked items. It is applied in the direction of the StackLayout's Orientation. - The uniform distance (in pixels) between stacked items. - - - Identifies the Spacing dependency property. - The identifier for the Spacing dependency property. - - - - - - Defines constants that specify how a SwipeControl behaves after a command is invoked. - - - In Reveal mode, the SwipeControl closes after an item is invoked. In Execute mode, the SwipeControl remains open. - - - The SwipeControl closes after an item is invoked. - - - The SwipeControl remains open after an item is invoked. - - - Represents a container that provides access to, and the ability to invoke, contextual commands through a basic touch interaction. - - - Initializes a new instance of the SwipeControl class. - - - Closes the swipe control. - - - Gets or sets the items that can be invoked when the control is swiped from the bottom up. - The items that can be invoked when the control is swiped from the bottom up. - - - Identifies the BottomItems dependency property. - The identifier for the BottomItems dependency property. - - - Gets or sets the items that can be invoked when the control is swiped from the left side. - The items that can be invoked when the control is swiped from the left side. - - - Identifies the LeftItems dependency property. - The identifier for the LeftItems dependency property. - - - Gets or sets the items that can be invoked when the control is swiped from the right side. - The items that can be invoked when the control is swiped from the right side. - - - Identifies the RightItems dependency property. - The identifier for the RightItems dependency property. - - - Gets or sets the items that can be invoked when the control is swiped from the top down. - The items that can be invoked when the control is swiped from the top down. - - - Identifies the TopItems dependency property. - The identifier for the TopItems dependency property. - - - Represents an individual command in a SwipeControl. - - - Occurs when user interaction indicates that the command represented by this item should execute. - - - Initializes a new instance of the SwipeItem class. - - - Gets or sets a brush that provides the background of the control. - The brush that provides the background of the control. - - - Identifies the Background dependency property. - The identifier for the Background dependency property. - - - Gets or sets a value that indicates how a SwipeControl behaves after this item is invoked. - A value that indicates how a SwipeControl behaves after this item is invoked. The default is Auto. - - - Identifies the BehaviorOnInvoked dependency property. - The identifier for the BehaviorOnInvoked dependency property. - - - Gets or sets the command to execute when this item is invoked. - The command to execute when this item is invoked. The default is null. - - - Gets or sets the parameter to pass to the Command property. - The parameter to pass to the Command property. The default is null. - - - Identifies the CommandParameter dependency property. - The identifier for the CommandParameter dependency property. - - - Identifies the Command dependency property. - The identifier for the Command dependency property. - - - Gets or sets the brush that paints the text and icon of the item. - The brush that paints the text and icon of the item. - - - Identifies the Foreground dependency property. - The identifier for the Foreground dependency property. - - - Gets or sets the graphic content of the item. - The graphic content of the item. The default is null. - - - Identifies the IconSource dependency property. - The identifier for the IconSource dependency property. - - - Gets or sets the text description displayed on the item. - The text description displayed on the item. The default is an empty string. - - - Identifies the Text dependency property. - The identifier for the Text dependency property. - - - Provides event data for the SwipeItem.Invoked" event. - - - Gets the SwipeControl that owns the invoked item. - The SwipeControl that owns the invoked item. - - - Represents a collection of SwipeItem objects. - - - Initializes a new instance of the SwipeItems class. - - - Adds a new item to the collection. - The new item to add. - - - Removes all items from the collection. - - - Returns an iterator for the items in the collection. - The iterator object. The iterator's current position is the 0-index position, or at the collection end if the collection is empty. - - - Returns the item located at the specified index. - The integer index for the value to retrieve. - - - Retrieves multiple elements in a single pass through the iterator. - The index from which to start retrieval. - Provides the destination for the result. Size the initial array size as a "capacity" in order to specify how many results should be retrieved. - The number of items retrieved. - - - Gets an immutable view into the collection. - An object representing the immutable collection view. - - - Retrieves the index of the specified item. - The value to find in the collection. - The index of the item to find, if found. - true if an item with the specified value was found; otherwise, false. - - - Inserts the specified item at the specified index. - The index at which to set the value. - The value to set. - - - Removes the item at the specified index. - The index position of the item to remove. - - - Removes the last item in the collection. - - - Initially clears the collection, then inserts the provided array as new items. - The new collection items. - - - Sets the value at the specified index to the value specified. - The index at which to set the value. - The value to set. - - - Gets or sets a value that indicates the effect of a swipe interaction. - A value of the enumeration that indicates the effect of a swipe interaction. The default is Reveal. - - - Identifies the Mode dependency property. - The identifier for the Mode dependency property. - - - Gets the size (count) of the collection. - The count of items in the collection. - - - Defines constants that specify the effect of a swipe interaction. - - - A swipe executes a command. - - - A swipe reveals a menu of commands. - - - Represents an icon source that uses a glyph from the Segoe MDL2 Assets font as its content. - - - Initializes a new instance of the SymbolIconSource class. - - - Gets or sets the Segoe MDL2 Assets glyph used as the icon content. - A named constant of the numeration that specifies the Segoe MDL2 Assets glyph to use. - - - Identifies the Symbol dependency property. - The identifier for the Symbol dependency property. - - - The TabView control is a way to display a set of tabs and their respective content. Tab controls are useful for displaying several pages (or documents) of content while giving a user the capability to rearrange, open, or close new tabs. - -**Is this the right control?** - -Use a TabView to help the user manage multiple app pages or documents within the same window. - -Do not use a TabView to display a static set of tabs that the user cannot rearrange, open, or close. Use a NavigationView (NavigationViewPaneDisplayMode of Top) instead. - - - Occurs when the add (+) tab button has been clicked. - - - Occurs when the currently selected tab changes. - - - Raised when the user attempts to close a Tab via clicking the x-to-close button, CTRL+F4, or mousewheel. - - - Raised when the user completes the drag action. - - - Occurs when a drag operation is initiated. - - - Occurs when the user completes a drag and drop operation by dropping a tab outside of the TabStrip area. - - - Raised when the items collection has changed. - - - Occurs when the input system reports an underlying drag event with the TabStrip as the potential drop target. - - - Occurs when the input system reports an underlying drop event with the TabStrip as the drop target. - - - Initializes a new instance of the TabView class. - - - Returns the container for the item at the specified index within the collection. - The index of the item to retrieve. - The container for the item at the specified index within the item collection, if the item has a container; otherwise, null. - - - Returns the container corresponding to the specified item. - The item to retrieve the container for. - A container that corresponds to the specified item, if the item has a container and exists in the collection; otherwise, null. - - - Gets or sets the command to invoke when the add (+) button is tapped. - - - Gets or sets the parameter to pass to the AddTabButtonCommand property. - - - Identifies the AddTabButtonCommandParameter dependency property. - The identifier for the AddTabButtonCommandParameter dependency property. - - - Identifies the AddButtonCommand dependency property. - The identifier for the AddButtonCommand dependency property. - - - Gets or sets a value that determines whether the TabView can be a drop target for the purposes of drag-and-drop operations. - - - Identifies the AllowDropTabs dependency property. - The identifier for the AllowDropTabs dependency property. - - - Gets or sets a value that indicates whether tabs can be dragged as a data payload. - - - Identifies the CanDragTabs dependency property. - The identifier for the CanDragTabs dependency property. - - - Gets or sets a value that indicates whether the tabs in the TabStrip can be reordered through user interaction. - - - Identifies the CanReorderTabs dependency property. - -Identifies the CanReorderTabs dependency property. - The identifier for the CanReorderTabs dependency property. - - - Gets or sets a value that indicates the behavior of the close button within tabs. - A value of the enumeration that describes the behavior of the close button within tabs. The default is Auto. - - - Identifies the CloseButtonOverlayMode dependency property. - The identifier for the CloseButtonOverlayMode dependency property. - - - Gets or sets whether the add (+) tab button is visible. - Whether the add (+) tab button is visible. - - - Identifies the IsAddTabButtonVisible dependency property. - The identifier for the IsAddTabButtonVisible dependency property. - - - Gets or sets the index of the selected item. - The index of the selected item. - - - Identifies the SelectedIndex dependency property. - The identifier for the SelectedIndex dependency property. - - - Gets or sets the selected item. - The selected item. - - - Identifies the SelectedItem dependency property. - The identifier for the SelectedItem dependency property. - - - Gets the collection used to generate the tabs within the control. - - - Identifies the TabItems dependency property. - The identifier for the TabItems dependency property. - - - Gets or sets an object source used to generate the tabs within the TabView. - - - Identifies the TabItemsSource dependency property. - The identifier for the TabItemsSource dependency property. - - - Gets or sets the DataTemplate used to display each item. - - - Identifies the TabItemTemplate dependency property. - The identifier for the TabItemTemplate dependency property. - - - Gets or sets a selection object that changes the DataTemplate to apply for content, based on processing information about the content item or its container at run time. - - - Identifies the TabItemTemplateSelector dependency property. - The identifier for the TabItemTemplateSelector dependency property. - - - Gets or sets the content that is shown to the right of the tab strip. - The element that is shown to the right of the tab strip. - - - Identifies the TabStripFooter dependency property. - The identifier for the TabStripFooter dependency property. - - - Gets or sets the DataTemplate used to display the content of the TabStripFooter. - - - Identifies the TabStripFooterTemplate dependency property. - The identifier for the TabStripFooterTemplate dependency property. - - - Gets or sets the content that is shown to the left of the tab strip. - The element that is shown to the left of the tab strip. - - - Identifies the TabStripHeader dependency property. - The identifier for the TabStripHeader dependency property. - - - Gets or sets the DataTemplate used to display the content of the TabStripHeader. - - - Identifies the TabStripHeaderTemplate dependency property. - The identifier for the TabStripHeaderTemplate dependency property. - - - Gets or sets how the tabs should be sized. - The enum for how the tabs should be sized. - - - Identifies the TabWidthMode dependency property. - The identifier for the TabWidthMode dependency property. - - - Defines constants that describe the behavior of the close button contained within each TabViewItem. - - - The selected tab always shows the close button if it is closable. Unselected tabs always show the close button if they are closable. - - - Behavior is defined by the framework. Default. - -This value maps to Always. - - - The selected tab always shows the close button if it is closable. Unselected tabs show the close button when the tab is closable and the user has their pointer over the tab. - - - Represents a single tab within a TabView. - - - Raised when the user attempts to close the TabViewItem via clicking the x-to-close button, CTRL+F4, or mousewheel. - - - Initializes a new instance of the TabViewItem class. - - - Gets or sets the content that appears inside the tab strip to represent the tab. - The content that appears inside the tab strip to represent the tab. - - - Identifies the Header dependency property. - The identifier for the Header dependency property. - - - Gets or sets the DataTemplate used to display the content to the right of the tab strip. - The DataTemplate used to display the content to the right of the tab strip. - - - Identifies the HeaderTemplate dependency property. - The identifier for the HeaderTemplate dependency property. - - - Gets or sets the value for the IconSource to be displayed within the tab. - - - Identifies the IconSource dependency property. - The identifier for the IconSource dependency property. - - - Gets or sets the value that determines if the tab shows a close button. The default is true. - Determines if the tab shows a close button. The default is true. - - - Identifies the IsClosable dependency property. - The identifier for the IsClosable dependency property. - - - Gets an object that provides calculated values that can be referenced as {TemplateBinding} markup extension sources when defining templates for a TabViewItem control. - - - Identifies the TabViewTemplateSettings dependency property. - The identifier for the TabViewTemplateSettings dependency property. - - - Gets an object that provides calculated values that can be referenced as {TemplateBinding} markup extension sources when defining templates for a TabViewItem control. - - - Initializes a new instance of the TabViewItemTemplateSettings class. - - - Gets an object that provides calculated values that can be referenced as {TemplateBinding} markup extension sources when defining templates for a TabViewItem control. - - - Identifies the IconElement dependency property. - The identifier for the IconElement dependency property. - - - Provides data for a tab close event. - - - Gets a value that represents the data context for the tab in which a close is being requested. - - - Gets the tab in which a close is being requested. - - - Provides data for the TabView.TabDragCompleted" event. - - - Gets a value that indicates what operation was performed on the dragged data, and whether it was successful. - - - Gets the item that was selected for the drag action. - - - Gets the TabViewItem that was selected for the drag action. - - - Provides data for the TabView.TabDragStarting" event. - - - Gets or sets a value that indicates whether the drag action should be cancelled. - - - Gets the data payload associated with a drag action. - - - Gets the item that was selected for the drag action. - - - Gets the TabViewItem that was selected for the drag action. - - - Provides data for the TabView.TabDroppedOutside" event. - - - Gets the item that was dropped outside of the TabStrip. - - - Gets the TabViewItem that was dropped outside of the TabStrip. - - - Defines constants that specify the width of the tabs. - - - Unselected tabs collapse to show only their icon. The selected tab adjusts to display the content within the tab. - - - Each tab has the same width. - - - Each tab adjusts its width to the content within the tab. - - - A teaching tip is a notification flyout used to provide contextually relevant information. It supports rich content (including titles, subtitles, icons, images, and text) and can be configured for either explicit or light-dismiss. - - - Occurs after the action button is clicked. - - - Occurs after the close button is clicked. - - - Occurs after the tip is closed. - - - Occurs just before the tip begins to close. - - - Initializes a new instance of the TeachingTip class. - - - Gets or sets the command to invoke when the action button is clicked. - - - Gets or sets the parameter to pass to the command for the action button. - - - Identifies the ActionButtonCommandParameter dependency property. - The identifier for the ActionButtonCommandParameter dependency property. - - - Identifies the ActionButtonCommand dependency property. - The identifier for the ActionButtonCommand dependency property. - - - Gets or sets the text of the teaching tip's action button. - - - Identifies the ActionButtonContent dependency property. - The identifier for the ActionButtonContent dependency property. - - - Gets or sets the Style to apply to the action button. - - - Identifies the ActionButtonStyle dependency property. - The identifier for the ActionButtonStyle dependency property. - - - Gets or sets the command to invoke when the close button is clicked. - - - Gets or sets the parameter to pass to the command for the close button. - - - Identifies the CloseButtonCommandParameter dependency property. - The identifier for the CloseButtonCommandParameter dependency property. - - - Identifies the CloseButtonCommand dependency property. - The identifier for the CloseButtonCommand dependency property. - - - Gets or sets the content of the teaching tip's close button. - - - Identifies the CloseButtonContent dependency property. - The identifier for the CloseButtonContent dependency property. - - - Gets or sets the Style to apply to the teaching tip's close button. - - - Identifies the CloseButtonStyle dependency property. - The identifier for the CloseButtonStyle dependency property. - - - Border-to-border graphic content displayed in the header or footer of the teaching tip. Will appear opposite of the tail in targeted teaching tips unless otherwise set. - - - Placement of the hero content within the teaching tip. - - - Identifies the HeroContentPlacement dependency property. - The identifier for the HeroContentPlacement dependency property. - - - Identifies the HeroContent dependency property. - The identifier for the HeroContent dependency property. - - - Gets or sets the graphic content to appear alongside the title and subtitle. - - - Identifies the IconSource dependency property. - The identifier for the IconSource dependency property. - - - Enables light-dismiss functionality so that a teaching tip will dismiss when a user scrolls or interacts with other elements of the application. - - - Identifies the IsLightDismissEnabled dependency property. - The identifier for the IsLightDismissEnabled dependency property. - - - Gets or sets a value that indicates whether the teaching tip is open. - - - Identifies the IsOpen dependency property. - The identifier for the IsOpen dependency property. - - - Adds a margin between a targeted teaching tip and its target or between a non-targeted teaching tip and the xaml root. - - - Identifies the PlacementMargin dependency property. - The identifier for the PlacementMargin dependency property. - - - Preferred placement to be used for the teaching tip. If there is not enough space to show at the preferred placement, a new placement will be automatically chosen. -Placement is relative to its target if Target is non-null or to the parent window of the teaching tip if Target is null. - - - Identifies the PreferredPlacement dependency property. - The identifier for the PreferredPlacement dependency property. - - - Gets or sets a value that indicates whether the teaching tip will constrain to the bounds of its xaml root. - - - Identifies the ShouldConstrainToRootBounds dependency property. - The identifier for the ShouldConstrainToRootBounds dependency property. - - - Gets or sets the subtitle of the teaching tip. - - - Identifies the Subtitle dependency property. - The identifier for the Subtitle dependency property. - - - Toggles collapse of a teaching tip's tail. Can be used to override auto behavior to make a tail visible on a non-targeted teaching tip and hidden on a targeted teaching tip. - - - Identifies the TailVisibility dependency property. - The identifier for the TailVisibility dependency property. - - - Sets the target for a teaching tip to position itself relative to and point at with its tail. - - - Identifies the Target dependency property. - The identifier for the Target dependency property. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a TeachingTip. Not intended for general use. - - - Identifies the TemplateSettings dependency property. - The identifier for the TemplateSettings dependency property. - - - Gets or sets the title of the teaching tip. - - - Identifies the Title dependency property. - The identifier for the Title dependency property. - - - Provides data for the TeachingTip.Closed" event. - - - Gets a constant that specifies whether the cause of the Closed event was due to user interaction (Close button click), light-dismissal, or programmatic closure. - - - Defines constants that indicate the cause of the TeachingTip closure. - - - The teaching tip was closed by the user clicking the close button. - - - The teaching tip was closed by light-dismissal. - - - The teaching tip was programmatically closed. - - - Provides data for the TeachingTip.Closing" event. - - - Gets a deferral object for managing the work done in the Closing event handler. - - - Gets or sets a value that indicates whether the Closing event should be canceled. - - - Gets a constant that specifies whether the cause of the Closing event was due to user interaction (Close button click), light-dismissal, or programmatic closure. - - - Defines constants that indicate the preferred location of the HeroContent within a teaching tip. - - - The header of the teaching tip. - -The hero content might be moved to the footer to avoid intersecting with the tail of the targeted teaching tip. - - - The footer of the teaching tip. - - - The header of the teaching tip. - - - Defines constants that indicate the preferred location of the TeachingTip teaching tip. - - - Along the bottom side of the xaml root when non-targeted and above the target element when targeted. - - - Along the bottom side of the xaml root when non-targeted and below the target element when targeted. - - - The bottom left corner of the xaml root when non-targeted and below the target element expanding leftward when targeted. - - - The bottom right corner of the xaml root when non-targeted and below the target element expanding rightward when targeted. - - - The center of the xaml root when non-targeted and pointing at the center of the target element when targeted. - - - Along the left side of the xaml root when non-targeted and left of the target element when targeted. - - - The bottom left corner of the xaml root when non-targeted and left of the target element expanding downward when targeted. - - - The top left corner of the xaml root when non-targeted and left of the target element expanding upward when targeted. - - - Along the right side of the xaml root when non-targeted and right of the target element when targeted. - - - The bottom right corner of the xaml root when non-targeted and right of the target element expanding downward when targeted. - - - The top right corner of the xaml root when non-targeted and right of the target element expanding upward when targeted. - - - Along the top side of the xaml root when non-targeted and above the target element when targeted. - - - The top left corner of the xaml root when non-targeted and above the target element expanding leftward when targeted. - - - The top right corner of the xaml root when non-targeted and above the target element expanding rightward when targeted. - - - Defines constants that specify whether a teaching tip's Tail is visible or collapsed. - - - The teaching tip's tail is collapsed when non-targeted and visible when the targeted. - - - The teaching tip's tail is collapsed. - - - The teaching tip's tail is visible. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a TeachingTip. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a TeachingTip. - - - Gets the icon element. - - - Identifies the IconElement dependency property. - The identifier for the IconElement dependency property. - - - Gets the thickness value of the top left highlight margin. - - - Identifies the TopLeftHighlightMargin dependency property. - The identifier for the TopLeftHighlightMargin dependency property. - - - Gets the thickness value of the top right highlight margin. - - - Identifies the TopRightHighlightMargin dependency property. - The identifier for the TopRightHighlightMargin dependency property. - - - Represents a specialized CommandBarFlyout that contains commands for editing text. - - - Initializes a new instance of the TextCommandBarFlyout class. - - - Represents a button with two parts that can be invoked separately. One part behaves like a toggle button that can be on or off, while the other part invokes a flyout that contains additional options for the user to choose from. - - - Occurs when the value of the IsChecked property is changed. - - - Initializes a new instance of the ToggleSplitButton class. - - - Gets or sets whether the ToggleSplitButton is checked. - true if the ToggleSplitButton is checked; false if the ToggleSplitButton is unchecked. The default is false. - - - Identifies the ToggleSplitButton.IsChecked" dependency property. - The identifier for the ToggleSplitButton.IsChecked" dependency property. - - - Provides event data for the ToggleSplitButton.IsCheckedChanged" event. - - - Represents a hierarchical list with expanding and collapsing nodes that contain nested items. - - - Occurs when a node in the tree is collapsed. - - - Occurs when a drag operation that involves one of the items in the view is ended. - - - Occurs when a drag operation that involves one of the items in the view is initiated. - - - Occurs when a node in the tree starts to expand. - - - Occurs when an item in the tree is invoked. - - - Initializes a new instance of the TreeView control. - - - Collapses the specified node in the tree. - The tree node to collapse. - - - Returns the container corresponding to the specified item. - The item to retrieve the container for. - A container that corresponds to the specified item, if the item has a container and exists in the collection; otherwise, null. - - - Returns the container corresponding to the specified node. - The node to retrieve the container for. - A container that corresponds to the specified node, if the node has a container and exists in the collection; otherwise, null. - - - Expands the specified node in the tree. - The tree node to expand. - - - Returns the item that corresponds to the specified, generated container. - The DependencyObject that corresponds to the item to be returned. - The contained item, or the container if it does not contain an item. - - - Returns the TreeViewNode corresponding to the specified container. - The container to retrieve the TreeViewNode for. - The node that corresponds to the specified container. - - - Selects all nodes in the tree. - - - Gets or sets a value that indicates whether items in the view can be dragged as data payload. - true if items in the view can be dragged as data payload; otherwise, false. The default is true. - - - Identifies the CanDragItems dependency property. - The identifier for the CanDragItems dependency property. - - - Gets or sets a value that indicates whether items in the view can be reordered through user interaction. - true if items in the view can be reordered through user interaction; otherwise, false. The default is true. - - - Identifies the CanReorderItems dependency property. - The identifier for the CanReorderItems dependency property. - - - Gets or sets the style that is used when rendering the item containers. - The style applied to the item containers. The default is null. - - - Identifies the ItemContainerStyle dependency property. - The identifier for the ItemContainerStyle dependency property. - - - Gets or sets a reference to a custom StyleSelector values to use for the item container based on characteristics of the object being displayed. - A custom StyleSelector logic class. - - - Identifies the ItemContainerStyleSelector dependency property. - The identifier for the ItemContainerStyleSelector dependency property. - - - Gets or sets the collection of Transition style elements that apply to the item containers of a TreeView. - The collection of Transition. - - - Identifies the ItemContainerTransitions dependency property. - The identifier for the ItemContainerTransitions dependency property. - - - Gets or sets an object source used to generate the content of the TreeView. - The object that is used to generate the content of the TreeView. The default is null. - - - Identifies the ItemsSource dependency property. - The identifier for the ItemsSource dependency property. - - - Gets or sets the DataTemplate used to display each item. - The template that specifies the visualization of the data objects. The default is null. - - - Identifies the ItemTemplate dependency property. - The identifier for the ItemTemplate dependency property. - - - Gets or sets a reference to a custom DataTemplateSelector logic class. The DataTemplateSelector referenced by this property returns a template to apply to items. - A reference to a custom DataTemplateSelector logic class. - - - Identifies the ItemTemplateSelector dependency property. - The identifier for the ItemTemplateSelector dependency property. - - - Gets or sets the collection of root nodes of the tree. - The collection of root nodes of the tree. - - - Gets or sets the SelectedItem property of a TreeView. - Gets or sets the selected item. Default value is null. - - - Gets the currently selected items. - A collection of the currently selected items. The default is an empty collection. - - - Gets or sets the node that is selected in the tree. - The node that is selected in the tree. The default is null. - - - Gets or sets the collection of nodes that are selected in the tree. - The collection of nodes that are selected in the tree. The default is an empty collection. - - - Gets or sets the selection behavior for a TreeView instance. - An enumeration value that specifies the selection behavior for a TreeView. The default is Single selection. - - - Identifies the SelectionMode dependency property. - The identifier for the SelectionMode dependency property. - - - Provides event data for the TreeView.Collapsed" event. - - - Gets the TreeView item that is collapsed. - The TreeView item that is collapsed. - - - Gets the TreeView node that is collapsed. - The TreeView node that is collapsed. - - - Provides event data for the TreeView.DragItemsCompleted" event. - - - Gets a value that indicates what operation was performed on the dragged data, and whether it was successful. - A value of the enumeration that indicates what operation was performed on the dragged data. - - - Gets the loosely typed collection of objects that are selected for the item drag action. - A loosely typed collection of objects. - - - - Provides event data for the TreeView.DragItemsStarting" event. - - - Gets or sets a value that indicates whether the item drag action should be canceled. - true to cancel the item drag action; otherwise, false. - - - Gets the data payload associated with an items drag action. - The data payload. - - - Gets the loosely typed collection of objects that are selected for the item drag action. - A loosely typed collection of objects. - - - Provides event data for the TreeView.Expanding" event. - - - Gets the data item for the tree view node that is expanding. - The data item for the tree view node that is expanding. - - - Gets the tree view node that is expanding. - The tree view node that is expanding. - - - Represents the container for an item in a TreeView control. - - - Initializes a new instance of the TreeViewItem control. - - - Gets or sets the glyph to show for a collapsed tree node. - The glyph to show for a collapsed tree node. - - - Identifies the CollapsedGlyph dependency property. - The identifier for the CollapsedGlyph dependency property. - - - Gets or sets the glyph to show for an expanded tree node. - The glyph to show for an expanded tree node. - - - Identifies the ExpandedGlyph dependency property. - The identifier for the ExpandedGlyph dependency property. - - - Gets or sets the Brush used to paint node glyphs on a TreeView. - The Brush used to paint node glyphs on a TreeView. - - - Identifies the GlyphBrush dependency property. - The identifier for the GlyphBrush dependency property. - - - Gets or sets the opacity of node glyphs on a TreeView. - The opacity of node glyphs on a TreeView. - - - Identifies the GlyphOpacity dependency property. - The identifier for the GlyphOpacity dependency property. - - - Gets or sets the size of node glyphs on a TreeView. - The opacity of size glyphs on a TreeView. - - - Identifies the GlyphSize dependency property. - The identifier for the GlyphSize dependency property. - - - Gets or sets a value that indicates whether the current item has child items that haven't been shown. - true if the current item has child items that haven't been shown. Otherwise, false. - - - Identifies the HasUnrealizedChildren dependency property. - The identifier for the HasUnrealizedChildren dependency property. - - - Gets or sets a value that indicates whether a tree node is expanded. - true if the tree node is expanded; otherwise, false. - - - Identifies the IsExpanded dependency property. - The identifier for the IsExpanded dependency property. - - - Gets or sets an object source used to generate the content of the TreeView. - The object that is used to generate the content of the TreeViewItem. The default is null. - - - Identifies the ItemsSource dependency property. - The identifier for the ItemsSource dependency property. - - - Gets an object that provides calculated values that can be referenced as {TemplateBinding} markup extension sources when defining templates for a TreeViewItem control. - An object that provides calculated values for templates. - - - Identifies the TreeViewItemTemplateSettings dependency property. - The identifier for the TreeViewItemTemplateSettings dependency property. - - - Provides event data for the TreeView.ItemInvoked" event. - - - Gets or sets a value that marks the routed event as handled. A true value for prevents most handlers along the event route from handling the same event again. - true to mark the routed event handled. false to leave the routed event unhandled, which permits the event to potentially route further and be acted on by other handlers. The default is false. - - - Gets the TreeView item that is invoked. - The TreeView item that is invoked. - - - Provides calculated values that can be referenced as TemplatedParent sources when defining templates for a TreeViewItem control. Not intended for general use. - - - Initializes a new instance of the TreeViewItemTemplateSettings class. - - - Gets the visibilty of a collapsed glyph. - The visibilty of a collapsed glyph. - - - Identifies the CollapsedGlyphVisibility dependency property. - The identifier for the CollapsedGlyphVisibility dependency property. - - - Gets the number of items being dragged. - The number of items being dragged. - - - Identifies the DragItemsCount dependency property. - The identifier for the DragItemsCount dependency property. - - - Gets the visibilty of an expanded glyph. - The visibilty of an expanded glyph. - - - Identifies the ExpandedGlyphVisibility dependency property. - The identifier for the ExpandedGlyphVisibility dependency property. - - - Gets the amount that the item is indented. - The amount that the item is indented. - - - Identifies the Indentation dependency property. - The identifier for the Indentation dependency property. - - - Represents a flattened list of tree view items so that operations such as keyboard navigation and drag-and-drop can be inherited from ListView. - - - Initializes a new instance of the TreeViewList control. - - - Represents a node in a TreeView control. - - - Initializes a new instance of the TreeViewNode class. - - - Gets the collection of nodes that are children of the current node. - The collection of nodes that are children of the current node. The default is an empty collection. - - - Gets or sets the data content for the current node. - The data content for the current node. - - - Identifies the Content dependency property. - The identifier for the Content dependency property. - - - Gets a value that indicates how far the current node is from the root node of the tree. - The depth of the current node from the root node of the tree. - - - Identifies the Depth dependency property. - The identifier for the Depth dependency property. - - - Gets a value that indicates whether the current node has child items. - true if the current node has child items; otherwise, false. - - - Identifies the HasChildren dependency property. - The identifier for the HasChildren dependency property. - - - Gets or sets a value that indicates whether the current node has child items that haven't been shown. - true of the current node has child items that haven't been shown; otherwise, false. - - - Gets or sets a value that indicates whether the cuurent tree view node is expanded. - true if the node is expanded; otherwise, false. - - - Identifies the IsExpanded dependency property. - The identifier for the IsExpanded dependency property. - - - Gets or sets the node that is the parent of the current node. - The node that is the parent of the current node. - - - Defines constants that specify the selection behavior for a TreeView instance. - - - The user can select multiple items. - - - A user can't select items. - - - A user can select a single item. - - - Represents a container with two views that size and position content in the available space, either side-by-side or top-bottom. - - - Occurs when the Mode of the TwoPaneView has changed. - - - Initializes a new instance of the TwoPaneView class. - - - Gets or sets the minimum height at which panes are shown in tall mode. - The minimum height at which panes are shown in tall mode. The default is 641px. - - - Identifies the MinTallModeHeight dependency property. - The identifier for the MinTallModeHeight dependency property. - - - Gets or sets the minimum width at which panes are shown in wide mode. - The minimum width at which panes are shown in wide mode. The default is 641px. - - - Identifies the MinWideModeWidth dependency property. - The identifier for the MinWideModeWidth dependency property. - - - Gets a value that indicates how panes are shown. - An enumeration value that indicates how panes are shown. - - - Identifies the Mode dependency property. - The identifier for the Mode dependency property. - - - Gets or sets the content of pane 1. - The content of pane 1. - - - Gets the calculated width (in wide mode) or height (in tall mode) of pane 1, or sets the GridLength value of pane 1. - The GridLength that represents the width or height of the pane. - - - Identifies the Pane1Length dependency property. - The identifier for the Pane1Length dependency property. - - - Identifies the Pane1 dependency property. - The identifier for the Pane1 dependency property. - - - Gets or sets the content of pane 2. - The content of pane 2. - - - Gets the calculated width (in wide mode) or height (in tall mode) of pane 2, or sets the GridLength value of pane 2. - The GridLength that represents the width or height of the pane. - - - Identifies the Pane2Length dependency property. - The identifier for the Pane2Length dependency property. - - - Identifies the Pane2 dependency property. - The identifier for the Pane2 dependency property. - - - Gets or sets a value that indicates which pane has priority. - An enumeration value that indicates which pane has priority. - - - Identifies the PanePriority dependency property. - The identifier for the PanePriority dependency property. - - - Gets or sets a value that indicates how panes are shown in tall mode. - An enumeration value that indicates how panes are shown in tall mode. - - - Identifies the TallModeConfiguration dependency property. - The identifier for the TallModeConfiguration dependency property. - - - Gets or sets a value that indicates how panes are shown in wide mode. - An enumeration value that indicates how panes are shown in wide mode. - - - Identifies the WideModeConfiguration dependency property. - The identifier for the WideModeConfiguration dependency property. - - - Defines constants that specify how panes are shown in a TwoPaneView. - - - Only one pane is shown. - - - Panes are shown top-bottom. - - - Panes are shown side-by-side. - - - Defines constants that specify which pane has priority in a TwoPaneView. - - - Pane 1 has priority. - - - Pane 2 has priority. - - - Defines constants that specify how panes are shown in a TwoPaneView in tall mode. - - - The pane that has priority is shown on the bottom, the other pane is shown on top. - - - Only the pane that has priority is shown, the other pane is hidden. - - - The pane that has priority is shown on top, the other pane is shown on the bottom. - - - Defines constants that specify how panes are shown in a TwoPaneView in wide mode. - - - The pane that has priority is shown on the left, the other pane is shown on the right. - - - The pane that has priority is shown on the right, the other pane is shown on the left. - - - Only the pane that has priority is shown, the other pane is hidden. - - - Positions elements sequentially from left to right or top to bottom in a wrapping layout. - - - Initializes a new instance of the UniformGridLayout class. - - - Gets or sets a value that indicates how items are aligned on the non-scrolling or non-virtualizing axis. - An enumeration value that indicates how items are aligned. The default is Start. - - - Identifies the ItemsJustification dependency property. - The identifier for the ItemsJustification dependency property. - - - Gets or sets a value that indicates how items are sized to fill the available space. - An enumeration value that indicates how items are sized to fill the available space. The default is None. - - - Identifies the ItemsStretch dependency property. - The identifier for the ItemsStretch dependency property. - - - Gets or sets the maximum number of items rendered per row or column, based on the orienation of the UniformGridLayout. - An integer indicating the maximum number of items per row (for Vertical orientation) or column (for Horizontal orientation). - - - Identifies the MaximumRowsOrColumns dependency property. - The identifier for the MaximumRowsOrColumns dependency property. - - - Gets or sets the minimum space between items on the horizontal axis. - The minimum space (in pixels) between items on the horizontal axis. - - - Identifies the MinColumnSpacing dependency property. - The identifier for the MinColumnSpacing dependency property. - - - Gets or sets the minimum height of each item. - The minimum height (in pixels) of each item. The default is NaN, in which case the height of the first item is used as the minimum. - - - Identifies the MinItemHeight dependency property. - The identifier for the MinItemHeight dependency property. - - - Gets or sets the minimum width of each item. - The minimum width (in pixels) of each item. The default is NaN, in which case the width of the first item is used as the minimum. - - - Identifies the MinItemWidth dependency property. - The identifier for the MinItemWidth dependency property. - - - Gets or sets the minimum space between items on the vertical axis. - The minimum space (in pixels) between items on the vertical axis. - - - Identifies the MinRowSpacing dependency property. - The identifier for the MinRowSpacing dependency property. - - - Gets or sets the axis along which items are laid out. - One of the enumeration values that specifies the axis along which items are laid out. The default is Vertical. - - - Identifies the Orientation dependency property. - The identifier for the Orientation dependency property. - - - Defines constants that specify how items are aligned on the non-scrolling or non-virtualizing axis. - - - Items are aligned in the center of the row or column, with extra space at the start and end. Spacing between items does not change. - - - Items are aligned with the end of the row or column, with extra space at the start. Spacing between items does not change. - - - Items are aligned so that extra space is added evenly before and after each item. - - - Items are aligned so that extra space is added evenly between adjacent items. No space is added at the start or end. - - - - Items are aligned with the start of the row or column, with extra space at the end. Spacing between items does not change. - - - Defines constants that specify how items are sized to fill the available space. - - - The item is sized to fill the available space in the non-scrolling direction. Item size in the scrolling direction is not changed. - - - The item retains its natural size. Use of extra space is determined by the ItemsJustification property. - - - The item is sized to both fill the available space in the non-scrolling direction and maintain its aspect ratio. - - - Represents the base class for an object that sizes and arranges child elements for a host and supports virtualization. - - - Initializes a new instance of the VirtualizingLayout class. - - - When implemented in a derived class, provides the behavior for the "Arrange" pass of layout. Classes can override this method to define their own "Arrange" pass behavior. - The context object that facilitates communication between the layout and its host container. - The final area within the container that this object should use to arrange itself and its children. - The actual size that is used after the element is arranged in layout. - - - When overridden in a derived class, initializes any per-container state the layout requires when it is attached to a UIElement container. - The context object that facilitates communication between the layout and its host container. - - - Provides the behavior for the "Measure" pass of the layout cycle. Classes can override this method to define their own "Measure" pass behavior. - The context object that facilitates communication between the layout and its host container. - The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available. - The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects or based on other considerations such as a fixed container size. - - - Notifies the layout when the data collection assigned to the container element (ItemsSource) has changed. - The context object that facilitates communication between the layout and its host container. - The data source. - Data about the collection change. - - - When overridden in a derived class, removes any state the layout previously stored on the UIElement container. - The context object that facilitates communication between the layout and its host container. - - - Represents the base class for layout context types that support virtualization. - - - Initializes a new instance of the VirtualizingLayoutContext class. - - - Retrieves the data item in the source found at the specified index. - The index of the data item to retrieve. - The data item at the specified index. - - - When implemented in a derived class, retrieves the data item in the source found at the specified index. - The index of the data item to retrieve. - The data item at the specified index. - - - Retrieves a UIElement that represents the data item in the source found at the specified index. By default, if an element already exists, it is returned; otherwise, a new element is created. - The index of the data item to retrieve a UIElement for. - A UIElement that represents the data item. - - - Retrieves a UIElement that represents the data item in the source found at the specified index using the specified options. - The index of the data item to retrieve a UIElement for. - A value of ElementRealizationOptions that specifies whether to suppress automatic recycling of the retrieved element or force creation of a new element. - A UIElement that represents the data item. - - - - - - - When implemented in a derived class, retrieves the number of items in the data. - The number of items in the data. - - - When implemented in a derived class, retrieves an area that represents the viewport and buffer that the layout should fill with realized elements. - An area that represents the viewport and buffer that the layout should fill with realized elements. - - - Clears the specified UIElement and allows it to be either re-used or released. - The element to clear. - - - When implemented in a derived class, clears the specified UIElement and allows it to be either re-used or released. - The element to clear. - - - Gets the number of items in the data. - The number of items in the data. - - - Gets or sets the origin point for the estimated content size. - The origin point for the estimated content size. - - - Implements the behavior of LayoutOrigin in a derived or custom VirtualizingLayoutContext. - The value that should be returned as LayoutOrigin by the VirtualizingLayoutContext. - - - Gets an area that represents the viewport and buffer that the layout should fill with realized elements. - - - Gets the recommended index from which to start the generation and layout of elements. - The recommended index from which the layout should start. - - - Implements the behavior for getting the return value of RecommendedAnchorIndex in a derived or custom VirtualizingLayoutContext. - The value that should be returned as RecommendedAnchorIndex by the VirtualizingLayoutContext. - - - Default styles for the controls in the WinUI library. - - - Initializes a new instance of the XamlControlsResources class. - - - - - - - - - - - - - Initializes a new instance of the MUXHasCustomActivationFactoryAttribute class. - - - - - Initializes a new instance of the MUXPropertyChangedCallbackAttribute class. - - - - - Initializes a new instance of the MUXPropertyChangedCallbackMethodNameAttribute class. - - - - - Initializes a new instance of the MUXPropertyDefaultValueAttribute class. - - - - Initializes a new instance of the MUXPropertyNeedsDependencyPropertyFieldAttribute class. - - - - - Initializes a new instance of the MUXPropertyTypeAttribute class. - - - - - Initializes a new instance of the MUXPropertyValidationCallbackAttribute class. - - - Defines values that specify whether the brush samples from the app content or from the content behind the app window. - - - The brush samples from the app content. - - - The brush samples from the content behind the app window. - - - Paints an area with a semi-transparent material that uses multiple effects including blur and a noise texture. - - - Initializes a new instance of the AcrylicBrush class. - - - Gets or sets a value that specifies whether the brush is forced to the solid fallback color. - true to always replace the acrylic material with the solid fallback color. Otherwise, false. The default is false. - - - Identifies the AlwaysUseFallback dependency property. - The identifier for the AlwaysUseFallback dependency property. - - - Gets or sets a value that specifies whether the brush samples from the app content or from the content behind the app window. - A value of the enumeration that specifies whether the brush samples from the app content or from the content behind the app window. - - - Identifies the BackgroundSource dependency property. - The identifier for the BackgroundSource dependency property. - - - Gets or sets the color tint for the semi-transparent acrylic material. - The color tint for the semi-transparent acrylic material. - - - Identifies the TintColor dependency property. - The identifier for the TintColor dependency property. - - - Gets or sets the degree of opacity of the color's luminosity tint. - The opacity expressed as a value between 0 and 1.0. The default value is 1.0, which is full opacity. 0 is transparent opacity. - - - Identifies the TintLuminosityOpacity dependency property. - The identifier for the TintLuminosityOpacity dependency property. - - - Gets or sets the degree of opacity of the color tint. - The opacity expressed as a value between 0 and 1.0. The default value is 1.0, which is full opacity. 0 is transparent opacity. - - - Identifies the TintOpacity dependency property. - The identifier for the TintOpacity dependency property. - - - Gets or sets the length of the automatic transition animation used when the TintColor changes. - The length of the automatic transition animation used when the TintColor changes. - - - Identifies the TintTransitionDuration dependency property. - The identifier for the TintTransitionDuration dependency property. - - - RadialGradientBrush paints an area with a radial gradient. A center point defines the origin of the gradient, and an ellipse defines the outer bounds of the gradient. - - - Initializes a new instance of the RadialGradientBrush class. - - - Gets or sets the center of the ellipse that contains the gradient. - The center of the ellipse that contains the gradient. The default is (0.5, 0.5). - - - Identifies the Center dependency property. - The identifier for the Center dependency property. - - - Gets or sets the gradient's origin (relative to the top left corner). - The gradient's origin (relative to the top left corner). The default is (0.5, 0,5). - - - Identifies the GradientOrigin dependency property. - The identifier for the GradientOrigin dependency property. - - - Gets or sets the brush's gradient stops. - A collection of GradientStop objects that define the gradient. - - - Gets or sets the color space used to interpolate the gradient's colors. - The color space used to interpolate the gradient's colors. The default is Auto. - - - Identifies the InterpolationSpace dependency property. - The identifier for the InterpolationSpace dependency property. - - - Gets or sets whether the gradient brush's positioning coordinates are absolute or relative to the output area. - Defines whether Center, RadiusX, RadiusY, and GradientOrigin represent relative coordinates in the range 0 to 1 or absolute coordinates. The default is RelativeToBoundingBox. - - - Identifies the MappingMode dependency property. - The identifier for the MappingMode dependency property. - - - Gets or sets the X axis radius of the ellipse that contains the gradient. - The X axis radius of the ellipse that contains the gradient. The default is 0.5. - - - Identifies the RadiusX dependency property. - The identifier for the RadiusX dependency property. - - - Gets or sets the Y axis radius of the ellipse that contains the gradient. - The Y axis radius of the ellipse that contains the gradient. The default is 0.5. - - - Identifies the RadiusY dependency property. - The identifier for the RadiusY dependency property. - - - Gets or sets the type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted. - The type of spread method that specifies how to draw a gradient that starts or ends inside the bounds of the object to be painted. The default is Pad - - - Identifies the SpreadMethod dependency property. - The identifier for the SpreadMethod dependency property. - - - - Implements XAML schema context concepts that support XAML parsing. - - - Creates a new instance of the XamlControlsXamlMetadataProvider class. - - - Implements XAML schema context access to underlying type mapping, based on specifying a full type name. - The name of the class for which to return a XAML type mapping. - The schema context's implementation of the IXamlType concept. - - - Implements XAML schema context access to underlying type mapping, based on providing a helper value that describes a type. - The type as represented by the relevant type system or interop support type. - The schema context's implementation of the IXamlType concept. - - - Gets the set of XMLNS (XAML namespace) definitions that apply to the context. - The set of XMLNS (XAML namespace) definitions. - - - Invokes any necessary pre-activation logic as required by the XAML schema context and its platform dependencies. - - - \ No newline at end of file diff --git a/build/NuSpecs/MUXControls-Experimental-Nuget-Common.targets b/build/NuSpecs/MUXControls-Experimental-Nuget-Common.targets deleted file mode 100644 index 1999919d77..0000000000 --- a/build/NuSpecs/MUXControls-Experimental-Nuget-Common.targets +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/build/NuSpecs/MUXControls-Experimental-Nuget-Native.targets b/build/NuSpecs/MUXControls-Experimental-Nuget-Native.targets deleted file mode 100644 index 5aefbdadef..0000000000 --- a/build/NuSpecs/MUXControls-Experimental-Nuget-Native.targets +++ /dev/null @@ -1,16 +0,0 @@ - - - - - x86 - $(Platform) - - - - Microsoft.Experimental.UI.Xaml.dll - - - - - - \ No newline at end of file diff --git a/build/NuSpecs/MUXControls-Nuget-Common.targets b/build/NuSpecs/MUXControls-Nuget-Common.targets deleted file mode 100644 index b0b00cd229..0000000000 --- a/build/NuSpecs/MUXControls-Nuget-Common.targets +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - $([System.Version]::Parse('$(TargetPlatformMinVersion)').Build) - - - - $([System.Version]::Parse('$(TargetPlatformVersion)').Build) - - - - - - - true - Microsoft.UI.Xaml.winmd - CustomOutputGroupForPackaging - $(ProjectName) - Microsoft.UI.Xaml.dll - - - - Microsoft.UI.Xaml.winmd - Microsoft.UI.Xaml\DensityStyles\Compact.xbf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft.UI.Xaml.winmd - - - Microsoft.UI.Xaml.winmd - - - - - diff --git a/build/NuSpecs/MUXControls-Nuget-FrameworkPackage-Native.props b/build/NuSpecs/MUXControls-Nuget-FrameworkPackage-Native.props deleted file mode 100644 index fa7c40170d..0000000000 --- a/build/NuSpecs/MUXControls-Nuget-FrameworkPackage-Native.props +++ /dev/null @@ -1,7 +0,0 @@ - - - - - true - - \ No newline at end of file diff --git a/build/NuSpecs/MUXControls-Nuget-FrameworkPackage.props b/build/NuSpecs/MUXControls-Nuget-FrameworkPackage.props deleted file mode 100644 index 624202fab2..0000000000 --- a/build/NuSpecs/MUXControls-Nuget-FrameworkPackage.props +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - x86 - $(MicrosoftUIXamlAppxVersion) - 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' - - - - Win32 - $(MicrosoftUIXamlAppxVersion) - 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' - - - - - x64 - $(MicrosoftUIXamlAppxVersion) - 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' - - - - - arm - $(MicrosoftUIXamlAppxVersion) - 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' - - - - - arm64 - $(MicrosoftUIXamlAppxVersion) - 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' - - - - - - - \ No newline at end of file diff --git a/build/NuSpecs/MUXControls-Nuget-FrameworkPackage.targets b/build/NuSpecs/MUXControls-Nuget-FrameworkPackage.targets deleted file mode 100644 index 21b8dd17e6..0000000000 --- a/build/NuSpecs/MUXControls-Nuget-FrameworkPackage.targets +++ /dev/null @@ -1,11 +0,0 @@ - - - - - x86 - $(Platform) - - - - - \ No newline at end of file diff --git a/build/NuSpecs/MUXControls-Nuget-Native.props b/build/NuSpecs/MUXControls-Nuget-Native.props deleted file mode 100644 index 68e8760cb2..0000000000 --- a/build/NuSpecs/MUXControls-Nuget-Native.props +++ /dev/null @@ -1,7 +0,0 @@ - - - - - true - - diff --git a/build/NuSpecs/MUXControls-Nuget-Native.targets b/build/NuSpecs/MUXControls-Nuget-Native.targets deleted file mode 100644 index 74f0f28edf..0000000000 --- a/build/NuSpecs/MUXControls-Nuget-Native.targets +++ /dev/null @@ -1,16 +0,0 @@ - - - - - x86 - $(Platform) - - - - Microsoft.UI.Xaml.dll - - - - - - \ No newline at end of file diff --git a/build/NuSpecs/MUXControls.nuspec b/build/NuSpecs/MUXControls.nuspec deleted file mode 100644 index 4c74f3cd18..0000000000 --- a/build/NuSpecs/MUXControls.nuspec +++ /dev/null @@ -1,45 +0,0 @@ - - - - $ID$ - 0.0.0-SpecifyVersionOnCommandline - Windows UI Library - Microsoft - Microsoft - This package provides backward-compatible versions of Windows UI features including UWP XAML controls, and Fluent styles and materials. It is part of the Windows UI Library. - © Microsoft Corporation. All rights reserved. - Windows WinUI UWP XAML Fluent Controls Downlevel Compatibility TreeView ColorPicker NavigationView MenuBar - true - license.txt - https://github.com/microsoft/microsoft-ui-xaml - https://aka.ms/winui_icon - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/NuSpecs/MUXControlsFrameworkPackage.nuspec b/build/NuSpecs/MUXControlsFrameworkPackage.nuspec deleted file mode 100644 index 7e8795afb8..0000000000 --- a/build/NuSpecs/MUXControlsFrameworkPackage.nuspec +++ /dev/null @@ -1,46 +0,0 @@ - - - - $ID$ - 0.0.0-SpecifyVersionOnCommandline - Windows UI Library - Microsoft - Microsoft - This package provides backward-compatible versions of Windows UI features including UWP XAML controls, dense control styles, and Fluent styles and materials. It is part of the Windows UI Library. - © Microsoft Corporation. All rights reserved. - Windows WinUI UWP XAML Fluent Controls Downlevel Compatibility TreeView ColorPicker NavigationView MenuBar - true - license.txt - https://github.com/microsoft/microsoft-ui-xaml - https://aka.ms/winui_icon - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/NuSpecs/MakeAllAppx.cmd b/build/NuSpecs/MakeAllAppx.cmd deleted file mode 100644 index 6e89f65d58..0000000000 --- a/build/NuSpecs/MakeAllAppx.cmd +++ /dev/null @@ -1,28 +0,0 @@ -@echo off -REM %~dp0 is position of script file - - -if exist %~dp0"..\..\BuildOutput\Debug\x86\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd x86 debug %* -) -if exist %~dp0"..\..\BuildOutput\Release\x86\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd x86 release%* -) -if exist %~dp0"..\..\BuildOutput\Debug\x64\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd x64 debug %* -) -if exist %~dp0"..\..\BuildOutput\Release\x64\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd x64 release %* -) -if exist %~dp0"..\..\BuildOutput\Debug\arm\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd arm debug %* -) -if exist %~dp0"..\..\BuildOutput\Release\arm\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd arm release %* -) -if exist %~dp0"..\..\BuildOutput\Debug\arm64\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd arm64 debug %* -) -if exist %~dp0"..\..\BuildOutput\Release\arm64\Microsoft.UI.Xaml" ( - call %~dp0..\..\tools\MakeAppxHelper.cmd arm64 release %* -) \ No newline at end of file diff --git a/build/NuSpecs/Microsoft.Experimental.UI.Xaml.nuspec b/build/NuSpecs/Microsoft.Experimental.UI.Xaml.nuspec deleted file mode 100644 index 5351561660..0000000000 --- a/build/NuSpecs/Microsoft.Experimental.UI.Xaml.nuspec +++ /dev/null @@ -1,31 +0,0 @@ - - - - $ID$ - 0.0.0-SpecifyVersionOnCommandline - Microsoft.Experimental.UI.Xaml - Microsoft - Microsoft - Microsoft.Experimental.UI.Xaml - © Microsoft Corporation. All rights reserved. - https://github.com/microsoft/microsoft-ui-xaml - https://aka.ms/winui_icon - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/NuSpecs/VisualStudioToolsManifest.xml b/build/NuSpecs/VisualStudioToolsManifest.xml deleted file mode 100644 index 5d952d7d35..0000000000 --- a/build/NuSpecs/VisualStudioToolsManifest.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/NuSpecs/build-nupkg.cmd b/build/NuSpecs/build-nupkg.cmd deleted file mode 100644 index eff5e9421e..0000000000 --- a/build/NuSpecs/build-nupkg.cmd +++ /dev/null @@ -1,3 +0,0 @@ -@echo off - -%~dp0\..\..\tools\PowershellWrapper.cmd %~dpn0.ps1 %* \ No newline at end of file diff --git a/build/NuSpecs/build-nupkg.ps1 b/build/NuSpecs/build-nupkg.ps1 deleted file mode 100644 index b9a94d084b..0000000000 --- a/build/NuSpecs/build-nupkg.ps1 +++ /dev/null @@ -1,175 +0,0 @@ -[CmdLetBinding()] -Param( - [string]$BuildOutput, - [string]$OutputDir, - [string]$VersionOverride, - [string]$Subversion = "", - [string]$DateOverride, - [string]$prereleaseversion, - [string]$BuildFlavor = "release", - [string]$BuildArch = "x86", - [switch]$NoDeleteTemp, - [switch]$SkipFrameworkPackage -) - -Write-Host "BuildOutput = '$BuildOutput'" -Write-Host "OutputDir = '$OutputDir'" -Write-Host "VersionOverride = '$VersionOverride'" -Write-Host "Subversion = '$Subversion'" -Write-Host "DateOverride = '$DateOverride'" -Write-Host "prereleaseversion = '$prereleaseversion'" -Write-Host "BuildFlavor = '$BuildFlavor'" -Write-Host "BuildArch = '$BuildArch'" -Write-Host "NoDeleteTemp = '$NoDeleteTemp'" -Write-Host "SkipFrameworkPackage = '$SkipFrameworkPackage'" - -# -# Version is read from the VERSION file. -# - -$scriptDirectory = $script:MyInvocation.MyCommand.Path | Split-Path -Parent - -pushd $scriptDirectory - -if (!$OutputDir) -{ - $OutputDir = $scriptDirectory -} - -if (!$BuildOutput) -{ - Write-Host "Must specify BuildOutput parameter" -ForegroundColor Red - Exit 1 -} - -if ($VersionOverride) -{ - $version = $VersionOverride -} -else -{ - [xml]$customProps = (Get-Content ..\..\version.props) - $versionMajor = $customProps.GetElementsByTagName("MUXVersionMajor").'#text' - $versionMinor = $customProps.GetElementsByTagName("MUXVersionMinor").'#text' - $versionPatch = $customProps.GetElementsByTagName("MUXVersionPatch").'#text' - - if ((!$versionMajor) -or (!$versionMinor) -or (!$versionPatch)) - { - Write-Error "Expected MUXVersionMajor, MUXVersionMinor, and MUXVersionPatch tags to be in version.props file" - Exit 1 - } - - $version = "$versionMajor.$versionMinor.$versionPatch" - - Write-Verbose "Version = $version" -} - -if ($prereleaseversion) -{ - $versiondate = $DateOverride - if (-not $versiondate) - { - $pstZone = [System.TimeZoneInfo]::FindSystemTimeZoneById("Pacific Standard Time") - $pstTime = [System.TimeZoneInfo]::ConvertTimeFromUtc((Get-Date).ToUniversalTime(), $pstZone) - $versiondate += ($pstTime).ToString("yyMMdd") - } - - $version = "$version-$prereleaseversion.$versiondate$subversion" - -} - -if (!(Test-Path $OutputDir)) { mkdir $OutputDir } - -$nupkgtitle = "Microsoft.UI.Xaml" - -function New-TemporaryDirectory { - $parent = [System.IO.Path]::GetTempPath() - $name = [System.IO.Path]::GetRandomFileName() - New-Item -ItemType Directory -Path (Join-Path $parent $name) -} - -function Copy-IntoNewDirectory { - Param($source, $destinationDir, [switch]$IfExists = $false) - - if ((-not $IfExists) -or (Test-Path $source)) - { - Write-Verbose "Copy from '$source' to '$destinationDir'" - if (-not (Test-Path $destinationDir)) - { - $ignore = New-Item -ItemType Directory $destinationDir - } - Copy-Item -Recurse -Force $source $destinationDir - } -} - -$TempDir = New-TemporaryDirectory - -Write-Verbose "TempDir = $($TempDir.FullName)" - -# nuspecs can't have conditionals so copy the contents of the runtime folder over, skipping arm64 if those sources aren't -# created in this particular build. -$runtimesDir = "$($TempDir.FullName)\runtimes" -$toolsDir = "$($TempDir.FullName)\tools" - -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\x86\Microsoft.UI.Xaml\Microsoft.UI.Xaml.dll "$runtimesDir\win10-x86\native" -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\x86\Microsoft.UI.Xaml\Microsoft.UI.Xaml.pri "$runtimesDir\win10-x86\native" -Copy-IntoNewDirectory -IfExists ..\..\dev\Materials\Acrylic\Assets\NoiseAsset_256x256_PNG.png "$runtimesDir\win10-x86\native\Microsoft.UI.Xaml\Assets" -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\x64\Microsoft.UI.Xaml\Microsoft.UI.Xaml.dll "$runtimesDir\win10-x64\native" -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\x64\Microsoft.UI.Xaml\Microsoft.UI.Xaml.pri "$runtimesDir\win10-x64\native" -Copy-IntoNewDirectory -IfExists ..\..\dev\Materials\Acrylic\Assets\NoiseAsset_256x256_PNG.png "$runtimesDir\win10-x64\native\Microsoft.UI.Xaml\Assets" -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\arm\Microsoft.UI.Xaml\Microsoft.UI.Xaml.dll "$runtimesDir\win10-arm\native" -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\arm\Microsoft.UI.Xaml\Microsoft.UI.Xaml.pri "$runtimesDir\win10-arm\native" -Copy-IntoNewDirectory -IfExists ..\..\dev\Materials\Acrylic\Assets\NoiseAsset_256x256_PNG.png "$runtimesDir\win10-arm\native\Microsoft.UI.Xaml\Assets" -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\arm64\Microsoft.UI.Xaml\Microsoft.UI.Xaml.dll "$runtimesDir\win10-arm64\native" -Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\arm64\Microsoft.UI.Xaml\Microsoft.UI.Xaml.pri "$runtimesDir\win10-arm64\native" -Copy-IntoNewDirectory -IfExists ..\..\dev\Materials\Acrylic\Assets\NoiseAsset_256x256_PNG.png "$runtimesDir\win10-arm64\native\Microsoft.UI.Xaml\Assets" - -$CommonNugetArgs = "-properties `"BuildOutput=$BuildOutput``;ID=$nupkgtitle``;RUNTIMESDIR=$runtimesDir`;TOOLSDIR=$toolsDir`;BUILDFLAVOR=$($BuildFlavor)`;BUILDARCH=$($BuildArch)`"" - -$NugetArgs = "$CommonNugetArgs -OutputDirectory $OutputDir" - -$nugetExe = "$scriptDirectory\..\..\tools\NugetWrapper.cmd" -$NugetCmdLine = "$nugetExe pack MUXControls.nuspec $NugetArgs -version $version" -Write-Host $NugetCmdLine -Invoke-Expression $NugetCmdLine -if ($lastexitcode -ne 0) -{ - Write-Host "Nuget returned $lastexitcode" - Exit $lastexitcode; -} - -Write-Host -Write-Host "SkipFrameworkPackage = $SkipFrameworkPackage" -Write-Host - -if(-not $SkipFrameworkPackage) -{ - # Nuget package with framework package encapsulation - $NugetArgs = "$CommonNugetArgs -OutputDirectory $OutputDir\FrameworkPackage" - - Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\x86\FrameworkPackage\Microsoft.UI.Xaml.*.appx "$toolsDir\AppX\x86\Release" - Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\x64\FrameworkPackage\Microsoft.UI.Xaml.*.appx "$toolsDir\AppX\x64\Release" - Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\arm\FrameworkPackage\Microsoft.UI.Xaml.*.appx "$toolsDir\AppX\arm\Release" - Copy-IntoNewDirectory -IfExists $BuildOutput\$BuildFlavor\arm64\FrameworkPackage\Microsoft.UI.Xaml.*.appx "$toolsDir\AppX\arm64\Release" - # Currently we don't have a separate Debug package that we want to ship to customers - #Copy-IntoNewDirectory -IfExists $BuildOutput\debug\x86\FrameworkPackage\Microsoft.UI.Xaml.Debug.*.appx "$toolsDir\AppX\x86\Debug" - #Copy-IntoNewDirectory -IfExists $BuildOutput\debug\x64\FrameworkPackage\Microsoft.UI.Xaml.Debug.*.appx "$toolsDir\AppX\x64\Debug" - #Copy-IntoNewDirectory -IfExists $BuildOutput\debug\arm\FrameworkPackage\Microsoft.UI.Xaml.Debug.*.appx "$toolsDir\AppX\arm\Debug" - #Copy-IntoNewDirectory -IfExists $BuildOutput\debug\arm64\FrameworkPackage\Microsoft.UI.Xaml.Debug.*.appx "$toolsDir\AppX\arm64\Debug" - - $NugetCmdLine = "$nugetExe pack MUXControlsFrameworkPackage.nuspec $NugetArgs -version $version" - Write-Host $NugetCmdLine - Invoke-Expression $NugetCmdLine - if ($lastexitcode -ne 0) - { - Write-Host "Nuget returned $lastexitcode" - Exit $lastexitcode; - } -} - -if (-not $NoDeleteTemp) -{ - Remove-Item -Recurse -Force "$($TempDir.FullName)" -} - -popd \ No newline at end of file diff --git a/build/NuSpecs/license.txt b/build/NuSpecs/license.txt deleted file mode 100644 index 857bd5a5cf..0000000000 --- a/build/NuSpecs/license.txt +++ /dev/null @@ -1,76 +0,0 @@ -MICROSOFT SOFTWARE LICENSE TERMS -MICROSOFT WINDOWS UI LIBRARY ----------------------------------------- -IF YOU LIVE IN (OR ARE A BUSINESS WITH YOUR PRINCIPAL PLACE OF BUSINESS IN) THE UNITED STATES, PLEASE READ THE “BINDING ARBITRATION AND CLASS ACTION WAIVER” SECTION BELOW. IT AFFECTS HOW DISPUTES ARE RESOLVED. ----------------------------------------- - -These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They apply to the software named above and any Microsoft services or software updates (except to the extent such services or updates are accompanied by new or additional terms, in which case those different terms apply prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. - -1. INSTALLATION AND USE RIGHTS. - a) General. You may install and use any number of copies of the software to develop and test your applications. - b) Third Party Software. The software may include third party applications that are licensed to you under this agreement or under their own terms. License terms, notices, and acknowledgements, if any, for the third party applications may be accessible online at https://aka.ms/thirdpartynotices or in an accompanying notices file. Even if such applications are governed by other agreements, the disclaimer, limitations on, and exclusions of damages below also apply to the extent allowed by applicable law. - c) Included Microsoft Software. The software may include other Microsoft software components. These license terms apply to the included software components unless other license terms are provided with the included software components. Even if such software components are governed by other agreements, the disclaimer, limitations on, and exclusions of damages below also apply to the extent allowed by applicable law. - -2. DISTRIBUTABLE CODE. You are permitted to distribute (i.e. make available for third parties) software in applications you develop, as described in this Section. - a) Distribution Rights. You may copy, modify, and distribute object code; and - i. Third Party Distribution. You may permit distributors of your applications to copy and distribute any of this distributable code you elect to distribute with your applications. - b) Distribution Requirements. For any code you distribute, you must: - i. add significant primary functionality to it in your applications; - ii. require distributors and external end users to agree to terms that protect it and Microsoft at least as much as this agreement; and - iii. indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your applications, except to the extent that any claim is based solely on the unmodified distributable code. - - c) Distribution Restrictions. You may not: - i. use Microsoft’s trademarks or trade dress in your application in any way that suggests your application comes from or is endorsed by Microsoft; or - ii. modify or distribute the source code of any distributable code so that any part of it becomes subject to any license that requires that the distributable code, any other part of the software, or any of Microsoft’s other intellectual property be disclosed or distributed in source code form, or that others have the right to modify it. - -3. DATA COLLECTION. The software may collect information about you and your use of the software and send that to Microsoft. Microsoft may use this information to provide services and improve Microsoft’s products and services. Your opt-out rights, if any, are described in the product documentation. Some features in the software may enable collection of data from users of your applications that access or use the software. If you use these features to enable data collection in your applications, you must comply with applicable law, including getting any required user consent, and maintain a prominent privacy policy that accurately informs users about how you use, collect, and share their data. You can learn more about Microsoft’s data collection and use in the product documentation and the Microsoft Privacy Statement at https://go.microsoft.com/fwlink/?LinkId=521839. You agree to comply with all applicable provisions of the Microsoft Privacy Statement. - -4. SCOPE OF LICENSE. The software is licensed, not sold. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you will not (and have no right to): - a) work around any technical limitations in the software that only allow you to use it in certain ways; - b) reverse engineer, decompile, or disassemble the software, or attempt to do so, except and only to the extent permitted by licensing terms governing the use of open-source components that may be included with the software; - c) remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; - d) use the software in any way that is against the law or to create or propagate malware; or - e) share, publish, distribute, or lend the software (except for any distributable code, subject to the terms above), provide the software as a stand-alone hosted solution for others to use, or transfer the software or this agreement to any third party. - -5. EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end users, and end use. For further information on export restrictions, visit https://aka.ms/exporting. - -6. SUPPORT SERVICES. Microsoft is not obligated under this agreement to provide any support services for the software. Any support provided is “as is”, “with all faults”, and without warranty of any kind. - -7. UPDATES. The software may periodically check for updates, and download and install them for you. You may obtain updates only from Microsoft or authorized sources. Microsoft may need to update your system to provide you with updates. You agree to receive these automatic updates without any additional notice. Updates may not include or support all existing software features, services, or peripheral devices. - -8. BINDING ARBITRATION AND CLASS ACTION WAIVER. This Section applies if you live in (or, if a business, your principal place of business is in) the United States. If you and Microsoft have a dispute, you and Microsoft agree to try for 60 days to resolve it informally. If you and Microsoft can’t, you and Microsoft agree to binding individual arbitration before the American Arbitration Association under the Federal Arbitration Act (“FAA”), and not to sue in court in front of a judge or jury. Instead, a neutral arbitrator will decide. Class action lawsuits, class-wide arbitrations, private attorney-general actions, and any other proceeding where someone acts in a representative capacity are not allowed; nor is combining individual proceedings without the consent of all parties. The complete Arbitration Agreement contains more terms and is at https://aka.ms/arb-agreement-1. You and Microsoft agree to these terms. - -9. TERMINATION. Without prejudice to any other rights, Microsoft may terminate this agreement if you fail to comply with any of its terms or conditions. In such event, you must destroy all copies of the software and all of its component parts. - -10. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may provide for supplements, updates, or third-party applications, is the entire agreement for the software. - -11. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the software in the United States or Canada, the laws of the state or province where you live (or, if a business, where your principal place of business is located) govern the interpretation of this agreement, claims for its breach, and all other claims (including consumer protection, unfair competition, and tort claims), regardless of conflict of laws principles, except that the FAA governs everything related to arbitration. If you acquired the software in any other country, its laws apply, except that the FAA governs everything related to arbitration. If U.S. federal jurisdiction exists, you and Microsoft consent to exclusive jurisdiction and venue in the federal court in King County, Washington for all disputes heard in court (excluding arbitration). If not, you and Microsoft consent to exclusive jurisdiction and venue in the Superior Court of King County, Washington for all disputes heard in court (excluding - -12. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You may have other rights, including consumer rights, under the laws of your state or country. Separate and apart from your relationship with Microsoft, you may also have rights with respect to the party from which you acquired the software. This agreement does not change those other rights if the laws of your state or country do not permit it to do so. For example, if you acquired the software in one of the below regions, or mandatory country law applies, then the following provisions apply to you: - a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this agreement is intended to affect those rights. - b) Canada. If you acquired this software in Canada, you may stop receiving updates by turning off the automatic update feature, disconnecting your device from the Internet (if and when you re-connect to the Internet, however, the software will resume checking for and installing updates), or uninstalling the software. The product documentation, if any, may also specify how to turn off updates for your specific device or software. - c) Germany and Austria. - i. Warranty. The properly licensed software will perform substantially as described in any Microsoft materials that accompany the software. However, Microsoft gives no contractual guarantee in relation to the licensed software. - ii. Limitation of Liability. In case of intentional conduct, gross negligence, claims based on the Product Liability Act, as well as, in case of death or personal or physical injury, Microsoft is liable according to the statutory law. - Subject to the foregoing clause ii., Microsoft will only be liable for slight negligence if Microsoft is in breach of such material contractual obligations, the fulfillment of which facilitate the due performance of this agreement, the breach of which would endanger the purpose of this agreement and the compliance with which a party may constantly trust in (so-called "cardinal obligations"). In other cases of slight negligence, Microsoft will not be liable for slight negligence. - -13. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. - -14. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR RECOVERING DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT, OR INCIDENTAL DAMAGES. -This limitation applies to (a) anything related to the software, services, content (including code) on third party Internet sites, or third party applications; and (b) claims for breach of contract, warranty, guarantee, or condition; strict liability, negligence, or other tort; or any other claim; in each case to the extent permitted by applicable law. -It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your state, province, or country may not allow the exclusion or limitation of incidental, consequential, or other damages. - -Please note: As this software is distributed in Canada, some of the clauses in this agreement are provided below in French. - -Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français. - -EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues. - -LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. -Cette limitation concerne: -- tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers; et -- les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur. - -Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard. - -EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas. \ No newline at end of file diff --git a/build/NuSpecs/readme.txt b/build/NuSpecs/readme.txt deleted file mode 100644 index 3f2644e6ed..0000000000 --- a/build/NuSpecs/readme.txt +++ /dev/null @@ -1,27 +0,0 @@ -Thanks for installing the WinUI NuGet package! - -Don't forget to set XamlControlsResources as your Application resources in App.xaml: - - - - - - - -If you have other resources, then we recommend you add those to the XamlControlsResources' MergedDictionaries. -This works with the platform's resource system to allow overrides of the XamlControlsResources resources. - - - - - - - - - - - -See http://aka.ms/winui for more information. diff --git a/build/PrefastWarnings.ruleset b/build/PrefastWarnings.ruleset deleted file mode 100644 index 1672fffbc9..0000000000 --- a/build/PrefastWarnings.ruleset +++ /dev/null @@ -1,452 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/ShouldSkipPRBuild.ps1 b/build/ShouldSkipPRBuild.ps1 deleted file mode 100644 index 3c6934da48..0000000000 --- a/build/ShouldSkipPRBuild.ps1 +++ /dev/null @@ -1,75 +0,0 @@ -# Determine if the current PR payload requires a build. -# We skip the build if the only files changed are .md files. - -function AllChangedFilesAreSkippable -{ - Param($files) - - $skipExts = @(".md", ".png", ".PNG", ".jpg", ".ics") - $skipFiles = @(".github/ISSUE_TEMPLATE/bug_report.yaml") - $allFilesAreSkippable = $true - - foreach($file in $files) - { - Write-Host "Checking '$file'" - try - { - $ext = [System.IO.Path]::GetExtension($file) - $fileIsSkippable = $ext -in $skipExts - - if(!$fileIsSkippable) - { - $fileIsSkippable = $file -in $skipFiles - } - } - catch - { - $fileIsSkippable = $false - } - - Write-Host "File '$file' is skippable: '$fileIsSkippable'" - - if(!$fileIsSkippable) - { - $allFilesAreSkippable = $false - } - } - - return $allFilesAreSkippable -} - -$shouldSkipBuild = $false - -if($env:BUILD_REASON -eq "PullRequest") -{ - # Azure DevOps sets this variable with refs/heads/ at the beginning. - # This trims it so the $gitCommandLine is formatted properly - if ($env:SYSTEM_PULLREQUEST_TARGETBRANCH.StartsWith("refs/heads/")) - { - $systemPullRequestTargetBranch = $env:SYSTEM_PULLREQUEST_TARGETBRANCH.Substring("11") - - } - else - { - $systemPullRequestTargetBranch = $env:SYSTEM_PULLREQUEST_TARGETBRANCH - } - - $targetBranch = "origin/$systemPullRequestTargetBranch" - - $gitCommandLine = "git diff $targetBranch --name-only" - Write-Host "$gitCommandLine" - - $diffOutput = Invoke-Expression $gitCommandLine - Write-Host $diffOutput - - $files = $diffOutput.Split([Environment]::NewLine) - - Write-Host "Files changed: $files" - - - $shouldSkipBuild = AllChangedFilesAreSkippable($files) -} - -Write-Host "shouldSkipBuild = $shouldSkipBuild" - -Write-Host "##vso[task.setvariable variable=shouldSkipPRBuild;isOutput=true]$shouldSkipBuild" \ No newline at end of file diff --git a/build/SourceIndexing/IndexPdbs.ps1 b/build/SourceIndexing/IndexPdbs.ps1 deleted file mode 100644 index cee33eb6a4..0000000000 --- a/build/SourceIndexing/IndexPdbs.ps1 +++ /dev/null @@ -1,122 +0,0 @@ -[CmdLetBinding()] -Param( - [Parameter(Mandatory=$true, Position=0)][string]$SearchDir, - [Parameter(Mandatory=$true, Position=1)][string]$SourceRoot, - [Parameter(Mandatory=$true, Position=2)][string]$CommitId, - [string]$Organization = "Microsoft", - [string]$Repo = "microsoft-ui-xaml", - [switch]$recursive -) - - -$repoRoot = Join-Path (Split-Path -Parent $script:MyInvocation.MyCommand.Path) "..\..\" -$pdbstrExe = Join-Path $repoRoot "packages\Microsoft.Debugging.Tools.PdbStr.20230202.1638.0\content\amd64\pdbstr.exe" -$srctoolExe = Join-Path $repoRoot "packages\Microsoft.Debugging.Tools.SrcTool.20230202.1638.0\content\amd64\srctool.exe" - -Write-Host "srctoolExe = $srctoolExe" -Write-Host "pdbstrExe = $pdbstrExe" - -if(!(Test-Path $srctoolExe)) -{ - Write-Error "Not found: $srctoolExe" - Write-Error "Make sure to run nuget restore before running script" - return -1 -} - -if(!(Test-Path $pdbstrExe)) -{ - Write-Error "Not found: $pdbstrExe" - Write-Error "Make sure to run nuget restore before running script" - return -1 -} - -$fileTable = @{} -foreach ($gitFile in & git ls-files) -{ - $fileTable[$gitFile] = $gitFile -} - -$mappedFiles = New-Object System.Collections.ArrayList - -foreach ($file in (Get-ChildItem -r:$recursive "$SearchDir\*.pdb")) -{ - $mappedFiles = New-Object System.Collections.ArrayList - Write-Verbose "Found $file" - - $ErrorActionPreference = "Continue" # Azure Pipelines defaults to "Stop", continue past errors in this script. - - $allFiles = & $srctoolExe -r "$file" - - # If the pdb didn't have enough files then skip it (the srctool output has a blank line even when there's no info - # so check for less than 2 lines) - if ($allFiles.Length -lt 2) - { - continue - } - - for ($i = 0; $i -lt $allFiles.Length; $i++) - { - if ($allFiles[$i].StartsWith($SourceRoot, [StringComparison]::OrdinalIgnoreCase)) - { - $relative = $allFiles[$i].Substring($SourceRoot.Length).TrimStart("\") - $relative = $relative.Replace("\", "/") - - # Git urls are case-sensitive but the PDB might contain a lowercased version of the file path. - # Look up the relative url in the output of "ls-files". If it's not there then it's not something - # in git, so don't index it. - $relative = $fileTable[$relative] - if ($relative) - { - $mapping = $allFiles[$i] + "*$relative" - $ignore = $mappedFiles.Add($mapping) - - Write-Verbose "Mapped path $($i): $mapping" - } - } - } - - $pdbstrFile = Join-Path "$env:TEMP" "pdbstr.txt" - - Write-Verbose "pdbstr.txt = $pdbstrFile" - - @" -SRCSRV: ini ------------------------------------------------ -VERSION=2 -VERCTRL=http -SRCSRV: variables ------------------------------------------ -ORGANIZATION=$Organization -REPO=$Repo -COMMITID=$CommitId -HTTP_ALIAS=https://raw.githubusercontent.com/%ORGANIZATION%/%REPO%/%COMMITID%/ -HTTP_EXTRACT_TARGET=%HTTP_ALIAS%%var2% -SRCSRVTRG=%HTTP_EXTRACT_TARGET% -SRC_INDEX=public -SRCSRV: source files --------------------------------------- -$($mappedFiles -join "`r`n") -SRCSRV: end ------------------------------------------------ -"@ | Set-Content $pdbstrFile - - Write-Host - Write-Host - Write-Host (Get-Content $pdbstrFile) - Write-Host - Write-Host - - Write-Host "$pdbstrExe -p:""$file"" -w -s:srcsrv -i:$pdbstrFile" - & $pdbstrExe -p:"$file" -w -s:srcsrv -i:$pdbstrFile - Write-Host - Write-Host - - Write-Host "$pdbstrExe -p:""$file"" -r -s:srcsrv" - & $pdbstrExe -p:"$file" -r -s:srcsrv - Write-Host - Write-Host - - Write-Host "$srctoolExe $file" - & $srctoolExe "$file" - Write-Host - Write-Host -} - -# Return with exit 0 to override any weird error code from other tools -Exit 0 \ No newline at end of file diff --git a/build/SourceIndexing/packages.config b/build/SourceIndexing/packages.config deleted file mode 100644 index 24326d8e00..0000000000 --- a/build/SourceIndexing/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/build/WinUI-OB-Official.yml b/build/WinUI-OB-Official.yml deleted file mode 100644 index d17b938869..0000000000 --- a/build/WinUI-OB-Official.yml +++ /dev/null @@ -1,402 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) - -trigger: none - -parameters: -- name: 'MUXFinalRelease' - displayName: 'MUXFinalRelease' - type: boolean - default: false - -- name: 'debug' - displayName: 'Enable debug output' - type: boolean - default: false - -variables: - MUXFinalRelease: ${{ parameters.MUXFinalRelease }} - system.debug: ${{ parameters.debug }} - ENABLE_PRS_DELAYSIGN: 1 - ROOT: $(Build.SourcesDirectory) - REPOROOT: $(Build.SourcesDirectory) - OUTPUTROOT: $(REPOROOT)\out - NUGET_XMLDOC_MODE: none - - # Docker image which is used to build the project https://aka.ms/obpipelines/containers - WindowsContainerImage: 'onebranch.azurecr.io/windows/ltsc2019/vse2022:latest' - - Codeql.Enabled: true # CodeQL once every 3 days on the default branch for all languages its applicable to in that pipeline. - -resources: - repositories: - - repository: templates - type: git - name: OneBranch.Pipelines/GovernedTemplates - ref: refs/heads/main - -extends: - template: v2/Microsoft.Official.yml@templates # https://aka.ms/obpipelines/templates - parameters: - platform: - name: 'windows_undocked' - - globalSdl: # Refer the wiki for more options in this parameter: https://aka.ms/obpipelines/sdl - tsa: - enabled: true - - stages: - - stage: build - jobs: - - job: main - pool: - type: windows - - strategy: - maxParallel: 10 - matrix: - Release_x86: - buildPlatform: 'x86' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - Release_x64: - buildPlatform: 'x64' - buildConfiguration: 'Release' - PGOBuildMode: 'Optimize' - Release_Arm: - buildPlatform: 'arm' - buildConfiguration: 'Release' - Release_Arm64: - buildPlatform: 'arm64' - buildConfiguration: 'Release' - - variables: - appxPackageDir : $(build.artifactStagingDirectory)\$(buildConfiguration)\$(buildPlatform)\AppxPackages - buildOutputDir : $(Build.SourcesDirectory)\BuildOutput - ob_outputDirectory: $(build.artifactStagingDirectory) - ob_artifactSuffix: _$(buildPlatform)_$(buildConfiguration) - ob_git_fetchDepth: 0 # This disables shallow git fetch. This is required for the restore-pgodb.ps1 script to work correctly. - - steps: - - - template: build\AzurePipelinesTemplates\MUX-PopulateBuildDateAndRevision-Steps.yml@self - - - template: build\AzurePipelinesTemplates\MUX-InstallNuget-Steps.yml@self - - - template: build\AzurePipelinesTemplates\MUX-InstallDotNetSDK-Steps.yml@self - - - powershell: | - ls env: - displayName: 'display env vars' - continueOnError: true - - - powershell: | - ls "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows Kits\Installed Roots" - displayName: 'List SDKS' - continueOnError: true - - # Download and extract nuget package with non-stubbed MicrosoftTelemetry.h header - - task: DownloadPackage@1 - displayName: 'Download Microsoft.Telemetry.Inbox.Native' - inputs: - feed: '/3415933f-ac0d-4766-8c0a-3f4c247c25f5' # 0 - view: 'ef61a1c1-003b-4a27-bde5-beec8301021b' # Release - definition: '2fe60c09-c66f-4275-ae2d-f015c7170c72' # Microsoft.Telemetry.Inbox.Native - version: '10.0.18362.1-190318-1202.19h1-release.amd64fre' # latest version - downloadPath: '$(System.DefaultWorkingDirectory)' # download and extract to repo root - - # Replace the stubbed MicrosoftTelemetry.h with the real one - # Delete the existing stubbed MicrosoftTelemetry.h first, to ensure that if it is no longer at the expected path that the task, and build, fails - - script: | - del $(System.DefaultWorkingDirectory)\dev\telemetry\MicrosoftTelemetry.h - move /Y $(System.DefaultWorkingDirectory)\build\native\inc\MicrosoftTelemetry.h $(System.DefaultWorkingDirectory)\dev\telemetry\ - failOnStderr: true - displayName: 'Replace existing stubbed MicrosoftTelemetry.h header with the real version from the nuget package' - - - template: build\AzurePipelinesTemplates\MUX-RestorePgo-Steps.yml@self - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore MUXControls.sln' - inputs: - restoreSolution: $(Build.SourcesDirectory)\MUXControls.sln - feedsToUse: config - nugetConfigPath: nuget.config - - - task: VSBuild@1 - displayName: 'Build solution MUXControls.sln' - inputs: - solution: '$(Build.SourcesDirectory)\MUXControls.sln' - vsVersion: 17.0 - platform: $(buildPlatform) - configuration: $(buildConfiguration) - msbuildArgs: '/restore /p:AppxPackageDir=$(appxPackageDir) /p:AppxBundle=Never /p:AppxSymbolPackageEnabled=false /binaryLogger:$(Build.ArtifactStagingDirectory)/MUXControls.$(buildPlatform).$(buildConfiguration).binlog /p:MUXVersionBuild=$(builddate_yymm) /p:MUXVersionRevision=$(builddate_dd)$(buildrevision) /p:VCToolsInstallDir="$(VCToolsInstallDir)\" /p:PGOBuildMode=$(PGOBuildMode)' - - - powershell: | - Get-ChildItem -Recurse $(Build.SourcesDirectory)\BuildOutput - displayName: 'list contents of BuildOutput' - continueOnError: true - - - task: onebranch.pipeline.signing@1 # https://aka.ms/obpipelines/signing - displayName: 'Sign output (BuildOutput)' - inputs: - command: 'sign' - signing_environment: 'azure-ado' - files_to_sign: '**/*.dll;**/*.winmd;**/*.ps1;**/*.psd1;**/*.msix;**/*.appx' - search_root: $(Build.SourcesDirectory)\BuildOutput\$(buildConfiguration) - signing_profile: external_distribution - - # The test apps build directly into appxPackageDir, so we sign there also. - - task: onebranch.pipeline.signing@1 - displayName: 'Sign output (appxPackageDir)' - inputs: - command: 'sign' - signing_environment: 'azure-ado' - files_to_sign: '**/*.dll;**/*.winmd;**/*.ps1;**/*.psd1;**/*.msix;**/*.appx' - search_root: $(appxPackageDir) - signing_profile: external_distribution - - - template: build\AzurePipelinesTemplates\MUX-SourceIndexPDBs-Steps.yml@self - parameters: - buildOutputDir: $(buildOutputDir) - - - task: PublishSymbols@2 # Publish symbols to internal symweb - continueOnError: true - displayName: 'Publish symbols (internal)' - inputs: - SearchPattern: $(buildOutputDir)/$(buildConfiguration)/$(buildPlatform)/**/*.pdb - SymbolServerType: 'TeamServices' - - - template: build\AzurePipelinesTemplates\MUX-MakeFrameworkPackages-Steps.yml@self - parameters: - buildOutputDir: $(buildOutputDir) - signOutput: true - - - task: powershell@2 - displayName: 'Copy files to staging dir' - inputs: - targetType: filePath - filePath: build\CopyFilesToStagingDir.ps1 - arguments: -BuildOutputDir '$(buildOutputDir)' -PublishDir '$(Build.ArtifactStagingDirectory)' -Platform '$(buildPlatform)' -Configuration '$(buildConfiguration)' - - - powershell: | - Get-ChildItem -Recurse $(Build.ArtifactStagingDirectory) - displayName: 'list contents of ArtifactStagingDirectory' - continueOnError: true - - - stage: pack - dependsOn: build - jobs: - - job: nupkg - pool: - type: windows - variables: - useReleaseTag: '$(MUXFinalRelease)' - nupkgdir: '$(build.artifactStagingDirectory)' - primaryBuildArch: x86 - ob_outputDirectory: $(build.artifactStagingDirectory) - - steps: - - template: build\AzurePipelinesTemplates\MUX-PopulateBuildDateAndRevision-Steps.yml@self - - - powershell: | - ls env: - displayName: 'display env vars' - continueOnError: true - - - template: build\AzurePipelinesTemplates\MUX-InstallNuget-Steps.yml@self - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_x64_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_x86_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_arm_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_arm64_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - - powershell: | - Get-ChildItem -Recurse $(Build.SourcesDirectory)\Artifacts - displayName: 'list contents of Artifacts' - continueOnError: true - - - powershell: | - $prereleaseTag = "prerelease" - if ("$(useReleaseTag)" -eq [bool]::TrueString) { $prereleaseTag = "" } - - & "$env:Build_SourcesDirectory\build\NuSpecs\build-nupkg.ps1" ` - -BuildOutput '$(Build.SourcesDirectory)\Artifacts\drop' ` - -OutputDir '$(nupkgdir)' ` - -prereleaseversion "$prereleaseTag" ` - -DateOverride '$(builddate)' ` - -Subversion '$(buildrevision)' ` - -BuildArch $(primaryBuildArch) ` - -BuildFlavor Release - displayName: 'build-nupkg.ps1' - - - task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1 - displayName: 'CodeSign (nupkg)' - inputs: - ConnectedServiceName: WinUISigning - FolderPath: $(nupkgdir) - Pattern: | - **/Microsoft.UI.Xaml*.nupkg - UseMinimatch: true - signConfigType: inlineSignParams - inlineOperation: | - [ - { - "KeyCode" : "CP-401405", - "OperationCode" : "NuGetSign", - "Parameters" : {}, - "ToolName" : "sign", - "ToolVersion" : "1.0" - }, - { - "KeyCode" : "CP-401405", - "OperationCode" : "NuGetVerify", - "Parameters" : {}, - "ToolName" : "sign", - "ToolVersion" : "1.0" - } - ] - - - job: vpack - pool: - type: windows - variables: - windowsPublicsWinmdVersion: 0.0.2 - internalSDKFeedUrl: https://pkgs.dev.azure.com/microsoft/WinUI/_packaging/WinUIInternalWindowsSDK/nuget/v3/index.json - publishDir: $(Build.SourcesDirectory)\publish - ob_outputDirectory: $(publishDir) - - steps: - - template: build\AzurePipelinesTemplates\MUX-InstallNuget-Steps.yml@self - - - template: build\AzurePipelinesTemplates\MUX-InstallDotNetSDK-Steps.yml@self - - - task: NuGetAuthenticate@0 - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_x64_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_x86_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_arm_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_arm64_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - - # This contains the OS internal version of windows.winmd which is required for us to re-merge our winmd so that it can be used from OS repo. - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'nuget install Microsoft.Internal.WinUI.WindowsPublicsWinmd' - inputs: - command: custom - arguments: 'install Microsoft.Internal.WinUI.WindowsPublicsWinmd -NonInteractive -Version $(windowsPublicsWinmdVersion) -Source $(internalSDKFeedUrl) -OutputDirectory packages' - - - task: 333b11bd-d341-40d9-afcf-b32d5ce6f23b@2 - displayName: 'NuGet restore dev\dll\packages.config' - inputs: - restoreSolution: dev\dll\packages.config - feedsToUse: config - nugetConfigPath: nuget.config - restoreDirectory: $(Build.SourcesDirectory)\packages - - - script: | - $(Build.SourcesDirectory)\build\CreateCBSVPack.cmd -releaseFolder $(Build.SourcesDirectory)\Artifacts\drop\Release -publicsRoot $(Build.SourcesDirectory)\packages\Microsoft.Internal.WinUI.WindowsPublicsWinmd.$(windowsPublicsWinmdVersion) -publishDir $(publishDir) - displayName: CreateCBSVPack.cmd - name: createvpack - failOnStderr: true - # Note: This task sets the 'vpackversion' variable that is used in the Job below. - - - powershell: | - Get-ChildItem -Recurse $(publishDir) - displayName: 'list contents of publishDir' - continueOnError: true - - # In OneBranch, a single Job can only publish one vpack. So we have a separate Job 'pushvpack' to push each of the - # vpacks created in the previous Job. - - job: pushvpack - dependsOn: vpack - pool: - type: windows - strategy: - maxParallel: 10 - matrix: - CBS_x86: - vpackName: MicrosoftUIXamlInbox_x86 - sourceSubDir: CBS\x86 - CBS_x64: - vpackName: MicrosoftUIXamlInbox_x64 - sourceSubDir: CBS\x64 - CBS_Arm: - vpackName: MicrosoftUIXamlInbox_arm - sourceSubDir: CBS\arm - CBS_Arm64: - vpackName: MicrosoftUIXamlInbox_arm64 - sourceSubDir: CBS\arm64 - CBS_Winmd: - vpackName: MicrosoftUIXamlInboxWinmd - sourceSubDir: CBS\winmd - WinUI: - vpackName: Microsoft.UI.Xaml - sourceSubDir: WinUIVpack - variables: - - publishDir: $(Build.SourcesDirectory)\publish - vpackDir: $(publishDir)\$(sourceSubDir) - ob_outputDirectory: $(vpackDir) - ob_artifactSuffix: _$(vpackName) - - # createVPack: # information for Vpack (Learn more: https://www.osgwiki.com/wiki/OneBranch_Windows_Undocked_Pipelines) - ob_createvpack_enabled: true - ob_createvpack_packagename: $(vpackName) - ob_createvpack_owneralias: kmahone - ob_createvpack_description: $(vpackName) - ob_createvpack_provData: true - ob_createvpack_versionAs: string - vpackversion: $[ dependencies.vpack.outputs['createvpack.vpackversion'] ] - ob_createvpack_version: $(vpackversion)-kmahonetest4 - ob_createvpack_verbose: true - ob_createvpack_topLevelRetries: 0 - ob_createvpack_failOnStdErr: true - ob_createvpack_taskLogVerbosity: Detailed - - steps: - - - powershell: | - ls env: - displayName: 'display env vars' - continueOnError: true - - - template: build\AzurePipelinesTemplates\MUX-InstallDotNetSDK-Steps.yml@self - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_pack_vpack - targetPath: $(publishDir) - - - powershell: | - Get-ChildItem -Recurse $(publishDir) - displayName: 'list contents of publishDir' - continueOnError: true - \ No newline at end of file diff --git a/build/WinUI-Official-Validation.yml b/build/WinUI-Official-Validation.yml deleted file mode 100644 index 9562af490d..0000000000 --- a/build/WinUI-Official-Validation.yml +++ /dev/null @@ -1,153 +0,0 @@ -name: $(BuildDefinitionName)_$(date:yyMM).$(date:dd)$(rev:rrr) - -variables: - minimumExpectedTestsExecutedCount: 2000 # Sanity check for minimum expected tests to be reported - rerunPassesRequiredToAvoidFailure: 5 - - -resources: - pipelines: - - pipeline: WinUI-OB-Official - source: OneBranch\microsoft-ui-xaml-staging\WinUI2-Internal-OB-Official - trigger: - branches: - include: - - release/* - - main - - user/kmahone/ob - -stages: -- stage: Build - jobs: - - - # This job gets the build from the WinUI-OB-Official pipeline - # The following jobs validate the build by running tests. - - job: GetBuild - pool: - name: WinDevPool-L - demands: ImageOverride -equals WinDevVS17-latest - timeoutInMinutes: 120 - - variables: - buildIdToTest: $(resources.pipeline.WinUI-OB-Official.runID) - buildPipelineDefinition: 98255 # This is WinUI-OB-Official - - steps: - - - powershell: | - cmd.exe /c set - displayName: 'display env vars' - continueOnError: true - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_x64_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - buildType: specific - project: $(System.TeamProjectId) - definition: $(buildPipelineDefinition) - buildVersionToDownload: specific - pipelineId : $(buildIdToTest) - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_x86_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - buildType: specific - project: $(System.TeamProjectId) - definition: $(buildPipelineDefinition) - buildVersionToDownload: specific - pipelineId : $(buildIdToTest) - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_arm_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - buildType: specific - project: $(System.TeamProjectId) - definition: $(buildPipelineDefinition) - buildVersionToDownload: specific - pipelineId : $(buildIdToTest) - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_build_main_arm64_Release - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - buildType: specific - project: $(System.TeamProjectId) - definition: $(buildPipelineDefinition) - buildVersionToDownload: specific - pipelineId : $(buildIdToTest) - - - task: DownloadPipelineArtifact@2 - inputs: - artifactName: drop_pack_nupkg - targetPath: $(Build.SourcesDirectory)\Artifacts\drop - buildType: specific - project: $(System.TeamProjectId) - definition: $(buildPipelineDefinition) - buildVersionToDownload: specific - pipelineId : $(buildIdToTest) - - - task: PublishBuildArtifacts@1 - displayName: 'Publish artifact: drop' - inputs: - PathtoPublish: $(Build.SourcesDirectory)\Artifacts\drop - artifactName: drop - - # We can't publish to the public Symbol Server from the main OneBranch build, so we do it here instead. - - task: PublishSymbols@2 # Publish symbols to public Microsoft Symbol Server - displayName: 'Publish symbols (public)' - continueOnError: true - inputs: - SymbolsFolder: $(Build.SourcesDirectory)\Artifacts\drop - SearchPattern: '**/Microsoft.UI.Xaml.pdb' - SymbolServerType: 'TeamServices' - IndexSources: false - env: - ArtifactServices_Symbol_AccountName: microsoftpublicsymbols - ArtifactServices_Symbol_PAT: $(WinUILab-Pipeline-PAT) - -- stage: Test - dependsOn: Build - jobs: - - template: AzurePipelinesTemplates\MUX-RunHelixTests-Job.yml - parameters: - name: 'RunTestsInHelix' - rerunPassesRequiredToAvoidFailure: $(rerunPassesRequiredToAvoidFailure) - -- stage: TestNupkg - dependsOn: Build - jobs: - # Build solution that depends on nuget package - - template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - buildJobName: 'BuildNugetPkgTests' - buildArtifactName: 'NugetPkgTestsDrop' - runTestJobName: 'RunNugetPkgTestsInHelix' - useFrameworkPkg: false - - # Framework package tests - - template: AzurePipelinesTemplates\MUX-NugetReleaseTest-Job.yml - parameters: - buildJobName: 'BuildFrameworkPkgTests' - buildArtifactName: 'FrameworkPkgTestsDrop' - runTestJobName: 'RunFrameworkPkgTestsInHelix' - useFrameworkPkg: true - - # NuGet package WACK tests - - template: AzurePipelinesTemplates\MUX-WACKTests-Job.yml - parameters: - name: 'NugetPkgWACKTests' - dependsOn: BuildNugetPkgTests - artifactName: 'NugetPkgTestsDrop' - - # Framework package WACK tests - - template: AzurePipelinesTemplates\MUX-WACKTests-Job.yml - parameters: - name: 'FrameworkPkgWACKTests' - dependsOn: BuildFrameworkPkgTests - artifactName: 'FrameworkPkgTestsDrop' - - diff --git a/dev/AnimatedIcon/APITests/AnimatedIconTests.cs b/dev/AnimatedIcon/APITests/AnimatedIconTests.cs deleted file mode 100644 index 3bdc626cfa..0000000000 --- a/dev/AnimatedIcon/APITests/AnimatedIconTests.cs +++ /dev/null @@ -1,462 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using MUXControlsTestApp.Utilities; - -using Windows.UI.Xaml.Controls; -using Microsoft.UI.Xaml.Controls; -using Common; -using Windows.UI.Xaml.Markup; -using System.Collections.Generic; -using Windows.UI.Xaml.Media; -using System.Linq; -using System; -using System.Diagnostics; -using MUXControlsTestApp; -using Microsoft.UI.Private.Controls; -using System.Threading; -using Microsoft.UI.Xaml.Controls.AnimatedVisuals; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests -{ - [TestClass] - public class AnimatedIconTests : ApiTestBase - { - [TestMethod] - public void SettingStateOnParentPropagatesToChildAnimatedIcon() - { - AnimatedIcon animatedIcon = null; - Grid parentGrid = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - parentGrid = new Grid(); - parentGrid.Children.Add(animatedIcon); - AnimatedIcon.SetState(parentGrid, "Initial State"); - - Content = parentGrid; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - string stateString = "Test State"; - AnimatedIcon.SetState(parentGrid, stateString); - Verify.AreEqual(stateString, AnimatedIcon.GetState(animatedIcon)); - }); - } - [TestMethod] - public void SettingStateOnGrandParentPropagatesToGrandChildAnimatedIcon() - { - AnimatedIcon animatedIcon = null; - Grid parentGrid = null; - Grid grandParentGrid = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - parentGrid = new Grid(); - grandParentGrid = new Grid(); - parentGrid.Children.Add(animatedIcon); - grandParentGrid.Children.Add(parentGrid); - AnimatedIcon.SetState(grandParentGrid, "Initial State"); - - Content = grandParentGrid; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - string stateString = "Test State"; - AnimatedIcon.SetState(grandParentGrid, stateString); - Verify.AreEqual(stateString, AnimatedIcon.GetState(animatedIcon)); - }); - } - - [TestMethod] - public void ChangingVisualTrees() - { - AnimatedIcon animatedIcon = null; - Grid parentGrid = null; - Grid grandParentGrid = null; - Grid newParentGrid = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - parentGrid = new Grid(); - grandParentGrid = new Grid(); - newParentGrid = new Grid(); - parentGrid.Children.Add(animatedIcon); - grandParentGrid.Children.Add(parentGrid); - AnimatedIcon.SetState(parentGrid, "Initial State"); - - Content = grandParentGrid; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - string stateString = "Test State"; - AnimatedIcon.SetState(parentGrid, stateString); - Verify.AreEqual(stateString, AnimatedIcon.GetState(animatedIcon)); - - parentGrid.Children.Clear(); - newParentGrid.Children.Add(animatedIcon); - grandParentGrid.Children.Clear(); - grandParentGrid.Children.Add(newParentGrid); - AnimatedIcon.SetState(newParentGrid, "Initial State"); - - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - string state2String = "Test State2"; - AnimatedIcon.SetState(newParentGrid, state2String); - Verify.AreEqual(state2String, AnimatedIcon.GetState(animatedIcon)); - - string badStateString = "Bad State"; - AnimatedIcon.SetState(parentGrid, badStateString); - Verify.AreNotEqual(badStateString, AnimatedIcon.GetState(animatedIcon)); - }); - } - - [TestMethod] - public void SettingStateOnParentDoesNotPropagateToChildNonAnimatedIcon() - { - AnimatedIcon animatedIcon = null; - Grid parentGrid = null; - Grid childGrid = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - parentGrid = new Grid(); - childGrid = new Grid(); - parentGrid.Children.Add(childGrid); - childGrid.Children.Add(animatedIcon); - AnimatedIcon.SetState(parentGrid, "Initial State"); - - Content = parentGrid; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - string stateString = "Test State"; - AnimatedIcon.SetState(parentGrid, stateString); - Verify.AreNotEqual(stateString, AnimatedIcon.GetState(childGrid)); - Verify.AreEqual(stateString, AnimatedIcon.GetState(animatedIcon)); - }); - } - - [TestMethod] - public void AddingAnimatedIconToGridWithoutAStateDoesNotPropogateState() - { - // This is not actually a desired behavior. Ideally we would be able to set - // the AnimatedIcon.State property on any ancestor of an animated icon at any - // time and that would reach the icon. However this is challenging to do - // efficiently so instead we require that the parent have an AnimatedIcon.State - // value when the icon is loaded. - AnimatedIcon animatedIcon = null; - Grid parentGrid = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - parentGrid = new Grid(); - parentGrid.Children.Add(animatedIcon); - - Content = parentGrid; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - string stateString = "Test State"; - AnimatedIcon.SetState(parentGrid, stateString); - Verify.AreNotEqual(stateString, AnimatedIcon.GetState(animatedIcon)); - }); - } - - [TestMethod] - public void CanSetStateOnAnimatedIconDirectlyWithoutPropagationToChild() - { - AnimatedIcon animatedIcon = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - - Content = animatedIcon; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - string stateString = "Test State"; - AnimatedIcon.SetState(animatedIcon, stateString); - Verify.AreEqual(stateString, AnimatedIcon.GetState(animatedIcon)); - Verify.AreNotEqual(stateString, AnimatedIcon.GetState(VisualTreeHelper.GetChild(animatedIcon, 0))); - }); - } - - [TestMethod] - public void ForegroundInheritsFromParent() - { - AnimatedIcon animatedIcon = null; - ContentControl parentContentControl = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - parentContentControl = new ContentControl(); - parentContentControl.Content = animatedIcon; - - Content = parentContentControl; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - var foregroundBrush = new SolidColorBrush(Colors.Red); - parentContentControl.Foreground = foregroundBrush; - Verify.AreEqual(foregroundBrush, animatedIcon.Foreground); - - var newForegroundBrush = new SolidColorBrush(Colors.Blue); - animatedIcon.Foreground = newForegroundBrush; - Verify.AreEqual(newForegroundBrush, animatedIcon.Foreground); - }); - } - - [TestMethod] - public void CanChangeSourceAfterState() - { - AnimatedIcon animatedIcon = null; - Grid parentGrid = null; - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - parentGrid = new Grid(); - parentGrid.Children.Add(animatedIcon); - - Content = parentGrid; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - animatedIcon.Source = new AnimatedChevronDownSmallVisualSource(); - AnimatedIcon.SetState(parentGrid, "Normal"); - animatedIcon.Source = new AnimatedSettingsVisualSource(); - AnimatedIcon.SetState(parentGrid, "PointerOver"); - animatedIcon.Source = null; - AnimatedIcon.SetState(parentGrid, ""); - }); - } - - [TestMethod] - public void TransitionFallbackLogic() - { - AnimatedIcon animatedIcon = null; - var layoutUpdatedEvent = new AutoResetEvent(false); - - RunOnUIThread.Execute(() => - { - animatedIcon = new AnimatedIcon(); - animatedIcon.Source = new MockIAnimatedIconSource2(); - - Content = animatedIcon; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - animatedIcon.LayoutUpdated += AnimatedIcon_LayoutUpdated; - AnimatedIcon.SetState(animatedIcon, "a"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "b"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - Verify.AreEqual("aTob_Start", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - Verify.AreEqual("aTob_End", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "c"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - Verify.AreEqual("bToc_Start", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - // bToc_End is undefined in MockIAnimatedIconSource2 - Verify.AreEqual("", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "d"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - // cTod_Start is undefined in MockIAnimatedIconSource2 - Verify.AreEqual("", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - Verify.AreEqual("cTod_End", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "e"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - // dToe_Start and dToe_End are undefined in MockIAnimatedIconSource2, the first backup is dToe - Verify.AreEqual("", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - Verify.AreEqual("dToe", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "f"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - // eTof_Start, eTof_End, and eTof are undefined in MockIAnimatedIconSource2, the second backup is f - Verify.AreEqual("", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - Verify.AreEqual("f", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "b"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - // fTob_Start, fTob_End, fTob and b are all undefined in MockIAnimatedIconSource2, the third backup is any - // marker which ends with the string "Tob_End" - Verify.AreEqual("", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - Verify.AreEqual("aTob_End", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "0.12345"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - // bTo0.12345_Start, bTo0.12345_End, bTo0.12345, and 0.12345 are all undefined in MockIAnimatedIconSource2, and - // there are no markers which end with the string "To0.12345_End" so finally we attempt to interpret the state as - // a float to get the position to animate to. - Verify.AreEqual("", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - Verify.AreEqual("0.12345", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - - layoutUpdatedEvent.Reset(); - AnimatedIcon.SetState(animatedIcon, "Failure"); - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - layoutUpdatedEvent.WaitOne(); - - RunOnUIThread.Execute(() => - { - // 0.12345ToFailure_Start, 0.12345ToFailure_End, 0.12345ToFailure, and Failure are all undefined in MockIAnimatedIconSource2, and - // there are no markers which end with the string "ToFailure_End" and Failure is not a float, so we have failed to find a marker. - Verify.AreEqual("", AnimatedIconTestHooks.GetLastAnimationSegmentStart(animatedIcon)); - Verify.AreEqual("0.0", AnimatedIconTestHooks.GetLastAnimationSegmentEnd(animatedIcon)); - }); - - void AnimatedIcon_LayoutUpdated(object sender, object e) - { - layoutUpdatedEvent.Set(); - } - } - - [TestMethod] - public void ChangingSourcePropertyChangesRenderSize() - { - AnimatedIcon icon = null; - RunOnUIThread.Execute(() => - { - icon = new AnimatedIcon(); - Content = new StackPanel() { - Children = { icon } - }; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - // Icon height will be zero if the source property is not set. - Verify.IsTrue(Math.Abs(icon.ActualHeight) < 0.1); - icon.Source = new AnimatedChevronDownSmallVisualSource(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - // Icon will have a height if the AnimatedIcon also updated the visual tree to rerender. - Verify.IsTrue(Math.Abs(icon.ActualHeight) > 10); - }); - } - } -} diff --git a/dev/AnimatedIcon/APITests/AnimatedIcon_APITests.projitems b/dev/AnimatedIcon/APITests/AnimatedIcon_APITests.projitems deleted file mode 100644 index a1912d641b..0000000000 --- a/dev/AnimatedIcon/APITests/AnimatedIcon_APITests.projitems +++ /dev/null @@ -1,14 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - db15ff28-ab3a-4fed-a1d5-004a095a3fd5 - - - AnimatedIcon_APITests - - - - - \ No newline at end of file diff --git a/dev/AnimatedIcon/APITests/AnimatedIcon_APITests.shproj b/dev/AnimatedIcon/APITests/AnimatedIcon_APITests.shproj deleted file mode 100644 index 932c11d97f..0000000000 --- a/dev/AnimatedIcon/APITests/AnimatedIcon_APITests.shproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - db15ff28-ab3a-4fed-a1d5-004a095a3fd5 - 14.0 - - - - - - - - diff --git a/dev/AnimatedIcon/APITests/MockAnimatedIconSource.cs b/dev/AnimatedIcon/APITests/MockAnimatedIconSource.cs deleted file mode 100644 index cda5097edd..0000000000 --- a/dev/AnimatedIcon/APITests/MockAnimatedIconSource.cs +++ /dev/null @@ -1,43 +0,0 @@ -using Microsoft.UI.Xaml.Controls; -using System; -using System.Collections.Generic; -using System.Text; -using Windows.UI; -using Windows.UI.Composition; - -namespace MUXControlsTestApp -{ - class MockAnimatedIconSource : IRichAnimatedVisualSource - { - Dictionary markers = new Dictionary(); - - IRichAnimatedVisualSource visual = new Controls_09_Hamburger(); - public MockAnimatedIconSource() - { - markers.Add("aTob_Start", 0.0); - markers.Add("aTob_End", 0.316666663); - markers.Add("NormalToPressedStart", 0.0); - markers.Add("NormalToPressedEnd", 0.816666663); - markers.Add("PointerOverToNormalStart", 0.316666663); - markers.Add("PointerOverToNormalEnd", 0.0); - markers.Add("PointerOverToPressedStart", 0.333333343); - markers.Add("PointerOverToPressedEnd", 0.816666663); - markers.Add("PressedToNormalStart", 0.833333313); - markers.Add("PressedToNormalEnd", 0.983333349); - markers.Add("PressedToPointerOverStart", 0.816666663); - markers.Add("PressedToPointerOverEnd", 0.333333343); - markers.Add("Disabled", 0.5); - } - public IAnimatedVisual TryCreateAnimatedVisual(Compositor compositor) - { - return visual.TryCreateAnimatedVisual(Window.Current.Compositor); - } - - public void SetColorProperty(string propertyName, Color value) - { - visual.SetColorProperty(propertyName, value); - } - - public IReadOnlyDictionary Markers => markers; - } -} diff --git a/dev/AnimatedIcon/AnimatedIcon.cpp b/dev/AnimatedIcon/AnimatedIcon.cpp deleted file mode 100644 index 4fcf6a02c3..0000000000 --- a/dev/AnimatedIcon/AnimatedIcon.cpp +++ /dev/null @@ -1,698 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "AnimatedIcon.h" -#include "RuntimeProfiler.h" -#include "ResourceAccessor.h" -#include -#include "Utils.h" -#include - -static constexpr wstring_view s_progressPropertyName{ L"Progress"sv }; -static constexpr wstring_view s_foregroundPropertyName{ L"Foreground"sv }; -static constexpr wstring_view s_transitionInfix{ L"To"sv }; -static constexpr wstring_view s_transitionStartSuffix{ L"_Start"sv }; -static constexpr wstring_view s_transitionEndSuffix{ L"_End"sv }; -AnimatedIcon::AnimatedIcon() -{ - __RP_Marker_ClassById(RuntimeProfiler::ProfId_AnimatedIcon); - m_progressPropertySet = winrt::Window::Current().Compositor().CreatePropertySet(); - m_progressPropertySet.InsertScalar(s_progressPropertyName, 0); - Loaded({ this, &AnimatedIcon::OnLoaded }); - - RegisterPropertyChangedCallback(winrt::IconElement::ForegroundProperty(), { this, &AnimatedIcon::OnForegroundPropertyChanged}); - RegisterPropertyChangedCallback(winrt::FrameworkElement::FlowDirectionProperty(), { this, &AnimatedIcon::OnFlowDirectionPropertyChanged }); -} - -void AnimatedIcon::OnApplyTemplate() -{ - __super::OnApplyTemplate(); - // Construct the visual from the Source property in on apply template so that it participates - // in the initial measure for the object. - auto const visual = [animatedVisual = m_animatedVisual.get(), this]() - { - if (animatedVisual) - { - return animatedVisual.RootVisual(); - } - return ConstructVisual(); - }(); - InsertVisual(visual); - - auto const panel = winrt::VisualTreeHelper::GetChild(*this, 0).as(); - m_rootPanel.set(panel); - m_currentState = GetState(*this); - - if (panel) - { - // Animated icon implements IconElement through PathIcon. We don't need the Path that - // PathIcon creates, however when you set the foreground on AnimatedIcon, it assumes - // its grid's first child has a fill property which it sets by known index. So we - // keep this child around but collapse it so this behavior doesn't crash us when the - // fallback is used. - if (panel.Children().Size() > 0) - { - if (auto const path = panel.Children().GetAt(0)) - { - path.Visibility(winrt::Visibility::Collapsed); - } - } - - winrt::ElementCompositionPreview::SetElementChildVisual(panel, visual); - - TrySetForegroundProperty(); - } -} - -void AnimatedIcon::OnLoaded(winrt::IInspectable const&, winrt::RoutedEventArgs const&) -{ - // AnimatedIcon might get added to a UI which has already set the State property on an ancestor. - // If this is the case and the animated icon being added doesn't have its own state property - // We copy the ancestor value when we load. Additionally we attach to our ancestor's property - // changed event for AnimatedIcon.State to copy the value to AnimatedIcon. - auto const property = winrt::AnimatedIcon::StateProperty(); - - auto const [ancestorWithState, stateValue] = [this, property]() - { - auto parent = winrt::VisualTreeHelper::GetParent(*this); - while (parent) - { - auto const stateValue = parent.GetValue(property); - if (!unbox_value(stateValue).empty()) - { - return std::make_tuple(parent, stateValue); - } - parent = winrt::VisualTreeHelper::GetParent(parent); - } - return std::make_tuple(static_cast(nullptr), winrt::box_value(winrt::hstring{})); - }(); - - if (unbox_value(GetValue(property)).empty()) - { - SetValue(property, stateValue); - } - - if (ancestorWithState) - { - m_ancestorStatePropertyChangedRevoker = RegisterPropertyChanged(ancestorWithState, property, { this, &AnimatedIcon::OnAncestorAnimatedIconStatePropertyChanged }); - } - - // Wait until loaded to apply the fallback icon source property because we need the icon source - // properties to be set before we create the icon element from it. If those poperties are bound in, - // they will not have been set during OnApplyTemplate. - OnFallbackIconSourcePropertyChanged(nullptr); -} - - -winrt::Size AnimatedIcon::MeasureOverride(winrt::Size const& availableSize) -{ - if (auto const visual = m_animatedVisual.get()) - { - // Animated Icon scales using the Uniform strategy, meaning that it scales the horizonal and vertical - // dimensions equally by the maximum amount that doesn't exceed the available size in either dimension. - // If the available size is infinite in both dimensions then we don't scale the visual. Otherwise, we - // calculate the scale factor by comparing the default visual size to the available size. This produces 2 - // scale factors, one for each dimension. We choose the smaller of the scale factors to not exceed the - // available size in that dimension. - auto const visualSize = visual.Size(); - if (visualSize != winrt::float2::zero()) - { - const auto widthScale = availableSize.Width == std::numeric_limits::infinity() ? std::numeric_limits::infinity() : availableSize.Width / visualSize.x; - const auto heightScale = availableSize.Height == std::numeric_limits::infinity() ? std::numeric_limits::infinity() : availableSize.Height / visualSize.y; - if (widthScale == std::numeric_limits::infinity() && heightScale == std::numeric_limits::infinity()) - { - return visualSize; - } - else if (widthScale == std::numeric_limits::infinity()) - { - return winrt::Size{ visualSize.x * heightScale, availableSize.Height }; - } - else if (heightScale == std::numeric_limits::infinity()) - { - return winrt::Size{ availableSize.Width, visualSize.y * widthScale }; - } - else - { - return (heightScale > widthScale) - ? winrt::Size{ availableSize.Width, visualSize.y * widthScale } - : winrt::Size{ visualSize.x * heightScale, availableSize.Height }; - } - } - return visualSize; - } - // If we don't have a visual, we will show the fallback icon, so we need to do a traditional measure. - else - { - return __super::MeasureOverride(availableSize); - } -} - -winrt::Size AnimatedIcon::ArrangeOverride(winrt::Size const& finalSize) -{ - if (auto const visual = m_animatedVisual.get()) - { - auto const visualSize = visual.Size(); - auto const scale = [finalSize, visualSize]() - { - auto scale = static_cast(finalSize) / visualSize; - if (scale.x < scale.y) - { - scale.y = scale.x; - } - else - { - scale.x = scale.y; - } - return scale; - }(); - - winrt::float2 const arrangedSize = { - std::min(finalSize.Width / scale.x, visualSize.x), - std::min(finalSize.Height / scale.y, visualSize.y) - }; - const auto offset = (finalSize - (visualSize * scale)) / 2; - const auto rootVisual = visual.RootVisual(); - rootVisual.Offset({ offset, 0.0f }); - rootVisual.Size(arrangedSize); - rootVisual.Scale({ scale, 1.0f }); - return finalSize; - } - else - { - return __super::ArrangeOverride(finalSize); - } -} - -void AnimatedIcon::OnAnimatedIconStatePropertyChanged( - const winrt::DependencyObject& sender, - const winrt::DependencyPropertyChangedEventArgs& args) -{ - if (auto const senderAsAnimatedIcon = sender.try_as()) - { - senderAsAnimatedIcon->OnStatePropertyChanged(); - } -} - -void AnimatedIcon::OnAncestorAnimatedIconStatePropertyChanged( - const winrt::DependencyObject& sender, - const winrt::DependencyProperty& args) -{ - SetValue(AnimatedIconProperties::s_StateProperty, sender.GetValue(args)); -} - -// When we receive a state change it might be erroneous. This is because these state changes often come from Animated Icon's parent control's -// Visual state manager. Many of our controls assume that it is okay to call GoToState("Foo") followed immediately by GoToState("Bar") in -// order to end up in the "Bar" state. However Animated Icon also cares what state you are coming from, so this pattern would not trigger -// the NormalToBar transition but instead NormalToFoo followed by FooToBar. Since we can't change these controls logic in WinUI2 we handle -// this by waiting until the next layout cycle to play an animated icon transition. However, the state dependency property changed is not -// enough to ensure that a layout updated will trigger, so we must also invalidate a layout property, arrange was chosen arbitrarily. -void AnimatedIcon::OnStatePropertyChanged() -{ - m_pendingState = ValueHelper::CastOrUnbox(this->GetValue(AnimatedIconStateProperty())); - m_layoutUpdatedRevoker = this->LayoutUpdated(winrt::auto_revoke, { this, &AnimatedIcon::OnLayoutUpdatedAfterStateChanged }); - SharedHelpers::QueueCallbackForCompositionRendering( - [strongThis = get_strong()] - { - strongThis->InvalidateArrange(); - } - ); -} - -void AnimatedIcon::OnLayoutUpdatedAfterStateChanged(winrt::IInspectable const& sender, winrt::IInspectable const& args) -{ - m_layoutUpdatedRevoker.revoke(); - switch (m_queueBehavior) - { - case winrt::AnimatedIconAnimationQueueBehavior::Cut: - TransitionAndUpdateStates(m_currentState, m_pendingState); - break; - case winrt::AnimatedIconAnimationQueueBehavior::QueueOne: - if (m_isPlaying) - { - // If we already have too many queued states, cancel the current animation with the previously queued transition - // then Queue this new transition. - if (m_queuedStates.size() >= m_queueLength) - { - TransitionAndUpdateStates(m_currentState, m_queuedStates.front()); - } - m_queuedStates.push(m_pendingState); - } - else - { - TransitionAndUpdateStates(m_currentState, m_pendingState); - } - break; - case winrt::AnimatedIconAnimationQueueBehavior::SpeedUpQueueOne: - if (m_isPlaying) - { - // If we already have too many queued states, cancel the current animation with the previously queued transition - // played speed up then Queue this new transition. - if (m_queuedStates.size() >= m_queueLength) - { - // Cancel the previous animation completed handler, before we cancel that animation by starting a new one. - if (m_batch) - { - m_batchCompletedRevoker.revoke(); - } - TransitionAndUpdateStates(m_currentState, m_queuedStates.front(), m_speedUpMultiplier); - m_queuedStates.push(m_pendingState); - } - else - { - m_queuedStates.push(m_pendingState); - if (!m_isSpeedUp) - { - // Cancel the previous animation completed handler, before we cancel that animation by starting a new one. - if (m_batch) - { - m_batchCompletedRevoker.revoke(); - } - - m_isSpeedUp = true; - - auto const markers = Source().Markers(); - winrt::hstring transitionEndName = StringUtil::FormatString(L"%1!s!%2!s!%3!s!%4!s!", m_previousState.c_str(), s_transitionInfix.data(), m_currentState.c_str(), s_transitionEndSuffix.data()); - auto const hasEndMarker = markers.HasKey(transitionEndName); - if (hasEndMarker) - { - PlaySegment(NAN, static_cast(markers.Lookup(transitionEndName)), nullptr, m_speedUpMultiplier); - } - } - } - } - else - { - TransitionAndUpdateStates(m_currentState, m_pendingState); - } - break; - } - m_pendingState = L""; -} - -void AnimatedIcon::TransitionAndUpdateStates(const winrt::hstring& fromState, const winrt::hstring& toState, float playbackMultiplier) -{ - std::once_flag cleanedUpFlag; - std::function cleanupAction = [this, fromState, toState, &cleanedUpFlag]() - { - std::call_once(cleanedUpFlag, [this, fromState, toState]() { - m_previousState = fromState; - m_currentState = toState; - if (!m_queuedStates.empty()) - { - m_queuedStates.pop(); - } - }); - }; - TransitionStates(fromState, toState, cleanupAction, playbackMultiplier); - cleanupAction(); -} - -void AnimatedIcon::TransitionStates(const winrt::hstring& fromState, const winrt::hstring& toState, const std::function& cleanupAction, float playbackMultiplier) -{ - if (auto const source = Source()) - { - if (auto const markers = source.Markers()) - { - winrt::hstring transitionName = StringUtil::FormatString(L"%1!s!%2!s!%3!s!", fromState.c_str(), s_transitionInfix.data(), toState.c_str()); - winrt::hstring transitionStartName = StringUtil::FormatString(L"%1!s!%2!s!", transitionName.c_str(), s_transitionStartSuffix.data()); - winrt::hstring transitionEndName = StringUtil::FormatString(L"%1!s!%2!s!", transitionName.c_str(), s_transitionEndSuffix.data()); - - auto const hasStartMarker = markers.HasKey(transitionStartName); - auto const hasEndMarker = markers.HasKey(transitionEndName); - if (hasStartMarker && hasEndMarker) - { - auto const fromProgress = static_cast(markers.Lookup(transitionStartName)); - auto const toProgress = static_cast(markers.Lookup(transitionEndName)); - PlaySegment(fromProgress, toProgress, cleanupAction, playbackMultiplier); - m_lastAnimationSegmentStart = transitionStartName; - m_lastAnimationSegmentEnd = transitionEndName; - } - else if (hasEndMarker) - { - auto const toProgress = static_cast(markers.Lookup(transitionEndName)); - m_progressPropertySet.InsertScalar(s_progressPropertyName, toProgress); - m_lastAnimationSegmentStart = L""; - m_lastAnimationSegmentEnd = transitionEndName; - } - else if (hasStartMarker) - { - auto const toProgress = static_cast(markers.Lookup(transitionStartName)); - m_progressPropertySet.InsertScalar(s_progressPropertyName, toProgress); - m_lastAnimationSegmentStart = transitionStartName; - m_lastAnimationSegmentEnd = L""; - } - else if (markers.HasKey(transitionName)) - { - auto const toProgress = static_cast(markers.Lookup(transitionName)); - m_progressPropertySet.InsertScalar(s_progressPropertyName, toProgress); - m_lastAnimationSegmentStart = L""; - m_lastAnimationSegmentEnd = transitionName; - } - else if (markers.HasKey(toState)) - { - auto const toProgress = static_cast(markers.Lookup(toState)); - m_progressPropertySet.InsertScalar(s_progressPropertyName, toProgress); - m_lastAnimationSegmentStart = L""; - m_lastAnimationSegmentEnd = toState; - } - else - { - // Since we can't find an animation for this transition, try to find one that ends in the same place - // and cut to that position instead. - auto const [found, value] = [toState, markers, this]() - { - winrt::hstring fragment = StringUtil::FormatString(L"%1!s!%2!s!%3!s!", s_transitionInfix.data(), toState.c_str(), s_transitionEndSuffix.data()); - for (auto const [key, val] : markers) - { - std::wstring value = key.data(); - if (value.find(fragment) != std::wstring::npos) - { - m_lastAnimationSegmentStart = L""; - m_lastAnimationSegmentEnd = key; - return std::make_tuple(true, static_cast(val)); - } - } - return std::make_tuple(false, 0.0f); - }(); - if (found) - { - m_progressPropertySet.InsertScalar(s_progressPropertyName, value); - } - else - { - // We also support setting the state proprety to a float value, which instructs the animated icon - // to animate the Progress property to the provided value. Because wcstof returns 0.0f when the - // provided string doesn't parse to a float we can't distinguish between the string "0.0" and - // the string "a" (for example) from the parse output alone. Instead we use the wcstof's second - // parameter to determine if the 0.0 return value came from a valid parse or from the default return. - wchar_t* strEnd = nullptr; - auto const parsedFloat = wcstof(toState.c_str(), &strEnd); - - if(strEnd == toState.c_str() + toState.size()) - { - PlaySegment(NAN, parsedFloat, cleanupAction, playbackMultiplier); - m_lastAnimationSegmentStart = L""; - m_lastAnimationSegmentEnd = toState; - } - else - { - // None of our attempt to find an animation to play or frame to show have worked, so just cut - // to frame 0. - m_progressPropertySet.InsertScalar(s_progressPropertyName, 0.0); - m_lastAnimationSegmentStart = L""; - m_lastAnimationSegmentEnd = L"0.0"; - } - } - } - m_lastAnimationSegment = transitionName; - AnimatedIconTestHooks::NotifyLastAnimationSegmentChanged(*this); - } - } -} - -void AnimatedIcon::PlaySegment(float from, float to, const std::function& cleanupAction, float playbackMultiplier) -{ - auto const segmentLength = [from, to, previousSegmentLength = m_previousSegmentLength]() - { - if (std::isnan(from)) - { - return previousSegmentLength; - } - return std::abs(to - from); - }(); - - m_previousSegmentLength = segmentLength; - auto const duration = m_animatedVisual ? - std::chrono::duration_cast(m_animatedVisual.get().Duration() * segmentLength * (1.0 / playbackMultiplier) * m_durationMultiplier) : - winrt::TimeSpan::zero(); - // If the duration is really short (< 20ms) don't bother trying to animate, or if animations are disabled. - if (duration < winrt::TimeSpan{ 20ms } || !SharedHelpers::IsAnimationsEnabled()) - { - m_progressPropertySet.InsertScalar(s_progressPropertyName, to); - if (cleanupAction) - { - cleanupAction(); - } - OnAnimationCompleted(nullptr, nullptr); - } - else - { - auto compositor = m_progressPropertySet.Compositor(); - auto animation = compositor.CreateScalarKeyFrameAnimation(); - animation.Duration(duration); - auto linearEasing = compositor.CreateLinearEasingFunction(); - - // Play from fromProgress. - if (!std::isnan(from)) - { - animation.InsertKeyFrame(0, from); - } - - // Play to toProgress - animation.InsertKeyFrame(1, to, linearEasing); - - animation.IterationBehavior(winrt::AnimationIterationBehavior::Count); - animation.IterationCount(1); - - if (m_batch) - { - m_batchCompletedRevoker.revoke(); - } - m_batch = compositor.CreateScopedBatch(winrt::CompositionBatchTypes::Animation); - m_batchCompletedRevoker = RegisterScopedBatchCompleted(m_batch, { this, &AnimatedIcon::OnAnimationCompleted }); - - m_isPlaying = true; - m_progressPropertySet.StartAnimation(s_progressPropertyName, animation); - m_batch.End(); - } -} - -void AnimatedIcon::OnSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs&) -{ - auto const visual = ConstructVisual(); - if(!InsertVisual(visual)) - { - SetRootPanelChildToFallbackIcon(); - } - InvalidateMeasure(); -} - -void AnimatedIcon::UpdateMirrorTransform() -{ - auto const scaleTransform = [this]() - { - if (!m_scaleTransform) - { - // Initialize the scale transform that will be used for mirroring and the - // render transform origin as center in order to have the icon mirrored in place. - winrt::Windows::UI::Xaml::Media::ScaleTransform scaleTransform; - - RenderTransform(scaleTransform); - RenderTransformOrigin({ 0.5, 0.5 }); - m_scaleTransform.set(scaleTransform); - return scaleTransform; - } - return m_scaleTransform.get(); - }(); - - - scaleTransform.ScaleX(FlowDirection() == winrt::FlowDirection::RightToLeft && !MirroredWhenRightToLeft() && m_canDisplayPrimaryContent ? -1.0f : 1.0f); -} - -void AnimatedIcon::OnMirroredWhenRightToLeftPropertyChanged(const winrt::DependencyPropertyChangedEventArgs&) -{ - UpdateMirrorTransform(); -} - -winrt::Visual AnimatedIcon::ConstructVisual() -{ - if (auto const source = Source()) - { - TrySetForegroundProperty(source); - - winrt::IInspectable diagnostics{}; - auto const visual = source.TryCreateAnimatedVisual(winrt::Window::Current().Compositor(), diagnostics); - m_animatedVisual.set(visual); - return visual ? visual.RootVisual() : nullptr; - } - else - { - m_animatedVisual.set(nullptr); - return static_cast(nullptr); - } -} - -bool AnimatedIcon::InsertVisual(winrt::Visual visual) -{ - if (auto const rootPanel = m_rootPanel.get()) - { - winrt::ElementCompositionPreview::SetElementChildVisual(rootPanel, visual); - } - - UpdateMirrorTransform(); - - if (visual) - { - m_canDisplayPrimaryContent = true; - if (auto const rootPanel = m_rootPanel.get()) - { - // Remove the second child, if it exists, as this is the fallback icon. - // Which we don't need because we have a visual now. - if (rootPanel.Children().Size() > 1) - { - rootPanel.Children().RemoveAt(1); - } - } - visual.Properties().InsertScalar(s_progressPropertyName, 0.0F); - - // Tie the animated visual's Progress property to the player Progress with an ExpressionAnimation. - auto const compositor = visual.Compositor(); - auto const expression = StringUtil::FormatString(L"_.%1!s!", s_progressPropertyName.data()); - auto const progressAnimation = compositor.CreateExpressionAnimation(expression); - progressAnimation.SetReferenceParameter(L"_", m_progressPropertySet); - visual.Properties().StartAnimation(s_progressPropertyName, progressAnimation); - - return true; - } - else - { - m_canDisplayPrimaryContent = false; - return false; - } -} - -void AnimatedIcon::OnFallbackIconSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs&) -{ - if (!m_canDisplayPrimaryContent) - { - SetRootPanelChildToFallbackIcon(); - } -} - -void AnimatedIcon::SetRootPanelChildToFallbackIcon() -{ - if (auto const iconSource = FallbackIconSource()) - { - auto const iconElement = iconSource.CreateIconElement(); - if (auto const rootPanel = m_rootPanel.get()) - { - // Remove the second child, if it exists, as this is the previous - // fallback icon which we don't need because we have a visual now. - if (rootPanel.Children().Size() > 1) - { - rootPanel.Children().RemoveAt(1); - } - rootPanel.Children().Append(iconElement); - } - } -} - -void AnimatedIcon::OnForegroundPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args) -{ - m_foregroundColorPropertyChangedRevoker.revoke(); - if (auto const foregroundSolidColorBrush = Foreground().try_as()) - { - m_foregroundColorPropertyChangedRevoker = RegisterPropertyChanged(foregroundSolidColorBrush, winrt::SolidColorBrush::ColorProperty(), { this, &AnimatedIcon::OnForegroundBrushColorPropertyChanged }); - TrySetForegroundProperty(foregroundSolidColorBrush.Color()); - } -} - -void AnimatedIcon::OnFlowDirectionPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args) -{ - UpdateMirrorTransform(); -} - -void AnimatedIcon::OnForegroundBrushColorPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args) -{ - TrySetForegroundProperty(sender.GetValue(args).as()); -} - -void AnimatedIcon::TrySetForegroundProperty(winrt::IAnimatedVisualSource2 const& source) -{ - if (auto const foregroundSolidColorBrush = Foreground().try_as()) - { - TrySetForegroundProperty(foregroundSolidColorBrush.Color(), source); - } -} - -void AnimatedIcon::TrySetForegroundProperty(winrt::Color color, winrt::IAnimatedVisualSource2 const& source) -{ - auto const localSource = source ? source : Source(); - if (localSource) - { - localSource.SetColorProperty(s_foregroundPropertyName, color); - } -} - -void AnimatedIcon::OnAnimationCompleted(winrt::IInspectable const&, winrt::CompositionBatchCompletedEventArgs const&) -{ - if (m_batch) - { - m_batchCompletedRevoker.revoke(); - } - m_isPlaying = false; - - switch (m_queueBehavior) - { - case winrt::AnimatedIconAnimationQueueBehavior::Cut: - break; - case winrt::AnimatedIconAnimationQueueBehavior::QueueOne: - if (!m_queuedStates.empty()) - { - TransitionAndUpdateStates(m_currentState, m_queuedStates.front()); - } - break; - case winrt::AnimatedIconAnimationQueueBehavior::SpeedUpQueueOne: - if (!m_queuedStates.empty()) - { - if (m_queuedStates.size() == 1) - { - TransitionAndUpdateStates(m_currentState, m_queuedStates.front()); - } - else - { - TransitionAndUpdateStates(m_currentState, m_queuedStates.front(), m_isSpeedUp ? m_speedUpMultiplier : 1.0f); - } - } - break; - } -} - -// Test hooks -void AnimatedIcon::SetAnimationQueueBehavior(winrt::AnimatedIconAnimationQueueBehavior behavior) -{ - m_queueBehavior = behavior; -} - - -void AnimatedIcon::SetDurationMultiplier(float multiplier) -{ - m_durationMultiplier = multiplier; -} - -void AnimatedIcon::SetSpeedUpMultiplier(float multiplier) -{ - m_speedUpMultiplier = multiplier; -} - -void AnimatedIcon::SetQueueLength(unsigned int length) -{ - m_queueLength = length; -} - -winrt::hstring AnimatedIcon::GetLastAnimationSegment() -{ - return m_lastAnimationSegment; -} - -winrt::hstring AnimatedIcon::GetLastAnimationSegmentStart() -{ - return m_lastAnimationSegmentStart; -} - -winrt::hstring AnimatedIcon::GetLastAnimationSegmentEnd() -{ - return m_lastAnimationSegmentEnd; -} diff --git a/dev/AnimatedIcon/AnimatedIcon.h b/dev/AnimatedIcon/AnimatedIcon.h deleted file mode 100644 index 355bb55f93..0000000000 --- a/dev/AnimatedIcon/AnimatedIcon.h +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "pch.h" -#include "common.h" - -#include "AnimatedIcon.g.h" -#include "AnimatedIcon.properties.h" -#include - -class AnimatedIcon : - public ReferenceTracker, - public AnimatedIconProperties -{ - -public: - AnimatedIcon(); - ~AnimatedIcon() {} - - // IFrameworkElement - void OnApplyTemplate(); - void OnLoaded(winrt::IInspectable const&, winrt::RoutedEventArgs const&); - void OnLayoutUpdatedAfterStateChanged(winrt::IInspectable const& sender, winrt::IInspectable const& args); - - // FrameworkElement overrides - winrt::Size MeasureOverride(winrt::Size const& availableSize); - winrt::Size ArrangeOverride(winrt::Size const& finalSize); - - void OnSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs&); - void OnFallbackIconSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs&); - void OnMirroredWhenRightToLeftPropertyChanged(const winrt::DependencyPropertyChangedEventArgs&); - static void OnAnimatedIconStatePropertyChanged( - const winrt::DependencyObject& sender, - const winrt::DependencyPropertyChangedEventArgs& args); - void OnAncestorAnimatedIconStatePropertyChanged( - const winrt::DependencyObject& sender, - const winrt::DependencyProperty& args); - void OnStatePropertyChanged(); - - static winrt::DependencyProperty AnimatedIconStateProperty() { return s_StateProperty; } - - // TestHooks - void SetAnimationQueueBehavior(winrt::AnimatedIconAnimationQueueBehavior behavior); - void SetDurationMultiplier(float multiplier); - void SetSpeedUpMultiplier(float multiplier); - void SetQueueLength(unsigned int length); - winrt::hstring GetLastAnimationSegment(); - winrt::hstring GetLastAnimationSegmentStart(); - winrt::hstring GetLastAnimationSegmentEnd(); -private: - winrt::Visual ConstructVisual(); - bool InsertVisual(winrt::Visual visual); - void TransitionAndUpdateStates(const winrt::hstring& fromState, const winrt::hstring& toState, float playbackMultiplier = 1.0f); - void TransitionStates(const winrt::hstring& fromState, const winrt::hstring& toState, const std::function& cleanupAction, float playtbackMultiplier = 1.0f); - void PlaySegment(float from, float to, const std::function& cleanupAction = nullptr, float playbackMultiplier = 1.0f); - void TrySetForegroundProperty(winrt::Color color, winrt::IAnimatedVisualSource2 const& source = nullptr); - void TrySetForegroundProperty(winrt::IAnimatedVisualSource2 const& source = nullptr); - void OnAnimationCompleted(winrt::IInspectable const&, winrt::CompositionBatchCompletedEventArgs const&); - void OnForegroundPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args); - void OnFlowDirectionPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args); - void OnForegroundBrushColorPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args); - void SetRootPanelChildToFallbackIcon(); - void UpdateMirrorTransform(); - - tracker_ref m_animatedVisual{ this }; - tracker_ref m_rootPanel{ this }; - tracker_ref m_scaleTransform{ this }; - - winrt::hstring m_currentState{ L"" }; - winrt::hstring m_previousState{ L"" }; - std::queue m_queuedStates{}; - unsigned int m_queueLength{ 4 }; - winrt::hstring m_pendingState{ L"" }; - winrt::hstring m_lastAnimationSegment{ L"" }; - winrt::hstring m_lastAnimationSegmentStart{ L"" }; - winrt::hstring m_lastAnimationSegmentEnd{ L"" }; - bool m_isPlaying{ false }; - bool m_canDisplayPrimaryContent{ true }; - float m_previousSegmentLength{ 1.0f }; - float m_durationMultiplier{ 1.0 }; - float m_speedUpMultiplier{ 7.0f }; - bool m_isSpeedUp{ false }; - - - winrt::Composition::CompositionPropertySet m_progressPropertySet{ nullptr }; - winrt::Composition::CompositionScopedBatch m_batch{ nullptr }; - - ScopedBatchCompleted_revoker m_batchCompletedRevoker{ }; - PropertyChanged_revoker m_ancestorStatePropertyChangedRevoker{}; - winrt::FrameworkElement::LayoutUpdated_revoker m_layoutUpdatedRevoker{}; - PropertyChanged_revoker m_foregroundColorPropertyChangedRevoker{}; - - winrt::AnimatedIconAnimationQueueBehavior m_queueBehavior{ winrt::AnimatedIconAnimationQueueBehavior::QueueOne }; -}; diff --git a/dev/AnimatedIcon/AnimatedIcon.idl b/dev/AnimatedIcon/AnimatedIcon.idl deleted file mode 100644 index 563f88215a..0000000000 --- a/dev/AnimatedIcon/AnimatedIcon.idl +++ /dev/null @@ -1,38 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -interface IAnimatedVisualSource2 requires IAnimatedVisualSource -{ - Windows.Foundation.Collections.IMapView Markers { get; }; - void SetColorProperty(String propertyName, Windows.UI.Color value); -}; - -[MUX_PUBLIC] -[webhosthidden] -[contentproperty("Source")] -unsealed runtimeclass AnimatedIcon : Windows.UI.Xaml.Controls.IconElement -{ - AnimatedIcon(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - IAnimatedVisualSource2 Source{ get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - IconSource FallbackIconSource{ get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Boolean MirroredWhenRightToLeft{ get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnAnimatedIconStatePropertyChanged")] - static Windows.UI.Xaml.DependencyProperty StateProperty{ get; }; - static void SetState(Windows.UI.Xaml.DependencyObject object, String value); - static String GetState(Windows.UI.Xaml.DependencyObject object); - - static Windows.UI.Xaml.DependencyProperty SourceProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty FallbackIconSourceProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty MirroredWhenRightToLeftProperty{ get; }; -} - -} diff --git a/dev/AnimatedIcon/AnimatedIcon.vcxitems b/dev/AnimatedIcon/AnimatedIcon.vcxitems deleted file mode 100644 index 0adee95228..0000000000 --- a/dev/AnimatedIcon/AnimatedIcon.vcxitems +++ /dev/null @@ -1,59 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {F1C8A5A1-B1B0-4095-8849-E550FCF2EBF6} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - %(PreprocessorDefinitions);ANIMATEDICON_INCLUDED - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/dev/AnimatedIcon/AnimatedIcon.vcxitems.filters b/dev/AnimatedIcon/AnimatedIcon.vcxitems.filters deleted file mode 100644 index ed56235ad5..0000000000 --- a/dev/AnimatedIcon/AnimatedIcon.vcxitems.filters +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - - - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - - - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - AnimatedVisuals - - - - - {ab333f5f-ead0-4ff7-ac54-6fe103e3002b} - - - {1843091a-2efc-483d-aebb-0166cf2e040f} - - - - - Docs - - - Docs - - - Docs - - - \ No newline at end of file diff --git a/dev/AnimatedIcon/AnimatedIconTestHooks.cpp b/dev/AnimatedIcon/AnimatedIconTestHooks.cpp deleted file mode 100644 index 0df7f75f7b..0000000000 --- a/dev/AnimatedIcon/AnimatedIconTestHooks.cpp +++ /dev/null @@ -1,96 +0,0 @@ -#include "pch.h" -#include "common.h" -#include "AnimatedIconTestHooks.h" - -#include "AnimatedIconTestHooks.properties.cpp" - -com_ptr AnimatedIconTestHooks::s_testHooks{}; - -com_ptr AnimatedIconTestHooks::EnsureGlobalTestHooks() -{ - static bool s_initialized = []() { - s_testHooks = winrt::make_self(); - return true; - }(); - return s_testHooks; -} - -void AnimatedIconTestHooks::SetAnimationQueueBehavior(const winrt::AnimatedIcon& animatedIcon, winrt::AnimatedIconAnimationQueueBehavior behavior) -{ - if (animatedIcon) - { - winrt::get_self(animatedIcon)->SetAnimationQueueBehavior(behavior); - } -} - -void AnimatedIconTestHooks::SetDurationMultiplier(const winrt::AnimatedIcon& animatedIcon, float multiplier) -{ - if (animatedIcon) - { - winrt::get_self(animatedIcon)->SetDurationMultiplier(multiplier); - } -} - -void AnimatedIconTestHooks::SetSpeedUpMultiplier(const winrt::AnimatedIcon& animatedIcon, float multiplier) -{ - if (animatedIcon) - { - winrt::get_self(animatedIcon)->SetSpeedUpMultiplier(multiplier); - } -} - -void AnimatedIconTestHooks::SetQueueLength(const winrt::AnimatedIcon& animatedIcon, int length) -{ - if (animatedIcon) - { - winrt::get_self(animatedIcon)->SetQueueLength(length); - } -} - -winrt::hstring AnimatedIconTestHooks::GetLastAnimationSegment(const winrt::AnimatedIcon& animatedIcon) -{ - if (animatedIcon) - { - return winrt::get_self(animatedIcon)->GetLastAnimationSegment(); - } - return L""; -} - -winrt::hstring AnimatedIconTestHooks::GetLastAnimationSegmentStart(const winrt::AnimatedIcon& animatedIcon) -{ - if (animatedIcon) - { - return winrt::get_self(animatedIcon)->GetLastAnimationSegmentStart(); - } - return L""; -} - -winrt::hstring AnimatedIconTestHooks::GetLastAnimationSegmentEnd(const winrt::AnimatedIcon& animatedIcon) -{ - if (animatedIcon) - { - return winrt::get_self(animatedIcon)->GetLastAnimationSegmentEnd(); - } - return L""; -} - -void AnimatedIconTestHooks::NotifyLastAnimationSegmentChanged(const winrt::AnimatedIcon& sender) -{ - auto hooks = EnsureGlobalTestHooks(); - if (hooks->m_lastAnimationSegmentChangedEventSource) - { - hooks->m_lastAnimationSegmentChangedEventSource(sender, nullptr); - } -} - -winrt::event_token AnimatedIconTestHooks::LastAnimationSegmentChanged(winrt::TypedEventHandler const& value) -{ - auto hooks = EnsureGlobalTestHooks(); - return hooks->m_lastAnimationSegmentChangedEventSource.add(value); -} - -void AnimatedIconTestHooks::LastAnimationSegmentChanged(winrt::event_token const& token) -{ - auto hooks = EnsureGlobalTestHooks(); - hooks->m_lastAnimationSegmentChangedEventSource.remove(token); -} diff --git a/dev/AnimatedIcon/AnimatedIconTestHooks.h b/dev/AnimatedIcon/AnimatedIconTestHooks.h deleted file mode 100644 index 9275c89aa3..0000000000 --- a/dev/AnimatedIcon/AnimatedIconTestHooks.h +++ /dev/null @@ -1,33 +0,0 @@ -#pragma once - -#include "AnimatedIcon.h" - -#include "AnimatedIconTestHooks.g.h" - -class AnimatedIconTestHooks : - public winrt::implementation::AnimatedIconTestHooksT -{ -public: - static com_ptr GetGlobalTestHooks() - { - return s_testHooks; - } - - static com_ptr EnsureGlobalTestHooks(); - - static void SetAnimationQueueBehavior(const winrt::AnimatedIcon& animatedIcon, winrt::AnimatedIconAnimationQueueBehavior behavior); - static void SetDurationMultiplier(const winrt::AnimatedIcon& animatedIcon, float multiplier); - static void SetSpeedUpMultiplier(const winrt::AnimatedIcon& animatedIcon, float multiplier); - static void SetQueueLength(const winrt::AnimatedIcon& animatedIcon, int length); - - static winrt::hstring GetLastAnimationSegment(const winrt::AnimatedIcon& animatedIcon); - static winrt::hstring GetLastAnimationSegmentStart(const winrt::AnimatedIcon& animatedIcon); - static winrt::hstring GetLastAnimationSegmentEnd(const winrt::AnimatedIcon& animatedIcon); - - static void NotifyLastAnimationSegmentChanged(const winrt::AnimatedIcon& sender); - static winrt::event_token LastAnimationSegmentChanged(winrt::TypedEventHandler const& value); - static void LastAnimationSegmentChanged(winrt::event_token const& token); -private: - static com_ptr s_testHooks; - winrt::event> m_lastAnimationSegmentChangedEventSource; -}; diff --git a/dev/AnimatedIcon/AnimatedIconTestHooks.idl b/dev/AnimatedIcon/AnimatedIconTestHooks.idl deleted file mode 100644 index 8a671167c9..0000000000 --- a/dev/AnimatedIcon/AnimatedIconTestHooks.idl +++ /dev/null @@ -1,29 +0,0 @@ -namespace MU_PRIVATE_CONTROLS_NAMESPACE -{ - -[MUX_INTERNAL] -[webhosthidden] -enum AnimatedIconAnimationQueueBehavior -{ - Cut, - QueueOne, - SpeedUpQueueOne, -}; - -[MUX_INTERNAL] -[default_interface] -[webhosthidden] -runtimeclass AnimatedIconTestHooks -{ - static void SetAnimationQueueBehavior(MU_XC_NAMESPACE.AnimatedIcon animatedIcon, AnimatedIconAnimationQueueBehavior easingFunction); - static void SetDurationMultiplier(MU_XC_NAMESPACE.AnimatedIcon animatedIcon, Single multiplier); - static void SetSpeedUpMultiplier(MU_XC_NAMESPACE.AnimatedIcon animatedIcon, Single multiplier); - static void SetQueueLength(MU_XC_NAMESPACE.AnimatedIcon animatedIcon, Int32 length); - - static String GetLastAnimationSegment(MU_XC_NAMESPACE.AnimatedIcon animatedIcon); - static String GetLastAnimationSegmentStart(MU_XC_NAMESPACE.AnimatedIcon animatedIcon); - static String GetLastAnimationSegmentEnd(MU_XC_NAMESPACE.AnimatedIcon animatedIcon); - static event Windows.Foundation.TypedEventHandler LastAnimationSegmentChanged; -}; - -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.cpp deleted file mode 100644 index 24bb166b33..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.cpp +++ /dev/null @@ -1,2014 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.0.2+gebbbdfc697 -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedAcceptVisualSource.json -// -// Input file: -// AnimatedAcceptVisualSource.json (22496 bytes created 11:36-07:00 May 14 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 305 | -// |--------------------------+-------| -// | Expression animators | 30 | -// | KeyFrame animators | 29 | -// | Reference parameters | 30 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 43 | -// | ShapeVisuals | 15 | -// |--------------------------+-------| -// | ContainerShapes | - | -// | CompositionSpriteShapes | 15 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedAcceptVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#ifdef BUILD_WINDOWS -namespace ABI -{ -#include -} -#else -#include -#endif -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedAcceptVisualSource) -} -#include "AnimatedVisuals\AnimatedAcceptVisualSource.g.cpp" - - -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedAcceptVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 26666666L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - CompositionColorBrush _themeColor_Foreground{ nullptr }; - CompositionPath _path{ nullptr }; - CompositionPathGeometry _pathGeometry_09{ nullptr }; - ContainerVisual _root{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_0{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_1{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - InsetClip _insetClip_0{ nullptr }; - StepEasingFunction _holdThenStepEasingFunction{ nullptr }; - StepEasingFunction _stepThenHoldEasingFunction{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - BooleanKeyFrameAnimation CreateBooleanKeyFrameAnimation(float initialProgress, bool initialValue) - { - const auto result = _c.CreateBooleanKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue); - return result; - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateScalarKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry, winrt::float3x2 transformMatrix) - { - const auto result = _c.CreateSpriteShape(geometry); - result.TransformMatrix(transformMatrix); - return result; - } - - // PreComp layer: Indeterminate State - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_00() - { - // Frame 155. - const auto result = CreateBooleanKeyFrameAnimation(0.96875F, true); - return result; - } - - // PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_01() - { - // Frame 135. - const auto result = CreateBooleanKeyFrameAnimation(0.84375F, true); - // Frame 155. - result.InsertKeyFrame(0.96875F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_02() - { - // Frame 115. - const auto result = CreateBooleanKeyFrameAnimation(0.71875F, true); - // Frame 135. - result.InsertKeyFrame(0.84375F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_03() - { - // Frame 105. - const auto result = CreateBooleanKeyFrameAnimation(0.65625F, true); - // Frame 115. - result.InsertKeyFrame(0.71875F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_04() - { - // Frame 100. - const auto result = CreateBooleanKeyFrameAnimation(0.625F, true); - // Frame 105. - result.InsertKeyFrame(0.65625F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_05() - { - // Frame 95. - const auto result = CreateBooleanKeyFrameAnimation(0.59375F, true); - // Frame 100. - result.InsertKeyFrame(0.625F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_06() - { - // Frame 90. - const auto result = CreateBooleanKeyFrameAnimation(0.5625F, true); - // Frame 95. - result.InsertKeyFrame(0.59375F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 12 - PointerOverOffToPressedOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_07() - { - // Frame 85. - const auto result = CreateBooleanKeyFrameAnimation(0.53125F, true); - // Frame 90. - result.InsertKeyFrame(0.5625F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 11 - PointerOverOffToNormalOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_08() - { - // Frame 80. - const auto result = CreateBooleanKeyFrameAnimation(0.5F, true); - // Frame 85. - result.InsertKeyFrame(0.53125F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_09() - { - // Frame 60. - const auto result = CreateBooleanKeyFrameAnimation(0.375F, true); - // Frame 80. - result.InsertKeyFrame(0.5F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_10() - { - // Frame 55. - const auto result = CreateBooleanKeyFrameAnimation(0.34375F, true); - // Frame 60. - result.InsertKeyFrame(0.375F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 08 - PointerOverOnToNormalOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_11() - { - // Frame 50. - const auto result = CreateBooleanKeyFrameAnimation(0.3125F, true); - // Frame 55. - result.InsertKeyFrame(0.34375F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_12() - { - // Frame 45. - const auto result = CreateBooleanKeyFrameAnimation(0.28125F, true); - // Frame 50. - result.InsertKeyFrame(0.3125F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 06 - NormalOffToPressedOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_13() - { - // Frame 40. - const auto result = CreateBooleanKeyFrameAnimation(0.25F, true); - // Frame 45. - result.InsertKeyFrame(0.28125F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 05 - NormalOffToPointerOverOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_14() - { - // Frame 35. - const auto result = CreateBooleanKeyFrameAnimation(0.21875F, true); - // Frame 40. - result.InsertKeyFrame(0.25F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_15() - { - // Frame 15. - const auto result = CreateBooleanKeyFrameAnimation(0.09375F, true); - // Frame 35. - result.InsertKeyFrame(0.21875F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 03 - NormalOnToPressedOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_16() - { - // Frame 10. - const auto result = CreateBooleanKeyFrameAnimation(0.0625F, true); - // Frame 15. - result.InsertKeyFrame(0.09375F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 02 - NormalOnToPointerOverOn - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_17() - { - // Frame 5. - const auto result = CreateBooleanKeyFrameAnimation(0.03125F, true); - // Frame 10. - result.InsertKeyFrame(0.0625F, false); - return result; - } - - // PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_18() - { - // Frame 5. - const auto result = CreateBooleanKeyFrameAnimation(0.03125F, false); - return result; - } - - // - - - - - PreComp layer: Indeterminate State - // - - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - - Shape tree root for layer: Shape Layer 1 - // - - Scale:0.7,0.7, Offset:<24, 24> - winrt::com_ptr Geometry_0() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->BeginFigure({ -11.75F, -0.125F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 11.875F, -0.125F }); - sink->EndFigure(D2D1_FIGURE_END_OPEN); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_1() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->BeginFigure({ -15.1719999F, 0.0160000008F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ -5.0F, 10.1879997F }); - sink->AddLine({ 15.3369999F, -10.3369999F }); - sink->EndFigure(D2D1_FIGURE_END_OPEN); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - - - PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - - // Tweak - // - - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - - Shape tree root for layer: Shape Layer 1 - // - - Scale:0.7,0.7, Offset:<24, 23> - winrt::com_ptr Geometry_2() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->BeginFigure({ -15.1719999F, 0.0160000008F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ -5.0F, 10.1879997F }); - sink->AddLine({ 15.3369999F, -10.2810001F }); - sink->EndFigure(D2D1_FIGURE_END_OPEN); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _themeColor_Foreground = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - CompositionPath Path() - { - const auto result = _path = CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_1())); - return result; - } - - // - - - PreComp layer: Indeterminate State - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 24> - CompositionPathGeometry PathGeometry_00() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_0()))); - } - - // - - - PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_01() - { - const auto result = _c.CreatePathGeometry(Path()); - StartProgressBoundAnimation(result, L"TrimEnd", TrimEndScalarAnimation_0_to_1_0(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_02() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimEnd", TrimEndScalarAnimation_0_to_1_1(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 2 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_03() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimEnd", TrimEndScalarAnimation_0_to_1_2(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_04() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimStart", TrimStartScalarAnimation_0_to_1_0(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_05() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimStart", TrimStartScalarAnimation_0_to_1_1(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_06() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimStart", TrimStartScalarAnimation_0_to_1_2(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - - // Tweak - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_07() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimEnd", TrimEndScalarAnimation_0_to_1_3(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_08() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_2()))); - } - - CompositionPathGeometry PathGeometry_09() - { - return _pathGeometry_09 = _c.CreatePathGeometry(_path); - } - - // - - - PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - - // Tweak - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_10() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimStart", TrimStartScalarAnimation_0_to_1_3(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_11() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimEnd", TrimEndScalarAnimation_0_to_1_4(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - // - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - Shape tree root for layer: Shape Layer 1 - // Scale:0.7,0.7, Offset:<24, 23> - CompositionPathGeometry PathGeometry_12() - { - const auto result = _c.CreatePathGeometry(_path); - StartProgressBoundAnimation(result, L"TrimStart", TrimStartScalarAnimation_0_to_1_4(), _rootProgress); - return result; - } - - // - - PreComp layer: Indeterminate State - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_00() - { - // Offset:<24, 24>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_00(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 24.0F }); - result.StrokeBrush(ThemeColor_Foreground()); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_01() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_01(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_02() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_02(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 2 - // Path 1 - CompositionSpriteShape SpriteShape_03() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_03(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_04() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_04(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_05() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_05(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_06() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_06(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - - // Tweak - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_07() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_07(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_08() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_08(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 08 - PointerOverOnToNormalOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_09() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_09(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - - // Tweak - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_10() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_10(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_11() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_11(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 03 - NormalOnToPressedOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Check - // Path 1 - CompositionSpriteShape SpriteShape_12() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(_pathGeometry_09, { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 02 - NormalOnToPointerOverOn - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Check - // Path 1 - CompositionSpriteShape SpriteShape_13() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(_pathGeometry_09, { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // - - PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - // - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - // Path 1 - CompositionSpriteShape SpriteShape_14() - { - // Offset:<24, 23>, Scale:<0.7, 0.7> - const auto result = CreateSpriteShape(PathGeometry_12(), { 0.699999988F, 0.0F, 0.0F, 0.699999988F, 24.0F, 23.0F }); - result.StrokeBrush(_themeColor_Foreground); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - result.StrokeThickness(4.0F); - return result; - } - - // PreComp layer: Indeterminate State - ContainerVisual ContainerVisual_00() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_01()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_00(), RootProgress()); - return result; - } - - // PreComp layer: Indeterminate State - // Transforms for Indeterminate State Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_01() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_00()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - ContainerVisual ContainerVisual_02() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_03()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_01(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - // Transforms for Controls - 01 - Check - 18 - PressedOffToNormalOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_03() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_01()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - ContainerVisual ContainerVisual_04() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_05()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_02(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - // Transforms for Controls - 01 - Check - 17 - PressedOffToPointerOverOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_05() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_02()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - ContainerVisual ContainerVisual_06() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_07()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_03(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - // Transforms for Controls - 01 - Check - 16 - PressedOffToPressedOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_07() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 2 - result.Children().InsertAtTop(ShapeVisual_03()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - ContainerVisual ContainerVisual_08() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_09()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_04(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - // Transforms for Controls - 01 - Check - 15 - PressedOnToNormalOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_09() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_04()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - ContainerVisual ContainerVisual_10() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_11()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_05(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - // Transforms for Controls - 01 - Check - 14 - PressedOnToPointerOverOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_11() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_05()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - ContainerVisual ContainerVisual_12() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_13()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_06(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - // Transforms for Controls - 01 - Check - 13 - PressedOnToPressedOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_13() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_06()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 12 - PointerOverOffToPressedOff - ContainerVisual ContainerVisual_14() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_15()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_07(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 12 - PointerOverOffToPressedOff - // Transforms for Controls - 01 - Check - 12 - PointerOverOffToPressedOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_15() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - result.Children().InsertAtTop(ContainerVisual_16()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 12 - PointerOverOffToPressedOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - ContainerVisual ContainerVisual_16() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - return result; - } - - // PreComp layer: Controls - 01 - Check - 11 - PointerOverOffToNormalOff - ContainerVisual ContainerVisual_17() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_18()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_08(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 11 - PointerOverOffToNormalOff - // Transforms for Controls - 01 - Check - 11 - PointerOverOffToNormalOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_18() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - result.Children().InsertAtTop(ContainerVisual_19()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 11 - PointerOverOffToNormalOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - ContainerVisual ContainerVisual_19() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - return result; - } - - // PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - ContainerVisual ContainerVisual_20() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_21()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_09(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - // Transforms for Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_21() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_07()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - ContainerVisual ContainerVisual_22() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_23()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_10(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - // Transforms for Controls - 01 - Check - 09 - PointerOverOnToPressedOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_23() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_08()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 08 - PointerOverOnToNormalOn - ContainerVisual ContainerVisual_24() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_25()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_11(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 08 - PointerOverOnToNormalOn - // Transforms for Controls - 01 - Check - 08 - PointerOverOnToNormalOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_25() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_09()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - ContainerVisual ContainerVisual_26() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_27()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_12(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - // Transforms for Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_27() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_10()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 06 - NormalOffToPressedOff - ContainerVisual ContainerVisual_28() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_29()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_13(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 06 - NormalOffToPressedOff - // Transforms for Controls - 01 - Check - 06 - NormalOffToPressedOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_29() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - result.Children().InsertAtTop(ContainerVisual_30()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 06 - NormalOffToPressedOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - ContainerVisual ContainerVisual_30() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - return result; - } - - // PreComp layer: Controls - 01 - Check - 05 - NormalOffToPointerOverOff - ContainerVisual ContainerVisual_31() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_32()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_14(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 05 - NormalOffToPointerOverOff - // Transforms for Controls - 01 - Check - 05 - NormalOffToPointerOverOff Scale(1,1,0), - // Offset(-24,-24,0) - ContainerVisual ContainerVisual_32() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - result.Children().InsertAtTop(ContainerVisual_33()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 05 - NormalOffToPointerOverOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - ContainerVisual ContainerVisual_33() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - return result; - } - - // PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - ContainerVisual ContainerVisual_34() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_35()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_15(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - // Transforms for Controls - 01 - Check - 04 - NormalOffToNormalOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_35() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_11()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 03 - NormalOnToPressedOn - ContainerVisual ContainerVisual_36() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_37()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_16(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 03 - NormalOnToPressedOn - // Transforms for Controls - 01 - Check - 03 - NormalOnToPressedOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_37() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Check - result.Children().InsertAtTop(ShapeVisual_12()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 02 - NormalOnToPointerOverOn - ContainerVisual ContainerVisual_38() - { - const auto result = _c.CreateContainerVisual(); - result.IsVisible(false); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_39()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_17(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 02 - NormalOnToPointerOverOn - // Transforms for Controls - 01 - Check - 02 - NormalOnToPointerOverOn - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_39() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Check - result.Children().InsertAtTop(ShapeVisual_13()); - return result; - } - - // PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - ContainerVisual ContainerVisual_40() - { - const auto result = _c.CreateContainerVisual(); - // Offset:<24, 24>, Scale:<1.05, 1.05> - result.TransformMatrix({ 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 1.04999995F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 24.0F, 24.0F, 0.0F, 1.0F }); - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - result.Children().InsertAtTop(ContainerVisual_41()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_18(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - // Transforms for Controls - 01 - Check - 01 - NormalOnToNormalOff - // Scale(1,1,0), Offset(-24,-24,0) - ContainerVisual ContainerVisual_41() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Offset:<-24, -24>, Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, -24.0F, -24.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Shape Layer 1 - result.Children().InsertAtTop(ShapeVisual_14()); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - const auto children = result.Children(); - // PreComp layer: Indeterminate State - children.InsertAtTop(ContainerVisual_00()); - // PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - children.InsertAtTop(ContainerVisual_02()); - // PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - children.InsertAtTop(ContainerVisual_04()); - // PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - children.InsertAtTop(ContainerVisual_06()); - // PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - children.InsertAtTop(ContainerVisual_08()); - // PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - children.InsertAtTop(ContainerVisual_10()); - // PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - children.InsertAtTop(ContainerVisual_12()); - // PreComp layer: Controls - 01 - Check - 12 - PointerOverOffToPressedOff - children.InsertAtTop(ContainerVisual_14()); - // PreComp layer: Controls - 01 - Check - 11 - PointerOverOffToNormalOff - children.InsertAtTop(ContainerVisual_17()); - // PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - children.InsertAtTop(ContainerVisual_20()); - // PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - children.InsertAtTop(ContainerVisual_22()); - // PreComp layer: Controls - 01 - Check - 08 - PointerOverOnToNormalOn - children.InsertAtTop(ContainerVisual_24()); - // PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - children.InsertAtTop(ContainerVisual_26()); - // PreComp layer: Controls - 01 - Check - 06 - NormalOffToPressedOff - children.InsertAtTop(ContainerVisual_28()); - // PreComp layer: Controls - 01 - Check - 05 - NormalOffToPointerOverOff - children.InsertAtTop(ContainerVisual_31()); - // PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - children.InsertAtTop(ContainerVisual_34()); - // PreComp layer: Controls - 01 - Check - 03 - NormalOnToPressedOn - children.InsertAtTop(ContainerVisual_36()); - // PreComp layer: Controls - 01 - Check - 02 - NormalOnToPointerOverOn - children.InsertAtTop(ContainerVisual_38()); - // PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - children.InsertAtTop(ContainerVisual_40()); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction({ 0.550000012F, 0.0F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.833000004F, 0.833000004F }); - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - InsetClip InsetClip_0() - { - const auto result = _insetClip_0 = _c.CreateInsetClip(); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_1_0() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, StepThenHoldEasingFunction()); - // Frame 135. - result.InsertKeyFrame(0.84375F, 0.0F, HoldThenStepEasingFunction()); - // Frame 154. - result.InsertKeyFrame(0.962499976F, 1.0F, CubicBezierEasingFunction_0()); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - - // Tweak - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_1_1() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 115. - result.InsertKeyFrame(0.71875F, 0.0F, _holdThenStepEasingFunction); - // Frame 134. - result.InsertKeyFrame(0.837499976F, 1.0F, _cubicBezierEasingFunction_0); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 2 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_1_2() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 105. - result.InsertKeyFrame(0.65625F, 0.0F, _holdThenStepEasingFunction); - // Frame 114. - result.InsertKeyFrame(0.712499976F, 1.0F, _cubicBezierEasingFunction_0); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - - // Tweak - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_1_3() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 60. - result.InsertKeyFrame(0.375F, 0.0F, _holdThenStepEasingFunction); - // Frame 79. - result.InsertKeyFrame(0.493750006F, 1.0F, _cubicBezierEasingFunction_0); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_1_4() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 15. - result.InsertKeyFrame(0.09375F, 0.0F, _holdThenStepEasingFunction); - // Frame 34. - result.InsertKeyFrame(0.212500006F, 1.0F, _cubicBezierEasingFunction_0); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0_to_1_0() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 100. - result.InsertKeyFrame(0.625F, 0.0F, _holdThenStepEasingFunction); - // Frame 104. - result.InsertKeyFrame(0.649999976F, 1.0F, CubicBezierEasingFunction_1()); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - - // Tweak - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0_to_1_1() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 95. - result.InsertKeyFrame(0.59375F, 0.0F, _holdThenStepEasingFunction); - // Frame 99. - result.InsertKeyFrame(0.618749976F, 1.0F, _cubicBezierEasingFunction_1); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0_to_1_2() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 90. - result.InsertKeyFrame(0.5625F, 0.0F, _holdThenStepEasingFunction); - // Frame 94. - result.InsertKeyFrame(0.587499976F, 1.0F, _cubicBezierEasingFunction_1); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - - // Tweak - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0_to_1_3() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 45. - result.InsertKeyFrame(0.28125F, 0.0F, _holdThenStepEasingFunction); - // Frame 49. - result.InsertKeyFrame(0.306250006F, 1.0F, _cubicBezierEasingFunction_1); - return result; - } - - // - - - - PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - // - - - Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // - - Shape tree root for layer: Shape Layer 1 - // - Scale:0.7,0.7, Offset:<24, 23> - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0_to_1_4() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _holdThenStepEasingFunction); - // Frame 4. - result.InsertKeyFrame(0.0250000004F, 1.0F, _cubicBezierEasingFunction_1); - return result; - } - - // - PreComp layer: Indeterminate State - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_00() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 24> - result.Shapes().Append(SpriteShape_00()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 18 - PressedOffToNormalOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_01() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_01()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 17 - PressedOffToPointerOverOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_02() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_02()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 16 - PressedOffToPressedOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 2 - ShapeVisual ShapeVisual_03() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_03()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 15 - PressedOnToNormalOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_04() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_04()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 14 - PressedOnToPointerOverOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_05() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_05()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 13 - PressedOnToPressedOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_06() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_06()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 10 - PointerOverOffToPointerOverOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_07() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_07()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 09 - PointerOverOnToPressedOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_08() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_08()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 08 - PointerOverOnToNormalOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_09() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_09()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 07 - PointerOverOnToPointerOverOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_10() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_10()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 04 - NormalOffToNormalOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_11() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_11()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 03 - NormalOnToPressedOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Check - ShapeVisual ShapeVisual_12() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_12()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 02 - NormalOnToPointerOverOn - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Check - ShapeVisual ShapeVisual_13() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_13()); - return result; - } - - // - PreComp layer: Controls - 01 - Check - 01 - NormalOnToNormalOff - // Transforms for Null 230 Scale(1.05,1.05,0), Offset(24,24,0) - // Shape tree root for layer: Shape Layer 1 - ShapeVisual ShapeVisual_14() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // Scale:0.7,0.7, Offset:<24, 23> - result.Shapes().Append(SpriteShape_14()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - StepEasingFunction StepThenHoldEasingFunction() - { - const auto result = _stepThenHoldEasingFunction = _c.CreateStepEasingFunction(); - result.IsInitialStepSingleFrame(true); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedAcceptVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedAcceptVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedAcceptVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedAcceptVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedAcceptVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedAcceptVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedAcceptVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedAcceptVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedAcceptVisualSource::FrameCount() -{ - return 160.0; -} - -double AnimatedAcceptVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedAcceptVisualSource::Duration() -{ - return TimeSpan{ 26666666L }; -} - -double AnimatedAcceptVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 160.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedAcceptVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalOnToNormalOff_Start", 0.0 }, - { L"NormalOnToNormalOff_End", 0.0253125 }, - { L"NormalOnToPointerOverOn_Start", 0.0315625 }, - { L"NormalOnToPointerOverOn_End", 0.0565625 }, - { L"NormalOnToPressedOn_Start", 0.0628125 }, - { L"NormalOnToPressedOn_End", 0.0878125 }, - { L"NormalOffToNormalOn_Start", 0.0940625 }, - { L"NormalOffToNormalOn_End", 0.2128125 }, - { L"NormalOffToPointerOverOff_Start", 0.2190625 }, - { L"NormalOffToPointerOverOff_End", 0.2440625 }, - { L"NormalOffToPressedOff_Start", 0.2503125 }, - { L"NormalOffToPressedOff_End", 0.2753125 }, - { L"PointerOverOnToPointerOverOff_Start", 0.2815625 }, - { L"PointerOverOnToPointerOverOff_End", 0.3065625 }, - { L"PointerOverOnToNormalOn_Start", 0.3128125 }, - { L"PointerOverOnToNormalOn_End", 0.3378125 }, - { L"PointerOverOnToPressedOn_Start", 0.3440625 }, - { L"PointerOverOnToPressedOn_End", 0.3690625 }, - { L"PointerOverOffToPointerOverOn_Start", 0.3753125 }, - { L"PointerOverOffToPointerOverOn_End", 0.4940625 }, - { L"PointerOverOffToNormalOff_Start", 0.5003125 }, - { L"PointerOverOffToNormalOff_End", 0.5253125 }, - { L"PointerOverOffToPressedOff_Start", 0.5315625 }, - { L"PointerOverOffToPressedOff_End", 0.5565625 }, - { L"PressedOnToPressedOff_Start", 0.5628125 }, - { L"PressedOnToPressedOff_End", 0.5878125 }, - { L"PressedOnToPointerOverOff_Start", 0.5940625 }, - { L"PressedOnToPointerOverOff_End", 0.6190625 }, - { L"PressedOnToNormalOff_Start", 0.6253125 }, - { L"PressedOnToNormalOff_End", 0.6503125 }, - { L"PressedOffToPressedOn_Start", 0.6565625 }, - { L"PressedOffToPressedOn_End", 0.7128125 }, - { L"PressedOffToPointerOverOn_Start", 0.7190625 }, - { L"PressedOffToPointerOverOn_End", 0.8378125 }, - { L"PressedOffToNormalOn_Start", 0.8440625 }, - { L"PressedOffToNormalOn_End", 0.9628125 }, - { L"NormalIndeterminate", 0.9690625 }, - { L"PointerOverIndeterminate", 0.9815625 }, - { L"PressedIndeterminate", 0.9940625 }, - } - ).GetView(); -} - -void AnimatedAcceptVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedAcceptVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.h deleted file mode 100644 index d69a86129a..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.h +++ /dev/null @@ -1,243 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.0.2+gebbbdfc697 -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedAcceptVisualSource.json -// -// Input file: -// AnimatedAcceptVisualSource.json (27378 bytes created 11:16-08:00 Mar 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedAcceptVisualSource.g.h" - -// Name: Controls_01_Checkmark -// Frame rate: 60 fps -// Frame count: 160 -// Duration: 2666.7 mS -// ________________________________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |_____________________________________|_______________________________________|_______|________|_______________| -// | NormalOnToNormalOff_Start | M_NormalOnToNormalOff_Start | 0 | 0.0 | 0.0F | -// | NormalOnToNormalOff_End | M_NormalOnToNormalOff_End | 4 | 66.7 | 0.0253125001F | -// | NormalOnToPointerOverOn_Start | M_NormalOnToPointerOverOn_Start | 5 | 83.3 | 0.0315624997F | -// | NormalOnToPointerOverOn_End | M_NormalOnToPointerOverOn_End | 9 | 150.0 | 0.0565624982F | -// | NormalOnToPressedOn_Start | M_NormalOnToPressedOn_Start | 10 | 166.7 | 0.0628124997F | -// | NormalOnToPressedOn_End | M_NormalOnToPressedOn_End | 14 | 233.3 | 0.0878124982F | -// | NormalOffToNormalOn_Start | M_NormalOffToNormalOn_Start | 15 | 250.0 | 0.0940624997F | -// | NormalOffToNormalOn_End | M_NormalOffToNormalOn_End | 34 | 566.7 | 0.212812498F | -// | NormalOffToPointerOverOff_Start | M_NormalOffToPointerOverOff_Start | 35 | 583.3 | 0.219062507F | -// | NormalOffToPointerOverOff_End | M_NormalOffToPointerOverOff_End | 39 | 650.0 | 0.244062498F | -// | NormalOffToPressedOff_Start | M_NormalOffToPressedOff_Start | 40 | 666.7 | 0.250312507F | -// | NormalOffToPressedOff_End | M_NormalOffToPressedOff_End | 44 | 733.3 | 0.275312513F | -// | PointerOverOnToPointerOverOff_Start | M_PointerOverOnToPointerOverOff_Start | 45 | 750.0 | 0.281562507F | -// | PointerOverOnToPointerOverOff_End | M_PointerOverOnToPointerOverOff_End | 49 | 816.7 | 0.306562513F | -// | PointerOverOnToNormalOn_Start | M_PointerOverOnToNormalOn_Start | 50 | 833.3 | 0.312812507F | -// | PointerOverOnToNormalOn_End | M_PointerOverOnToNormalOn_End | 54 | 900.0 | 0.337812513F | -// | PointerOverOnToPressedOn_Start | M_PointerOverOnToPressedOn_Start | 55 | 916.7 | 0.344062507F | -// | PointerOverOnToPressedOn_End | M_PointerOverOnToPressedOn_End | 59 | 983.3 | 0.369062513F | -// | PointerOverOffToPointerOverOn_Start | M_PointerOverOffToPointerOverOn_Start | 60 | 1000.0 | 0.375312507F | -// | PointerOverOffToPointerOverOn_End | M_PointerOverOffToPointerOverOn_End | 79 | 1316.7 | 0.494062513F | -// | PointerOverOffToNormalOff_Start | M_PointerOverOffToNormalOff_Start | 80 | 1333.3 | 0.500312507F | -// | PointerOverOffToNormalOff_End | M_PointerOverOffToNormalOff_End | 84 | 1400.0 | 0.525312483F | -// | PointerOverOffToPressedOff_Start | M_PointerOverOffToPressedOff_Start | 85 | 1416.7 | 0.531562507F | -// | PointerOverOffToPressedOff_End | M_PointerOverOffToPressedOff_End | 89 | 1483.3 | 0.556562483F | -// | PressedOnToPressedOff_Start | M_PressedOnToPressedOff_Start | 90 | 1500.0 | 0.562812507F | -// | PressedOnToPressedOff_End | M_PressedOnToPressedOff_End | 94 | 1566.7 | 0.587812483F | -// | PressedOnToPointerOverOff_Start | M_PressedOnToPointerOverOff_Start | 95 | 1583.3 | 0.594062507F | -// | PressedOnToPointerOverOff_End | M_PressedOnToPointerOverOff_End | 99 | 1650.0 | 0.619062483F | -// | PressedOnToNormalOff_Start | M_PressedOnToNormalOff_Start | 100 | 1666.7 | 0.625312507F | -// | PressedOnToNormalOff_End | M_PressedOnToNormalOff_End | 104 | 1733.3 | 0.650312483F | -// | PressedOffToPressedOn_Start | M_PressedOffToPressedOn_Start | 105 | 1750.0 | 0.656562507F | -// | PressedOffToPressedOn_End | M_PressedOffToPressedOn_End | 114 | 1900.0 | 0.712812483F | -// | PressedOffToPointerOverOn_Start | M_PressedOffToPointerOverOn_Start | 115 | 1916.7 | 0.719062507F | -// | PressedOffToPointerOverOn_End | M_PressedOffToPointerOverOn_End | 134 | 2233.3 | 0.837812483F | -// | PressedOffToNormalOn_Start | M_PressedOffToNormalOn_Start | 135 | 2250.0 | 0.844062507F | -// | PressedOffToNormalOn_End | M_PressedOffToNormalOn_End | 154 | 2566.7 | 0.962812483F | -// | NormalIndeterminate | M_NormalIndeterminate | 155 | 2583.3 | 0.969062507F | -// | PointerOverIndeterminate | M_PointerOverIndeterminate | 157 | 2616.7 | 0.981562495F | -// | PressedIndeterminate | M_PressedIndeterminate | 159 | 2650.0 | 0.994062483F | -// ---------------------------------------------------------------------------------------------------------------- -// _________________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_________________| -// | Foreground | Foreground | Color | #FF000000 Black | -// --------------------------------------------------------- -class AnimatedAcceptVisualSource - : public winrt::implementation::AnimatedAcceptVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 2.667 seconds. - static constexpr int64_t c_durationTicks{ 26666666L }; - - // Marker: NormalOnToNormalOff_Start. - static constexpr float M_NormalOnToNormalOff_Start{ 0.0F }; - - // Marker: NormalOnToNormalOff_End. - static constexpr float M_NormalOnToNormalOff_End{ 0.0253125001F }; - - // Marker: NormalOnToPointerOverOn_Start. - static constexpr float M_NormalOnToPointerOverOn_Start{ 0.0315624997F }; - - // Marker: NormalOnToPointerOverOn_End. - static constexpr float M_NormalOnToPointerOverOn_End{ 0.0565624982F }; - - // Marker: NormalOnToPressedOn_Start. - static constexpr float M_NormalOnToPressedOn_Start{ 0.0628124997F }; - - // Marker: NormalOnToPressedOn_End. - static constexpr float M_NormalOnToPressedOn_End{ 0.0878124982F }; - - // Marker: NormalOffToNormalOn_Start. - static constexpr float M_NormalOffToNormalOn_Start{ 0.0940624997F }; - - // Marker: NormalOffToNormalOn_End. - static constexpr float M_NormalOffToNormalOn_End{ 0.212812498F }; - - // Marker: NormalOffToPointerOverOff_Start. - static constexpr float M_NormalOffToPointerOverOff_Start{ 0.219062507F }; - - // Marker: NormalOffToPointerOverOff_End. - static constexpr float M_NormalOffToPointerOverOff_End{ 0.244062498F }; - - // Marker: NormalOffToPressedOff_Start. - static constexpr float M_NormalOffToPressedOff_Start{ 0.250312507F }; - - // Marker: NormalOffToPressedOff_End. - static constexpr float M_NormalOffToPressedOff_End{ 0.275312513F }; - - // Marker: PointerOverOnToPointerOverOff_Start. - static constexpr float M_PointerOverOnToPointerOverOff_Start{ 0.281562507F }; - - // Marker: PointerOverOnToPointerOverOff_End. - static constexpr float M_PointerOverOnToPointerOverOff_End{ 0.306562513F }; - - // Marker: PointerOverOnToNormalOn_Start. - static constexpr float M_PointerOverOnToNormalOn_Start{ 0.312812507F }; - - // Marker: PointerOverOnToNormalOn_End. - static constexpr float M_PointerOverOnToNormalOn_End{ 0.337812513F }; - - // Marker: PointerOverOnToPressedOn_Start. - static constexpr float M_PointerOverOnToPressedOn_Start{ 0.344062507F }; - - // Marker: PointerOverOnToPressedOn_End. - static constexpr float M_PointerOverOnToPressedOn_End{ 0.369062513F }; - - // Marker: PointerOverOffToPointerOverOn_Start. - static constexpr float M_PointerOverOffToPointerOverOn_Start{ 0.375312507F }; - - // Marker: PointerOverOffToPointerOverOn_End. - static constexpr float M_PointerOverOffToPointerOverOn_End{ 0.494062513F }; - - // Marker: PointerOverOffToNormalOff_Start. - static constexpr float M_PointerOverOffToNormalOff_Start{ 0.500312507F }; - - // Marker: PointerOverOffToNormalOff_End. - static constexpr float M_PointerOverOffToNormalOff_End{ 0.525312483F }; - - // Marker: PointerOverOffToPressedOff_Start. - static constexpr float M_PointerOverOffToPressedOff_Start{ 0.531562507F }; - - // Marker: PointerOverOffToPressedOff_End. - static constexpr float M_PointerOverOffToPressedOff_End{ 0.556562483F }; - - // Marker: PressedOnToPressedOff_Start. - static constexpr float M_PressedOnToPressedOff_Start{ 0.562812507F }; - - // Marker: PressedOnToPressedOff_End. - static constexpr float M_PressedOnToPressedOff_End{ 0.587812483F }; - - // Marker: PressedOnToPointerOverOff_Start. - static constexpr float M_PressedOnToPointerOverOff_Start{ 0.594062507F }; - - // Marker: PressedOnToPointerOverOff_End. - static constexpr float M_PressedOnToPointerOverOff_End{ 0.619062483F }; - - // Marker: PressedOnToNormalOff_Start. - static constexpr float M_PressedOnToNormalOff_Start{ 0.625312507F }; - - // Marker: PressedOnToNormalOff_End. - static constexpr float M_PressedOnToNormalOff_End{ 0.650312483F }; - - // Marker: PressedOffToPressedOn_Start. - static constexpr float M_PressedOffToPressedOn_Start{ 0.656562507F }; - - // Marker: PressedOffToPressedOn_End. - static constexpr float M_PressedOffToPressedOn_End{ 0.712812483F }; - - // Marker: PressedOffToPointerOverOn_Start. - static constexpr float M_PressedOffToPointerOverOn_Start{ 0.719062507F }; - - // Marker: PressedOffToPointerOverOn_End. - static constexpr float M_PressedOffToPointerOverOn_End{ 0.837812483F }; - - // Marker: PressedOffToNormalOn_Start. - static constexpr float M_PressedOffToNormalOn_Start{ 0.844062507F }; - - // Marker: PressedOffToNormalOn_End. - static constexpr float M_PressedOffToNormalOn_End{ 0.962812483F }; - - // Marker: NormalIndeterminate. - static constexpr float M_NormalIndeterminate{ 0.969062507F }; - - // Marker: PointerOverIndeterminate. - static constexpr float M_PointerOverIndeterminate{ 0.981562495F }; - - // Marker: PressedIndeterminate. - static constexpr float M_PressedIndeterminate{ 0.994062483F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.idl deleted file mode 100644 index 550535c6eb..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedAcceptVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.0.2+gebbbdfc697 -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedAcceptVisualSource.json -// -// Input file: -// AnimatedAcceptVisualSource.json (22496 bytes created 11:36-07:00 May 14 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedAcceptVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedAcceptVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.cpp deleted file mode 100644 index 35faffb592..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.cpp +++ /dev/null @@ -1,895 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedBackVisualSource.json -// -// Input file: -// AnimatedBackVisualSource.json (21751 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 89 | -// |--------------------------+-------| -// | Expression animators | 12 | -// | KeyFrame animators | 9 | -// | Reference parameters | 12 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 3 | -// | ShapeVisuals | 2 | -// |--------------------------+-------| -// | ContainerShapes | 1 | -// | CompositionSpriteShapes | 6 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedBackVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#ifdef BUILD_WINDOWS -namespace ABI -{ -#include -} -#else -#include -#endif -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedBackVisualSource) -} -#include "AnimatedVisuals\AnimatedBackVisualSource.g.cpp" - -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedBackVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 13333333L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - CompositionColorBrush _themeColor_Foreground{ nullptr }; - CompositionPathGeometry _pathGeometry_0{ nullptr }; - CompositionPathGeometry _pathGeometry_1{ nullptr }; - CompositionPathGeometry _pathGeometry_2{ nullptr }; - ContainerVisual _root{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_0{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_1{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_2{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_3{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_4{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - InsetClip _insetClip_0{ nullptr }; - StepEasingFunction _holdThenStepEasingFunction{ nullptr }; - StepEasingFunction _stepThenHoldEasingFunction{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - BooleanKeyFrameAnimation CreateBooleanKeyFrameAnimation(float initialProgress, bool initialValue) - { - const auto result = _c.CreateBooleanKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue); - return result; - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateScalarKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - Vector2KeyFrameAnimation CreateVector2KeyFrameAnimation(float initialProgress, winrt::float2 initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateVector2KeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry, winrt::float3x2 transformMatrix, CompositionBrush fillBrush) - { - const auto result = _c.CreateSpriteShape(geometry); - result.TransformMatrix(transformMatrix); - result.FillBrush(fillBrush); - return result; - } - - // PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - - // 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_0() - { - // Frame 10. - const auto result = CreateBooleanKeyFrameAnimation(0.125F, true); - return result; - } - - // PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - Back - // - 03 - PointerOverToNormal - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_1() - { - // Frame 30. - const auto result = CreateBooleanKeyFrameAnimation(0.375F, false); - return result; - } - - winrt::com_ptr Geometry_0() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.5F, 0.499000013F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { 7.77600002F, 0.499000013F }, { 8.0F, 0.275000006F }, { 8.0F, -0.00100000005F } }); - sink->AddBezier({ { 8.0F, -0.27700001F }, { 7.77600002F, -0.500999987F }, { 7.5F, -0.500999987F } }); - sink->AddLine({ 7.5F, 0.499000013F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_1() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -5.33400011F, 0.495000005F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 7.5F, 0.499000013F }); - sink->AddLine({ 7.5F, -0.500999987F }); - sink->AddLine({ -5.33099985F, -0.504999995F }); - sink->AddLine({ -5.33400011F, 0.495000005F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_2() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -0.837000012F, 6.86800003F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { -0.633000016F, 7.0539999F }, { -0.317000002F, 7.03999996F }, { -0.130999997F, 6.83599997F } }); - sink->AddBezier({ { 0.0549999997F, 6.63199997F }, { 0.0410000011F, 6.31500006F }, { -0.163000003F, 6.12900019F } }); - sink->AddLine({ -6.33099985F, 0.499000013F }); - sink->AddLine({ -5.32800007F, 0.488999993F }); - sink->AddLine({ -5.32800007F, -0.510999978F }); - sink->AddLine({ -6.32800007F, -0.500999987F }); - sink->AddLine({ -0.163000003F, -6.12900019F }); - sink->AddBezier({ { 0.0410000011F, -6.31500006F }, { 0.0549999997F, -6.63199997F }, { -0.130999997F, -6.83599997F } }); - sink->AddBezier({ { -0.317000002F, -7.03999996F }, { -0.633000016F, -7.0539999F }, { -0.837000012F, -6.86800003F } }); - sink->AddLine({ -7.75299978F, -0.55400002F }); - sink->AddBezier({ { -7.89300013F, -0.425999999F }, { -7.97300005F, -0.257999986F }, { -7.99300003F, -0.0850000009F } }); - sink->AddBezier({ { -7.99800014F, -0.0579999983F }, { -8.0F, -0.0299999993F }, { -8.0F, -0.00100000005F } }); - sink->AddBezier({ { -8.0F, 0.0260000005F }, { -7.99800014F, 0.0520000011F }, { -7.99399996F, 0.0780000016F } }); - sink->AddBezier({ { -7.97599983F, 0.254000008F }, { -7.89499998F, 0.423999995F }, { -7.75299978F, 0.55400002F } }); - sink->AddLine({ -0.837000012F, 6.86800003F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _themeColor_Foreground = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - // - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - - // 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - // - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - CompositionContainerShape ContainerShape() - { - const auto result = _c.CreateContainerShape(); - const auto shapes = result.Shapes(); - // Transforms: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 Scale:2.25,2.25 - shapes.Append(SpriteShape_0()); - // Transforms: Stem 2 Stem 2 Stem 2 Stem 2 - shapes.Append(SpriteShape_1()); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation_0(), _rootProgress); - return result; - } - - CompositionPathGeometry PathGeometry_0() - { - return _pathGeometry_0 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_0()))); - } - - CompositionPathGeometry PathGeometry_1() - { - return _pathGeometry_1 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_1()))); - } - - CompositionPathGeometry PathGeometry_2() - { - return _pathGeometry_2 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_2()))); - } - - // - - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - // - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_0() - { - // Scale:<2.25, 2.25> - const auto geometry = PathGeometry_0(); - const auto result = CreateSpriteShape(geometry, { 2.25F, 0.0F, 0.0F, 2.25F, 0.0F, 0.0F }, ThemeColor_Foreground()); - return result; - } - - // - - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - // - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_1() - { - const auto result = _c.CreateSpriteShape(PathGeometry_1()); - result.CenterPoint({ 7.5F, -0.00300000003F }); - result.Offset({ 9.375F, -0.00400000019F }); - result.FillBrush(_themeColor_Foreground); - StartProgressBoundAnimation(result, L"Scale.X", ScaleXScalarAnimation_2p25_to_2p25(), RootProgress()); - StartProgressBoundAnimation(result, L"Scale.Y", ScaleYScalarAnimation_2p25_to_2p25(), _rootProgress); - return result; - } - - // - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - - // 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - // - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_2() - { - const auto result = _c.CreateSpriteShape(PathGeometry_2()); - result.Scale({ 2.25F, 2.25F }); - result.FillBrush(_themeColor_Foreground); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation_1(), _rootProgress); - return result; - } - - // - PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - - // Back - 03 - PointerOverToNormal - // Opacity for layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - - // Back - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_3() - { - // Offset:<24, 24>, Scale:<2.25, 2.25> - const auto geometry = _pathGeometry_0; - const auto result = CreateSpriteShape(geometry, { 2.25F, 0.0F, 0.0F, 2.25F, 24.0F, 24.0F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - - // Back - 03 - PointerOverToNormal - // Opacity for layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - - // Back - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_4() - { - // Offset:<24, 23.99975>, Scale:<2.25, 2.25> - const auto geometry = _pathGeometry_1; - const auto result = CreateSpriteShape(geometry, { 2.25F, 0.0F, 0.0F, 2.25F, 24.0F, 23.9997501F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - - // Back - 03 - PointerOverToNormal - // Opacity for layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - - // Back - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_5() - { - // Offset:<24, 24>, Scale:<2.25, 2.25> - const auto geometry = _pathGeometry_2; - const auto result = CreateSpriteShape(geometry, { 2.25F, 0.0F, 0.0F, 2.25F, 24.0F, 24.0F }, _themeColor_Foreground); - return result; - } - - // PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - - // 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - ContainerVisual ContainerVisual_0() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.IsVisible(false); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - // - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - result.Children().InsertAtTop(ShapeVisual_0()); - StartProgressBoundAnimation(result, L"Opacity", OpacityScalarAnimation_1_to_1_0(), _rootProgress); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_0(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - Back - // - 03 - PointerOverToNormal - ContainerVisual ContainerVisual_1() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Opacity for layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - - // Back - 03 - PointerOverToNormal - result.Children().InsertAtTop(ShapeVisual_1()); - StartProgressBoundAnimation(result, L"Opacity", OpacityScalarAnimation_1_to_1_1(), _rootProgress); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_1(), _rootProgress); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - propertySet.InsertScalar(L"t0", 0.0F); - const auto children = result.Children(); - // PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - - // 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - children.InsertAtTop(ContainerVisual_0()); - // PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - Back - // - 03 - PointerOverToNormal - children.InsertAtTop(ContainerVisual_1()); - StartProgressBoundAnimation(propertySet, L"t0", t0ScalarAnimation_0_to_1(), _rootProgress); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction({ 0.550000012F, 0.0F }, { 0.75F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_2() - { - return _cubicBezierEasingFunction_2 = _c.CreateCubicBezierEasingFunction({ 0.349999994F, 0.0F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_3() - { - return _cubicBezierEasingFunction_3 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.0F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_4() - { - return _cubicBezierEasingFunction_4 = _c.CreateCubicBezierEasingFunction({ 0.850000024F, 0.0F }, { 0.75F, 1.0F }); - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - InsetClip InsetClip_0() - { - const auto result = _insetClip_0 = _c.CreateInsetClip(); - return result; - } - - // PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - - // 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // Layer opacity animation - ScalarKeyFrameAnimation OpacityScalarAnimation_1_to_1_0() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 1.0F, _stepThenHoldEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 1.0F, _holdThenStepEasingFunction); - // Frame 20. - result.InsertKeyFrame(0.25F, 0.0F, _holdThenStepEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.375F, 1.0F, _holdThenStepEasingFunction); - return result; - } - - // PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - Back - // - 03 - PointerOverToNormal - // Layer opacity animation - ScalarKeyFrameAnimation OpacityScalarAnimation_1_to_1_1() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 1.0F, _holdThenStepEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 0.0F, _holdThenStepEasingFunction); - // Frame 20. - result.InsertKeyFrame(0.25F, 1.0F, _holdThenStepEasingFunction); - return result; - } - - // - - - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // - - Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // - Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - // Transforms: Stem 2 Stem 2 Stem 2 Stem 2 - // Scale - ScalarKeyFrameAnimation ScaleXScalarAnimation_2p25_to_2p25() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 2.25F, StepThenHoldEasingFunction()); - // Frame 10. - result.InsertKeyFrame(0.125F, 2.25F, HoldThenStepEasingFunction()); - // Frame 19. - result.InsertKeyFrame(0.237499997F, 1.62211001F, CubicBezierEasingFunction_0()); - // Frame 30. - result.InsertKeyFrame(0.375F, 2.25F, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, 1.62211001F, _cubicBezierEasingFunction_0); - // Frame 40. - result.InsertKeyFrame(0.5F, 1.62211001F, _holdThenStepEasingFunction); - // Frame 50. - result.InsertKeyFrame(0.625F, 2.26947999F, CubicBezierEasingFunction_1()); - // Frame 59. - result.InsertKeyFrame(0.737500012F, 2.25F, CubicBezierEasingFunction_2()); - // Frame 60. - result.InsertKeyFrame(0.75F, 1.62211001F, _holdThenStepEasingFunction); - // Frame 70. - result.InsertKeyFrame(0.875F, 2.26947999F, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertKeyFrame(0.987500012F, 2.25F, _cubicBezierEasingFunction_2); - return result; - } - - // - - - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // - - Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // - Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - // Transforms: Stem 2 Stem 2 Stem 2 Stem 2 - // Scale - ScalarKeyFrameAnimation ScaleYScalarAnimation_2p25_to_2p25() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 2.25F, _stepThenHoldEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 2.25F, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, 2.25F, CubicBezierEasingFunction_3()); - // Frame 30. - result.InsertKeyFrame(0.375F, 2.25F, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, 2.25F, _cubicBezierEasingFunction_3); - // Frame 40. - result.InsertKeyFrame(0.5F, 2.25F, _holdThenStepEasingFunction); - // Frame 50. - result.InsertKeyFrame(0.625F, 2.25F, _cubicBezierEasingFunction_1); - // Frame 59. - result.InsertKeyFrame(0.737500012F, 2.25F, _cubicBezierEasingFunction_2); - // Frame 60. - result.InsertKeyFrame(0.75F, 2.25F, _holdThenStepEasingFunction); - // Frame 70. - result.InsertKeyFrame(0.875F, 2.25F, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertKeyFrame(0.987500012F, 2.25F, _cubicBezierEasingFunction_2); - return result; - } - - ScalarKeyFrameAnimation t0ScalarAnimation_0_to_1() - { - // Frame 50. - const auto result = CreateScalarKeyFrameAnimation(0.62500006F, 0.0F, _stepThenHoldEasingFunction); - result.SetReferenceParameter(L"_", _root); - // Frame 59. - result.InsertKeyFrame(0.737499952F, 1.0F, _cubicBezierEasingFunction_2); - // Frame 70. - result.InsertKeyFrame(0.87500006F, 0.0F, _stepThenHoldEasingFunction); - // Frame 79. - result.InsertKeyFrame(0.987499952F, 1.0F, _cubicBezierEasingFunction_2); - return result; - } - - // PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - - // 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // Layer aggregator - ShapeVisual ShapeVisual_0() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - const auto shapes = result.Shapes(); - // Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - shapes.Append(ContainerShape()); - // Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - shapes.Append(SpriteShape_2()); - return result; - } - - // PreComp layer: Controls - 03 - Back - 01 - NormalToPointerOver Controls - 03 - Back - // - 03 - PointerOverToNormal - // Layer aggregator - ShapeVisual ShapeVisual_1() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - const auto shapes = result.Shapes(); - // Layer: Round Cap 2 Round Cap 2 - shapes.Append(SpriteShape_3()); - // Layer: Round Cap 2 Round Cap 2 - shapes.Append(SpriteShape_4()); - // Layer: Round Cap 2 Round Cap 2 - shapes.Append(SpriteShape_5()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - StepEasingFunction StepThenHoldEasingFunction() - { - const auto result = _stepThenHoldEasingFunction = _c.CreateStepEasingFunction(); - result.IsInitialStepSingleFrame(true); - return result; - } - - // - - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - // - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_0() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 24.0F, 24.0F }, _stepThenHoldEasingFunction); - result.SetReferenceParameter(L"_", _root); - // Frame 10. - result.InsertKeyFrame(0.125F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, { 24.9379997F, 24.0F }, _cubicBezierEasingFunction_0); - // Frame 30. - result.InsertKeyFrame(0.375F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, { 24.9379997F, 24.0F }, _cubicBezierEasingFunction_0); - // Frame 40. - result.InsertKeyFrame(0.5F, { 24.9379997F, 24.0F }, _holdThenStepEasingFunction); - // Frame 50. - result.InsertKeyFrame(0.625F, { 20.25F, 24.0F }, _cubicBezierEasingFunction_1); - // Frame 59. - result.InsertExpressionKeyFrame(0.737499952F, L"Pow(1-_.t0,3)*Vector2(20.25,24)+(3*Square(1-_.t0)*_.t0*Vector2(20.094,24))+(3*(1-_.t0)*Square(_.t0)*Vector2(23.375,24))+(Pow(_.t0,3)*Vector2(24,24))", _stepThenHoldEasingFunction); - // Frame 59. - result.InsertKeyFrame(0.737500012F, { 24.0F, 24.0F }, _stepThenHoldEasingFunction); - // Frame 60. - result.InsertKeyFrame(0.75F, { 24.9379997F, 24.0F }, _holdThenStepEasingFunction); - // Frame 70. - result.InsertKeyFrame(0.875F, { 20.25F, 24.0F }, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertExpressionKeyFrame(0.987499952F, L"Pow(1-_.t0,3)*Vector2(20.25,24)+(3*Square(1-_.t0)*_.t0*Vector2(20.094,24))+(3*(1-_.t0)*Square(_.t0)*Vector2(23.375,24))+(Pow(_.t0,3)*Vector2(24,24))", _stepThenHoldEasingFunction); - // Frame 79. - result.InsertKeyFrame(0.987500012F, { 24.0F, 24.0F }, _stepThenHoldEasingFunction); - return result; - } - - // - - PreComp layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - Back - // - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal Controls - - // 03 - Back - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 03 - Back - 02 - NormalToPressed Controls - 03 - - // Back - 04 - PointerOverToPressed Controls - 03 - Back - 05 - PressedToNormal - // Controls - 03 - Back - 06 - PressedToPointerOver - // Layer: Round Cap 2 Round Cap 2 Round Cap 2 Round Cap 2 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_1() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 24.0F, 24.0F }, _stepThenHoldEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, { 33.0F, 24.0F }, _cubicBezierEasingFunction_0); - // Frame 30. - result.InsertKeyFrame(0.375F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, { 33.0F, 24.0F }, _cubicBezierEasingFunction_0); - // Frame 40. - result.InsertKeyFrame(0.5F, { 33.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 50. - result.InsertKeyFrame(0.625F, { 19.9839993F, 24.0F }, CubicBezierEasingFunction_4()); - // Frame 59. - result.InsertKeyFrame(0.737500012F, { 24.0F, 24.0F }, _cubicBezierEasingFunction_2); - // Frame 60. - result.InsertKeyFrame(0.75F, { 33.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 70. - result.InsertKeyFrame(0.875F, { 19.9839993F, 24.0F }, _cubicBezierEasingFunction_4); - // Frame 79. - result.InsertKeyFrame(0.987500012F, { 24.0F, 24.0F }, _cubicBezierEasingFunction_2); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedBackVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedBackVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedBackVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedBackVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedBackVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedBackVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedBackVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedBackVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedBackVisualSource::FrameCount() -{ - return 80.0; -} - -double AnimatedBackVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedBackVisualSource::Duration() -{ - return TimeSpan{ 13333333L }; -} - -double AnimatedBackVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 80.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedBackVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalToPointerOver_Start", 0.0 }, - { L"NormalToPointerOver_End", 0.113125 }, - { L"NormalToPressed_Start", 0.125625 }, - { L"NormalToPressed_End", 0.238125 }, - { L"PointerOverToNormal_Start", 0.250625 }, - { L"PointerOverToNormal_End", 0.363125 }, - { L"PointerOverToPressed_Start", 0.375625 }, - { L"PointerOverToPressed_End", 0.488125 }, - { L"PressedToNormal_Start", 0.500625 }, - { L"PressedToNormal_End", 0.738125 }, - { L"PressedToPointerOver_Start", 0.750625 }, - { L"PressedToPointerOver_End", 0.988125 }, - } - ).GetView(); -} - -void AnimatedBackVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedBackVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.h deleted file mode 100644 index ef3e1885ff..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.h +++ /dev/null @@ -1,136 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedBackVisualSource.json -// -// Input file: -// AnimatedBackVisualSource.json (21751 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedBackVisualSource.g.h" - -// Name: Controls_03_Back -// Frame rate: 60 fps -// Frame count: 80 -// Duration: 1333.3 mS -// _____________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |____________________________|______________________________|_______|________|______________| -// | NormalToPointerOver_Start | M_NormalToPointerOver_Start | 0 | 0.0 | 0.0F | -// | NormalToPointerOver_End | M_NormalToPointerOver_End | 9 | 150.0 | 0.113124996F | -// | NormalToPressed_Start | M_NormalToPressed_Start | 10 | 166.7 | 0.125624999F | -// | NormalToPressed_End | M_NormalToPressed_End | 19 | 316.7 | 0.238124996F | -// | PointerOverToNormal_Start | M_PointerOverToNormal_Start | 20 | 333.3 | 0.250625014F | -// | PointerOverToNormal_End | M_PointerOverToNormal_End | 29 | 483.3 | 0.363124996F | -// | PointerOverToPressed_Start | M_PointerOverToPressed_Start | 30 | 500.0 | 0.375625014F | -// | PointerOverToPressed_End | M_PointerOverToPressed_End | 39 | 650.0 | 0.488124996F | -// | PressedToNormal_Start | M_PressedToNormal_Start | 40 | 666.7 | 0.500625014F | -// | PressedToNormal_End | M_PressedToNormal_End | 59 | 983.3 | 0.738125026F | -// | PressedToPointerOver_Start | M_PressedToPointerOver_Start | 60 | 1000.0 | 0.750625014F | -// | PressedToPointerOver_End | M_PressedToPointerOver_End | 79 | 1316.7 | 0.988125026F | -// --------------------------------------------------------------------------------------------- -// _________________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_________________| -// | Foreground | Foreground | Color | #FF000000 Black | -// --------------------------------------------------------- - -class AnimatedBackVisualSource - : public winrt::implementation::AnimatedBackVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 1.333 seconds. - static constexpr int64_t c_durationTicks{ 13333333L }; - - // Marker: NormalToPointerOver_Start. - static constexpr float M_NormalToPointerOver_Start{ 0.0F }; - - // Marker: NormalToPointerOver_End. - static constexpr float M_NormalToPointerOver_End{ 0.113124996F }; - - // Marker: NormalToPressed_Start. - static constexpr float M_NormalToPressed_Start{ 0.125624999F }; - - // Marker: NormalToPressed_End. - static constexpr float M_NormalToPressed_End{ 0.238124996F }; - - // Marker: PointerOverToNormal_Start. - static constexpr float M_PointerOverToNormal_Start{ 0.250625014F }; - - // Marker: PointerOverToNormal_End. - static constexpr float M_PointerOverToNormal_End{ 0.363124996F }; - - // Marker: PointerOverToPressed_Start. - static constexpr float M_PointerOverToPressed_Start{ 0.375625014F }; - - // Marker: PointerOverToPressed_End. - static constexpr float M_PointerOverToPressed_End{ 0.488124996F }; - - // Marker: PressedToNormal_Start. - static constexpr float M_PressedToNormal_Start{ 0.500625014F }; - - // Marker: PressedToNormal_End. - static constexpr float M_PressedToNormal_End{ 0.738125026F }; - - // Marker: PressedToPointerOver_Start. - static constexpr float M_PressedToPointerOver_Start{ 0.750625014F }; - - // Marker: PressedToPointerOver_End. - static constexpr float M_PressedToPointerOver_End{ 0.988125026F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.idl deleted file mode 100644 index 21a0d1a8ad..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedBackVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedBackVisualSource.json -// -// Input file: -// AnimatedBackVisualSource.json (21751 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedBackVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedBackVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.cpp deleted file mode 100644 index 7cfd7edd38..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.cpp +++ /dev/null @@ -1,517 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronDownSmallVisualSource.json (10093 bytes created 9:26-07:00 Jun 8 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 53 | -// |--------------------------+-------| -// | Expression animators | 5 | -// | KeyFrame animators | 4 | -// | Reference parameters | 5 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 3 | -// | ShapeVisuals | 2 | -// |--------------------------+-------| -// | ContainerShapes | - | -// | CompositionSpriteShapes | 2 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedChevronDownSmallVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#ifdef BUILD_WINDOWS -namespace ABI -{ -#include -} -#else -#include -#endif -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedChevronDownSmallVisualSource) -} -#include "AnimatedVisuals\AnimatedChevronDownSmallVisualSource.g.cpp" - -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedChevronDownSmallVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 4833333L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - CompositionColorBrush _themeColor_Foreground{ nullptr }; - CompositionPathGeometry _pathGeometry{ nullptr }; - ContainerVisual _root{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - InsetClip _insetClip_0{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - BooleanKeyFrameAnimation CreateBooleanKeyFrameAnimation(float initialProgress, bool initialValue) - { - const auto result = _c.CreateBooleanKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue); - return result; - } - - Vector2KeyFrameAnimation CreateVector2KeyFrameAnimation(float initialProgress, winrt::float2 initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateVector2KeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - // PreComp layer: Controls - 06 - Dropdown - 05 - PressedToNormal - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_0() - { - // Frame 10. - const auto result = CreateBooleanKeyFrameAnimation(0.344827592F, true); - return result; - } - - // PreComp layer: Controls - 06 - Dropdown - 04 - PointerOverToPressed - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_1() - { - // Frame 10. - const auto result = CreateBooleanKeyFrameAnimation(0.344827592F, false); - return result; - } - - winrt::com_ptr Geometry() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -3.85400009F, -2.10400009F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { -3.65899992F, -2.29900002F }, { -3.34100008F, -2.29900002F }, { -3.14599991F, -2.10400009F } }); - sink->AddLine({ 0.0F, 1.04299998F }); - sink->AddLine({ 3.14599991F, -2.10400009F }); - sink->AddBezier({ { 3.34100008F, -2.29900002F }, { 3.65899992F, -2.29900002F }, { 3.85400009F, -2.10400009F } }); - sink->AddBezier({ { 4.04899979F, -1.90900004F }, { 4.04899979F, -1.59099996F }, { 3.85400009F, -1.39600003F } }); - sink->AddLine({ 0.354000002F, 2.10400009F }); - sink->AddBezier({ { 0.158999994F, 2.29900002F }, { -0.158999994F, 2.29900002F }, { -0.354000002F, 2.10400009F } }); - sink->AddLine({ -3.85400009F, -1.39600003F }); - sink->AddBezier({ { -4.04899979F, -1.59099996F }, { -4.04899979F, -1.90900004F }, { -3.85400009F, -2.10400009F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _themeColor_Foreground = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - CompositionPathGeometry PathGeometry() - { - return _pathGeometry = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry()))); - } - - // - PreComp layer: Controls - 06 - Dropdown - 05 - PressedToNormal - // Transforms for Controls - 06 - Dropdown - 05 - PressedToNormal Scale(1,1,0) - // Path 1 - CompositionSpriteShape SpriteShape_0() - { - const auto result = _c.CreateSpriteShape(PathGeometry()); - result.Scale({ 4.0F, 4.0F }); - result.FillBrush(ThemeColor_Foreground()); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation_0(), RootProgress()); - return result; - } - - // - PreComp layer: Controls - 06 - Dropdown - 04 - PointerOverToPressed - // Transforms for Controls - 06 - Dropdown - 04 - PointerOverToPressed Scale(1,1,0) - // Path 1 - CompositionSpriteShape SpriteShape_1() - { - const auto result = _c.CreateSpriteShape(_pathGeometry); - result.Scale({ 4.0F, 4.0F }); - result.FillBrush(_themeColor_Foreground); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation_1(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 06 - Dropdown - 05 - PressedToNormal - ContainerVisual ContainerVisual_0() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.IsVisible(false); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Transforms for Controls - 06 - Dropdown - 05 - PressedToNormal Scale(1,1,0) - result.Children().InsertAtTop(ShapeVisual_0()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_0(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 06 - Dropdown - 04 - PointerOverToPressed - ContainerVisual ContainerVisual_1() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Transforms for Controls - 06 - Dropdown - 04 - PointerOverToPressed Scale(1,1,0) - result.Children().InsertAtTop(ShapeVisual_1()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_1(), _rootProgress); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - const auto children = result.Children(); - // PreComp layer: Controls - 06 - Dropdown - 05 - PressedToNormal - children.InsertAtTop(ContainerVisual_0()); - // PreComp layer: Controls - 06 - Dropdown - 04 - PointerOverToPressed - children.InsertAtTop(ContainerVisual_1()); - return result; - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - InsetClip InsetClip_0() - { - const auto result = _insetClip_0 = _c.CreateInsetClip(); - return result; - } - - // PreComp layer: Controls - 06 - Dropdown - 05 - PressedToNormal - // Shape tree root for layer: Layer 2 - ShapeVisual ShapeVisual_0() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // ShapeGroup: Group 1 - result.Shapes().Append(SpriteShape_0()); - return result; - } - - // PreComp layer: Controls - 06 - Dropdown - 04 - PointerOverToPressed - // Shape tree root for layer: Layer 3 - ShapeVisual ShapeVisual_1() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // ShapeGroup: Group 1 - result.Shapes().Append(SpriteShape_1()); - return result; - } - - // - - - PreComp layer: Controls - 06 - Dropdown - 05 - PressedToNormal - // - - Transforms for Controls - 06 - Dropdown - 05 - PressedToNormal Scale(1,1,0) - // - ShapeGroup: Group 1 - // Offset - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - // - - PreComp layer: Controls - 06 - Dropdown - 05 - PressedToNormal - // - Transforms for Controls - 06 - Dropdown - 05 - PressedToNormal Scale(1,1,0) - // ShapeGroup: Group 1 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_0() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 24.0F, 24.0F }, HoldThenStepEasingFunction()); - // Frame 10. - result.InsertKeyFrame(0.344827592F, { 24.0F, 31.5F }, _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.0F, 1.0F })); - // Frame 15. - result.InsertKeyFrame(0.517241359F, { 24.0F, 21.0F }, _c.CreateCubicBezierEasingFunction({ 0.550000012F, 0.0F }, { 0.75F, 1.0F })); - // Frame 29. - result.InsertKeyFrame(1.0F, { 24.0F, 24.0F }, _c.CreateCubicBezierEasingFunction({ 0.349999994F, 0.0F }, { 0.0F, 1.0F })); - return result; - } - - // - - PreComp layer: Controls - 06 - Dropdown - 04 - PointerOverToPressed - // - Transforms for Controls - 06 - Dropdown - 04 - PointerOverToPressed Scale(1,1,0) - // ShapeGroup: Group 1 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_1() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 24.0F, 24.0F }, _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.833000004F, 0.833000004F })); - // Frame 9. - result.InsertKeyFrame(0.310344815F, { 24.0F, 31.5F }, _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.649999976F, 1.0F })); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedChevronDownSmallVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedChevronDownSmallVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedChevronDownSmallVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedChevronDownSmallVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedChevronDownSmallVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedChevronDownSmallVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedChevronDownSmallVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedChevronDownSmallVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedChevronDownSmallVisualSource::FrameCount() -{ - return 29.0; -} - -double AnimatedChevronDownSmallVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedChevronDownSmallVisualSource::Duration() -{ - return TimeSpan{ 4833333L }; -} - -double AnimatedChevronDownSmallVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 29.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedChevronDownSmallVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalToPointerOver_Start", 0.0 }, - { L"NormalToPointerOver_End", 0.0 }, - { L"NormalToPressed_Start", 0.0 }, - { L"NormalToPressed_End", 0.312068965517241 }, - { L"PointerOverToNormal_Start", 0.0 }, - { L"PointerOverToNormal_End", 0.0 }, - { L"PointerOverToPressed_Start", 0.0 }, - { L"PointerOverToPressed_End", 0.312068965517241 }, - { L"PressedToNormal_Start", 0.346551724137931 }, - { L"PressedToNormal_End", 0.967241379310345 }, - { L"PressedToPointerOver_Start", 0.346551724137931 }, - { L"PressedToPointerOver_End", 0.967241379310345 }, - } - ).GetView(); -} - -void AnimatedChevronDownSmallVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedChevronDownSmallVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.h deleted file mode 100644 index fdb95354f1..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.h +++ /dev/null @@ -1,135 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronDownSmallVisualSource.json (10093 bytes created 9:26-07:00 Jun 8 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedChevronDownSmallVisualSource.g.h" - -// Name: Controls_06_DownChevron_DropDown+SplitBtn -// Frame rate: 60 fps -// Frame count: 29 -// Duration: 483.3 mS -// ____________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |____________________________|______________________________|_______|_______|______________| -// | NormalToPointerOver_Start | M_NormalToPointerOver_Start | 0 | 0.0 | 0.0F | -// | NormalToPointerOver_End | M_NormalToPointerOver_End | 0 | 0.0 | 0.0F | -// | NormalToPressed_Start | M_NormalToPressed_Start | 0 | 0.0 | 0.0F | -// | NormalToPressed_End | M_NormalToPressed_End | 9 | 150.0 | 0.312068969F | -// | PointerOverToNormal_Start | M_PointerOverToNormal_Start | 0 | 0.0 | 0.0F | -// | PointerOverToNormal_End | M_PointerOverToNormal_End | 0 | 0.0 | 0.0F | -// | PointerOverToPressed_Start | M_PointerOverToPressed_Start | 0 | 0.0 | 0.0F | -// | PointerOverToPressed_End | M_PointerOverToPressed_End | 9 | 150.0 | 0.312068969F | -// | PressedToNormal_Start | M_PressedToNormal_Start | 10 | 166.7 | 0.346551716F | -// | PressedToNormal_End | M_PressedToNormal_End | 28 | 466.7 | 0.967241406F | -// | PressedToPointerOver_Start | M_PressedToPointerOver_Start | 10 | 166.7 | 0.346551716F | -// | PressedToPointerOver_End | M_PressedToPointerOver_End | 28 | 466.7 | 0.967241406F | -// -------------------------------------------------------------------------------------------- -// _______________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_______________| -// | Foreground | Foreground | Color | #FF060808 | -// ------------------------------------------------------- -class AnimatedChevronDownSmallVisualSource - : public winrt::implementation::AnimatedChevronDownSmallVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x06, 0x08, 0x08 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 0.483 seconds. - static constexpr int64_t c_durationTicks{ 4833333L }; - - // Marker: NormalToPointerOver_Start. - static constexpr float M_NormalToPointerOver_Start{ 0.0F }; - - // Marker: NormalToPointerOver_End. - static constexpr float M_NormalToPointerOver_End{ 0.0F }; - - // Marker: NormalToPressed_Start. - static constexpr float M_NormalToPressed_Start{ 0.0F }; - - // Marker: NormalToPressed_End. - static constexpr float M_NormalToPressed_End{ 0.312068969F }; - - // Marker: PointerOverToNormal_Start. - static constexpr float M_PointerOverToNormal_Start{ 0.0F }; - - // Marker: PointerOverToNormal_End. - static constexpr float M_PointerOverToNormal_End{ 0.0F }; - - // Marker: PointerOverToPressed_Start. - static constexpr float M_PointerOverToPressed_Start{ 0.0F }; - - // Marker: PointerOverToPressed_End. - static constexpr float M_PointerOverToPressed_End{ 0.312068969F }; - - // Marker: PressedToNormal_Start. - static constexpr float M_PressedToNormal_Start{ 0.346551716F }; - - // Marker: PressedToNormal_End. - static constexpr float M_PressedToNormal_End{ 0.967241406F }; - - // Marker: PressedToPointerOver_Start. - static constexpr float M_PressedToPointerOver_Start{ 0.346551716F }; - - // Marker: PressedToPointerOver_End. - static constexpr float M_PressedToPointerOver_End{ 0.967241406F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x06, 0x08, 0x08 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.idl deleted file mode 100644 index 644f98f860..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronDownSmallVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronDownSmallVisualSource.json (10093 bytes created 9:26-07:00 Jun 8 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedChevronDownSmallVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedChevronDownSmallVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.cpp deleted file mode 100644 index 1e7f08fa61..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.cpp +++ /dev/null @@ -1,790 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronRightDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronRightDownSmallVisualSource.json (27906 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 37 | -// |--------------------------+-------| -// | Expression animators | 3 | -// | KeyFrame animators | 2 | -// | Reference parameters | 3 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 2 | -// | ShapeVisuals | 1 | -// |--------------------------+-------| -// | ContainerShapes | 1 | -// | CompositionSpriteShapes | 1 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedChevronRightDownSmallVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedChevronRightDownSmallVisualSource) -} -#include "AnimatedVisuals\AnimatedChevronRightDownSmallVisualSource.g.cpp" - -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedChevronRightDownSmallVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 36666666L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - ContainerVisual _root{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_0{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_1{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_2{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - StepEasingFunction _holdThenStepEasingFunction{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateScalarKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - Vector2KeyFrameAnimation CreateVector2KeyFrameAnimation(float initialProgress, winrt::float2 initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateVector2KeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry, winrt::float3x2 transformMatrix, CompositionBrush fillBrush) - { - const auto result = _c.CreateSpriteShape(geometry); - result.TransformMatrix(transformMatrix); - result.FillBrush(fillBrush); - return result; - } - - // - - - - - PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff - // Controls - 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - - // TreeViewExpand - 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - - // NormalOffToNormalOn Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff - // Controls - 08 - TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - - // TreeViewExpand - 07 - PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - // - 08 - PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // - - - - Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 - // - - ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // RotationDegrees:270 - winrt::com_ptr Geometry() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -3.85400009F, -2.10400009F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { -3.65899992F, -2.29900002F }, { -3.34100008F, -2.29900002F }, { -3.14599991F, -2.10400009F } }); - sink->AddLine({ 0.0F, 1.04299998F }); - sink->AddLine({ 3.14599991F, -2.10400009F }); - sink->AddBezier({ { 3.34100008F, -2.29900002F }, { 3.65899992F, -2.29900002F }, { 3.85400009F, -2.10400009F } }); - sink->AddBezier({ { 4.04899979F, -1.90900004F }, { 4.04899979F, -1.59099996F }, { 3.85400009F, -1.39600003F } }); - sink->AddLine({ 0.354000002F, 2.10400009F }); - sink->AddBezier({ { 0.158999994F, 2.29900002F }, { -0.158999994F, 2.29900002F }, { -0.354000002F, 2.10400009F } }); - sink->AddLine({ -3.85400009F, -1.39600003F }); - sink->AddBezier({ { -4.04899979F, -1.59099996F }, { -4.04899979F, -1.90900004F }, { -3.85400009F, -2.10400009F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff - // Controls - 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - - // TreeViewExpand - 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - - // NormalOffToNormalOn Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff - // Controls - 08 - TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - - // TreeViewExpand - 07 - PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - // - 08 - PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // - - Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // RotationDegrees:270 - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - // - PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff Controls - // - 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - TreeViewExpand - // - 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - - // NormalOffToNormalOn Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff - // Controls - 08 - TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - - // TreeViewExpand - 07 - PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - // - 08 - PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 - CompositionContainerShape ContainerShape() - { - const auto result = _c.CreateContainerShape(); - result.Scale({ 4.0F, 4.0F }); - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // RotationDegrees:270 - result.Shapes().Append(SpriteShape()); - StartProgressBoundAnimation(result, L"RotationAngleInDegrees", RotationAngleInDegreesScalarAnimation_90_to_90(), RootProgress()); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation(), _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff - // Controls - 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - - // TreeViewExpand - 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - - // NormalOffToNormalOn Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff - // Controls - 08 - TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - - // TreeViewExpand - 07 - PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - // - 08 - PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // - - Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // RotationDegrees:270 - CompositionPathGeometry PathGeometry() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry()))); - } - - // - - PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff - // Controls - 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - - // TreeViewExpand - 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - - // NormalOffToNormalOn Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff - // Controls - 08 - TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - - // TreeViewExpand - 07 - PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - // - 08 - PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // - Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer - // 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 - // Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 - // Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape() - { - // Rotation:-90 degrees - const auto geometry = PathGeometry(); - const auto result = CreateSpriteShape(geometry, { 0.0F, -1.0F, 1.0F, 0.0F, 0.0F, 0.0F }, ThemeColor_Foreground()); - return result; - } - - // Transforms for Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff Controls - - // 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - TreeViewExpand - - // 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - NormalOffToNormalOn - // Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff Controls - 08 - - // TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - TreeViewExpand - 07 - - // PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - 08 - - // PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn Scale(1,1,0) - ContainerVisual ContainerVisual_0() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 - result.Children().InsertAtTop(ShapeVisual_0()); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - // PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff Controls - - // 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - TreeViewExpand - - // 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - NormalOffToNormalOn - // Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff Controls - 08 - - // TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - TreeViewExpand - 07 - - // PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - 08 - - // PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - result.Children().InsertAtTop(ContainerVisual_0()); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction({ 0.850000024F, 0.0F }, { 0.75F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_2() - { - return _cubicBezierEasingFunction_2 = _c.CreateCubicBezierEasingFunction({ 0.349999994F, 0.0F }, { 0.0F, 1.0F }); - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - // PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff Controls - - // 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - TreeViewExpand - - // 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - NormalOffToNormalOn - // Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff Controls - 08 - - // TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - TreeViewExpand - 07 - - // PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - 08 - - // PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - InsetClip InsetClip_0() - { - const auto result = _c.CreateInsetClip(); - return result; - } - - // - - PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff - // Controls - 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - - // TreeViewExpand - 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - - // NormalOffToNormalOn Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff - // Controls - 08 - TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - - // TreeViewExpand - 07 - PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - // - 08 - PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // - Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer - // 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 - // Rotation - ScalarKeyFrameAnimation RotationAngleInDegreesScalarAnimation_90_to_90() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 90.0F, HoldThenStepEasingFunction()); - // Frame 9. - result.InsertKeyFrame(0.0409090891F, 0.0F, CubicBezierEasingFunction_0()); - // Frame 10. - result.InsertKeyFrame(0.0454545468F, 90.0F, _holdThenStepEasingFunction); - // Frame 20. - result.InsertKeyFrame(0.0909090936F, 90.0F, _holdThenStepEasingFunction); - // Frame 29. - result.InsertKeyFrame(0.131818175F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 30. - result.InsertKeyFrame(0.13636364F, 0.0F, _holdThenStepEasingFunction); - // Frame 40. - result.InsertKeyFrame(0.181818187F, 90.0F, _cubicBezierEasingFunction_0); - // Frame 60. - result.InsertKeyFrame(0.272727281F, 0.0F, _holdThenStepEasingFunction); - // Frame 70. - result.InsertKeyFrame(0.318181813F, 0.0F, _holdThenStepEasingFunction); - // Frame 79. - result.InsertKeyFrame(0.359090894F, 90.0F, _cubicBezierEasingFunction_0); - // Frame 80. - result.InsertKeyFrame(0.363636374F, 90.0F, _holdThenStepEasingFunction); - // Frame 89. - result.InsertKeyFrame(0.404545456F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 90. - result.InsertKeyFrame(0.409090906F, 90.0F, _holdThenStepEasingFunction); - // Frame 100. - result.InsertKeyFrame(0.454545468F, 90.0F, _holdThenStepEasingFunction); - // Frame 109. - result.InsertKeyFrame(0.49545455F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 110. - result.InsertKeyFrame(0.5F, 0.0F, _holdThenStepEasingFunction); - // Frame 119. - result.InsertKeyFrame(0.540909111F, 90.0F, _cubicBezierEasingFunction_0); - // Frame 120. - result.InsertKeyFrame(0.545454562F, 0.0F, _holdThenStepEasingFunction); - // Frame 130. - result.InsertKeyFrame(0.590909064F, 0.0F, _holdThenStepEasingFunction); - // Frame 139. - result.InsertKeyFrame(0.631818175F, 90.0F, _cubicBezierEasingFunction_0); - // Frame 140. - result.InsertKeyFrame(0.636363626F, 0.0F, _holdThenStepEasingFunction); - // Frame 149. - result.InsertKeyFrame(0.677272737F, 90.0F, _cubicBezierEasingFunction_0); - // Frame 150. - result.InsertKeyFrame(0.681818187F, 0.0F, _holdThenStepEasingFunction); - // Frame 160. - result.InsertKeyFrame(0.727272749F, 0.0F, _holdThenStepEasingFunction); - // Frame 170. - result.InsertKeyFrame(0.772727251F, 90.0F, _holdThenStepEasingFunction); - // Frame 179. - result.InsertKeyFrame(0.813636363F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 180. - result.InsertKeyFrame(0.818181813F, 90.0F, _holdThenStepEasingFunction); - return result; - } - - // PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff Controls - - // 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - TreeViewExpand - - // 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - NormalOffToNormalOn - // Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff Controls - 08 - - // TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - TreeViewExpand - 07 - - // PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - 08 - - // PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 - ShapeVisual ShapeVisual_0() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - result.Shapes().Append(ContainerShape()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - // - - PreComp layer: Controls - 08 - TreeViewExpand - 01 - NormalOnToNormalOff - // Controls - 08 - TreeViewExpand - 02 - NormalOnToPointerOverOn Controls - 08 - - // TreeViewExpand - 03 - NormalOnToPressedOn Controls - 08 - TreeViewExpand - 04 - - // NormalOffToNormalOn Controls - 08 - TreeViewExpand - 05 -NormalOffToPointerOverOff - // Controls - 08 - TreeViewExpand - 06 - NormalOffToPressedOff Controls - 08 - - // TreeViewExpand - 07 - PointerOverOnToPointerOverOff Controls - 08 - TreeViewExpand - // - 08 - PointerOverOnToNormalOn Controls - 08 - TreeViewExpand - 09 - - // PointerOverOnToPressedOn Controls - 08 - TreeViewExpand - 10 - - // PointerOverOffToPointerOverOn Controls - 08 - TreeViewExpand - 11 - - // PointerOverOffToNormalOff Controls - 08 - TreeViewExpand - 12 - - // PointerOverOffToPressedOff Controls - 08 - TreeViewExpand - 13 - - // PressedOnToPressedOff Controls - 08 - TreeViewExpand - 14 - - // PressedOnToPointerOverOff Controls - 08 - TreeViewExpand - 15 - - // PressedOnToNormalOff Controls - 08 - TreeViewExpand - 16 - PressedOffToPressedOn - // Controls - 08 - TreeViewExpand - 17 - PressedOffToPointerOverOn Controls - 08 - - // TreeViewExpand - 18 - PressedOffToNormalOn - // - Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer - // 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 Layer 2 - // Layer 2 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.0454545468F, { 24.1709995F, 24.0F }, _holdThenStepEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.13636364F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 40. - result.InsertKeyFrame(0.181818187F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 45. - result.InsertKeyFrame(0.204545453F, { 24.0F, 30.0F }, CubicBezierEasingFunction_1()); - // Frame 59. - result.InsertKeyFrame(0.268181831F, { 24.0F, 24.0F }, CubicBezierEasingFunction_2()); - // Frame 60. - result.InsertKeyFrame(0.272727281F, { 24.1709995F, 24.0F }, _holdThenStepEasingFunction); - // Frame 70. - result.InsertKeyFrame(0.318181813F, { 24.1709995F, 24.0F }, _holdThenStepEasingFunction); - // Frame 80. - result.InsertKeyFrame(0.363636374F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 90. - result.InsertKeyFrame(0.409090906F, { 24.1709995F, 24.0F }, _holdThenStepEasingFunction); - // Frame 100. - result.InsertKeyFrame(0.454545468F, { 24.1709995F, 24.0F }, _holdThenStepEasingFunction); - // Frame 110. - result.InsertKeyFrame(0.5F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 120. - result.InsertKeyFrame(0.545454562F, { 24.1709995F, 24.0F }, _holdThenStepEasingFunction); - // Frame 130. - result.InsertKeyFrame(0.590909064F, { 24.1709995F, 24.0F }, _holdThenStepEasingFunction); - // Frame 140. - result.InsertKeyFrame(0.636363626F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 180. - result.InsertKeyFrame(0.818181813F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 185. - result.InsertKeyFrame(0.840909064F, { 24.0F, 30.0F }, _cubicBezierEasingFunction_1); - // Frame 199. - result.InsertKeyFrame(0.904545426F, { 24.0F, 24.0F }, _cubicBezierEasingFunction_2); - // Frame 200. - result.InsertKeyFrame(0.909090936F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 205. - result.InsertKeyFrame(0.931818187F, { 24.0F, 30.0F }, _cubicBezierEasingFunction_1); - // Frame 219. - result.InsertKeyFrame(0.99545455F, { 24.0F, 24.0F }, _cubicBezierEasingFunction_2); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedChevronRightDownSmallVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedChevronRightDownSmallVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedChevronRightDownSmallVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedChevronRightDownSmallVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedChevronRightDownSmallVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedChevronRightDownSmallVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedChevronRightDownSmallVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedChevronRightDownSmallVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedChevronRightDownSmallVisualSource::FrameCount() -{ - return 220.0; -} - -double AnimatedChevronRightDownSmallVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedChevronRightDownSmallVisualSource::Duration() -{ - return TimeSpan{ 36666666L }; -} - -double AnimatedChevronRightDownSmallVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 220.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedChevronRightDownSmallVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalOnToNormalOff_Start", 0.0 }, - { L"NormalOnToNormalOff_End", 0.0411363636363636 }, - { L"NormalOnToPointerOverOn_Start", 0.0456818181818182 }, - { L"NormalOnToPointerOverOn_End", 0.0865909090909091 }, - { L"NormalOnToPressedOn_Start", 0.0911363636363636 }, - { L"NormalOnToPressedOn_End", 0.132045454545455 }, - { L"NormalOffToNormalOn_Start", 0.136590909090909 }, - { L"NormalOffToNormalOn_End", 0.268409090909091 }, - { L"NormalOffToPointerOverOff_Start", 0.272954545454545 }, - { L"NormalOffToPointerOverOff_End", 0.313863636363636 }, - { L"NormalOffToPressedOff_Start", 0.318409090909091 }, - { L"NormalOffToPressedOff_End", 0.359318181818182 }, - { L"PointerOverOnToPointerOverOff_Start", 0.363863636363636 }, - { L"PointerOverOnToPointerOverOff_End", 0.404772727272727 }, - { L"PointerOverOnToNormalOn_Start", 0.409318181818182 }, - { L"PointerOverOnToNormalOn_End", 0.450227272727273 }, - { L"PointerOverOnToPressedOn_Start", 0.454772727272727 }, - { L"PointerOverOnToPressedOn_End", 0.495681818181818 }, - { L"PointerOverOffToPointerOverOn_Start", 0.500227272727273 }, - { L"PointerOverOffToPointerOverOn_End", 0.541136363636364 }, - { L"PointerOverOffToNormalOff_Start", 0.545681818181818 }, - { L"PointerOverOffToNormalOff_End", 0.586590909090909 }, - { L"PointerOverOffToPressedOff_Start", 0.591136363636364 }, - { L"PointerOverOffToPressedOff_End", 0.632045454545455 }, - { L"PressedOnToPressedOff_Start", 0.636590909090909 }, - { L"PressedOnToPressedOff_End", 0.6775 }, - { L"PressedOnToPointerOverOff_Start", 0.682045454545455 }, - { L"PressedOnToPointerOverOff_End", 0.722954545454546 }, - { L"PressedOnToNormalOff_Start", 0.7275 }, - { L"PressedOnToNormalOff_End", 0.768409090909091 }, - { L"PressedOffToPressedOn_Start", 0.772954545454546 }, - { L"PressedOffToPressedOn_End", 0.813863636363636 }, - { L"PressedOffToPointerOverOn_Start", 0.818409090909091 }, - { L"PressedOffToPointerOverOn_End", 0.904772727272727 }, - { L"PressedOffToNormalOn_Start", 0.909318181818182 }, - { L"PressedOffToNormalOn_End", 0.995681818181818 }, - } - ).GetView(); -} - -void AnimatedChevronRightDownSmallVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedChevronRightDownSmallVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.h deleted file mode 100644 index 87550d15f2..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.h +++ /dev/null @@ -1,232 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronRightDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronRightDownSmallVisualSource.json (27906 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedChevronRightDownSmallVisualSource.g.h" - - -// Name: Controls_08_SideChevron_TreeViewExpand -// Frame rate: 60 fps -// Frame count: 220 -// Duration: 3666.7 mS -// ________________________________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |_____________________________________|_______________________________________|_______|________|_______________| -// | NormalOnToNormalOff_Start | M_NormalOnToNormalOff_Start | 0 | 0.0 | 0.0F | -// | NormalOnToNormalOff_End | M_NormalOnToNormalOff_End | 9 | 150.0 | 0.0411363654F | -// | NormalOnToPointerOverOn_Start | M_NormalOnToPointerOverOn_Start | 10 | 166.7 | 0.0456818193F | -// | NormalOnToPointerOverOn_End | M_NormalOnToPointerOverOn_End | 19 | 316.7 | 0.0865909085F | -// | NormalOnToPressedOn_Start | M_NormalOnToPressedOn_Start | 20 | 333.3 | 0.0911363661F | -// | NormalOnToPressedOn_End | M_NormalOnToPressedOn_End | 29 | 483.3 | 0.132045448F | -// | NormalOffToNormalOn_Start | M_NormalOffToNormalOn_Start | 30 | 500.0 | 0.136590913F | -// | NormalOffToNormalOn_End | M_NormalOffToNormalOn_End | 59 | 983.3 | 0.268409103F | -// | NormalOffToPointerOverOff_Start | M_NormalOffToPointerOverOff_Start | 60 | 1000.0 | 0.272954553F | -// | NormalOffToPointerOverOff_End | M_NormalOffToPointerOverOff_End | 69 | 1150.0 | 0.313863635F | -// | NormalOffToPressedOff_Start | M_NormalOffToPressedOff_Start | 70 | 1166.7 | 0.318409085F | -// | NormalOffToPressedOff_End | M_NormalOffToPressedOff_End | 79 | 1316.7 | 0.359318167F | -// | PointerOverOnToPointerOverOff_Start | M_PointerOverOnToPointerOverOff_Start | 80 | 1333.3 | 0.363863647F | -// | PointerOverOnToPointerOverOff_End | M_PointerOverOnToPointerOverOff_End | 89 | 1483.3 | 0.404772729F | -// | PointerOverOnToNormalOn_Start | M_PointerOverOnToNormalOn_Start | 90 | 1500.0 | 0.409318179F | -// | PointerOverOnToNormalOn_End | M_PointerOverOnToNormalOn_End | 99 | 1650.0 | 0.450227261F | -// | PointerOverOnToPressedOn_Start | M_PointerOverOnToPressedOn_Start | 100 | 1666.7 | 0.454772741F | -// | PointerOverOnToPressedOn_End | M_PointerOverOnToPressedOn_End | 109 | 1816.7 | 0.495681822F | -// | PointerOverOffToPointerOverOn_Start | M_PointerOverOffToPointerOverOn_Start | 110 | 1833.3 | 0.500227273F | -// | PointerOverOffToPointerOverOn_End | M_PointerOverOffToPointerOverOn_End | 119 | 1983.3 | 0.541136384F | -// | PointerOverOffToNormalOff_Start | M_PointerOverOffToNormalOff_Start | 120 | 2000.0 | 0.545681834F | -// | PointerOverOffToNormalOff_End | M_PointerOverOffToNormalOff_End | 129 | 2150.0 | 0.586590886F | -// | PointerOverOffToPressedOff_Start | M_PointerOverOffToPressedOff_Start | 130 | 2166.7 | 0.591136336F | -// | PointerOverOffToPressedOff_End | M_PointerOverOffToPressedOff_End | 139 | 2316.7 | 0.632045448F | -// | PressedOnToPressedOff_Start | M_PressedOnToPressedOff_Start | 140 | 2333.3 | 0.636590898F | -// | PressedOnToPressedOff_End | M_PressedOnToPressedOff_End | 149 | 2483.3 | 0.67750001F | -// | PressedOnToPointerOverOff_Start | M_PressedOnToPointerOverOff_Start | 150 | 2500.0 | 0.68204546F | -// | PressedOnToPointerOverOff_End | M_PressedOnToPointerOverOff_End | 159 | 2650.0 | 0.722954571F | -// | PressedOnToNormalOff_Start | M_PressedOnToNormalOff_Start | 160 | 2666.7 | 0.727500021F | -// | PressedOnToNormalOff_End | M_PressedOnToNormalOff_End | 169 | 2816.7 | 0.768409073F | -// | PressedOffToPressedOn_Start | M_PressedOffToPressedOn_Start | 170 | 2833.3 | 0.772954524F | -// | PressedOffToPressedOn_End | M_PressedOffToPressedOn_End | 179 | 2983.3 | 0.813863635F | -// | PressedOffToPointerOverOn_Start | M_PressedOffToPointerOverOn_Start | 180 | 3000.0 | 0.818409085F | -// | PressedOffToPointerOverOn_End | M_PressedOffToPointerOverOn_End | 199 | 3316.7 | 0.904772699F | -// | PressedOffToNormalOn_Start | M_PressedOffToNormalOn_Start | 200 | 3333.3 | 0.909318209F | -// | PressedOffToNormalOn_End | M_PressedOffToNormalOn_End | 219 | 3650.0 | 0.995681822F | -// ---------------------------------------------------------------------------------------------------------------- -// _______________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_______________| -// | Foreground | Foreground | Color | #FF060808 | -// ------------------------------------------------------- -class AnimatedChevronRightDownSmallVisualSource - : public winrt::implementation::AnimatedChevronRightDownSmallVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x06, 0x08, 0x08 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 3.667 seconds. - static constexpr int64_t c_durationTicks{ 36666666L }; - - // Marker: NormalOnToNormalOff_Start. - static constexpr float M_NormalOnToNormalOff_Start{ 0.0F }; - - // Marker: NormalOnToNormalOff_End. - static constexpr float M_NormalOnToNormalOff_End{ 0.0411363654F }; - - // Marker: NormalOnToPointerOverOn_Start. - static constexpr float M_NormalOnToPointerOverOn_Start{ 0.0456818193F }; - - // Marker: NormalOnToPointerOverOn_End. - static constexpr float M_NormalOnToPointerOverOn_End{ 0.0865909085F }; - - // Marker: NormalOnToPressedOn_Start. - static constexpr float M_NormalOnToPressedOn_Start{ 0.0911363661F }; - - // Marker: NormalOnToPressedOn_End. - static constexpr float M_NormalOnToPressedOn_End{ 0.132045448F }; - - // Marker: NormalOffToNormalOn_Start. - static constexpr float M_NormalOffToNormalOn_Start{ 0.136590913F }; - - // Marker: NormalOffToNormalOn_End. - static constexpr float M_NormalOffToNormalOn_End{ 0.268409103F }; - - // Marker: NormalOffToPointerOverOff_Start. - static constexpr float M_NormalOffToPointerOverOff_Start{ 0.272954553F }; - - // Marker: NormalOffToPointerOverOff_End. - static constexpr float M_NormalOffToPointerOverOff_End{ 0.313863635F }; - - // Marker: NormalOffToPressedOff_Start. - static constexpr float M_NormalOffToPressedOff_Start{ 0.318409085F }; - - // Marker: NormalOffToPressedOff_End. - static constexpr float M_NormalOffToPressedOff_End{ 0.359318167F }; - - // Marker: PointerOverOnToPointerOverOff_Start. - static constexpr float M_PointerOverOnToPointerOverOff_Start{ 0.363863647F }; - - // Marker: PointerOverOnToPointerOverOff_End. - static constexpr float M_PointerOverOnToPointerOverOff_End{ 0.404772729F }; - - // Marker: PointerOverOnToNormalOn_Start. - static constexpr float M_PointerOverOnToNormalOn_Start{ 0.409318179F }; - - // Marker: PointerOverOnToNormalOn_End. - static constexpr float M_PointerOverOnToNormalOn_End{ 0.450227261F }; - - // Marker: PointerOverOnToPressedOn_Start. - static constexpr float M_PointerOverOnToPressedOn_Start{ 0.454772741F }; - - // Marker: PointerOverOnToPressedOn_End. - static constexpr float M_PointerOverOnToPressedOn_End{ 0.495681822F }; - - // Marker: PointerOverOffToPointerOverOn_Start. - static constexpr float M_PointerOverOffToPointerOverOn_Start{ 0.500227273F }; - - // Marker: PointerOverOffToPointerOverOn_End. - static constexpr float M_PointerOverOffToPointerOverOn_End{ 0.541136384F }; - - // Marker: PointerOverOffToNormalOff_Start. - static constexpr float M_PointerOverOffToNormalOff_Start{ 0.545681834F }; - - // Marker: PointerOverOffToNormalOff_End. - static constexpr float M_PointerOverOffToNormalOff_End{ 0.586590886F }; - - // Marker: PointerOverOffToPressedOff_Start. - static constexpr float M_PointerOverOffToPressedOff_Start{ 0.591136336F }; - - // Marker: PointerOverOffToPressedOff_End. - static constexpr float M_PointerOverOffToPressedOff_End{ 0.632045448F }; - - // Marker: PressedOnToPressedOff_Start. - static constexpr float M_PressedOnToPressedOff_Start{ 0.636590898F }; - - // Marker: PressedOnToPressedOff_End. - static constexpr float M_PressedOnToPressedOff_End{ 0.67750001F }; - - // Marker: PressedOnToPointerOverOff_Start. - static constexpr float M_PressedOnToPointerOverOff_Start{ 0.68204546F }; - - // Marker: PressedOnToPointerOverOff_End. - static constexpr float M_PressedOnToPointerOverOff_End{ 0.722954571F }; - - // Marker: PressedOnToNormalOff_Start. - static constexpr float M_PressedOnToNormalOff_Start{ 0.727500021F }; - - // Marker: PressedOnToNormalOff_End. - static constexpr float M_PressedOnToNormalOff_End{ 0.768409073F }; - - // Marker: PressedOffToPressedOn_Start. - static constexpr float M_PressedOffToPressedOn_Start{ 0.772954524F }; - - // Marker: PressedOffToPressedOn_End. - static constexpr float M_PressedOffToPressedOn_End{ 0.813863635F }; - - // Marker: PressedOffToPointerOverOn_Start. - static constexpr float M_PressedOffToPointerOverOn_Start{ 0.818409085F }; - - // Marker: PressedOffToPointerOverOn_End. - static constexpr float M_PressedOffToPointerOverOn_End{ 0.904772699F }; - - // Marker: PressedOffToNormalOn_Start. - static constexpr float M_PressedOffToNormalOn_Start{ 0.909318209F }; - - // Marker: PressedOffToNormalOn_End. - static constexpr float M_PressedOffToNormalOn_End{ 0.995681822F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x06, 0x08, 0x08 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.idl deleted file mode 100644 index 82f8a5b690..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronRightDownSmallVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronRightDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronRightDownSmallVisualSource.json (27906 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedChevronRightDownSmallVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedChevronRightDownSmallVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.cpp deleted file mode 100644 index 705fa8e43e..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.cpp +++ /dev/null @@ -1,855 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronUpDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronUpDownSmallVisualSource.json (24992 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 39 | -// |--------------------------+-------| -// | Expression animators | 3 | -// | KeyFrame animators | 2 | -// | Reference parameters | 3 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 2 | -// | ShapeVisuals | 1 | -// |--------------------------+-------| -// | ContainerShapes | - | -// | CompositionSpriteShapes | 1 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedChevronUpDownSmallVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#ifdef BUILD_WINDOWS -namespace ABI -{ -#include -} -#else -#include -#endif -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedChevronUpDownSmallVisualSource) -} -#include "AnimatedVisuals\AnimatedChevronUpDownSmallVisualSource.g.cpp" - -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedChevronUpDownSmallVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 43333333L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - ContainerVisual _root{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_0{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_1{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_2{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_3{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - StepEasingFunction _holdThenStepEasingFunction{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateScalarKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - Vector2KeyFrameAnimation CreateVector2KeyFrameAnimation(float initialProgress, winrt::float2 initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateVector2KeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - // - - - - PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff - // Controls - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - - // Dropdown Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // - - - Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // - - ShapeGroup: Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - winrt::com_ptr Geometry() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->BeginFigure({ -3.54299998F, -1.79299998F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 0.0199999996F, 1.70700002F }); - sink->AddLine({ 3.48900008F, -1.71500003F }); - sink->EndFigure(D2D1_FIGURE_END_OPEN); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff - // Controls - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - - // Dropdown Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // - Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // ShapeGroup: Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - // - - PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff - // Controls - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - - // Dropdown Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // - Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // ShapeGroup: Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - CompositionPathGeometry PathGeometry() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry()))); - } - - // - PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff - // Controls - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - - // Dropdown Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 - // Path 1 Path 1 Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape() - { - const auto result = _c.CreateSpriteShape(PathGeometry()); - result.Scale({ 4.0F, 4.0F }); - result.StrokeBrush(ThemeColor_Foreground()); - result.StrokeDashCap(CompositionStrokeCap::Round); - result.StrokeStartCap(CompositionStrokeCap::Round); - result.StrokeEndCap(CompositionStrokeCap::Round); - result.StrokeLineJoin(CompositionStrokeLineJoin::Round); - result.StrokeMiterLimit(2.0F); - StartProgressBoundAnimation(result, L"RotationAngleInDegrees", RotationAngleInDegreesScalarAnimation_180_to_180(), RootProgress()); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation(), _rootProgress); - return result; - } - - // Transforms for Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff Controls - // - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - Dropdown - // Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn Scale(1,1,0) - ContainerVisual ContainerVisual_0() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - result.Children().InsertAtTop(ShapeVisual_0()); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - // PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff Controls - // - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - Dropdown - // Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - result.Children().InsertAtTop(ContainerVisual_0()); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction({ 0.850000024F, 0.0F }, { 0.75F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_2() - { - return _cubicBezierEasingFunction_2 = _c.CreateCubicBezierEasingFunction({ 0.349999994F, 0.0F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_3() - { - return _cubicBezierEasingFunction_3 = _c.CreateCubicBezierEasingFunction({ 0.850000024F, 0.0F }, { 0.449999988F, 1.0F }); - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - // PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff Controls - // - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - Dropdown - // Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - InsetClip InsetClip_0() - { - const auto result = _c.CreateInsetClip(); - return result; - } - - // - - PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff - // Controls - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - - // Dropdown Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // - Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // ShapeGroup: Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Rotation - ScalarKeyFrameAnimation RotationAngleInDegreesScalarAnimation_180_to_180() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 180.0F, StepThenHoldEasingFunction()); - // Frame 15. - result.InsertKeyFrame(0.057692308F, 180.0F, HoldThenStepEasingFunction()); - // Frame 25. - result.InsertKeyFrame(0.0961538479F, 0.0F, CubicBezierEasingFunction_0()); - // Frame 30. - result.InsertKeyFrame(0.115384616F, 180.0F, _holdThenStepEasingFunction); - // Frame 40. - result.InsertKeyFrame(0.15384616F, 180.0F, _holdThenStepEasingFunction); - // Frame 50. - result.InsertKeyFrame(0.192307696F, 0.0F, _holdThenStepEasingFunction); - // Frame 65. - result.InsertKeyFrame(0.25F, 0.0F, _holdThenStepEasingFunction); - // Frame 75. - result.InsertKeyFrame(0.288461536F, 180.0F, _cubicBezierEasingFunction_0); - // Frame 80. - result.InsertKeyFrame(0.307692319F, 0.0F, _holdThenStepEasingFunction); - // Frame 90. - result.InsertKeyFrame(0.346153855F, 0.0F, _holdThenStepEasingFunction); - // Frame 100. - result.InsertKeyFrame(0.384615391F, 180.0F, _holdThenStepEasingFunction); - // Frame 109. - result.InsertKeyFrame(0.419230759F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 110. - result.InsertKeyFrame(0.423076928F, 180.0F, _holdThenStepEasingFunction); - // Frame 120. - result.InsertKeyFrame(0.461538464F, 180.0F, _holdThenStepEasingFunction); - // Frame 130. - result.InsertKeyFrame(0.5F, 0.0F, _holdThenStepEasingFunction); - // Frame 139. - result.InsertKeyFrame(0.534615397F, 180.0F, _cubicBezierEasingFunction_0); - // Frame 140. - result.InsertKeyFrame(0.538461566F, 0.0F, _holdThenStepEasingFunction); - // Frame 150. - result.InsertKeyFrame(0.576923072F, 0.0F, _holdThenStepEasingFunction); - // Frame 160. - result.InsertKeyFrame(0.615384638F, 180.0F, _holdThenStepEasingFunction); - // Frame 169. - result.InsertKeyFrame(0.649999976F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 170. - result.InsertKeyFrame(0.653846145F, 180.0F, _holdThenStepEasingFunction); - // Frame 175. - result.InsertKeyFrame(0.673076928F, 180.0F, _holdThenStepEasingFunction); - // Frame 185. - result.InsertKeyFrame(0.711538434F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 190. - result.InsertKeyFrame(0.730769217F, 180.0F, _holdThenStepEasingFunction); - // Frame 195. - result.InsertKeyFrame(0.75F, 180.0F, _holdThenStepEasingFunction); - // Frame 205. - result.InsertKeyFrame(0.788461566F, 0.0F, _cubicBezierEasingFunction_0); - // Frame 210. - result.InsertKeyFrame(0.807692289F, 0.0F, _holdThenStepEasingFunction); - // Frame 219. - result.InsertKeyFrame(0.842307687F, 180.0F, _cubicBezierEasingFunction_0); - // Frame 220. - result.InsertKeyFrame(0.846153855F, 0.0F, _holdThenStepEasingFunction); - // Frame 225. - result.InsertKeyFrame(0.865384638F, 0.0F, _holdThenStepEasingFunction); - // Frame 235. - result.InsertKeyFrame(0.903846145F, 180.0F, _cubicBezierEasingFunction_0); - // Frame 240. - result.InsertKeyFrame(0.923076928F, 0.0F, _holdThenStepEasingFunction); - // Frame 245. - result.InsertKeyFrame(0.942307711F, 0.0F, _holdThenStepEasingFunction); - // Frame 255. - result.InsertKeyFrame(0.980769217F, 180.0F, _cubicBezierEasingFunction_0); - return result; - } - - // PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff Controls - // - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - Dropdown - // Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - ShapeVisual ShapeVisual_0() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // ShapeGroup: Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - result.Shapes().Append(SpriteShape()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - // - - - PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff - // Controls - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - - // Dropdown Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // - - Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate - // 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // - ShapeGroup: Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape - // 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // RotationAngleInDegrees - StepEasingFunction StepThenHoldEasingFunction() - { - const auto result = _c.CreateStepEasingFunction(); - result.IsInitialStepSingleFrame(true); - return result; - } - - // - - PreComp layer: Controls - 07 - Dropdown Rotate - 01 - NormalOnToNormalOff - // Controls - 07 - Dropdown Rotate - 02 - NormalOnToPointerOverOn Controls - 07 - - // Dropdown Rotate - 03 - NormalOnToPressedOn Controls - 07 - Dropdown Rotate - 04 - - // NormalOffToNormalOn Controls - 07 - Dropdown Rotate - 05 -NormalOffToPointerOverOff - // Controls - 07 - Dropdown Rotate - 06 - NormalOffToPressedOff Controls - 07 - - // Dropdown Rotate - 07 - PointerOverOnToPointerOverOff Controls - 07 - Dropdown - // Rotate - 08 - PointerOverOnToNormalOn Controls - 07 - Dropdown Rotate - 09 - - // PointerOverOnToPressedOn Controls - 07 - Dropdown Rotate - 10 - - // PointerOverOffToPointerOverOn Controls - 07 - Dropdown Rotate - 11 - - // PointerOverOffToNormalOff Controls - 07 - Dropdown Rotate - 12 - - // PointerOverOffToPressedOff Controls - 07 - Dropdown Rotate - 13 - - // PressedOnToPressedOff Controls - 07 - Dropdown Rotate - 14 - - // PressedOnToPointerOverOff Controls - 07 - Dropdown Rotate - 15 - - // PressedOnToNormalOff Controls - 07 - Dropdown Rotate - 16 - PressedOffToPressedOn - // Controls - 07 - Dropdown Rotate - 17 - PressedOffToPointerOverOn Controls - 07 - - // Dropdown Rotate - 18 - PressedOffToNormalOn - // - Shape tree root for layer: DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // DownArrowRotate 2 DownArrowRotate 2 DownArrowRotate 2 - // ShapeGroup: Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 Shape 1 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.0384615399F, { 24.0F, 26.0F }, _cubicBezierEasingFunction_0); - // Frame 15. - result.InsertKeyFrame(0.057692308F, { 24.0F, 18.0F }, CubicBezierEasingFunction_1()); - // Frame 29. - result.InsertKeyFrame(0.111538462F, { 24.1709995F, 23.9230003F }, CubicBezierEasingFunction_2()); - // Frame 30. - result.InsertKeyFrame(0.115384616F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 40. - result.InsertKeyFrame(0.15384616F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 49. - result.InsertKeyFrame(0.188461542F, { 24.0F, 26.0F }, _cubicBezierEasingFunction_0); - // Frame 50. - result.InsertKeyFrame(0.192307696F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 60. - result.InsertKeyFrame(0.230769232F, { 24.0F, 22.0F }, _cubicBezierEasingFunction_0); - // Frame 65. - result.InsertKeyFrame(0.25F, { 24.0F, 30.0F }, CubicBezierEasingFunction_3()); - // Frame 79. - result.InsertKeyFrame(0.303846151F, { 24.0F, 24.0F }, _cubicBezierEasingFunction_2); - // Frame 90. - result.InsertKeyFrame(0.346153855F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 99. - result.InsertKeyFrame(0.380769223F, { 24.0F, 22.0F }, _cubicBezierEasingFunction_0); - // Frame 100. - result.InsertKeyFrame(0.384615391F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 120. - result.InsertKeyFrame(0.461538464F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 129. - result.InsertKeyFrame(0.496153831F, { 24.0F, 26.0F }, _cubicBezierEasingFunction_0); - // Frame 130. - result.InsertKeyFrame(0.5F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 150. - result.InsertKeyFrame(0.576923072F, { 24.0F, 24.0F }, _holdThenStepEasingFunction); - // Frame 159. - result.InsertKeyFrame(0.61153847F, { 24.0F, 22.0F }, _cubicBezierEasingFunction_0); - // Frame 160. - result.InsertKeyFrame(0.615384638F, { 24.0F, 26.0F }, _holdThenStepEasingFunction); - // Frame 169. - result.InsertKeyFrame(0.649999976F, { 24.0F, 22.0F }, _cubicBezierEasingFunction_0); - // Frame 170. - result.InsertKeyFrame(0.653846145F, { 24.0F, 26.0F }, _holdThenStepEasingFunction); - // Frame 175. - result.InsertKeyFrame(0.673076928F, { 24.0F, 18.0F }, _cubicBezierEasingFunction_1); - // Frame 189. - result.InsertKeyFrame(0.726923048F, { 24.1709995F, 23.9230003F }, _cubicBezierEasingFunction_2); - // Frame 190. - result.InsertKeyFrame(0.730769217F, { 24.0F, 26.0F }, _holdThenStepEasingFunction); - // Frame 195. - result.InsertKeyFrame(0.75F, { 24.0F, 18.0F }, _cubicBezierEasingFunction_1); - // Frame 209. - result.InsertKeyFrame(0.80384618F, { 24.1709995F, 23.9230003F }, _cubicBezierEasingFunction_2); - // Frame 210. - result.InsertKeyFrame(0.807692289F, { 24.0F, 22.0F }, _holdThenStepEasingFunction); - // Frame 219. - result.InsertKeyFrame(0.842307687F, { 24.0F, 26.0F }, _cubicBezierEasingFunction_0); - // Frame 220. - result.InsertKeyFrame(0.846153855F, { 24.0F, 22.0F }, _holdThenStepEasingFunction); - // Frame 225. - result.InsertKeyFrame(0.865384638F, { 24.0F, 30.0F }, _cubicBezierEasingFunction_3); - // Frame 239. - result.InsertKeyFrame(0.919230759F, { 24.0F, 24.0F }, _cubicBezierEasingFunction_2); - // Frame 240. - result.InsertKeyFrame(0.923076928F, { 24.0F, 22.0F }, _holdThenStepEasingFunction); - // Frame 245. - result.InsertKeyFrame(0.942307711F, { 24.0F, 30.0F }, _cubicBezierEasingFunction_3); - // Frame 259. - result.InsertKeyFrame(0.996153831F, { 24.0F, 24.0F }, _cubicBezierEasingFunction_2); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedChevronUpDownSmallVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedChevronUpDownSmallVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedChevronUpDownSmallVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedChevronUpDownSmallVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedChevronUpDownSmallVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedChevronUpDownSmallVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedChevronUpDownSmallVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedChevronUpDownSmallVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedChevronUpDownSmallVisualSource::FrameCount() -{ - return 260.0; -} - -double AnimatedChevronUpDownSmallVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedChevronUpDownSmallVisualSource::Duration() -{ - return TimeSpan{ 43333333L }; -} - -double AnimatedChevronUpDownSmallVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 260.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedChevronUpDownSmallVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalOnToNormalOff_Start", 0.0 }, - { L"NormalOnToNormalOff_End", 0.111730769230769 }, - { L"NormalOnToPointerOverOn_Start", 0.115576923076923 }, - { L"NormalOnToPointerOverOn_End", 0.150192307692308 }, - { L"NormalOnToPressedOn_Start", 0.154038461538462 }, - { L"NormalOnToPressedOn_End", 0.188653846153846 }, - { L"NormalOffToNormalOn_Start", 0.1925 }, - { L"NormalOffToNormalOn_End", 0.304038461538462 }, - { L"NormalOffToPointerOverOff_Start", 0.307884615384615 }, - { L"NormalOffToPointerOverOff_End", 0.3425 }, - { L"NormalOffToPressedOff_Start", 0.346346153846154 }, - { L"NormalOffToPressedOff_End", 0.380961538461538 }, - { L"PointerOverOnToPointerOverOff_Start", 0.384807692307692 }, - { L"PointerOverOnToPointerOverOff_End", 0.419423076923077 }, - { L"PointerOverOnToNormalOn_Start", 0.423269230769231 }, - { L"PointerOverOnToNormalOn_End", 0.457884615384615 }, - { L"PointerOverOnToPressedOn_Start", 0.461730769230769 }, - { L"PointerOverOnToPressedOn_End", 0.496346153846154 }, - { L"PointerOverOffToPointerOverOn_Start", 0.500192307692308 }, - { L"PointerOverOffToPointerOverOn_End", 0.534807692307692 }, - { L"PointerOverOffToNormalOff_Start", 0.538653846153846 }, - { L"PointerOverOffToNormalOff_End", 0.573269230769231 }, - { L"PointerOverOffToPressedOff_Start", 0.577115384615385 }, - { L"PointerOverOffToPressedOff_End", 0.611730769230769 }, - { L"PressedOnToPressedOff_Start", 0.615576923076923 }, - { L"PressedOnToPressedOff_End", 0.650192307692308 }, - { L"PressedOnToPointerOverOff_Start", 0.654038461538462 }, - { L"PressedOnToPointerOverOff_End", 0.727115384615385 }, - { L"PressedOnToNormalOff_Start", 0.730961538461539 }, - { L"PressedOnToNormalOff_End", 0.804038461538462 }, - { L"PressedOffToPressedOn_Start", 0.807884615384615 }, - { L"PressedOffToPressedOn_End", 0.8425 }, - { L"PressedOffToPointerOverOn_Start", 0.846346153846154 }, - { L"PressedOffToPointerOverOn_End", 0.919423076923077 }, - { L"PressedOffToNormalOn_Start", 0.923269230769231 }, - { L"PressedOffToNormalOn_End", 0.996346153846154 }, - } - ).GetView(); -} - -void AnimatedChevronUpDownSmallVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedChevronUpDownSmallVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.h deleted file mode 100644 index 35edbddad1..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.h +++ /dev/null @@ -1,231 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronUpDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronUpDownSmallVisualSource.json (24992 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedChevronUpDownSmallVisualSource.g.h" - -// Name: Controls_07_DownChevron_Expand+NavView -// Frame rate: 60 fps -// Frame count: 260 -// Duration: 4333.3 mS -// _______________________________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |_____________________________________|_______________________________________|_______|________|______________| -// | NormalOnToNormalOff_Start | M_NormalOnToNormalOff_Start | 0 | 0.0 | 0.0F | -// | NormalOnToNormalOff_End | M_NormalOnToNormalOff_End | 29 | 483.3 | 0.111730769F | -// | NormalOnToPointerOverOn_Start | M_NormalOnToPointerOverOn_Start | 30 | 500.0 | 0.115576923F | -// | NormalOnToPointerOverOn_End | M_NormalOnToPointerOverOn_End | 39 | 650.0 | 0.150192305F | -// | NormalOnToPressedOn_Start | M_NormalOnToPressedOn_Start | 40 | 666.7 | 0.154038459F | -// | NormalOnToPressedOn_End | M_NormalOnToPressedOn_End | 49 | 816.7 | 0.188653842F | -// | NormalOffToNormalOn_Start | M_NormalOffToNormalOn_Start | 50 | 833.3 | 0.192499995F | -// | NormalOffToNormalOn_End | M_NormalOffToNormalOn_End | 79 | 1316.7 | 0.304038465F | -// | NormalOffToPointerOverOff_Start | M_NormalOffToPointerOverOff_Start | 80 | 1333.3 | 0.307884604F | -// | NormalOffToPointerOverOff_End | M_NormalOffToPointerOverOff_End | 89 | 1483.3 | 0.342500001F | -// | NormalOffToPressedOff_Start | M_NormalOffToPressedOff_Start | 90 | 1500.0 | 0.34634614F | -// | NormalOffToPressedOff_End | M_NormalOffToPressedOff_End | 99 | 1650.0 | 0.380961537F | -// | PointerOverOnToPointerOverOff_Start | M_PointerOverOnToPointerOverOff_Start | 100 | 1666.7 | 0.384807706F | -// | PointerOverOnToPointerOverOff_End | M_PointerOverOnToPointerOverOff_End | 109 | 1816.7 | 0.419423074F | -// | PointerOverOnToNormalOn_Start | M_PointerOverOnToNormalOn_Start | 110 | 1833.3 | 0.423269242F | -// | PointerOverOnToNormalOn_End | M_PointerOverOnToNormalOn_End | 119 | 1983.3 | 0.45788461F | -// | PointerOverOnToPressedOn_Start | M_PointerOverOnToPressedOn_Start | 120 | 2000.0 | 0.461730778F | -// | PointerOverOnToPressedOn_End | M_PointerOverOnToPressedOn_End | 129 | 2150.0 | 0.496346146F | -// | PointerOverOffToPointerOverOn_Start | M_PointerOverOffToPointerOverOn_Start | 130 | 2166.7 | 0.500192285F | -// | PointerOverOffToPointerOverOn_End | M_PointerOverOffToPointerOverOn_End | 139 | 2316.7 | 0.534807682F | -// | PointerOverOffToNormalOff_Start | M_PointerOverOffToNormalOff_Start | 140 | 2333.3 | 0.538653851F | -// | PointerOverOffToNormalOff_End | M_PointerOverOffToNormalOff_End | 149 | 2483.3 | 0.573269248F | -// | PointerOverOffToPressedOff_Start | M_PointerOverOffToPressedOff_Start | 150 | 2500.0 | 0.577115357F | -// | PointerOverOffToPressedOff_End | M_PointerOverOffToPressedOff_End | 159 | 2650.0 | 0.611730754F | -// | PressedOnToPressedOff_Start | M_PressedOnToPressedOff_Start | 160 | 2666.7 | 0.615576923F | -// | PressedOnToPressedOff_End | M_PressedOnToPressedOff_End | 169 | 2816.7 | 0.65019232F | -// | PressedOnToPointerOverOff_Start | M_PressedOnToPointerOverOff_Start | 170 | 2833.3 | 0.654038489F | -// | PressedOnToPointerOverOff_End | M_PressedOnToPointerOverOff_End | 189 | 3150.0 | 0.727115393F | -// | PressedOnToNormalOff_Start | M_PressedOnToNormalOff_Start | 190 | 3166.7 | 0.730961561F | -// | PressedOnToNormalOff_End | M_PressedOnToNormalOff_End | 209 | 3483.3 | 0.804038465F | -// | PressedOffToPressedOn_Start | M_PressedOffToPressedOn_Start | 210 | 3500.0 | 0.807884634F | -// | PressedOffToPressedOn_End | M_PressedOffToPressedOn_End | 219 | 3650.0 | 0.842499971F | -// | PressedOffToPointerOverOn_Start | M_PressedOffToPointerOverOn_Start | 220 | 3666.7 | 0.84634614F | -// | PressedOffToPointerOverOn_End | M_PressedOffToPointerOverOn_End | 239 | 3983.3 | 0.919423103F | -// | PressedOffToNormalOn_Start | M_PressedOffToNormalOn_Start | 240 | 4000.0 | 0.923269212F | -// | PressedOffToNormalOn_End | M_PressedOffToNormalOn_End | 259 | 4316.7 | 0.996346176F | -// --------------------------------------------------------------------------------------------------------------- -// _________________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_________________| -// | Foreground | Foreground | Color | #FF000000 Black | -// --------------------------------------------------------- -class AnimatedChevronUpDownSmallVisualSource - : public winrt::implementation::AnimatedChevronUpDownSmallVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 4.333 seconds. - static constexpr int64_t c_durationTicks{ 43333333L }; - - // Marker: NormalOnToNormalOff_Start. - static constexpr float M_NormalOnToNormalOff_Start{ 0.0F }; - - // Marker: NormalOnToNormalOff_End. - static constexpr float M_NormalOnToNormalOff_End{ 0.111730769F }; - - // Marker: NormalOnToPointerOverOn_Start. - static constexpr float M_NormalOnToPointerOverOn_Start{ 0.115576923F }; - - // Marker: NormalOnToPointerOverOn_End. - static constexpr float M_NormalOnToPointerOverOn_End{ 0.150192305F }; - - // Marker: NormalOnToPressedOn_Start. - static constexpr float M_NormalOnToPressedOn_Start{ 0.154038459F }; - - // Marker: NormalOnToPressedOn_End. - static constexpr float M_NormalOnToPressedOn_End{ 0.188653842F }; - - // Marker: NormalOffToNormalOn_Start. - static constexpr float M_NormalOffToNormalOn_Start{ 0.192499995F }; - - // Marker: NormalOffToNormalOn_End. - static constexpr float M_NormalOffToNormalOn_End{ 0.304038465F }; - - // Marker: NormalOffToPointerOverOff_Start. - static constexpr float M_NormalOffToPointerOverOff_Start{ 0.307884604F }; - - // Marker: NormalOffToPointerOverOff_End. - static constexpr float M_NormalOffToPointerOverOff_End{ 0.342500001F }; - - // Marker: NormalOffToPressedOff_Start. - static constexpr float M_NormalOffToPressedOff_Start{ 0.34634614F }; - - // Marker: NormalOffToPressedOff_End. - static constexpr float M_NormalOffToPressedOff_End{ 0.380961537F }; - - // Marker: PointerOverOnToPointerOverOff_Start. - static constexpr float M_PointerOverOnToPointerOverOff_Start{ 0.384807706F }; - - // Marker: PointerOverOnToPointerOverOff_End. - static constexpr float M_PointerOverOnToPointerOverOff_End{ 0.419423074F }; - - // Marker: PointerOverOnToNormalOn_Start. - static constexpr float M_PointerOverOnToNormalOn_Start{ 0.423269242F }; - - // Marker: PointerOverOnToNormalOn_End. - static constexpr float M_PointerOverOnToNormalOn_End{ 0.45788461F }; - - // Marker: PointerOverOnToPressedOn_Start. - static constexpr float M_PointerOverOnToPressedOn_Start{ 0.461730778F }; - - // Marker: PointerOverOnToPressedOn_End. - static constexpr float M_PointerOverOnToPressedOn_End{ 0.496346146F }; - - // Marker: PointerOverOffToPointerOverOn_Start. - static constexpr float M_PointerOverOffToPointerOverOn_Start{ 0.500192285F }; - - // Marker: PointerOverOffToPointerOverOn_End. - static constexpr float M_PointerOverOffToPointerOverOn_End{ 0.534807682F }; - - // Marker: PointerOverOffToNormalOff_Start. - static constexpr float M_PointerOverOffToNormalOff_Start{ 0.538653851F }; - - // Marker: PointerOverOffToNormalOff_End. - static constexpr float M_PointerOverOffToNormalOff_End{ 0.573269248F }; - - // Marker: PointerOverOffToPressedOff_Start. - static constexpr float M_PointerOverOffToPressedOff_Start{ 0.577115357F }; - - // Marker: PointerOverOffToPressedOff_End. - static constexpr float M_PointerOverOffToPressedOff_End{ 0.611730754F }; - - // Marker: PressedOnToPressedOff_Start. - static constexpr float M_PressedOnToPressedOff_Start{ 0.615576923F }; - - // Marker: PressedOnToPressedOff_End. - static constexpr float M_PressedOnToPressedOff_End{ 0.65019232F }; - - // Marker: PressedOnToPointerOverOff_Start. - static constexpr float M_PressedOnToPointerOverOff_Start{ 0.654038489F }; - - // Marker: PressedOnToPointerOverOff_End. - static constexpr float M_PressedOnToPointerOverOff_End{ 0.727115393F }; - - // Marker: PressedOnToNormalOff_Start. - static constexpr float M_PressedOnToNormalOff_Start{ 0.730961561F }; - - // Marker: PressedOnToNormalOff_End. - static constexpr float M_PressedOnToNormalOff_End{ 0.804038465F }; - - // Marker: PressedOffToPressedOn_Start. - static constexpr float M_PressedOffToPressedOn_Start{ 0.807884634F }; - - // Marker: PressedOffToPressedOn_End. - static constexpr float M_PressedOffToPressedOn_End{ 0.842499971F }; - - // Marker: PressedOffToPointerOverOn_Start. - static constexpr float M_PressedOffToPointerOverOn_Start{ 0.84634614F }; - - // Marker: PressedOffToPointerOverOn_End. - static constexpr float M_PressedOffToPointerOverOn_End{ 0.919423103F }; - - // Marker: PressedOffToNormalOn_Start. - static constexpr float M_PressedOffToNormalOn_Start{ 0.923269212F }; - - // Marker: PressedOffToNormalOn_End. - static constexpr float M_PressedOffToNormalOn_End{ 0.996346176F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.idl deleted file mode 100644 index 481e00a5ab..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedChevronUpDownSmallVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedChevronUpDownSmallVisualSource.json -// -// Input file: -// AnimatedChevronUpDownSmallVisualSource.json (24992 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedChevronUpDownSmallVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedChevronUpDownSmallVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.cpp deleted file mode 100644 index fd2ee84bfa..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.cpp +++ /dev/null @@ -1,739 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedFindVisualSource.json -// -// Input file: -// AnimatedFindVisualSource.json (14456 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 69 | -// |--------------------------+-------| -// | Expression animators | 14 | -// | KeyFrame animators | 7 | -// | Reference parameters | 12 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 2 | -// | ShapeVisuals | 2 | -// |--------------------------+-------| -// | ContainerShapes | 1 | -// | CompositionSpriteShapes | 2 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedFindVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#ifdef BUILD_WINDOWS -namespace ABI -{ -#include -} -#else -#include -#endif -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ -CppWinRTActivatableClassWithBasicFactory(AnimatedFindVisualSource) -} -#include "AnimatedVisuals\AnimatedFindVisualSource.g.cpp" - -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedFindVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 13333333L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - CompositionColorBrush _themeColor_Foreground{ nullptr }; - ContainerVisual _root{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_0{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_1{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_2{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_3{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_4{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_5{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - ScalarKeyFrameAnimation _scalarAnimation_1_to_1{ nullptr }; - StepEasingFunction _holdThenStepEasingFunction{ nullptr }; - StepEasingFunction _stepThenHoldEasingFunction{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateScalarKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - Vector2KeyFrameAnimation CreateVector2KeyFrameAnimation(float initialProgress, winrt::float2 initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateVector2KeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry, winrt::float3x2 transformMatrix) - { - const auto result = _c.CreateSpriteShape(geometry); - result.TransformMatrix(transformMatrix); - return result; - } - - // - - - - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - - // 05 - Search - 02 - NormalToPressed Controls - 05 - Search - 03 - - // PointerOverToNormal Controls - 05 - Search - 04 - PointerOverToPressed Controls - - // 05 - Search - 05 - PressedToNormal Controls - 05 - Search - 06 - - // PressedToPointerOver - // - - - Shape tree root for layer: Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 - // - - ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - winrt::com_ptr Geometry() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 12.9329996F, 278.140015F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 9.42300034F, 281.64801F }); - sink->AddBezier({ { 9.25599957F, 281.815002F }, { 9.25599957F, 282.087006F }, { 9.42300034F, 282.253998F } }); - sink->AddBezier({ { 9.57199955F, 282.403015F }, { 9.80300045F, 282.419006F }, { 9.97000027F, 282.303009F } }); - sink->AddLine({ 10.0290003F, 282.253998F }); - sink->AddLine({ 13.5340004F, 278.748993F }); - sink->AddBezier({ { 13.5340004F, 278.748993F }, { 13.3599997F, 278.609985F }, { 13.1879997F, 278.432007F } }); - sink->AddBezier({ { 13.0159998F, 278.253998F }, { 12.9329996F, 278.140015F }, { 12.9329996F, 278.140015F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _themeColor_Foreground = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - // - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - - // Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - // Opacity for layer: Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape - // Layer 2 Shape Layer 2 - CompositionContainerShape ContainerShape() - { - const auto result = _c.CreateContainerShape(); - result.CenterPoint({ 3.81299996F, -3.93799996F }); - result.Offset({ 24.0F, 24.0F }); - // ShapeGroup: Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 - // Scale:0.92286,0.92286, Offset:<3.812, -3.938> - result.Shapes().Append(SpriteShape_1()); - StartProgressBoundAnimation(result, L"Scale.X", ScalarAnimation_1_to_1(), _rootProgress); - StartProgressBoundAnimation(result, L"Scale.Y", _scalarAnimation_1_to_1, _rootProgress); - return result; - } - - // - - - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - - // 05 - Search - 02 - NormalToPressed Controls - 05 - Search - 03 - - // PointerOverToNormal Controls - 05 - Search - 04 - PointerOverToPressed Controls - - // 05 - Search - 05 - PressedToNormal Controls - 05 - Search - 06 - - // PressedToPointerOver - // - - Opacity for layer: Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape Layer 2 - // Shape Layer 2 Shape Layer 2 - // ShapeGroup: Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 - // Scale:0.92286,0.92286, Offset:<3.812, -3.938> - // Ellipse Path 1 Ellipse Path 1 Ellipse Path 1 Ellipse Path 1 Ellipse Path 1 Ellipse - // Path 1.EllipseGeometry - CompositionEllipseGeometry Ellipse_14p188() - { - const auto result = _c.CreateEllipseGeometry(); - result.Radius({ 14.1875F, 14.1875F }); - return result; - } - - // - - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - // - Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - // - Shape tree root for layer: Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - CompositionPathGeometry PathGeometry() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry()))); - } - - // - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - - // Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - // Shape tree root for layer: Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 - // Path 2 Path 2 Path 2 Path 2 Path 2 Path 2 - CompositionSpriteShape SpriteShape_0() - { - const auto result = _c.CreateSpriteShape(PathGeometry()); - result.CenterPoint({ 13.566F, 278.109985F }); - result.Scale({ 3.0F, 3.0F }); - result.FillBrush(ThemeColor_Foreground()); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation(), RootProgress()); - return result; - } - - // - - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - // - Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - // - Opacity for layer: Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape - // Layer 2 Shape Layer 2 - // Ellipse Path 1 Ellipse Path 1 Ellipse Path 1 Ellipse Path 1 Ellipse Path 1 Ellipse - // Path 1 - CompositionSpriteShape SpriteShape_1() - { - // Offset:<3.812, -3.938>, Scale:<0.92286, 0.92286> - const auto result = CreateSpriteShape(Ellipse_14p188(), { 0.922860026F, 0.0F, 0.0F, 0.922860026F, 3.81200004F, -3.93799996F }); - result.StrokeBrush(_themeColor_Foreground); - StartProgressBoundAnimation(result, L"StrokeThickness", StrokeThicknessScalarAnimation_2p5_to_2p5(), _rootProgress); - return result; - } - - // Transforms for Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - - // Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver Scale(1,1,0) - ContainerVisual ContainerVisual_0() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - const auto children = result.Children(); - // Shape tree root for layer: Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 - children.InsertAtTop(ShapeVisual_0()); - // Opacity for layer: Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape - // Layer 2 Shape Layer 2 - children.InsertAtTop(ShapeVisual_1()); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - propertySet.InsertScalar(L"t0", 0.0F); - propertySet.InsertScalar(L"t1", 0.0F); - propertySet.InsertScalar(L"t2", 0.0F); - // PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - - // Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - result.Children().InsertAtTop(ContainerVisual_0()); - StartProgressBoundAnimation(propertySet, L"t0", t0ScalarAnimation_0_to_1(), _rootProgress); - StartProgressBoundAnimation(propertySet, L"t1", t1ScalarAnimation_0_to_1(), _rootProgress); - StartProgressBoundAnimation(propertySet, L"t2", t2ScalarAnimation_0_to_1(), _rootProgress); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction({ 0.550000012F, 0.0F }, { 0.75F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_2() - { - return _cubicBezierEasingFunction_2 = _c.CreateCubicBezierEasingFunction({ 0.349999994F, 0.0F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_3() - { - return _cubicBezierEasingFunction_3 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.449999988F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_4() - { - return _cubicBezierEasingFunction_4 = _c.CreateCubicBezierEasingFunction({ 0.449999988F, 0.0F }, { 0.75F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_5() - { - return _cubicBezierEasingFunction_5 = _c.CreateCubicBezierEasingFunction({ 0.75F, 0.0F }, { 0.75F, 1.0F }); - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - // PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - - // Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - InsetClip InsetClip_0() - { - const auto result = _c.CreateInsetClip(); - return result; - } - - // Scale - ScalarKeyFrameAnimation ScalarAnimation_1_to_1() - { - // Frame 0. - const auto result = _scalarAnimation_1_to_1 = CreateScalarKeyFrameAnimation(0.0F, 1.0F, _holdThenStepEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 1.0F, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, 0.800000012F, CubicBezierEasingFunction_3()); - // Frame 20. - result.InsertKeyFrame(0.25F, 1.0F, _holdThenStepEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.375F, 1.0F, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, 0.800000012F, _cubicBezierEasingFunction_3); - // Frame 40. - result.InsertKeyFrame(0.5F, 0.800000012F, _holdThenStepEasingFunction); - // Frame 45. - result.InsertKeyFrame(0.5625F, 1.20000005F, CubicBezierEasingFunction_4()); - // Frame 59. - result.InsertKeyFrame(0.737500012F, 1.0F, _cubicBezierEasingFunction_2); - // Frame 60. - result.InsertKeyFrame(0.75F, 0.800000012F, _holdThenStepEasingFunction); - // Frame 65. - result.InsertKeyFrame(0.8125F, 1.20000005F, _cubicBezierEasingFunction_4); - // Frame 79. - result.InsertKeyFrame(0.987500012F, 1.0F, _cubicBezierEasingFunction_2); - return result; - } - - // - - - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - - // 05 - Search - 02 - NormalToPressed Controls - 05 - Search - 03 - - // PointerOverToNormal Controls - 05 - Search - 04 - PointerOverToPressed Controls - - // 05 - Search - 05 - PressedToNormal Controls - 05 - Search - 06 - - // PressedToPointerOver - // - - Opacity for layer: Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape Layer 2 - // Shape Layer 2 Shape Layer 2 - // ShapeGroup: Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 Ellipse 1 - // Scale:0.92286,0.92286, Offset:<3.812, -3.938> - // StrokeThickness - ScalarKeyFrameAnimation StrokeThicknessScalarAnimation_2p5_to_2p5() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 2.5F, _holdThenStepEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 2.5F, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, 3.0F, CubicBezierEasingFunction_0()); - // Frame 20. - result.InsertKeyFrame(0.25F, 2.5F, _holdThenStepEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.375F, 2.5F, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, 3.0F, _cubicBezierEasingFunction_0); - // Frame 40. - result.InsertKeyFrame(0.5F, 3.0F, _holdThenStepEasingFunction); - // Frame 45. - result.InsertKeyFrame(0.5625F, 2.20000005F, CubicBezierEasingFunction_1()); - // Frame 59. - result.InsertKeyFrame(0.737500012F, 2.5F, CubicBezierEasingFunction_2()); - // Frame 60. - result.InsertKeyFrame(0.75F, 3.0F, _holdThenStepEasingFunction); - // Frame 65. - result.InsertKeyFrame(0.8125F, 2.20000005F, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertKeyFrame(0.987500012F, 2.5F, _cubicBezierEasingFunction_2); - return result; - } - - ScalarKeyFrameAnimation t0ScalarAnimation_0_to_1() - { - // Frame 10. - const auto result = CreateScalarKeyFrameAnimation(0.125000015F, 0.0F, _stepThenHoldEasingFunction); - result.SetReferenceParameter(L"_", _root); - // Frame 19. - result.InsertKeyFrame(0.237499982F, 1.0F, _cubicBezierEasingFunction_3); - // Frame 30. - result.InsertKeyFrame(0.37500003F, 0.0F, _stepThenHoldEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487499982F, 1.0F, _cubicBezierEasingFunction_3); - return result; - } - - ScalarKeyFrameAnimation t1ScalarAnimation_0_to_1() - { - // Frame 40. - const auto result = CreateScalarKeyFrameAnimation(0.50000006F, 0.0F, _stepThenHoldEasingFunction); - result.SetReferenceParameter(L"_", _root); - // Frame 45. - result.InsertKeyFrame(0.56249994F, 1.0F, CubicBezierEasingFunction_5()); - // Frame 45. - result.InsertKeyFrame(0.5625F, 0.0F, _stepThenHoldEasingFunction); - // Frame 59. - result.InsertKeyFrame(0.737499952F, 1.0F, _cubicBezierEasingFunction_2); - return result; - } - - ScalarKeyFrameAnimation t2ScalarAnimation_0_to_1() - { - // Frame 60. - const auto result = CreateScalarKeyFrameAnimation(0.75000006F, 0.0F, _stepThenHoldEasingFunction); - result.SetReferenceParameter(L"_", _root); - // Frame 65. - result.InsertKeyFrame(0.81249994F, 1.0F, _cubicBezierEasingFunction_5); - // Frame 65. - result.InsertKeyFrame(0.8125F, 0.0F, _stepThenHoldEasingFunction); - // Frame 79. - result.InsertKeyFrame(0.987499952F, 1.0F, _cubicBezierEasingFunction_2); - return result; - } - - // PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - - // Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - // Shape tree root for layer: Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 - ShapeVisual ShapeVisual_0() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - result.Shapes().Append(SpriteShape_0()); - return result; - } - - // PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - - // Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - // Shape tree root for layer: Shape Layer 2 Shape Layer 2 Shape Layer 2 Shape Layer 2 - // Shape Layer 2 Shape Layer 2 - ShapeVisual ShapeVisual_1() - { - const auto result = _c.CreateShapeVisual(); - result.Opacity(0.970000029F); - result.Size({ 48.0F, 48.0F }); - result.Shapes().Append(ContainerShape()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - StepEasingFunction StepThenHoldEasingFunction() - { - const auto result = _stepThenHoldEasingFunction = _c.CreateStepEasingFunction(); - result.IsInitialStepSingleFrame(true); - return result; - } - - // - - PreComp layer: Controls - 05 - Search - 01 - NormalToPointerOver Controls - 05 - // - Search - 02 - NormalToPressed Controls - 05 - Search - 03 - PointerOverToNormal - // Controls - 05 - Search - 04 - PointerOverToPressed Controls - 05 - Search - 05 - - // PressedToNormal Controls - 05 - Search - 06 - PressedToPointerOver - // - Shape tree root for layer: Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 Layer 4 - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 Group 1 Group 1 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 5.64699984F, -249.322998F }, HoldThenStepEasingFunction()); - result.SetReferenceParameter(L"_", _root); - // Frame 10. - result.InsertKeyFrame(0.125F, { 5.64699984F, -249.322998F }, _holdThenStepEasingFunction); - // Frame 19. - result.InsertExpressionKeyFrame(0.237499982F, L"Pow(1-_.t0,3)*Vector2(5.647,-249.323)+(3*Square(1-_.t0)*_.t0*Vector2(5.939,-249.615))+(3*(1-_.t0)*Square(_.t0)*Vector2(7.105,-250.781))+(Pow(_.t0,3)*Vector2(7.397,-251.073))", StepThenHoldEasingFunction()); - // Frame 19. - result.InsertKeyFrame(0.237499997F, { 7.39699984F, -251.072998F }, _stepThenHoldEasingFunction); - // Frame 20. - result.InsertKeyFrame(0.25F, { 5.64699984F, -249.322998F }, _holdThenStepEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.375F, { 5.64699984F, -249.322998F }, _holdThenStepEasingFunction); - // Frame 39. - result.InsertExpressionKeyFrame(0.487499982F, L"Pow(1-_.t0,3)*Vector2(5.647,-249.323)+(3*Square(1-_.t0)*_.t0*Vector2(5.939,-249.615))+(3*(1-_.t0)*Square(_.t0)*Vector2(7.105,-250.781))+(Pow(_.t0,3)*Vector2(7.397,-251.073))", _stepThenHoldEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, { 7.39699984F, -251.072998F }, _stepThenHoldEasingFunction); - // Frame 40. - result.InsertKeyFrame(0.5F, { 7.39699984F, -251.072998F }, _holdThenStepEasingFunction); - // Frame 45. - result.InsertExpressionKeyFrame(0.56249994F, L"Pow(1-_.t1,3)*Vector2(7.397,-251.073)+(3*Square(1-_.t1)*_.t1*Vector2(6.767,-250.443))+(3*(1-_.t1)*Square(_.t1)*Vector2(3.616,-247.292))+(Pow(_.t1,3)*Vector2(3.616,-247.292))", _stepThenHoldEasingFunction); - // Frame 59. - result.InsertExpressionKeyFrame(0.737499952F, L"Pow(1-_.t1,3)*Vector2(3.616,-247.292)+(3*Square(1-_.t1)*_.t1*Vector2(3.616,-247.292))+(3*(1-_.t1)*Square(_.t1)*Vector2(5.308,-248.984))+(Pow(_.t1,3)*Vector2(5.647,-249.323))", _stepThenHoldEasingFunction); - // Frame 59. - result.InsertKeyFrame(0.737500012F, { 5.64699984F, -249.322998F }, _stepThenHoldEasingFunction); - // Frame 60. - result.InsertKeyFrame(0.75F, { 7.39699984F, -251.072998F }, _holdThenStepEasingFunction); - // Frame 65. - result.InsertExpressionKeyFrame(0.81249994F, L"Pow(1-_.t2,3)*Vector2(7.397,-251.073)+(3*Square(1-_.t2)*_.t2*Vector2(6.767,-250.443))+(3*(1-_.t2)*Square(_.t2)*Vector2(3.616,-247.292))+(Pow(_.t2,3)*Vector2(3.616,-247.292))", _stepThenHoldEasingFunction); - // Frame 79. - result.InsertExpressionKeyFrame(0.987499952F, L"Pow(1-_.t2,3)*Vector2(3.616,-247.292)+(3*Square(1-_.t2)*_.t2*Vector2(3.616,-247.292))+(3*(1-_.t2)*Square(_.t2)*Vector2(5.308,-248.984))+(Pow(_.t2,3)*Vector2(5.647,-249.323))", _stepThenHoldEasingFunction); - // Frame 79. - result.InsertKeyFrame(0.987500012F, { 5.64699984F, -249.322998F }, _stepThenHoldEasingFunction); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedFindVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedFindVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedFindVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedFindVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedFindVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedFindVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedFindVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedFindVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedFindVisualSource::FrameCount() -{ - return 80.0; -} - -double AnimatedFindVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedFindVisualSource::Duration() -{ - return TimeSpan{ 13333333L }; -} - -double AnimatedFindVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 80.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedFindVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalToPointerOver_Start", 0.0 }, - { L"NormalToPointerOver_End", 0.113125 }, - { L"NormalToPressed_Start", 0.125625 }, - { L"NormalToPressed_End", 0.238125 }, - { L"PointerOverToNormal_Start", 0.250625 }, - { L"PointerOverToNormal_End", 0.363125 }, - { L"PointerOverToPressed_Start", 0.375625 }, - { L"PointerOverToPressed_End", 0.488125 }, - { L"PressedToNormal_Start", 0.500625 }, - { L"PressedToNormal_End", 0.738125 }, - { L"PressedToPointerOver_Start", 0.750625 }, - { L"PressedToPointerOver_End", 0.988125 }, - } - ).GetView(); -} - -void AnimatedFindVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedFindVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.h deleted file mode 100644 index a0891a4917..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.h +++ /dev/null @@ -1,135 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedFindVisualSource.json -// -// Input file: -// AnimatedFindVisualSource.json (14456 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedFindVisualSource.g.h" - -// Name: Controls_05_Search -// Frame rate: 60 fps -// Frame count: 80 -// Duration: 1333.3 mS -// _____________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |____________________________|______________________________|_______|________|______________| -// | NormalToPointerOver_Start | M_NormalToPointerOver_Start | 0 | 0.0 | 0.0F | -// | NormalToPointerOver_End | M_NormalToPointerOver_End | 9 | 150.0 | 0.113124996F | -// | NormalToPressed_Start | M_NormalToPressed_Start | 10 | 166.7 | 0.125624999F | -// | NormalToPressed_End | M_NormalToPressed_End | 19 | 316.7 | 0.238124996F | -// | PointerOverToNormal_Start | M_PointerOverToNormal_Start | 20 | 333.3 | 0.250625014F | -// | PointerOverToNormal_End | M_PointerOverToNormal_End | 29 | 483.3 | 0.363124996F | -// | PointerOverToPressed_Start | M_PointerOverToPressed_Start | 30 | 500.0 | 0.375625014F | -// | PointerOverToPressed_End | M_PointerOverToPressed_End | 39 | 650.0 | 0.488124996F | -// | PressedToNormal_Start | M_PressedToNormal_Start | 40 | 666.7 | 0.500625014F | -// | PressedToNormal_End | M_PressedToNormal_End | 59 | 983.3 | 0.738125026F | -// | PressedToPointerOver_Start | M_PressedToPointerOver_Start | 60 | 1000.0 | 0.750625014F | -// | PressedToPointerOver_End | M_PressedToPointerOver_End | 79 | 1316.7 | 0.988125026F | -// --------------------------------------------------------------------------------------------- -// _________________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_________________| -// | Foreground | Foreground | Color | #FF000000 Black | -// --------------------------------------------------------- -class AnimatedFindVisualSource - : public winrt::implementation::AnimatedFindVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 1.333 seconds. - static constexpr int64_t c_durationTicks{ 13333333L }; - - // Marker: NormalToPointerOver_Start. - static constexpr float M_NormalToPointerOver_Start{ 0.0F }; - - // Marker: NormalToPointerOver_End. - static constexpr float M_NormalToPointerOver_End{ 0.113124996F }; - - // Marker: NormalToPressed_Start. - static constexpr float M_NormalToPressed_Start{ 0.125624999F }; - - // Marker: NormalToPressed_End. - static constexpr float M_NormalToPressed_End{ 0.238124996F }; - - // Marker: PointerOverToNormal_Start. - static constexpr float M_PointerOverToNormal_Start{ 0.250625014F }; - - // Marker: PointerOverToNormal_End. - static constexpr float M_PointerOverToNormal_End{ 0.363124996F }; - - // Marker: PointerOverToPressed_Start. - static constexpr float M_PointerOverToPressed_Start{ 0.375625014F }; - - // Marker: PointerOverToPressed_End. - static constexpr float M_PointerOverToPressed_End{ 0.488124996F }; - - // Marker: PressedToNormal_Start. - static constexpr float M_PressedToNormal_Start{ 0.500625014F }; - - // Marker: PressedToNormal_End. - static constexpr float M_PressedToNormal_End{ 0.738125026F }; - - // Marker: PressedToPointerOver_Start. - static constexpr float M_PressedToPointerOver_Start{ 0.750625014F }; - - // Marker: PressedToPointerOver_End. - static constexpr float M_PressedToPointerOver_End{ 0.988125026F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.idl deleted file mode 100644 index f4409749ac..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedFindVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedFindVisualSource.json -// -// Input file: -// AnimatedFindVisualSource.json (14456 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedFindVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedFindVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.cpp deleted file mode 100644 index 33ae7e3c06..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.cpp +++ /dev/null @@ -1,1386 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedGlobalNavigationButtonVisualSource.json -// -// Input file: -// AnimatedGlobalNavigationButtonVisualSource.json (37639 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 129 | -// |--------------------------+-------| -// | Expression animators | 9 | -// | KeyFrame animators | 8 | -// | Reference parameters | 9 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 3 | -// | ShapeVisuals | 2 | -// |--------------------------+-------| -// | ContainerShapes | 3 | -// | CompositionSpriteShapes | 18 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedGlobalNavigationButtonVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#ifdef BUILD_WINDOWS -namespace ABI -{ -#include -} -#else -#include -#endif -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ -CppWinRTActivatableClassWithBasicFactory(AnimatedGlobalNavigationButtonVisualSource) -} -#include "AnimatedVisuals\AnimatedGlobalNavigationButtonVisualSource.g.cpp" -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedGlobalNavigationButtonVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 13333333L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - CompositionColorBrush _themeColor_Foreground{ nullptr }; - CompositionPathGeometry _pathGeometry_00{ nullptr }; - CompositionPathGeometry _pathGeometry_01{ nullptr }; - CompositionPathGeometry _pathGeometry_02{ nullptr }; - CompositionPathGeometry _pathGeometry_03{ nullptr }; - CompositionPathGeometry _pathGeometry_04{ nullptr }; - CompositionPathGeometry _pathGeometry_05{ nullptr }; - ContainerVisual _root{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_0{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_1{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_2{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_3{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - InsetClip _insetClip_0{ nullptr }; - StepEasingFunction _holdThenStepEasingFunction{ nullptr }; - StepEasingFunction _stepThenHoldEasingFunction{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - BooleanKeyFrameAnimation CreateBooleanKeyFrameAnimation(float initialProgress, bool initialValue) - { - const auto result = _c.CreateBooleanKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue); - return result; - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateScalarKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - Vector2KeyFrameAnimation CreateVector2KeyFrameAnimation(float initialProgress, winrt::float2 initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateVector2KeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry, winrt::float3x2 transformMatrix, CompositionBrush fillBrush) - { - const auto result = _c.CreateSpriteShape(geometry); - result.TransformMatrix(transformMatrix); - result.FillBrush(fillBrush); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_0() - { - // Frame 10. - const auto result = CreateBooleanKeyFrameAnimation(0.125F, true); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - - // Hamburger - 03 - PointerOverToNormal - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_1() - { - // Frame 30. - const auto result = CreateBooleanKeyFrameAnimation(0.375F, false); - return result; - } - - winrt::com_ptr Geometry_00() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.5F, 0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { 7.63500023F, 0.5F }, { 7.75299978F, 0.451000005F }, { 7.85200024F, 0.351999998F } }); - sink->AddBezier({ { 7.95100021F, 0.252999991F }, { 8.0F, 0.135000005F }, { 8.0F, 0.0F } }); - sink->AddBezier({ { 8.0F, -0.135000005F }, { 7.95100021F, -0.252999991F }, { 7.85200024F, -0.351999998F } }); - sink->AddBezier({ { 7.75299978F, -0.451000005F }, { 7.63500023F, -0.5F }, { 7.5F, -0.5F } }); - sink->AddLine({ 7.5F, 0.5F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_01() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.5F, -0.486999989F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 7.5F, 0.513000011F }); - sink->AddBezier({ { 7.63500023F, 0.513000011F }, { 7.75299978F, 0.463F }, { 7.85200024F, 0.363999993F } }); - sink->AddBezier({ { 7.95100021F, 0.264999986F }, { 8.0F, 0.148000002F }, { 8.0F, 0.0130000003F } }); - sink->AddBezier({ { 8.0F, -0.122000001F }, { 7.95100021F, -0.239999995F }, { 7.85200024F, -0.338999987F } }); - sink->AddBezier({ { 7.75299978F, -0.437999994F }, { 7.63500023F, -0.486999989F }, { 7.5F, -0.486999989F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_02() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.5F, -0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 7.5F, 0.5F }); - sink->AddBezier({ { 7.63500023F, 0.5F }, { 7.75299978F, 0.451000005F }, { 7.85200024F, 0.351999998F } }); - sink->AddBezier({ { 7.95100021F, 0.252999991F }, { 8.0F, 0.135000005F }, { 8.0F, 0.0F } }); - sink->AddBezier({ { 8.0F, -0.135000005F }, { 7.95100021F, -0.252999991F }, { 7.85200024F, -0.351999998F } }); - sink->AddBezier({ { 7.75299978F, -0.451000005F }, { 7.63500023F, -0.5F }, { 7.5F, -0.5F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_03() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -7.5F, 0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ -7.5F, -0.5F }); - sink->AddBezier({ { -7.63500023F, -0.5F }, { -7.75299978F, -0.451000005F }, { -7.85200024F, -0.351999998F } }); - sink->AddBezier({ { -7.95100021F, -0.252999991F }, { -8.0F, -0.135000005F }, { -8.0F, 0.0F } }); - sink->AddBezier({ { -8.0F, 0.135000005F }, { -7.95100021F, 0.252999991F }, { -7.85200024F, 0.351999998F } }); - sink->AddBezier({ { -7.75299978F, 0.451000005F }, { -7.63500023F, 0.5F }, { -7.5F, 0.5F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_04() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -7.5F, -0.486999989F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { -7.63500023F, -0.486999989F }, { -7.75299978F, -0.437999994F }, { -7.85200024F, -0.338999987F } }); - sink->AddBezier({ { -7.95100021F, -0.239999995F }, { -8.0F, -0.122000001F }, { -8.0F, 0.0130000003F } }); - sink->AddBezier({ { -8.0F, 0.148000002F }, { -7.95100021F, 0.264999986F }, { -7.85200024F, 0.363999993F } }); - sink->AddBezier({ { -7.75299978F, 0.463F }, { -7.63500023F, 0.513000011F }, { -7.5F, 0.513000011F } }); - sink->AddLine({ -7.5F, -0.486999989F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - winrt::com_ptr Geometry_05() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -7.5F, -0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { -7.63500023F, -0.5F }, { -7.75299978F, -0.451000005F }, { -7.85200024F, -0.351999998F } }); - sink->AddBezier({ { -7.95100021F, -0.252999991F }, { -8.0F, -0.135000005F }, { -8.0F, 0.0F } }); - sink->AddBezier({ { -8.0F, 0.135000005F }, { -7.95100021F, 0.252999991F }, { -7.85200024F, 0.351999998F } }); - sink->AddBezier({ { -7.75299978F, 0.451000005F }, { -7.63500023F, 0.5F }, { -7.5F, 0.5F } }); - sink->AddLine({ -7.5F, -0.5F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - // - 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - - - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed - // Controls - 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - - // 05 - PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - - Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // - - ShapeGroup: Group 3 Group 3 Group 3 Group 3 Offset:<0, -10> - winrt::com_ptr Geometry_06() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -7.60599995F, 0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 7.70100021F, 0.5F }); - sink->AddLine({ 7.70100021F, -0.5F }); - sink->AddLine({ -7.60599995F, -0.5F }); - sink->AddLine({ -7.60599995F, 0.5F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - // - 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - - - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed - // Controls - 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - - // 05 - PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - - Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // - - ShapeGroup: Group 2 Group 2 Group 2 Group 2 Offset:<0, -4.85> - winrt::com_ptr Geometry_07() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.70100021F, -0.486999989F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ -7.60599995F, -0.486999989F }); - sink->AddLine({ -7.60599995F, 0.513000011F }); - sink->AddLine({ 7.70100021F, 0.513000011F }); - sink->AddLine({ 7.70100021F, -0.486999989F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - // - 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - - - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed - // Controls - 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - - // 05 - PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - - Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // - - ShapeGroup: Group 1 Group 1 Group 1 Group 1 - winrt::com_ptr Geometry_08() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.70100021F, -0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ -7.60500002F, -0.5F }); - sink->AddLine({ -7.60500002F, 0.5F }); - sink->AddLine({ 7.70100021F, 0.5F }); - sink->AddLine({ 7.70100021F, -0.5F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver - // Controls - 02 - Hamburger - 03 - PointerOverToNormal - // - - - Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver - // Controls - 02 - Hamburger - 03 - PointerOverToNormal - // - - Layer: Right Caps 2 Right Caps 2 - winrt::com_ptr Geometry_09() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ -7.5999999F, 0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 7.6960001F, 0.5F }); - sink->AddLine({ 7.6960001F, -0.5F }); - sink->AddLine({ -7.5999999F, -0.5F }); - sink->AddLine({ -7.5999999F, 0.5F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver - // Controls - 02 - Hamburger - 03 - PointerOverToNormal - // - - - Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver - // Controls - 02 - Hamburger - 03 - PointerOverToNormal - // - - Layer: Right Caps 2 Right Caps 2 - winrt::com_ptr Geometry_10() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.6960001F, -0.486999989F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ -7.5999999F, -0.486999989F }); - sink->AddLine({ -7.5999999F, 0.513000011F }); - sink->AddLine({ 7.6960001F, 0.513000011F }); - sink->AddLine({ 7.6960001F, -0.486999989F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - - - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver - // Controls - 02 - Hamburger - 03 - PointerOverToNormal - // - - - Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver - // Controls - 02 - Hamburger - 03 - PointerOverToNormal - // - - Layer: Right Caps 2 Right Caps 2 - winrt::com_ptr Geometry_11() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 7.6960001F, -0.5F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ -7.59899998F, -0.5F }); - sink->AddLine({ -7.59899998F, 0.5F }); - sink->AddLine({ 7.6960001F, 0.5F }); - sink->AddLine({ 7.6960001F, -0.5F }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _themeColor_Foreground = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - CompositionContainerShape ContainerShape_0() - { - const auto result = _c.CreateContainerShape(); - result.CenterPoint({ 7.5F, -5.0F }); - result.Scale({ 2.75F, 2.75F }); - const auto shapes = result.Shapes(); - // ShapeGroup: Group 3 Group 3 Group 3 Group 3 Offset:<0, -10> - shapes.Append(SpriteShape_00()); - // ShapeGroup: Group 2 Group 2 Group 2 Group 2 Offset:<0, -4.85> - shapes.Append(SpriteShape_01()); - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 - shapes.Append(SpriteShape_02()); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation_0(), RootProgress()); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - CompositionContainerShape ContainerShape_1() - { - const auto result = _c.CreateContainerShape(); - result.CenterPoint({ -7.5F, -5.0F }); - result.Scale({ 2.75F, 2.75F }); - const auto shapes = result.Shapes(); - // ShapeGroup: Group 3 Group 3 Group 3 Group 3 Offset:<0, -10> - shapes.Append(SpriteShape_03()); - // ShapeGroup: Group 2 Group 2 Group 2 Group 2 Offset:<0, -4.85> - shapes.Append(SpriteShape_04()); - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 - shapes.Append(SpriteShape_05()); - StartProgressBoundAnimation(result, L"Offset", OffsetVector2Animation_1(), _rootProgress); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - CompositionContainerShape ContainerShape_2() - { - const auto result = _c.CreateContainerShape(); - result.CenterPoint({ 0.0480000004F, -5.0F }); - result.Offset({ 23.9559994F, 29.0F }); - const auto shapes = result.Shapes(); - // ShapeGroup: Group 3 Group 3 Group 3 Group 3 Offset:<0, -10> - shapes.Append(SpriteShape_06()); - // ShapeGroup: Group 2 Group 2 Group 2 Group 2 Offset:<0, -4.85> - shapes.Append(SpriteShape_07()); - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 - shapes.Append(SpriteShape_08()); - StartProgressBoundAnimation(result, L"Scale.X", ScaleXScalarAnimation_2p749_to_2p749(), _rootProgress); - StartProgressBoundAnimation(result, L"Scale.Y", ScaleYScalarAnimation_2p75_to_2p75(), _rootProgress); - return result; - } - - CompositionPathGeometry PathGeometry_00() - { - return _pathGeometry_00 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_00()))); - } - - CompositionPathGeometry PathGeometry_01() - { - return _pathGeometry_01 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_01()))); - } - - CompositionPathGeometry PathGeometry_02() - { - return _pathGeometry_02 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_02()))); - } - - CompositionPathGeometry PathGeometry_03() - { - return _pathGeometry_03 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_03()))); - } - - CompositionPathGeometry PathGeometry_04() - { - return _pathGeometry_04 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_04()))); - } - - CompositionPathGeometry PathGeometry_05() - { - return _pathGeometry_05 = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_05()))); - } - - // - - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - - // 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // ShapeGroup: Group 3 Group 3 Group 3 Group 3 Offset:<0, -10> - CompositionPathGeometry PathGeometry_06() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_06()))); - } - - // - - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - - // 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // ShapeGroup: Group 2 Group 2 Group 2 Group 2 Offset:<0, -4.85> - CompositionPathGeometry PathGeometry_07() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_07()))); - } - - // - - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - - // 02 - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 - CompositionPathGeometry PathGeometry_08() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_08()))); - } - - // - - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // - Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - // - 02 - Hamburger - 03 - PointerOverToNormal - // Layer: Right Caps 2 Right Caps 2 - CompositionPathGeometry PathGeometry_09() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_09()))); - } - - // - - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // - Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - // - 02 - Hamburger - 03 - PointerOverToNormal - // Layer: Right Caps 2 Right Caps 2 - CompositionPathGeometry PathGeometry_10() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_10()))); - } - - // - - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // - Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - // - 02 - Hamburger - 03 - PointerOverToNormal - // Layer: Right Caps 2 Right Caps 2 - CompositionPathGeometry PathGeometry_11() - { - return _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_11()))); - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_00() - { - // Offset:<0, -10> - const auto geometry = PathGeometry_00(); - const auto result = CreateSpriteShape(geometry, { 1.0F, 0.0F, 0.0F, 1.0F, 0.0F, -10.0F }, ThemeColor_Foreground()); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_01() - { - // Offset:<0, -4.85> - const auto geometry = PathGeometry_01(); - const auto result = CreateSpriteShape(geometry, { 1.0F, 0.0F, 0.0F, 1.0F, 0.0F, -4.8499999F }, _themeColor_Foreground); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_02() - { - const auto result = _c.CreateSpriteShape(PathGeometry_02()); - result.FillBrush(_themeColor_Foreground); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_03() - { - // Offset:<0, -10> - const auto geometry = PathGeometry_03(); - const auto result = CreateSpriteShape(geometry, { 1.0F, 0.0F, 0.0F, 1.0F, 0.0F, -10.0F }, _themeColor_Foreground); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_04() - { - // Offset:<0, -4.85> - const auto geometry = PathGeometry_04(); - const auto result = CreateSpriteShape(geometry, { 1.0F, 0.0F, 0.0F, 1.0F, 0.0F, -4.8499999F }, _themeColor_Foreground); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_05() - { - const auto result = _c.CreateSpriteShape(PathGeometry_05()); - result.FillBrush(_themeColor_Foreground); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_06() - { - // Offset:<0, -10> - const auto geometry = PathGeometry_06(); - const auto result = CreateSpriteShape(geometry, { 1.0F, 0.0F, 0.0F, 1.0F, 0.0F, -10.0F }, _themeColor_Foreground); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_07() - { - // Offset:<0, -4.85> - const auto geometry = PathGeometry_07(); - const auto result = CreateSpriteShape(geometry, { 1.0F, 0.0F, 0.0F, 1.0F, 0.0F, -4.8499999F }, _themeColor_Foreground); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_08() - { - const auto result = _c.CreateSpriteShape(PathGeometry_08()); - result.FillBrush(_themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_09() - { - // Offset:<24.383, 10.25>, Scale:<2.75, 2.75> - const auto geometry = _pathGeometry_00; - const auto result = CreateSpriteShape(geometry, { 2.75F, 0.0F, 0.0F, 2.75F, 24.3829994F, 10.25F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_10() - { - // Offset:<24.383, 24.4125>, Scale:<2.75, 2.75> - const auto geometry = _pathGeometry_01; - const auto result = CreateSpriteShape(geometry, { 2.75F, 0.0F, 0.0F, 2.75F, 24.3829994F, 24.4125004F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_11() - { - // Offset:<24.383, 37.75>, Scale:<2.75, 2.75> - const auto geometry = _pathGeometry_02; - const auto result = CreateSpriteShape(geometry, { 2.75F, 0.0F, 0.0F, 2.75F, 24.3829994F, 37.75F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_12() - { - // Offset:<23.629, 10.25>, Scale:<2.75, 2.75> - const auto geometry = _pathGeometry_03; - const auto result = CreateSpriteShape(geometry, { 2.75F, 0.0F, 0.0F, 2.75F, 23.6289997F, 10.25F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_13() - { - // Offset:<23.629, 24.4125>, Scale:<2.75, 2.75> - const auto geometry = _pathGeometry_04; - const auto result = CreateSpriteShape(geometry, { 2.75F, 0.0F, 0.0F, 2.75F, 23.6289997F, 24.4125004F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_14() - { - // Offset:<23.629, 37.75>, Scale:<2.75, 2.75> - const auto geometry = _pathGeometry_05; - const auto result = CreateSpriteShape(geometry, { 2.75F, 0.0F, 0.0F, 2.75F, 23.6289997F, 37.75F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_15() - { - // Offset:<23.872047, 10.25>, Rotation:-0.009138340298435101 degrees, - // Scale:<2.749, 2.75> - const auto geometry = PathGeometry_09(); - const auto result = CreateSpriteShape(geometry, { 2.74900007F, 0.0F, 0.0F, 2.75F, 23.8720474F, 10.25F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_16() - { - // Offset:<23.872047, 24.4125>, Rotation:-0.009138340298435101 degrees, - // Scale:<2.749, 2.75> - const auto geometry = PathGeometry_10(); - const auto result = CreateSpriteShape(geometry, { 2.74900007F, 0.0F, 0.0F, 2.75F, 23.8720474F, 24.4125004F }, _themeColor_Foreground); - return result; - } - - // - PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - // - Hamburger - 03 - PointerOverToNormal - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - // Path 1 Path 1 - CompositionSpriteShape SpriteShape_17() - { - // Offset:<23.872047, 37.75>, Rotation:-0.009138340298435101 degrees, - // Scale:<2.749, 2.75> - const auto geometry = PathGeometry_11(); - const auto result = CreateSpriteShape(geometry, { 2.74900007F, 0.0F, 0.0F, 2.75F, 23.8720474F, 37.75F }, _themeColor_Foreground); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - ContainerVisual ContainerVisual_0() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.IsVisible(false); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - result.Children().InsertAtTop(ShapeVisual_0()); - StartProgressBoundAnimation(result, L"Opacity", OpacityScalarAnimation_1_to_1_0(), _rootProgress); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_0(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - - // Hamburger - 03 - PointerOverToNormal - ContainerVisual ContainerVisual_1() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Opacity for layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - - // 02 - Hamburger - 03 - PointerOverToNormal - result.Children().InsertAtTop(ShapeVisual_1()); - StartProgressBoundAnimation(result, L"Opacity", OpacityScalarAnimation_1_to_1_1(), _rootProgress); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_1(), _rootProgress); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - const auto children = result.Children(); - // PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - children.InsertAtTop(ContainerVisual_0()); - // PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - - // Hamburger - 03 - PointerOverToNormal - children.InsertAtTop(ContainerVisual_1()); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction({ 0.850000024F, 0.0F }, { 0.75F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_2() - { - return _cubicBezierEasingFunction_2 = _c.CreateCubicBezierEasingFunction({ 0.349999994F, 0.0F }, { 0.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_3() - { - return _cubicBezierEasingFunction_3 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.0F }, { 0.0F, 1.0F }); - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - InsetClip InsetClip_0() - { - const auto result = _insetClip_0 = _c.CreateInsetClip(); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer opacity animation - ScalarKeyFrameAnimation OpacityScalarAnimation_1_to_1_0() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 1.0F, _stepThenHoldEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 1.0F, _holdThenStepEasingFunction); - // Frame 20. - result.InsertKeyFrame(0.25F, 0.0F, _holdThenStepEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.375F, 1.0F, _holdThenStepEasingFunction); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - - // Hamburger - 03 - PointerOverToNormal - // Layer opacity animation - ScalarKeyFrameAnimation OpacityScalarAnimation_1_to_1_1() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 1.0F, _holdThenStepEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 0.0F, _holdThenStepEasingFunction); - // Frame 20. - result.InsertKeyFrame(0.25F, 1.0F, _holdThenStepEasingFunction); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Scale - ScalarKeyFrameAnimation ScaleXScalarAnimation_2p749_to_2p749() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 2.74900007F, _stepThenHoldEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 2.74900007F, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, 1.43256998F, _cubicBezierEasingFunction_0); - // Frame 30. - result.InsertKeyFrame(0.375F, 2.74900007F, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, 1.43256998F, _cubicBezierEasingFunction_0); - // Frame 40. - result.InsertKeyFrame(0.5F, 1.43256998F, _holdThenStepEasingFunction); - // Frame 48. - result.InsertKeyFrame(0.600000024F, 2.88000011F, _cubicBezierEasingFunction_1); - // Frame 59. - result.InsertKeyFrame(0.737500012F, 2.74850011F, _cubicBezierEasingFunction_2); - // Frame 60. - result.InsertKeyFrame(0.75F, 1.43256998F, _holdThenStepEasingFunction); - // Frame 68. - result.InsertKeyFrame(0.850000024F, 2.88000011F, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertKeyFrame(0.987500012F, 2.74850011F, _cubicBezierEasingFunction_2); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Scale - ScalarKeyFrameAnimation ScaleYScalarAnimation_2p75_to_2p75() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 2.75F, _stepThenHoldEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, 2.75F, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, 2.75F, CubicBezierEasingFunction_3()); - // Frame 30. - result.InsertKeyFrame(0.375F, 2.75F, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, 2.75F, _cubicBezierEasingFunction_3); - // Frame 40. - result.InsertKeyFrame(0.5F, 2.75F, _holdThenStepEasingFunction); - // Frame 48. - result.InsertKeyFrame(0.600000024F, 2.73294997F, _cubicBezierEasingFunction_1); - // Frame 59. - result.InsertKeyFrame(0.737500012F, 2.75F, _cubicBezierEasingFunction_2); - // Frame 60. - result.InsertKeyFrame(0.75F, 2.75F, _holdThenStepEasingFunction); - // Frame 68. - result.InsertKeyFrame(0.850000024F, 2.73294997F, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertKeyFrame(0.987500012F, 2.75F, _cubicBezierEasingFunction_2); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer aggregator - ShapeVisual ShapeVisual_0() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - const auto shapes = result.Shapes(); - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - shapes.Append(ContainerShape_0()); - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - shapes.Append(ContainerShape_1()); - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - shapes.Append(ContainerShape_2()); - return result; - } - - // PreComp layer: Controls - 02 - Hamburger - 01 - NormalToPointerOver Controls - 02 - - // Hamburger - 03 - PointerOverToNormal - // Layer aggregator - ShapeVisual ShapeVisual_1() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - const auto shapes = result.Shapes(); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_09()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_10()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_11()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_12()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_13()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_14()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_15()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_16()); - // Layer: Right Caps 2 Right Caps 2 - shapes.Append(SpriteShape_17()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - StepEasingFunction StepThenHoldEasingFunction() - { - const auto result = _stepThenHoldEasingFunction = _c.CreateStepEasingFunction(); - result.IsInitialStepSingleFrame(true); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_0() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 37.5079994F, 29.0F }, StepThenHoldEasingFunction()); - // Frame 10. - result.InsertKeyFrame(0.125F, { 37.5079994F, 29.0F }, HoldThenStepEasingFunction()); - // Frame 19. - result.InsertKeyFrame(0.237499997F, { 27.5079994F, 29.0F }, CubicBezierEasingFunction_0()); - // Frame 30. - result.InsertKeyFrame(0.375F, { 37.5079994F, 29.0F }, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, { 27.5079994F, 29.0F }, _cubicBezierEasingFunction_0); - // Frame 40. - result.InsertKeyFrame(0.5F, { 27.5079994F, 29.0F }, _holdThenStepEasingFunction); - // Frame 48. - result.InsertKeyFrame(0.600000024F, { 38.5040016F, 29.0F }, CubicBezierEasingFunction_1()); - // Frame 59. - result.InsertKeyFrame(0.737500012F, { 37.5079994F, 29.0F }, CubicBezierEasingFunction_2()); - // Frame 60. - result.InsertKeyFrame(0.75F, { 27.5079994F, 29.0F }, _holdThenStepEasingFunction); - // Frame 68. - result.InsertKeyFrame(0.850000024F, { 38.5040016F, 29.0F }, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertKeyFrame(0.987500012F, { 37.5079994F, 29.0F }, _cubicBezierEasingFunction_2); - return result; - } - - // - - PreComp layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - - // Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // - Opacity for layer: Controls - 02 - Hamburger - 02 - NormalToPressed Controls - 02 - // - Hamburger - 04 - PointerOverToPressed Controls - 02 - Hamburger - 05 - - // PressedToNormal Controls - 02 - Hamburger - 06 - PressedToPointerOver - // Layer: Right Caps 2 Right Caps 2 Right Caps 2 Right Caps 2 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_1() - { - // Frame 0. - const auto result = CreateVector2KeyFrameAnimation(0.0F, { 10.5039997F, 29.0F }, _stepThenHoldEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.125F, { 10.5039997F, 29.0F }, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.237499997F, { 20.5079994F, 29.0F }, _cubicBezierEasingFunction_0); - // Frame 30. - result.InsertKeyFrame(0.375F, { 10.5039997F, 29.0F }, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.487500012F, { 20.5079994F, 29.0F }, _cubicBezierEasingFunction_0); - // Frame 40. - result.InsertKeyFrame(0.5F, { 20.5079994F, 29.0F }, _holdThenStepEasingFunction); - // Frame 48. - result.InsertKeyFrame(0.600000024F, { 9.50800037F, 29.0F }, _cubicBezierEasingFunction_1); - // Frame 59. - result.InsertKeyFrame(0.737500012F, { 10.5039997F, 29.0F }, _cubicBezierEasingFunction_2); - // Frame 60. - result.InsertKeyFrame(0.75F, { 20.5079994F, 29.0F }, _holdThenStepEasingFunction); - // Frame 68. - result.InsertKeyFrame(0.850000024F, { 9.50800037F, 29.0F }, _cubicBezierEasingFunction_1); - // Frame 79. - result.InsertKeyFrame(0.987500012F, { 10.5039997F, 29.0F }, _cubicBezierEasingFunction_2); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedGlobalNavigationButtonVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedGlobalNavigationButtonVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedGlobalNavigationButtonVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedGlobalNavigationButtonVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedGlobalNavigationButtonVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedGlobalNavigationButtonVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedGlobalNavigationButtonVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedGlobalNavigationButtonVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedGlobalNavigationButtonVisualSource::FrameCount() -{ - return 80.0; -} - -double AnimatedGlobalNavigationButtonVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedGlobalNavigationButtonVisualSource::Duration() -{ - return TimeSpan{ 13333333L }; -} - -double AnimatedGlobalNavigationButtonVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 80.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedGlobalNavigationButtonVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalToPointerOver_Start", 0.0 }, - { L"NormalToPointerOver_End", 0.113125 }, - { L"NormalToPressed_Start", 0.125625 }, - { L"NormalToPressed_End", 0.238125 }, - { L"PointerOverToNormal_Start", 0.250625 }, - { L"PointerOverToNormal_End", 0.363125 }, - { L"PointerOverToPressed_Start", 0.375625 }, - { L"PointerOverToPressed_End", 0.488125 }, - { L"PressedToNormal_Start", 0.500625 }, - { L"PressedToNormal_End", 0.738125 }, - { L"PressedToPointerOver_Start", 0.750625 }, - { L"PressedToPointerOver_End", 0.988125 }, - } - ).GetView(); -} - -void AnimatedGlobalNavigationButtonVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedGlobalNavigationButtonVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.h deleted file mode 100644 index 3261006299..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.h +++ /dev/null @@ -1,135 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedGlobalNavigationButtonVisualSource.json -// -// Input file: -// AnimatedGlobalNavigationButtonVisualSource.json (37639 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedGlobalNavigationButtonVisualSource.g.h" - -// Name: Controls_02_Hamburger -// Frame rate: 60 fps -// Frame count: 80 -// Duration: 1333.3 mS -// _____________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |____________________________|______________________________|_______|________|______________| -// | NormalToPointerOver_Start | M_NormalToPointerOver_Start | 0 | 0.0 | 0.0F | -// | NormalToPointerOver_End | M_NormalToPointerOver_End | 9 | 150.0 | 0.113124996F | -// | NormalToPressed_Start | M_NormalToPressed_Start | 10 | 166.7 | 0.125624999F | -// | NormalToPressed_End | M_NormalToPressed_End | 19 | 316.7 | 0.238124996F | -// | PointerOverToNormal_Start | M_PointerOverToNormal_Start | 20 | 333.3 | 0.250625014F | -// | PointerOverToNormal_End | M_PointerOverToNormal_End | 29 | 483.3 | 0.363124996F | -// | PointerOverToPressed_Start | M_PointerOverToPressed_Start | 30 | 500.0 | 0.375625014F | -// | PointerOverToPressed_End | M_PointerOverToPressed_End | 39 | 650.0 | 0.488124996F | -// | PressedToNormal_Start | M_PressedToNormal_Start | 40 | 666.7 | 0.500625014F | -// | PressedToNormal_End | M_PressedToNormal_End | 59 | 983.3 | 0.738125026F | -// | PressedToPointerOver_Start | M_PressedToPointerOver_Start | 60 | 1000.0 | 0.750625014F | -// | PressedToPointerOver_End | M_PressedToPointerOver_End | 79 | 1316.7 | 0.988125026F | -// --------------------------------------------------------------------------------------------- -// _________________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_________________| -// | Foreground | Foreground | Color | #FF000000 Black | -// --------------------------------------------------------- -class AnimatedGlobalNavigationButtonVisualSource - : public winrt::implementation::AnimatedGlobalNavigationButtonVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 1.333 seconds. - static constexpr int64_t c_durationTicks{ 13333333L }; - - // Marker: NormalToPointerOver_Start. - static constexpr float M_NormalToPointerOver_Start{ 0.0F }; - - // Marker: NormalToPointerOver_End. - static constexpr float M_NormalToPointerOver_End{ 0.113124996F }; - - // Marker: NormalToPressed_Start. - static constexpr float M_NormalToPressed_Start{ 0.125624999F }; - - // Marker: NormalToPressed_End. - static constexpr float M_NormalToPressed_End{ 0.238124996F }; - - // Marker: PointerOverToNormal_Start. - static constexpr float M_PointerOverToNormal_Start{ 0.250625014F }; - - // Marker: PointerOverToNormal_End. - static constexpr float M_PointerOverToNormal_End{ 0.363124996F }; - - // Marker: PointerOverToPressed_Start. - static constexpr float M_PointerOverToPressed_Start{ 0.375625014F }; - - // Marker: PointerOverToPressed_End. - static constexpr float M_PointerOverToPressed_End{ 0.488124996F }; - - // Marker: PressedToNormal_Start. - static constexpr float M_PressedToNormal_Start{ 0.500625014F }; - - // Marker: PressedToNormal_End. - static constexpr float M_PressedToNormal_End{ 0.738125026F }; - - // Marker: PressedToPointerOver_Start. - static constexpr float M_PressedToPointerOver_Start{ 0.750625014F }; - - // Marker: PressedToPointerOver_End. - static constexpr float M_PressedToPointerOver_End{ 0.988125026F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x00, 0x00, 0x00 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.idl deleted file mode 100644 index 2fc109428c..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedGlobalNavigationButtonVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedGlobalNavigationButtonVisualSource.json -// -// Input file: -// AnimatedGlobalNavigationButtonVisualSource.json (37639 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedGlobalNavigationButtonVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedGlobalNavigationButtonVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.cpp b/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.cpp deleted file mode 100644 index 07dca43886..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.cpp +++ /dev/null @@ -1,777 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedSettingsVisualSource.json -// -// Input file: -// AnimatedSettingsVisualSource.json (28705 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 63 | -// |--------------------------+-------| -// | Expression animators | 7 | -// | KeyFrame animators | 6 | -// | Reference parameters | 7 | -// | Expression operations | 4 | -// |--------------------------+-------| -// | Animated brushes | 1 | -// | Animated gradient stops | - | -// | ExpressionAnimations | 2 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 4 | -// | ShapeVisuals | 3 | -// |--------------------------+-------| -// | ContainerShapes | - | -// | CompositionSpriteShapes | 3 | -// |--------------------------+-------| -// | Brushes | 1 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -#include "pch.h" -#include "AnimatedVisuals\AnimatedSettingsVisualSource.h" -#include -#include -#include -#include "d2d1.h" -#include -#include -#include -#ifdef BUILD_WINDOWS -namespace ABI -{ -#include -} -#else -#include -#endif -#include - -using namespace winrt::Microsoft::UI::Xaml::Controls; -using namespace winrt::Windows::Foundation; -using namespace winrt::Windows::Foundation::Numerics; -using namespace winrt::Windows::Graphics; -using namespace winrt::Windows::UI; -using namespace winrt::Windows::UI::Composition; -using TimeSpan = winrt::Windows::Foundation::TimeSpan; - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedSettingsVisualSource) -} -#include "AnimatedVisuals\AnimatedSettingsVisualSource.g.cpp" - -class CanvasGeometry : public winrt::implements -{ - winrt::com_ptr _geometry{ nullptr }; - -public: - CanvasGeometry(winrt::com_ptr geometry) - : _geometry{ geometry } - { } - - // IGeometrySource2D. - winrt::com_ptr Geometry() { return _geometry; } - - // IGeometrySource2DInterop. - IFACEMETHODIMP GetGeometry(ID2D1Geometry** value) override - { - _geometry.copy_to(value); - return S_OK; - } - - // IGeometrySource2DInterop. - IFACEMETHODIMP TryGetGeometryUsingFactory(ID2D1Factory*, ID2D1Geometry**) override - { - return E_NOTIMPL; - } -}; -class AnimatedSettingsVisualSource_AnimatedVisual : public winrt::implements -{ - winrt::com_ptr _d2dFactory{ nullptr }; - static constexpr int64_t c_durationTicks{ 20000000L }; - Compositor const _c{ nullptr }; - ExpressionAnimation const _reusableExpressionAnimation{ nullptr }; - CompositionPropertySet const _themeProperties{ nullptr }; - CompositionColorBrush _themeColor_Foreground{ nullptr }; - CompositionPathGeometry _pathGeometry{ nullptr }; - ContainerVisual _root{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_0{ nullptr }; - CubicBezierEasingFunction _cubicBezierEasingFunction_1{ nullptr }; - ExpressionAnimation _rootProgress{ nullptr }; - InsetClip _insetClip_0{ nullptr }; - StepEasingFunction _holdThenStepEasingFunction{ nullptr }; - StepEasingFunction _stepThenHoldEasingFunction{ nullptr }; - - static void StartProgressBoundAnimation( - CompositionObject target, - winrt::hstring animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - const auto controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation(L"Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - winrt::hstring animatedPropertyName, - winrt::hstring expression, - winrt::hstring referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression(expression); - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - BooleanKeyFrameAnimation CreateBooleanKeyFrameAnimation(float initialProgress, bool initialValue) - { - const auto result = _c.CreateBooleanKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue); - return result; - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - const auto result = _c.CreateScalarKeyFrameAnimation(); - result.Duration(TimeSpan{ c_durationTicks }); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 06 - PressedToPointerOver - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_0() - { - // Frame 80. - const auto result = CreateBooleanKeyFrameAnimation(0.666666687F, true); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 05 - PressedToNormal - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_1() - { - // Frame 40. - const auto result = CreateBooleanKeyFrameAnimation(0.333333343F, true); - // Frame 80. - result.InsertKeyFrame(0.666666687F, false); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - - // Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - PointerOverToNormal - // Controls - 04 - Settings - 04 - PointerOverToPressed - BooleanKeyFrameAnimation IsVisibleBooleanAnimation_2() - { - // Frame 40. - const auto result = CreateBooleanKeyFrameAnimation(0.333333343F, false); - return result; - } - - // - Path 4+Path 3+Path 2+Path 1.PathGeometry - winrt::com_ptr Geometry_0() - { - winrt::com_ptr geometries[4] - { - Geometry_1().get()->Geometry(), - Geometry_2().get()->Geometry(), - Geometry_3().get()->Geometry(), - Geometry_4().get()->Geometry(), - }; - winrt::com_ptr group{ nullptr }; - winrt::check_hresult(_d2dFactory->CreateGeometryGroup( - D2D1_FILL_MODE_WINDING, - (ID2D1Geometry**)(&geometries), - 4, - group.put())); - auto result = winrt::make_self(group); - return result; - } - - // - - Path 4+Path 3+Path 2+Path 1.PathGeometry - winrt::com_ptr Geometry_1() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 48.8800011F, 30.9810009F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { 49.1990013F, 29.9960003F }, { 49.7229996F, 29.0919991F }, { 50.4160004F, 28.3250008F } }); - sink->AddBezier({ { 50.5330009F, 28.1949997F }, { 50.7169991F, 28.1490002F }, { 50.8810005F, 28.2080002F } }); - sink->AddLine({ 52.5359993F, 28.7989998F }); - sink->AddBezier({ { 52.9850006F, 28.9589996F }, { 53.4790001F, 28.7259998F }, { 53.6389999F, 28.2770004F } }); - sink->AddBezier({ { 53.6549988F, 28.2329998F }, { 53.6669998F, 28.1879997F }, { 53.6749992F, 28.1420002F } }); - sink->AddLine({ 53.9900017F, 26.4109993F }); - sink->AddBezier({ { 54.0209999F, 26.2390003F }, { 54.1539993F, 26.1019993F }, { 54.3250008F, 26.066F } }); - sink->AddBezier({ { 54.8260002F, 25.9589996F }, { 55.3390007F, 25.9060001F }, { 55.8590012F, 25.9060001F } }); - sink->AddBezier({ { 56.3790016F, 25.9060001F }, { 56.8919983F, 25.9599991F }, { 57.3919983F, 26.066F } }); - sink->AddBezier({ { 57.5629997F, 26.1019993F }, { 57.6949997F, 26.2390003F }, { 57.7260017F, 26.4109993F } }); - sink->AddLine({ 58.0419998F, 28.1420002F }); - sink->AddBezier({ { 58.1279984F, 28.6110001F }, { 58.5769997F, 28.9209995F }, { 59.0460014F, 28.8360004F } }); - sink->AddBezier({ { 59.0919991F, 28.8279991F }, { 59.137001F, 28.8150005F }, { 59.1809998F, 28.7989998F } }); - sink->AddLine({ 60.8359985F, 28.2080002F }); - sink->AddBezier({ { 61.0F, 28.1490002F }, { 61.1850014F, 28.1949997F }, { 61.3019981F, 28.3250008F } }); - sink->AddBezier({ { 61.9949989F, 29.0919991F }, { 62.519001F, 29.9960003F }, { 62.8380013F, 30.9810009F } }); - sink->AddBezier({ { 62.8919983F, 31.1469994F }, { 62.8390007F, 31.3299999F }, { 62.7060013F, 31.4430008F } }); - sink->AddLine({ 61.3650017F, 32.5810013F }); - sink->AddBezier({ { 61.0019989F, 32.8889999F }, { 60.9580002F, 33.4350014F }, { 61.2659988F, 33.7980003F } }); - sink->AddBezier({ { 61.2960014F, 33.8339996F }, { 61.3289986F, 33.8670006F }, { 61.3650017F, 33.8969994F } }); - sink->AddLine({ 62.7060013F, 35.0359993F }); - sink->AddBezier({ { 62.8390007F, 35.1489983F }, { 62.8919983F, 35.3310013F }, { 62.8380013F, 35.4970016F } }); - sink->AddBezier({ { 62.519001F, 36.4819984F }, { 61.9949989F, 37.387001F }, { 61.3019981F, 38.1539993F } }); - sink->AddBezier({ { 61.1850014F, 38.2840004F }, { 61.0F, 38.3300018F }, { 60.8359985F, 38.2709999F } }); - sink->AddLine({ 59.1809998F, 37.6790009F }); - sink->AddBezier({ { 58.7319984F, 37.519001F }, { 58.2389984F, 37.7519989F }, { 58.0789986F, 38.2010002F } }); - sink->AddBezier({ { 58.0629997F, 38.2449989F }, { 58.0499992F, 38.2910004F }, { 58.0419998F, 38.3370018F } }); - sink->AddLine({ 57.7260017F, 40.0680008F }); - sink->AddBezier({ { 57.6949997F, 40.2400017F }, { 57.5629997F, 40.3759995F }, { 57.3919983F, 40.4119987F } }); - sink->AddBezier({ { 56.8919983F, 40.5180016F }, { 56.3790016F, 40.5730019F }, { 55.8590012F, 40.5730019F } }); - sink->AddBezier({ { 55.3390007F, 40.5730019F }, { 54.8260002F, 40.519001F }, { 54.3250008F, 40.4119987F } }); - sink->AddBezier({ { 54.1539993F, 40.3759995F }, { 54.0209999F, 40.2389984F }, { 53.9900017F, 40.0670013F } }); - sink->AddLine({ 53.6749992F, 38.3370018F }); - sink->AddBezier({ { 53.5900002F, 37.868F }, { 53.1409988F, 37.5569992F }, { 52.6720009F, 37.6430016F } }); - sink->AddBezier({ { 52.6259995F, 37.651001F }, { 52.5800018F, 37.6629982F }, { 52.5359993F, 37.6790009F } }); - sink->AddLine({ 50.8810005F, 38.2709999F }); - sink->AddBezier({ { 50.7169991F, 38.3300018F }, { 50.5330009F, 38.2840004F }, { 50.4160004F, 38.1539993F } }); - sink->AddBezier({ { 49.7229996F, 37.387001F }, { 49.1990013F, 36.4819984F }, { 48.8800011F, 35.4970016F } }); - sink->AddBezier({ { 48.8260002F, 35.3310013F }, { 48.8779984F, 35.1489983F }, { 49.0110016F, 35.0359993F } }); - sink->AddLine({ 50.3520012F, 33.8969994F }); - sink->AddBezier({ { 50.7150002F, 33.5890007F }, { 50.7599983F, 33.0439987F }, { 50.4519997F, 32.6809998F } }); - sink->AddBezier({ { 50.4220009F, 32.6450005F }, { 50.3880005F, 32.6110001F }, { 50.3520012F, 32.5810013F } }); - sink->AddLine({ 49.0110016F, 31.4430008F }); - sink->AddBezier({ { 48.8779984F, 31.3299999F }, { 48.8260002F, 31.1469994F }, { 48.8800011F, 30.9810009F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - Path 4+Path 3+Path 2+Path 1.PathGeometry - winrt::com_ptr Geometry_2() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 49.7949982F, 30.9759998F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddLine({ 50.9109993F, 31.9239998F }); - sink->AddBezier({ { 50.9819984F, 31.9850006F }, { 51.0480003F, 32.0509987F }, { 51.1090012F, 32.1220016F } }); - sink->AddBezier({ { 51.7260017F, 32.8479996F }, { 51.637001F, 33.9370003F }, { 50.9109993F, 34.5540009F } }); - sink->AddLine({ 49.7949982F, 35.5019989F }); - sink->AddBezier({ { 50.0470009F, 36.1769981F }, { 50.4099998F, 36.8040009F }, { 50.8689995F, 37.3590012F } }); - sink->AddLine({ 52.2459984F, 36.8670006F }); - sink->AddBezier({ { 52.3339996F, 36.8349991F }, { 52.4249992F, 36.8110008F }, { 52.5169983F, 36.7939987F } }); - sink->AddBezier({ { 53.4550018F, 36.6230011F }, { 54.3530006F, 37.2439995F }, { 54.5239983F, 38.1819992F } }); - sink->AddLine({ 54.7859993F, 39.6209984F }); - sink->AddBezier({ { 55.1380005F, 39.6800003F }, { 55.4970016F, 39.7099991F }, { 55.8590012F, 39.7099991F } }); - sink->AddBezier({ { 56.2210007F, 39.7099991F }, { 56.5789986F, 39.6800003F }, { 56.9309998F, 39.6209984F } }); - sink->AddLine({ 57.1940002F, 38.1819992F }); - sink->AddBezier({ { 57.2109985F, 38.0900002F }, { 57.2340012F, 37.9990005F }, { 57.2659988F, 37.9109993F } }); - sink->AddBezier({ { 57.5870018F, 37.0139999F }, { 58.5740013F, 36.5460014F }, { 59.4720001F, 36.8670006F } }); - sink->AddLine({ 60.848999F, 37.3590012F }); - sink->AddBezier({ { 61.3069992F, 36.8040009F }, { 61.6710014F, 36.1769981F }, { 61.9230003F, 35.5019989F } }); - sink->AddLine({ 60.8069992F, 34.5540009F }); - sink->AddBezier({ { 60.7360001F, 34.493F }, { 60.6689987F, 34.4269981F }, { 60.6080017F, 34.355999F } }); - sink->AddBezier({ { 59.9910011F, 33.6300011F }, { 60.0810013F, 32.5410004F }, { 60.8069992F, 31.9239998F } }); - sink->AddLine({ 61.9230003F, 30.9759998F }); - sink->AddBezier({ { 61.6710014F, 30.3010006F }, { 61.3069992F, 29.6739998F }, { 60.848999F, 29.1189995F } }); - sink->AddLine({ 59.4720001F, 29.6119995F }); - sink->AddBezier({ { 59.3839989F, 29.6439991F }, { 59.2929993F, 29.6669998F }, { 59.2010002F, 29.684F } }); - sink->AddBezier({ { 58.2639999F, 29.8549995F }, { 57.3650017F, 29.2339993F }, { 57.1940002F, 28.2970009F } }); - sink->AddLine({ 56.9309998F, 26.8570004F }); - sink->AddBezier({ { 56.5789986F, 26.7980003F }, { 56.2210007F, 26.7679996F }, { 55.8590012F, 26.7679996F } }); - sink->AddBezier({ { 55.4970016F, 26.7679996F }, { 55.1380005F, 26.7980003F }, { 54.7859993F, 26.8570004F } }); - sink->AddLine({ 54.5239983F, 28.2959995F }); - sink->AddBezier({ { 54.507F, 28.3880005F }, { 54.4830017F, 28.4799995F }, { 54.4510002F, 28.5680008F } }); - sink->AddBezier({ { 54.1300011F, 29.4650002F }, { 53.1430016F, 29.9330006F }, { 52.2459984F, 29.6119995F } }); - sink->AddLine({ 50.8689995F, 29.1189995F }); - sink->AddBezier({ { 50.4099998F, 29.6739998F }, { 50.0470009F, 30.3010006F }, { 49.7949982F, 30.9759998F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - Path 4+Path 3+Path 2+Path 1.PathGeometry - winrt::com_ptr Geometry_3() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 53.7019997F, 33.2389984F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { 53.7019997F, 32.0480003F }, { 54.6679993F, 31.0820007F }, { 55.8590012F, 31.0820007F } }); - sink->AddBezier({ { 57.0499992F, 31.0820007F }, { 58.0159988F, 32.0480003F }, { 58.0159988F, 33.2389984F } }); - sink->AddBezier({ { 58.0159988F, 34.4300003F }, { 57.0499992F, 35.3959999F }, { 55.8590012F, 35.3959999F } }); - sink->AddBezier({ { 54.6679993F, 35.3959999F }, { 53.7019997F, 34.4300003F }, { 53.7019997F, 33.2389984F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // - - Path 4+Path 3+Path 2+Path 1.PathGeometry - winrt::com_ptr Geometry_4() - { - winrt::com_ptr path{ nullptr }; - winrt::check_hresult(_d2dFactory->CreatePathGeometry(path.put())); - winrt::com_ptr sink{ nullptr }; - winrt::check_hresult(path->Open(sink.put())); - sink->SetFillMode(D2D1_FILL_MODE_WINDING); - sink->BeginFigure({ 54.5649986F, 33.2389984F }, D2D1_FIGURE_BEGIN_FILLED); - sink->AddBezier({ { 54.5649986F, 33.9539986F }, { 55.144001F, 34.5330009F }, { 55.8590012F, 34.5330009F } }); - sink->AddBezier({ { 56.5740013F, 34.5330009F }, { 57.1529999F, 33.9539986F }, { 57.1529999F, 33.2389984F } }); - sink->AddBezier({ { 57.1529999F, 32.5239983F }, { 56.5740013F, 31.9449997F }, { 55.8590012F, 31.9449997F } }); - sink->AddBezier({ { 55.144001F, 31.9449997F }, { 54.5649986F, 32.5239983F }, { 54.5649986F, 33.2389984F } }); - sink->EndFigure(D2D1_FIGURE_END_CLOSED); - winrt::check_hresult(sink->Close()); - auto result = winrt::make_self(path); - return result; - } - - // Color bound to theme property value: Foreground - CompositionColorBrush ThemeColor_Foreground() - { - const auto result = _themeColor_Foreground = _c.CreateColorBrush(); - BindProperty(result, L"Color", L"ColorRGB(_theme.Foreground.W,_theme.Foreground.X,_theme.Foreground.Y,_theme.Foreground.Z)", L"_theme", _themeProperties); - return result; - } - - // Path 4+Path 3+Path 2+Path 1.PathGeometry - CompositionPathGeometry PathGeometry() - { - return _pathGeometry = _c.CreatePathGeometry(CompositionPath(CanvasGeometryToIGeometrySource2D(Geometry_0()))); - } - - // - PreComp layer: Controls - 04 - Settings - 06 - PressedToPointerOver - // Transforms for Controls - 04 - Settings - 06 - PressedToPointerOver Scale(1,1,0) - // Path 4+Path 3+Path 2+Path 1 - CompositionSpriteShape SpriteShape_0() - { - const auto result = _c.CreateSpriteShape(PathGeometry()); - result.CenterPoint({ 55.8590012F, 33.2389984F }); - result.Offset({ -31.8590012F, -9.23899841F }); - result.Scale({ 3.0F, 3.0F }); - result.FillBrush(ThemeColor_Foreground()); - StartProgressBoundAnimation(result, L"RotationAngleInDegrees", RotationAngleInDegreesScalarAnimation_0_to_360_0(), RootProgress()); - return result; - } - - // - PreComp layer: Controls - 04 - Settings - 05 - PressedToNormal - // Transforms for Controls - 04 - Settings - 05 - PressedToNormal Scale(1,1,0) - // Path 4+Path 3+Path 2+Path 1 - CompositionSpriteShape SpriteShape_1() - { - const auto result = _c.CreateSpriteShape(_pathGeometry); - result.CenterPoint({ 55.8590012F, 33.2389984F }); - result.Offset({ -31.8590012F, -9.23899841F }); - result.Scale({ 3.0F, 3.0F }); - result.FillBrush(_themeColor_Foreground); - StartProgressBoundAnimation(result, L"RotationAngleInDegrees", RotationAngleInDegreesScalarAnimation_0_to_360_1(), _rootProgress); - return result; - } - - // - PreComp layer: Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - // - Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - - // PointerOverToNormal Controls - 04 - Settings - 04 - PointerOverToPressed - // Transforms for Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - - // Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - PointerOverToNormal - // Controls - 04 - Settings - 04 - PointerOverToPressed Scale(1,1,0) - // Path 4 Path 4 Path 4 Path 4+Path 3 Path 3 Path 3 Path 3+Path 2 Path 2 Path 2 Path - // 2+Path 1 Path 1 Path 1 Path 1 - CompositionSpriteShape SpriteShape_2() - { - const auto result = _c.CreateSpriteShape(_pathGeometry); - result.CenterPoint({ 55.8590012F, 33.2389984F }); - result.Offset({ -31.8590012F, -9.23899841F }); - result.Scale({ 3.0F, 3.0F }); - result.FillBrush(_themeColor_Foreground); - StartProgressBoundAnimation(result, L"RotationAngleInDegrees", RotationAngleInDegreesScalarAnimation_0_to_m20(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 06 - PressedToPointerOver - ContainerVisual ContainerVisual_0() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(InsetClip_0()); - result.IsVisible(false); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Transforms for Controls - 04 - Settings - 06 - PressedToPointerOver Scale(1,1,0) - result.Children().InsertAtTop(ShapeVisual_0()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_0(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 05 - PressedToNormal - ContainerVisual ContainerVisual_1() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.IsVisible(false); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Transforms for Controls - 04 - Settings - 05 - PressedToNormal Scale(1,1,0) - result.Children().InsertAtTop(ShapeVisual_1()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_1(), _rootProgress); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - - // Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - PointerOverToNormal - // Controls - 04 - Settings - 04 - PointerOverToPressed - ContainerVisual ContainerVisual_2() - { - const auto result = _c.CreateContainerVisual(); - result.Clip(_insetClip_0); - result.Size({ 48.0F, 48.0F }); - // Scale:<1, 1> - result.TransformMatrix({ 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 0.0F, 1.0F }); - // Transforms for Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - - // Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - PointerOverToNormal - // Controls - 04 - Settings - 04 - PointerOverToPressed Scale(1,1,0) - result.Children().InsertAtTop(ShapeVisual_2()); - StartProgressBoundAnimation(result, L"IsVisible", IsVisibleBooleanAnimation_2(), _rootProgress); - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - const auto result = _root = _c.CreateContainerVisual(); - const auto propertySet = result.Properties(); - propertySet.InsertScalar(L"Progress", 0.0F); - const auto children = result.Children(); - // PreComp layer: Controls - 04 - Settings - 06 - PressedToPointerOver - children.InsertAtTop(ContainerVisual_0()); - // PreComp layer: Controls - 04 - Settings - 05 - PressedToNormal - children.InsertAtTop(ContainerVisual_1()); - // PreComp layer: Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - - // Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - PointerOverToNormal - // Controls - 04 - Settings - 04 - PointerOverToPressed - children.InsertAtTop(ContainerVisual_2()); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction({ 0.166999996F, 0.166999996F }, { 1.0F, 1.0F }); - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction({ 0.0F, 0.0F }, { 0.0F, 1.0F }); - } - - ExpressionAnimation RootProgress() - { - const auto result = _rootProgress = _c.CreateExpressionAnimation(L"_.Progress"); - result.SetReferenceParameter(L"_", _root); - return result; - } - - InsetClip InsetClip_0() - { - const auto result = _insetClip_0 = _c.CreateInsetClip(); - return result; - } - - // - - PreComp layer: Controls - 04 - Settings - 06 - PressedToPointerOver - // - Transforms for Controls - 04 - Settings - 06 - PressedToPointerOver Scale(1,1,0) - // ShapeGroup: Group 1 - // Rotation - ScalarKeyFrameAnimation RotationAngleInDegreesScalarAnimation_0_to_360_0() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, StepThenHoldEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.583333313F, 0.0F, HoldThenStepEasingFunction()); - // Frame 80. - result.InsertKeyFrame(0.666666687F, -20.0F, CubicBezierEasingFunction_0()); - // Frame 119. - result.InsertKeyFrame(0.991666675F, 360.0F, CubicBezierEasingFunction_1()); - return result; - } - - // - - PreComp layer: Controls - 04 - Settings - 05 - PressedToNormal - // - Transforms for Controls - 04 - Settings - 05 - PressedToNormal Scale(1,1,0) - // ShapeGroup: Group 1 - // Rotation - ScalarKeyFrameAnimation RotationAngleInDegreesScalarAnimation_0_to_360_1() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _stepThenHoldEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.25F, 0.0F, _holdThenStepEasingFunction); - // Frame 40. - result.InsertKeyFrame(0.333333343F, -20.0F, _cubicBezierEasingFunction_0); - // Frame 79. - result.InsertKeyFrame(0.658333361F, 360.0F, _cubicBezierEasingFunction_1); - return result; - } - - // - - PreComp layer: Controls - 04 - Settings - 01 - NormalToPointerOver Controls - - // 04 - Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - - // PointerOverToNormal Controls - 04 - Settings - 04 - PointerOverToPressed - // - Transforms for Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - // - Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - - // PointerOverToNormal Controls - 04 - Settings - 04 - PointerOverToPressed - // Scale(1,1,0) - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 - // Rotation - ScalarKeyFrameAnimation RotationAngleInDegreesScalarAnimation_0_to_m20() - { - // Frame 0. - const auto result = CreateScalarKeyFrameAnimation(0.0F, 0.0F, _holdThenStepEasingFunction); - // Frame 10. - result.InsertKeyFrame(0.0833333358F, 0.0F, _holdThenStepEasingFunction); - // Frame 19. - result.InsertKeyFrame(0.158333331F, -20.0F, _cubicBezierEasingFunction_0); - // Frame 20. - result.InsertKeyFrame(0.166666672F, 0.0F, _holdThenStepEasingFunction); - // Frame 30. - result.InsertKeyFrame(0.25F, 0.0F, _holdThenStepEasingFunction); - // Frame 39. - result.InsertKeyFrame(0.324999988F, -20.0F, _cubicBezierEasingFunction_0); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 06 - PressedToPointerOver - // Shape tree root for layer: Layer 2 - ShapeVisual ShapeVisual_0() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // ShapeGroup: Group 1 - result.Shapes().Append(SpriteShape_0()); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 05 - PressedToNormal - // Shape tree root for layer: Layer 2 - ShapeVisual ShapeVisual_1() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // ShapeGroup: Group 1 - result.Shapes().Append(SpriteShape_1()); - return result; - } - - // PreComp layer: Controls - 04 - Settings - 01 - NormalToPointerOver Controls - 04 - - // Settings - 02 - NormalToPressed Controls - 04 - Settings - 03 - PointerOverToNormal - // Controls - 04 - Settings - 04 - PointerOverToPressed - // Shape tree root for layer: Layer 2 Layer 2 Layer 2 Layer 2 - ShapeVisual ShapeVisual_2() - { - const auto result = _c.CreateShapeVisual(); - result.Size({ 48.0F, 48.0F }); - // ShapeGroup: Group 1 Group 1 Group 1 Group 1 - result.Shapes().Append(SpriteShape_2()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - const auto result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame(true); - return result; - } - - StepEasingFunction StepThenHoldEasingFunction() - { - const auto result = _stepThenHoldEasingFunction = _c.CreateStepEasingFunction(); - result.IsInitialStepSingleFrame(true); - return result; - } - - static IGeometrySource2D CanvasGeometryToIGeometrySource2D(winrt::com_ptr geo) - { - return geo.as(); - } - -public: - AnimatedSettingsVisualSource_AnimatedVisual( - Compositor compositor, - CompositionPropertySet themeProperties) - : _c{compositor} - , _themeProperties{themeProperties} - , _reusableExpressionAnimation(compositor.CreateExpressionAnimation()) - { - winrt::check_hresult(D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, _d2dFactory.put())); - const auto _ = Root(); - } - - void Close() - { - if (_root) - { - _root.Close(); - } - } - - TimeSpan Duration() const - { - return TimeSpan{ c_durationTicks }; - } - - Visual RootVisual() const - { - return _root; - } - - winrt::float2 Size() const - { - return { 48.0F, 48.0F }; - } - - static bool IsRuntimeCompatible() - { - return winrt::Windows::Foundation::Metadata::ApiInformation::IsApiContractPresent(L"Windows.Foundation.UniversalApiContract", 7); - } -}; - -winrt::float4 AnimatedSettingsVisualSource::ColorAsVector4(Color color) -{ - return { static_cast(color.R), static_cast(color.G), static_cast(color.B), static_cast(color.A) }; -} - -CompositionPropertySet AnimatedSettingsVisualSource::EnsureThemeProperties(Compositor compositor) -{ - if (_themeProperties == nullptr) - { - _themeProperties = compositor.CreatePropertySet(); - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } - - return _themeProperties; -} - -Color AnimatedSettingsVisualSource::Foreground() -{ - return _themeForeground; -} - -void AnimatedSettingsVisualSource::Foreground(Color value) -{ - _themeForeground = value; - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(L"Foreground", ColorAsVector4((Color)_themeForeground)); - } -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedSettingsVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor) -{ - IInspectable diagnostics = nullptr; - return TryCreateAnimatedVisual(compositor, diagnostics); -} - -winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual AnimatedSettingsVisualSource::TryCreateAnimatedVisual( - Compositor const& compositor, - IInspectable& diagnostics) -{ - const auto _ = EnsureThemeProperties(compositor); - diagnostics = nullptr; - - if (AnimatedSettingsVisualSource_AnimatedVisual::IsRuntimeCompatible()) - { - return winrt::make( - compositor, - _themeProperties); - } - - return nullptr; -} - -double AnimatedSettingsVisualSource::FrameCount() -{ - return 120.0; -} - -double AnimatedSettingsVisualSource::Framerate() -{ - return 60.0; -} - -TimeSpan AnimatedSettingsVisualSource::Duration() -{ - return TimeSpan{ 20000000L }; -} - -double AnimatedSettingsVisualSource::FrameToProgress(double frameNumber) -{ - return frameNumber / 120.0; -} - -winrt::Windows::Foundation::Collections::IMapView AnimatedSettingsVisualSource::Markers() -{ - return winrt::single_threaded_map( - std::map - { - { L"NormalToPointerOver_Start", 0.0 }, - { L"NormalToPointerOver_End", 0.0754166666666667 }, - { L"NormalToPressed_Start", 0.08375 }, - { L"NormalToPressed_End", 0.15875 }, - { L"PointerOverToNormal_Start", 0.167083333333333 }, - { L"PointerOverToNormal_End", 0.242083333333333 }, - { L"PointerOverToPressed_Start", 0.250416666666667 }, - { L"PointerOverToPressed_End", 0.325416666666667 }, - { L"PressedToNormal_Start", 0.33375 }, - { L"PressedToNormal_End", 0.65875 }, - { L"PressedToPointerOver_Start", 0.667083333333333 }, - { L"PressedToPointerOver_End", 0.992083333333333 }, - } - ).GetView(); -} - -void AnimatedSettingsVisualSource::SetColorProperty(hstring const& propertyName, Color value) -{ - if (propertyName == L"Foreground") - { - _themeForeground = value; - } - else - { - return; - } - - if (_themeProperties != nullptr) - { - _themeProperties.InsertVector4(propertyName, ColorAsVector4(value)); - } -} - -void AnimatedSettingsVisualSource::SetScalarProperty(hstring const&, double) -{ -} diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.h b/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.h deleted file mode 100644 index 06b610885a..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.h +++ /dev/null @@ -1,135 +0,0 @@ -#pragma once -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedSettingsVisualSource.json -// -// Input file: -// AnimatedSettingsVisualSource.json (28705 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -#include "common.h" -#include "AnimatedVisuals\AnimatedSettingsVisualSource.g.h" - -// Name: Controls_04_Settings -// Frame rate: 60 fps -// Frame count: 120 -// Duration: 2000.0 mS -// ______________________________________________________________________________________________ -// | Marker | Constant | Frame | mS | Progress | -// |____________________________|______________________________|_______|________|_______________| -// | NormalToPointerOver_Start | M_NormalToPointerOver_Start | 0 | 0.0 | 0.0F | -// | NormalToPointerOver_End | M_NormalToPointerOver_End | 9 | 150.0 | 0.0754166692F | -// | NormalToPressed_Start | M_NormalToPressed_Start | 10 | 166.7 | 0.0837500021F | -// | NormalToPressed_End | M_NormalToPressed_End | 19 | 316.7 | 0.158749998F | -// | PointerOverToNormal_Start | M_PointerOverToNormal_Start | 20 | 333.3 | 0.167083338F | -// | PointerOverToNormal_End | M_PointerOverToNormal_End | 29 | 483.3 | 0.242083326F | -// | PointerOverToPressed_Start | M_PointerOverToPressed_Start | 30 | 500.0 | 0.250416666F | -// | PointerOverToPressed_End | M_PointerOverToPressed_End | 39 | 650.0 | 0.325416654F | -// | PressedToNormal_Start | M_PressedToNormal_Start | 40 | 666.7 | 0.33375001F | -// | PressedToNormal_End | M_PressedToNormal_End | 79 | 1316.7 | 0.658749998F | -// | PressedToPointerOver_Start | M_PressedToPointerOver_Start | 80 | 1333.3 | 0.667083323F | -// | PressedToPointerOver_End | M_PressedToPointerOver_End | 119 | 1983.3 | 0.992083311F | -// ---------------------------------------------------------------------------------------------- -// _______________________________________________________ -// | Theme property | Accessor | Type | Default value | -// |________________|____________|_______|_______________| -// | Foreground | Foreground | Color | #FF131718 | -// ------------------------------------------------------- -class AnimatedSettingsVisualSource - : public winrt::implementation::AnimatedSettingsVisualSourceT -{ - winrt::Windows::UI::Composition::CompositionPropertySet _themeProperties{ nullptr }; - winrt::Windows::UI::Color _themeForeground{ 0xFF, 0x13, 0x17, 0x18 }; - winrt::Windows::UI::Composition::CompositionPropertySet EnsureThemeProperties(winrt::Windows::UI::Composition::Compositor compositor); - - static winrt::Windows::Foundation::Numerics::float4 ColorAsVector4(winrt::Windows::UI::Color color); -public: - // Animation duration: 2.000 seconds. - static constexpr int64_t c_durationTicks{ 20000000L }; - - // Marker: NormalToPointerOver_Start. - static constexpr float M_NormalToPointerOver_Start{ 0.0F }; - - // Marker: NormalToPointerOver_End. - static constexpr float M_NormalToPointerOver_End{ 0.0754166692F }; - - // Marker: NormalToPressed_Start. - static constexpr float M_NormalToPressed_Start{ 0.0837500021F }; - - // Marker: NormalToPressed_End. - static constexpr float M_NormalToPressed_End{ 0.158749998F }; - - // Marker: PointerOverToNormal_Start. - static constexpr float M_PointerOverToNormal_Start{ 0.167083338F }; - - // Marker: PointerOverToNormal_End. - static constexpr float M_PointerOverToNormal_End{ 0.242083326F }; - - // Marker: PointerOverToPressed_Start. - static constexpr float M_PointerOverToPressed_Start{ 0.250416666F }; - - // Marker: PointerOverToPressed_End. - static constexpr float M_PointerOverToPressed_End{ 0.325416654F }; - - // Marker: PressedToNormal_Start. - static constexpr float M_PressedToNormal_Start{ 0.33375001F }; - - // Marker: PressedToNormal_End. - static constexpr float M_PressedToNormal_End{ 0.658749998F }; - - // Marker: PressedToPointerOver_Start. - static constexpr float M_PressedToPointerOver_Start{ 0.667083323F }; - - // Marker: PressedToPointerOver_End. - static constexpr float M_PressedToPointerOver_End{ 0.992083311F }; - - // Theme property: Foreground. - static inline const winrt::Windows::UI::Color c_themeForeground{ 0xFF, 0x13, 0x17, 0x18 }; - - - winrt::Windows::UI::Color Foreground(); - void Foreground(winrt::Windows::UI::Color value); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor); - - winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual TryCreateAnimatedVisual( - winrt::Windows::UI::Composition::Compositor const& compositor, - winrt::Windows::Foundation::IInspectable& diagnostics); - - // Gets the number of frames in the animation. - double FrameCount(); - - // Gets the framerate of the animation. - double Framerate(); - - // Gets the duration of the animation. - winrt::Windows::Foundation::TimeSpan Duration(); - - // Converts a zero-based frame number to the corresponding progress value denoting the - // start of the frame. - double FrameToProgress(double frameNumber); - - // Returns a map from marker names to corresponding progress values. - winrt::Windows::Foundation::Collections::IMapView Markers(); - - // Sets the color property with the given name, or does nothing if no such property - // exists. - void SetColorProperty(hstring const& propertyName, winrt::Windows::UI::Color value); - - // Sets the scalar property with the given name, or does nothing if no such property - // exists. - void SetScalarProperty(hstring const& propertyName, double value); -}; diff --git a/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.idl b/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.idl deleted file mode 100644 index 9221e7ddb1..0000000000 --- a/dev/AnimatedIcon/AnimatedVisuals/AnimatedSettingsVisualSource.idl +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.1.0+ge1fa92580f -// -// Command: -// LottieGen -Language Cppwinrt -WinUIVersion 2.4 -InputFile AnimatedSettingsVisualSource.json -// -// Input file: -// AnimatedSettingsVisualSource.json (28705 bytes created 23:37-07:00 Oct 5 2021) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -namespace MU_XCAV_NAMESPACE -{ - [MUX_PUBLIC] - [webhosthidden] - runtimeclass AnimatedSettingsVisualSource - : [default] Microsoft.UI.Xaml.Controls.IAnimatedVisualSource, Microsoft.UI.Xaml.Controls.IAnimatedVisualSource2 - { - AnimatedSettingsVisualSource(); - }; -} diff --git a/dev/AnimatedIcon/Docs/AnimatedIconDevDesign.md b/dev/AnimatedIcon/Docs/AnimatedIconDevDesign.md deleted file mode 100644 index 82c38e9658..0000000000 --- a/dev/AnimatedIcon/Docs/AnimatedIconDevDesign.md +++ /dev/null @@ -1,121 +0,0 @@ -# AnimatedIcon Dev Design -This doc details the technical challenges and specifications of the animated icon control. - -## IDL Definition -``` -[WUXC_VERSION_PREVIEW] -[webhosthidden] -interface IRichAnimatedVisualSource -{ - IAnimatedVisual TryCreateAnimatedVisual(Windows.UI.Composition.Compositor compositor); - Windows.Foundation.Collections.IMapView Markers { get; }; - void SetColorProperty(String propertyName, Windows.UI.Color value); -}; - -[WUXC_VERSION_PREVIEW] -[webhosthidden] -unsealed runtimeclass AnimatedIcon : Windows.UI.Xaml.Controls.IconElement -{ - AnimatedIcon(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - IRichAnimatedVisualSource Source{ get; set; }; - - [MUX_DEFAULT_VALUE("Normal")] - [MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnAnimatedIconStatePropertyChanged")] - static Windows.UI.Xaml.DependencyProperty StateProperty{ get; }; - static void SetState(Windows.UI.Xaml.DependencyObject object, String value); - static String GetState(Windows.UI.Xaml.DependencyObject object); - - static Windows.UI.Xaml.DependencyProperty SourceProperty{ get; }; -} -``` - -#### Inherited Animated Icon API -``` -Brush Foreground {get;set;} // only accepts solidcolorbrush, no-op otherwise Inherited from IconElement. -``` - -### Details -Control templates will not (normally) have animated icons in them. Instead they generally have a content presenter or grid who's content is template bound to the controls Icon property, which is of type IconElement. For this reason, in order to set the animated icon properties via the visual states, the animated icon properties need to be attached properties. In addition to that, the template won't generally be setting the property on the animated icon itself, instead it will usually be setting it on the parent. So in the properties setter we will want to also set the property on the targets child (the animated icon) if it exists. Additionally, in animated Icon's loaded event we will want to make sure to grab the properties off the parent in case it was set before we loaded. -## Control Template Example -An icon button template which has been updated to support using an animated icon in its icon property. -```xaml - -``` - -## Requirements -#### System Xaml requirements: -- None - -#### Lotti Gen requirements: -- LottieGen adds a method for colors that take strings: `void SetColorProperty(String propertyName, Windows.UI.Color value);` -- LottieGen adds a method to convert a marker name into a progress value: `Windows.Foundation.Collections.IMapView Markers { get; };` -- LottieGen output implements IRichAnimatedVisualSource. - -#### Designer requirements: -- Provide markers using well known names to specify the start and end of the control states. -- Ideally we would publish a library of animated icons which have the appropriate state markers. - -## Conclusions -#### Benefits: -- Animation segments are contained within the animated icon, while the parent control drives the transitioning between states. -- Has easy integration with VSM. -- Is expandable beyond the common states, for usage in things like checkbox. - -Downsides: -- A little bit magic that setting a string to a known value would play an animation. -- If the creator of the lottie animation didn't provide markers then the developer would have to hand edit the Lottie JSON or lottie gen output to add the markers themselves. -- There is only one state property. What if we want to use animated icon with a control which has multiple orthogonal state groups - -Red Flags: -- Adobe After Effects does not support multiple markers being placed on the same frame. I see two options to resolve this: - - Ask Designer to add all of the state names to a single markers comment, ie: "RestToHoverStart,HoverToRestEnd". This would require additional work from lottie gen. - - Do not allow designers to have animations which share end points. diff --git a/dev/AnimatedIcon/Docs/MultiStateSegmentLookupProposal.md b/dev/AnimatedIcon/Docs/MultiStateSegmentLookupProposal.md deleted file mode 100644 index 771bc6c647..0000000000 --- a/dev/AnimatedIcon/Docs/MultiStateSegmentLookupProposal.md +++ /dev/null @@ -1,153 +0,0 @@ -Animated Icon is initially being published With a single state property, which has the benefit of being very simple for state lookups. However it is possible that there is a control that wants to use animated icon across multiple orthogonal visual state groups. This is an issue because it isn't possible to tell what state StateGroup1 is in while StateGroup2 is changing. If this ends up being required we would likely need to add a second (or even third) state property to animated icon to accommodate these state groups. This doc describes what that multi state API would look like. To make the discussion more concrete we will focus on an example using ToggleSwitch. However this is of course extensible to other controls and states. - -## ToggleSwitch Example -```xml - - - - - - - - - - - - - -``` - This example has two state groups of 4 and 3 states. This makes for ((3 * 3) * 4)+((4 * 2) * 3)=60 possible transitions: - -| StateGroup1 Changes | StateGroup2 Changes | -|---|---| -| NormalDragging -> HoverDragging | NormalDragging -> NormalOn | -| NormalDragging -> HoverDragging | NormalDragging -> NormalOff | -| NormalDragging -> HoverDragging | HoverDragging -> HoverOn | -| NormalOn -> HoverOn | HoverDragging -> HoverOff | -| NormalOn -> PressedOn | PressedDragging -> PressedOff | -| NormalOn -> DisabledOn | PressedDragging -> PressedOn | -| NormalOff -> HoverOff | DisabledDragging -> DisabledOff | -| NormalOff -> PressedOff | DisabledDragging -> DisabledOn | -| NormalOff -> DisabledOff | | -| | | -| HoverDragging -> NormalDragging | NormalOff -> NormalOn | -| HoverDragging -> PressedDragging | NormalOff -> NormalDragging | -| HoverDragging -> DisabledDragging | HoverOff -> HoverOn | -| HoverOn -> NormalOn | HoverOff -> HoverDragging | -| HoverOn -> PressedOn | PressedOff -> PressedOn | -| HoverOn -> DisabledOn | PressedOff -> PressedDragging | -| HoverOff -> NormalOff | DisabledOff -> DisabledOn | -| HoverOff -> PressedOff | DisabledOff -> DisabledDragging | -| HoverOff -> DisabledOff | | -| | | -| PressedDragging -> NormalDragging | NormalOn -> NormalDragging | -| PressedDragging -> HoverDragging | NormalOn -> NormalOff | -| PressedDragging -> DisabledDragging | HoverOn -> HoverDragging | -| PressedOn -> NormalOn | HoverOn -> HoverOff | -| PressedOn -> HoverOn | PressedOn -> PressedDragging | -| PressedOn -> DisabledOn | PressedOn -> PressedOff | -| PressedOff -> NormalOff | DisabledOn -> DisabledDragging | -| PressedOff -> HoverOff | DisabledOn -> DisabledOff | -| PressedOff -> DisabledOff | | -| | | -| DisabledDragging -> NormalDragging | | -| DisabledDragging -> HoverDragging | | -| DisabledDragging -> PressedDragging | | -| DisabledOn -> NormalOn | | -| DisabledOn -> HoverOn | | -| DisabledOn -> PressedOn | | -| DisabledOff -> NormalOff | | -| DisabledOff -> HoverOff | | -| DisabledOff -> PressedOff | | - - -In order to specify an animation for every state transitions the Lottie author will need to specify 120 markers with the following format: - -| [FromState]To[ToState]Start | [FromState]To[ToState]End | -|:---:|:---:| -| NormalDraggingToHoverDraggingStart | HoverDraggingToNormalDraggingEnd | -| NormalDraggingToNormalOnStart | NormalDraggingToNormalOnEnd | - -## Requirements - -The above example is obviously extremely verbose. The goal then is to come up with a way for AnimatedIcon to look up animation segments while conforming to these requirements: -1. Allow for the Customization of all 60 transitions, should they be needed -2. Allow the designer to not specify a transition if they don't have any behavior in mind. -3. Allow the designer to specify multiple transitions with the same marker if they have the same animation -4. Don't depend on the order the state groups are specified in. -5. If only the start of the end marker is found, we should not fail. - -##### 1) Allow for the Customization of all 60 transitions, should they be needed -This requires that our lookup algorithm check the most verbose state name (i.e. one of the 120 from the example above) before falling back to the other names. - -##### 2) Allow the designer to not specify a transition if they don't have any behavior in mind. -This requires that if at the end of the lookup algorithm we have not found a segment of the Lottie animation to play then we should not fail. I am proposing that we do not want to leave the animation in its current state, that might be the end of a pressed animation for example. Instead I propose we cut to position 0.0 of the Lottie file, which will behave as the default position. - -##### 3) Allow the designer to specify multiple transitions with the same marker if they have the same animation -There are three use cases I see here. First the designer doesn't care about one of the orthogonal state groups. In the proposed states maybe they only have animations for the ToggleSates, not the CommonStates.The designer should not have to specify NormalOn -> NormalOff, On -> Off should be sufficient. On->Off would also cover HoverOn->HoverOff PressedOn->PressedOff and DisabledOn->DisabledOff if those weren't seperately specified. - -Second, the designer wants state transitions to play in reverse to undo a transition. For example if the designer only specifies NormalOn->NormalOff then in the NormalOff->NormalOn transition we would play the NormalOn->NormalOff in reverse. - -Third, the designer wants to associate a single frame (not an animation) with a state. For example position 1.0 could be the disabled state. In this case the marker "Disabled" would specifiy that. When transitioning from Disabled specified in this manner you would either need something like DisabledToNormalStart and/or DisabledToNormalEnd OR a "Normal" marker. - -##### 4) Don't depend on the order the state groups are specified in. - When there are multiple orthoginal state groups we don't want to fail if the designer or developer applies them in the wrong order. For instance if the designer specifies OnNormalToOffNormalStart and OnNormalToOffNormalEnd but the developer expects NormalOnToNormalOffStart and NormalOnToNormalOffEnd we should still function. - -##### 5) If only the start of the end marker is found, we should not fail. -If the designer forgets (or purposefully omits) one of the start or end markers, we should do something that makes sense. I propose that we cut to the position of the marker we did find. For example if NormalOnToNormalOffStart is 0.1 and NormalOnToNormalOffEnd is undefined we would cut to 0.1 - -## Algorithm -Given the above requirements I propose the following algorithm. We will use the example of StateGroup1 being changed from Normal to Hover while StateGroup2 is set to Off to make the more concrete -### Example: -OnStateGroup1PropertyChanged -1. Check for `NormalOffToHoverOffStart` and `NormalOffToHoverOffEnd`. If either is found return1. -2. Check for `OffNormalToOffHoverStart` and `OffNormalToOffHoverEnd`. If either is found return1. -3. Check for `HoverOffToNormalOffStart` and `HoverOffToNormalOffEnd`. If *both* are found return the segment in reverse. -4. Check for `OffHoverToOffNormalStart` and `OffHoverToOffNormalEnd`. If *both* are found return the segment in reverse. -5. Check for `NormalToHoverStart` and `NormalToHoverEnd`. If either is found return1. -6. Check for `HoverToNormalStart` and `HoverToNormalEnd`. If *both* is found return the segment in reverse. -8. Check for `HoverOff`. If it is found return a hard cut to that position. -9. Check for `OffHover`. If it is found return a hard cut to that position. -10. Check for `Hover`. If it is found return a hard cut to that position. -11. Return a hard cut to position 0.0. - -### Formalized algorithm with 3 state groups: -OnStateGroup1PropertyChanged -1. Check for `[PrevStateGroup1][StateGroup2][StateGroup3]To[NewStateGroup1][StateGroup2][StateGroup3]Start` and `[PrevStateGroup1][StateGroup2][StateGroup3]To[NewStateGroup1][StateGroup2][StateGroup3]End`. If either is found return1. -2. Check for `[PrevStateGroup1][StateGroup3][StateGroup2]To[NewStateGroup1][StateGroup3][StateGroup2]Start` and `[PrevStateGroup1][StateGroup3][StateGroup2]To[NewStateGroup1][StateGroup3][StateGroup2]End`. If either is found return1. -3. Check for `[StateGroup2][PrevStateGroup1][StateGroup3]To[StateGroup2][NewStateGroup1][StateGroup3]Start` and `[StateGroup2][PrevStateGroup1][StateGroup3]To[StateGroup2][NewStateGroup1][StateGroup3]End`. If either is found return1. -4. Check for `[StateGroup2][StateGroup3][PrevStateGroup1]To[StateGroup2][StateGroup3][NewStateGroup1]Start` and `[StateGroup2][StateGroup3][PrevStateGroup1]To[StateGroup2][StateGroup3][NewStateGroup1]End`. If either is found return1. -5. Check for `[StateGroup3][PrevStateGroup1][StateGroup2]To[StateGroup3][NewStateGroup1][StateGroup2]Start` and `[StateGroup3][PrevStateGroup1][StateGroup2]To[StateGroup3][NewStateGroup1][StateGroup2]End`. If either is found return1. -6. Check for `[StateGroup3][StateGroup2][PrevStateGroup1]To[StateGroup3][StateGroup2][NewStateGroup1]Start` and `[StateGroup3][StateGroup2][PrevStateGroup1]To[StateGroup3][StateGroup2][NewStateGroup1]End`. If either is found return1. -7. Check for `[NewStateGroup1][StateGroup2][StateGroup3]To[PrevStateGroup1][StateGroup2][StateGroup3]Start` and `[NewStateGroup1][StateGroup2][StateGroup3]To[PrevStateGroup1][StateGroup2][StateGroup3]End`. If *both* are found return the segment in reverse. -8. Check for `[NewStateGroup1][StateGroup3][StateGroup2]To[PrevStateGroup1][StateGroup3][StateGroup2]Start` and `[NewStateGroup1][StateGroup3][StateGroup2]To[PrevStateGroup1][StateGroup3][StateGroup2]End`. If *both* are found return the segment in reverse. -9. Check for `[StateGroup2][NewStateGroup1][StateGroup3]To[StateGroup2][PrevStateGroup1][StateGroup3]Start` and `[StateGroup2][NewStateGroup1][StateGroup3]To[StateGroup2][PrevStateGroup1][StateGroup3]End`. If *both* are found return the segment in reverse. -10. Check for `[StateGroup2][StateGroup3][NewStateGroup1]To[StateGroup2][StateGroup3][PrevStateGroup1]Start` and `[StateGroup2][StateGroup3][NewStateGroup1]To[StateGroup2][StateGroup3][PrevStateGroup1]End`. If *both* are found return the segment in reverse. -11. Check for `[StateGroup3][NewStateGroup1][StateGroup2]To[StateGroup3][PrevStateGroup1][StateGroup2]Start` and `[StateGroup3][NewStateGroup1][StateGroup2]To[StateGroup3][PrevStateGroup1][StateGroup2]End`. If *both* are found return the segment in reverse. -12. Check for `[StateGroup3][StateGroup2][NewStateGroup1]To[StateGroup3][StateGroup2][PrevStateGroup1]Start` and `[StateGroup3][StateGroup2][NewStateGroup1]To[StateGroup3][StateGroup2][PrevStateGroup1]End`. If *both* are found return the segment in reverse. -13. Check for `[PrevStateGroup1][StateGroup2]To[NewStateGroup1][StateGroup2]Start` and `[PrevStateGroup1][StateGroup2]To[NewStateGroup1][StateGroup2]End`. If either is found return1. -14. Check for `[StateGroup2][PrevStateGroup1]To[StateGroup2][NewStateGroup1]Start` and `[StateGroup2][PrevStateGroup1]To[StateGroup2][NewStateGroup1]End`. If either is found return1. -15. Check for `[PrevStateGroup1][StateGroup3]To[NewStateGroup1][StateGroup3]Start` and `[PrevStateGroup1][StateGroup3]To[NewStateGroup1][StateGroup3]End`. If either is found return1. -16. Check for `[StateGroup3][PrevStateGroup1]To[StateGroup3][NewStateGroup1]Start` and `[StateGroup3][PrevStateGroup1]To[StateGroup3][NewStateGroup1]End`. If either is found return1. -17. Check for `[NewStateGroup1][StateGroup2]To[PrevStateGroup1][StateGroup2]Start` and `[NewStateGroup1][StateGroup2]To[PrevStateGroup1][StateGroup2]End`. If *both* are found return the segment in reverse. -18. Check for `[StateGroup2][NewStateGroup1]To[StateGroup2][PrevStateGroup1]Start` and `[StateGroup2][NewStateGroup1]To[StateGroup2][PrevStateGroup1]End`. If *both* are found return the segment in reverse. -19. Check for `[NewStateGroup1][StateGroup3]To[PrevStateGroup1][StateGroup3]Start` and `[NewStateGroup1][StateGroup3]To[PrevStateGroup1][StateGroup3]End`. If *both* are found return the segment in reverse. -20. Check for `[StateGroup3][NewStateGroup1]To[StateGroup3][PrevStateGroup1]Start` and `[StateGroup3][NewStateGroup1]To[StateGroup3][PrevStateGroup1]End`. If *both* are found return the segment in reverse. -21. Check for `[PrevStateGroup1]To[NewStateGroup1]Start` and `[PrevStateGroup1]To[NewStateGroup1]End`. If either is found return1. -22. Check for `[NewStateGroup1]To[PrevStateGroup1]Start` and `[NewStateGroup1]To[PrevStateGroup1]End`. If *both* are found return the segment in reverse. -23. Check for `[NewStateGroup1][StateGroup2][StateGroup3]`. If it is found return a hard cut to that position. -24. Check for `[NewStateGroup1][StateGroup3][StateGroup2]`. If it is found return a hard cut to that position. -25. Check for `[StateGroup2][NewStateGroup1][StateGroup3]`. If it is found return a hard cut to that position. -26. Check for `[StateGroup2][StateGroup3][NewStateGroup1]`. If it is found return a hard cut to that position. -27. Check for `[StateGroup3][NewStateGroup1][StateGroup2]`. If it is found return a hard cut to that position. -28. Check for `[StateGroup3][StateGroup2][NewStateGroup1]`. If it is found return a hard cut to that position. -29. Check for `[NewStateGroup1][StateGroup2]`. If it is found return a hard cut to that position. -30. Check for `[StateGroup2][NewStateGroup1]`. If it is found return a hard cut to that position. -31. Check for `[NewStateGroup1][StateGroup3]`. If it is found return a hard cut to that position. -32. Check for `[StateGroup3][NewStateGroup1]`. If it is found return a hard cut to that position. -33. Check for `[NewStateGroup1]`. If it is found return a hard cut to that position. -34. Return a hard cut to position 0.0. - - - -1: If only one of the paired markers is found we would return a hard cut to the position specified by the single marker. diff --git a/dev/AnimatedIcon/Docs/SingleStateSegmentLookup.md b/dev/AnimatedIcon/Docs/SingleStateSegmentLookup.md deleted file mode 100644 index b814935118..0000000000 --- a/dev/AnimatedIcon/Docs/SingleStateSegmentLookup.md +++ /dev/null @@ -1,29 +0,0 @@ -Animated Icon is being published with a single state property. While this makes the segment lookup logic simplier than multiple state properties, there is still some complexity which will be outlined here. - -## Example -First, we will examine the example of an animated icon with a state property set to "Normal" which then changes to "PointerOver". Here are the steps animated icon does to determine what segment to play. - -1. Check the provided IAnimatedVisualSource's markers for the markers "NormalToPointerOver_Start" and "NormalToPointerOver_End". If both are found play the animation from "NormalToPointerOver_Start" to "NormalToPointerOver_End". -2. If "NormalToPointerOver_Start" is not found but "NormalToPointerOver_End" is found, then we will hard cut to the "NormalToPointerOver_End" position. -3. If "NormalToPointerOver_End" is not found but "NormalToPointerOver_Start" is found, then we will hard cut to the "NormalToPointerOver_Start" position. -4. Check if the provided IAnimatedVisualSource's markers for the marker "NormalToPointerOver". If it is found, then we will hard cut to the "NormalToPointerOver" position. -5. Check if the provided IAnimatedVisualSource's markers for the marker "PointerOver". If it is found, then we will hard cut to the "PointerOver" position. -6. Check if the provided IAnimatedVisualSource's markers has any marker which ends with "ToPointerOver_End". If any marker is found which has that ending, we will hard cut to the first marker found with the appropriate ending's position. -7. Check if "PointerOver" parses to a float. If it does, animated from the current position to the parsed float. ** -8. Hard cut to position 0.0. - -## Generalization -Here is the same algorithm but with variable names [PreviousState] and [NewState]. - -1. Check the provided IAnimatedVisualSource's markers for the markers "[PreviousState]To[NewState]_Start" and "[PreviousState]To[NewState]_End". If both are found play the animation from "[PreviousState]To[NewState]_Start" to "[PreviousState]To[NewState]_End". -2. If "[PreviousState]To[NewState]_Start" is not found but "[PreviousState]To[NewState]_End" is found, then we will hard cut to the "[PreviousState]To[NewState]_End" position. -3. If "[PreviousState]To[NewState]_End" is not found but "[PreviousState]To[NewState]_Start" is found, then we will hard cut to the "[PreviousState]To[NewState]_Start" position. -4. Check if the provided IAnimatedVisualSource's markers for the marker "[PreviousState]To[NewState]". If it is found then we will hard cut to the "[PreviousState]To[NewState]" position. -5. Check if the provided IAnimatedVisualSource's markers for the marker "[NewState]". If it is found, then we will hard cut to the "[NewState]" position. -6. Check if the provided IAnimatedVisualSource's markers has any marker which ends with "To[NewState]_End". If any marker is found which has that ending, we will hard cut to the first marker found with the appropriate ending's position. -7. Check if "[NewState]" parses to a float. If it does, animated from the current position to the parsed float. ** -8. Hard cut to position 0.0. - -## Slider Scenario** -We want Animated Icon to be usable with sliders as well, where the slider's value drives the icon. I think there are two ways to do this, we can add step 7 to the segment lookup described above, which allows you to tie the sliders value to the animated Icon's state property with a binding (and converter). The other option is to tell consumers to wrap the lottie gen output in their own implementation of IAnimatedVisualSource which overrides the Marker property's Lookup() method to return a proper segment when float is asked for. We've decided to implement the former since it is much simplier for the consumer, albeit a bit magical and difficult to discover. - diff --git a/dev/AnimatedIcon/TestUI/AnimatedIconHost.cs b/dev/AnimatedIcon/TestUI/AnimatedIconHost.cs deleted file mode 100644 index 30125fc409..0000000000 --- a/dev/AnimatedIcon/TestUI/AnimatedIconHost.cs +++ /dev/null @@ -1,103 +0,0 @@ -using Microsoft.UI.Private.Controls; -using Microsoft.UI.Xaml.Controls; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.InteropServices.WindowsRuntime; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Documents; -using Windows.UI.Xaml.Input; -using Windows.UI.Xaml.Media; -using IconSource = Microsoft.UI.Xaml.Controls.IconSource; - -// The Templated Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234235 - -namespace MUXControlsTestApp -{ - public sealed class AnimatedIconHost : Button - { - Border m_iconPresenter; - TextBlock m_transitionTextBlock; - - public IconSource IconSource - { - get { return (IconSource)GetValue(IconSourceProperty); } - set { SetValue(IconSourceProperty, value); } - } - - public static readonly DependencyProperty IconSourceProperty = DependencyProperty.Register( - "IconSource", - typeof(IconSource), - typeof(AnimatedIconHost), - new PropertyMetadata(null, new PropertyChangedCallback(OnIconSourceChanged)) - ); - - private static void OnIconSourceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) - { - ((AnimatedIconHost)d).IconSourceChanged(); - } - - public String Title - { - get { return (String)GetValue(TitleProperty); } - set { SetValue(TitleProperty, value); } - } - - public static readonly DependencyProperty TitleProperty = DependencyProperty.Register( - "Title", - typeof(String), - typeof(AnimatedIconHost), - null - ); - - public String FallbackGlyph - { - get { return (String)GetValue(FallbackGlyphProperty); } - set { SetValue(FallbackGlyphProperty, value); } - } - - public static readonly DependencyProperty FallbackGlyphProperty = DependencyProperty.Register( - "FallbackGlyph", - typeof(String), - typeof(AnimatedIconHost), - null - ); - - public AnimatedIconHost() - { - this.DefaultStyleKey = typeof(AnimatedIconHost); - AnimatedIconTestHooks.LastAnimationSegmentChanged += AnimatedIconTestHooks_LastAnimationSegmentChanged; - } - - private void AnimatedIconTestHooks_LastAnimationSegmentChanged(AnimatedIcon sender, object args) - { - if(sender == GetAnimatedIcon()) - { - m_transitionTextBlock.Text = AnimatedIconTestHooks.GetLastAnimationSegment(sender); - } - } - - public AnimatedIcon GetAnimatedIcon() - { - return m_iconPresenter.Child as AnimatedIcon; - } - - override protected void OnApplyTemplate() - { - m_iconPresenter = (Border)GetTemplateChild("Icon"); - m_transitionTextBlock = (TextBlock)GetTemplateChild("TransitionTextBlock"); - - IconSourceChanged(); - } - - private void IconSourceChanged() - { - if (m_iconPresenter != null) - { - m_iconPresenter.Child = IconSource.CreateIconElement(); - } - } - } -} diff --git a/dev/AnimatedIcon/TestUI/AnimatedIconPage.xaml b/dev/AnimatedIcon/TestUI/AnimatedIconPage.xaml deleted file mode 100644 index 983796afc7..0000000000 --- a/dev/AnimatedIcon/TestUI/AnimatedIconPage.xaml +++ /dev/null @@ -1,612 +0,0 @@ - - - - - #80808080 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayerPage.xaml.cs b/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayerPage.xaml.cs deleted file mode 100644 index c4dd12d043..0000000000 --- a/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayerPage.xaml.cs +++ /dev/null @@ -1,333 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using System.Linq; -using System.Threading.Tasks; -using AnimatedVisualPlayerTests; -using Common; -using Microsoft.Graphics.Canvas; -using Windows.Graphics; -using Windows.Graphics.Capture; -using Windows.Graphics.DirectX; -using Windows.UI; -using Windows.UI.Composition; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Automation; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Hosting; -using Windows.UI.Xaml.Media; - -namespace MUXControlsTestApp -{ - public sealed class FallbackGrid : Grid - { - internal const int RectangleWidth = 100; - internal const int RectangleHeight = 100; - internal static readonly Color RectangleColor = Colors.Red; - // Gets the most recently created FallbackGrid - internal static FallbackGrid Latest; - - public FallbackGrid() - { - Latest = this; - Windows.UI.Xaml.Shapes.Rectangle rect = new Windows.UI.Xaml.Shapes.Rectangle(); - rect.MaxWidth = rect.MinWidth = RectangleWidth; - rect.MaxHeight = rect.MinHeight = RectangleHeight; - rect.Fill = new SolidColorBrush(RectangleColor); - Children.Add(rect); - } - } - - [TopLevelTestPage(Name = "AnimatedVisualPlayer", Icon = "Animations.png")] - public sealed partial class AnimatedVisualPlayerPage : TestPage - { - public AnimatedVisualPlayerPage() - { - this.InitializeComponent(); - SetAutomationPeerNames(PageGrid); - } - - // Set the AutomationPeer name to be the same as the x:Name on each FrameworkElement - // that is a child of the given panel, and continue recursively into any panel children. - // This is so we don't need to set both properties on the elements in XAML. - void SetAutomationPeerNames(Panel root) - { - foreach (var child in root.Children) - { - if (child is FrameworkElement element) - { - // Copy the x:Name into the AutomationPeer name unless it already has an AutomationPeer name. - var name = element.Name; - if (!string.IsNullOrEmpty(name) && string.IsNullOrEmpty(AutomationProperties.GetName(element))) - { - AutomationProperties.SetName(element, name); - } - - if (child is Panel panel) - { - // Recurse to get the rest of the tree. - SetAutomationPeerNames(panel); - } - } - } - } - - async void Play(double from, double to, TextBox statusTextBox) - { - IsPlayingTextBoxBeforePlaying.Text = Player.IsPlaying.ToString(); - - // Start playing and concurrently get the IsPlaying state. - Task task1 = Player.PlayAsync(from, to, false).AsTask(); - Task task2 = GetIsPlayingAsync(); - - // Wait for playing to finish. - await Task.WhenAll(task1, task2); - statusTextBox.Text = Constants.PlayingEndedText; - } - - void PlayForward(double fromProgress, double toProgress, TextBox statusTextBox) - { - Player.PlaybackRate = 1; - Play(fromProgress, toProgress, statusTextBox); - } - - // Play from 0 to 1. - void PlayButton_Click(object sender, RoutedEventArgs e) - { - IsPlayingTextBoxBeforePlaying.Text = Player.IsPlaying.ToString(); - PlayForward(0, 1, ProgressTextBox); - } - - // Play from 0 to 1. - void PlayHalfButton_Click(object sender, RoutedEventArgs e) - { - IsPlayingTextBoxBeforePlaying.Text = Player.IsPlaying.ToString(); - PlayForward(0, 0.5, ProgressTextBox); - } - - // Play forwards from 0.35 to 0. - void ToZeroKeyframeAnimationPlayButton_Click(object sender, RoutedEventArgs e) - { - PlayForward(0.35, 0, ToZeroKeyframeAnimationProgressTextBox); - } - - // Play forwards from 0.35 to 0.3. - void AroundTheEndAnimationPlayButton_Click(object sender, RoutedEventArgs e) - { - PlayForward(0.35, 0.3, AroundTheEndAnimationProgressTextBox); - } - - // Play forwards from 1 to 0.35. - void FromOneKeyframeAnimationPlayButton_Click(object sender, RoutedEventArgs e) - { - PlayForward(1, 0.35, FromOneKeyframeAnimationProgressTextBox); - } - - void SetProgressButton_Click(object sender, RoutedEventArgs e) - { - Player.SetProgress(0.4); - } - - void SwitchCacheModeButton_Click(object sender, RoutedEventArgs e) - { - if (Player.AnimationOptimization == Microsoft.UI.Xaml.Controls.PlayerAnimationOptimization.Latency) - { - Player.AnimationOptimization = Microsoft.UI.Xaml.Controls.PlayerAnimationOptimization.Resources; - SwitchCacheModeButton.Content = "Switch Optimization (Current: Resources)"; - } - else if (Player.AnimationOptimization == Microsoft.UI.Xaml.Controls.PlayerAnimationOptimization.Resources) - { - Player.AnimationOptimization = Microsoft.UI.Xaml.Controls.PlayerAnimationOptimization.Latency; - SwitchCacheModeButton.Content = "Switch Optimization (Current: Latency)"; - } - } - - void StopButton_Click(object sender, RoutedEventArgs e) - { - Player.Stop(); - } - - // Play backwards from 1 to 0.5 then forwards from 0.5 to 1. - async void ReverseNegativePlaybackRateAnimationPlayButton_Click(object sender, RoutedEventArgs e) - { - // Start playing backwards from 1 to 0. - Player.PlaybackRate = -1; - Task task1 = Player.PlayAsync(0.0, 1.0, false).AsTask(); - - // Reverse direction after half of the animation duration. - Task task2 = DelayForHalfAnimationDurationThenReverse(); - - await Task.WhenAll(task1, task2); - - SetTextBoxTextToPlayerProgress( - ReverseNegativePlaybackRateAnimationTextBox, - defaultValueForPreRs5: Constants.OneText); - } - - // Play forward from 0 to 0.5 then backward from 0.5 to 0. - async void ReversePositivePlaybackRateAnimationPlayButton_Click(object sender, RoutedEventArgs e) - { - // Start playing forward from 0 to 1. - Player.PlaybackRate = 1; - Task task1 = Player.PlayAsync(0, 1, false).AsTask(); - - // Reverse direction after half of the animation duration. - Task task2 = DelayForHalfAnimationDurationThenReverse(); - - await Task.WhenAll(task1, task2); - - SetTextBoxTextToPlayerProgress( - ReversePositivePlaybackRateAnimationTextBox, - defaultValueForPreRs5: Constants.ZeroText); - } - - void SetTextBoxTextToPlayerProgress(TextBox textBox, string defaultValueForPreRs5) - { - // The player's PlayAsync returns immediately in RS4 or lower windows build. - // For those builds set the text box with the given default value so that the tests will pass. - if (PlatformConfiguration.IsOsVersionGreaterThanOrEqual(OSVersion.Redstone5)) - { - // Read the progress value from the player. - var progressPropertySet = (CompositionPropertySet)Player.ProgressObject; - progressPropertySet.TryGetScalar("progress", out var value); - textBox.Text = value.ToString(); - } - else - { - textBox.Text = defaultValueForPreRs5; - } - } - - void Player_PointerMoved(object sender, RoutedEventArgs e) - { - HittestingTextBox.Text = Constants.PointerMovedText; - } - - async Task GetIsPlayingAsync() - { - // - // This artificial delay of 200ms is to ensure that the player's PlayAsync - // has enough time ready to set value of IsPlaying property to true. - // - await Task.Delay(200); - - // - // The player's PlayAsync returns immediately in RS4 or lower windows build. - // Thus, Constants.TrueText is set to IsPlayingTextBoxBeingPlaying's content - // in order to satisfy the interaction test that uses Accessibility. - // - if (PlatformConfiguration.IsOsVersionGreaterThanOrEqual(OSVersion.Redstone5)) - { - Player.Pause(); - IsPlayingTextBoxBeingPlaying.Text = Player.IsPlaying.ToString(); - Player.Resume(); - } - else - { - IsPlayingTextBoxBeingPlaying.Text = Constants.TrueText; - } - } - - // Delays for half of the duration of the current play then reverses direction. - async Task DelayForHalfAnimationDurationThenReverse() - { - var delayTimeSpan = TimeSpan.FromTicks((long)(0.5 * Player.Duration.Ticks)); - await Task.Delay(delayTimeSpan); - - // Pause, change direction, resume in the new direction. - Player.Pause(); - Player.PlaybackRate *= -1; - Player.Resume(); - } - - async void FallenBackButton_ClickAsync(object sender, RoutedEventArgs e) - { - // VisualCapture helper functionality is only available since RS5. Because API - // method GraphicsCaptureItem.CreateFromVisual is an RS5 feature. - if (PlatformConfiguration.IsOsVersionGreaterThanOrEqual(OSVersion.Redstone5)) - { - // nullsource is a source that always fails. We use it to trigger the fallback behavior. - Player.Source = new AnimatedVisuals.nullsource(); - - // Scrape the pixels from the Player. There should be a red rectangle where the content would go. - var playerVisual = ElementCompositionPreview.GetElementVisual(Player); - CanvasBitmap canvasBitmap = await RenderVisualToBitmapAsync(playerVisual); - - var colors = canvasBitmap.GetPixelColors(); - var redPixelCount = colors.Where(c => c == FallbackGrid.RectangleColor).Count(); - - // Check that the number of red pixels is at least half the number of pixels in the - // FallbackGrid. We require only half to allow for any scaling or borders or anything - // that is not important to determining whether or not we are showing the - // FallbackGrid. - FallenBackTextBox.Text = redPixelCount >= FallbackGrid.RectangleHeight * FallbackGrid.RectangleWidth * 0.5 - ? Constants.TrueText - : Constants.FalseText; - } - else - { - var parent = FallbackGrid.Latest?.Parent; - FallenBackTextBox.Text = parent == Player - ? Constants.TrueText - : Constants.FalseText; - } - } - - // - // Renders a the given to a . If is not - // specified, uses the size of . - // - static async Task RenderVisualToBitmapAsync(Visual visual, SizeInt32? size = null) - { - // Get an object that enables capture from a visual. - var graphicsItem = GraphicsCaptureItem.CreateFromVisual(visual); - - var canvasDevice = CanvasDevice.GetSharedDevice(); - - var tcs = new TaskCompletionSource(); - - // Create a frame pool with room for only 1 frame because we're getting a single frame, not a video. - const int numberOfBuffers = 1; - using (var framePool = Direct3D11CaptureFramePool.Create( - canvasDevice, - DirectXPixelFormat.B8G8R8A8UIntNormalized, - numberOfBuffers, - size ?? graphicsItem.Size)) - { - void OnFrameArrived(Direct3D11CaptureFramePool sender, object args) - { - using (var frame = sender.TryGetNextFrame()) - { - tcs.SetResult(frame != null - ? CanvasBitmap.CreateFromDirect3D11Surface(canvasDevice, frame.Surface) - : null); - } - } - - using (var session = framePool.CreateCaptureSession(graphicsItem)) - { - framePool.FrameArrived += OnFrameArrived; - - // Start capturing. The FrameArrived event will occur shortly. - session.StartCapture(); - - // Wait for the frame to arrive. - var result = await tcs.Task; - - // !!!!!!!! NOTE !!!!!!!! - // This thread is now running inside the OnFrameArrived callback method. - - // Unsubscribe now that we have captured the frame. - framePool.FrameArrived -= OnFrameArrived; - - // Yield to allow the OnFrameArrived callback to unwind so that it is safe to - // Dispose the session and framepool. - await Task.Yield(); - } - } - - return await tcs.Task; - } - } -} diff --git a/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayer_TestUI.projitems b/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayer_TestUI.projitems deleted file mode 100644 index 733be6775a..0000000000 --- a/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayer_TestUI.projitems +++ /dev/null @@ -1,27 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - DBEC0BE4-BA3F-41C9-A303-AF98201BE6DC - latest - - - AnimatedVisualPlayer_TestUI - - - - Designer - MSBuild:Compile - false - - - - - AnimatedVisualPlayerPage.xaml - - - - - - \ No newline at end of file diff --git a/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayer_TestUI.shproj b/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayer_TestUI.shproj deleted file mode 100644 index 04c27c3dfb..0000000000 --- a/dev/AnimatedVisualPlayer/TestUI/AnimatedVisualPlayer_TestUI.shproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - DBEC0BE4-BA3F-41C9-A303-AF98201BE6DC - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/AnimatedVisualPlayer/TestUI/LottieLogo.cs b/dev/AnimatedVisualPlayer/TestUI/LottieLogo.cs deleted file mode 100644 index 00bd35598b..0000000000 --- a/dev/AnimatedVisualPlayer/TestUI/LottieLogo.cs +++ /dev/null @@ -1,4237 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// LottieGen version: -// 7.0.5-build.140+ga0220dac35 -// -// Command: -// LottieGen -Language CSharp -Public -TargetUapVersion 11 -WinUIVersion 2.4 -InputFile LottieLogo.json -// -// Input file: -// LottieLogo.json (56651 bytes created 17:37-08:00 Jan 24 2022) -// -// LottieGen source: -// http://aka.ms/Lottie -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ -// ____________________________________ -// | Object stats | Count | -// |__________________________|_______| -// | All CompositionObjects | 848 | -// |--------------------------+-------| -// | Expression animators | 171 | -// | KeyFrame animators | 121 | -// | Reference parameters | 171 | -// | Expression operations | 0 | -// |--------------------------+-------| -// | Animated brushes | - | -// | Animated gradient stops | - | -// | ExpressionAnimations | 50 | -// | PathKeyFrameAnimations | - | -// |--------------------------+-------| -// | ContainerVisuals | 1 | -// | ShapeVisuals | 1 | -// |--------------------------+-------| -// | ContainerShapes | 23 | -// | CompositionSpriteShapes | 45 | -// |--------------------------+-------| -// | Brushes | 3 | -// | Gradient stops | - | -// | CompositionVisualSurface | - | -// ------------------------------------ -using Microsoft.Graphics.Canvas.Geometry; -using System; -using System.Collections.Generic; -using System.Numerics; -using Windows.Graphics; -using Windows.UI; -using Windows.UI.Composition; - -namespace AnimatedVisuals -{ - // Frame rate: 30 fps - // Frame count: 179 - // Duration: 5966.7 mS - public sealed class LottieLogo - : Microsoft.UI.Xaml.Controls.IAnimatedVisualSource - { - // Animation duration: 5.967 seconds. - internal const long c_durationTicks = 59666666; - - public Microsoft.UI.Xaml.Controls.IAnimatedVisual TryCreateAnimatedVisual(Compositor compositor) - { - object ignored = null; - return TryCreateAnimatedVisual(compositor, out ignored); - } - - public Microsoft.UI.Xaml.Controls.IAnimatedVisual TryCreateAnimatedVisual(Compositor compositor, out object diagnostics) - { - diagnostics = null; - - if (LottieLogo_AnimatedVisual.IsRuntimeCompatible()) - { - var res = - new LottieLogo_AnimatedVisual( - compositor - ); - res.CreateAnimations(); - return res; - } - - return null; - } - - /// - /// Gets the number of frames in the animation. - /// - public double FrameCount => 179d; - - /// - /// Gets the frame rate of the animation. - /// - public double Framerate => 30d; - - /// - /// Gets the duration of the animation. - /// - public TimeSpan Duration => TimeSpan.FromTicks(c_durationTicks); - - /// - /// Converts a zero-based frame number to the corresponding progress value denoting the - /// start of the frame. - /// - public double FrameToProgress(double frameNumber) - { - return frameNumber / 179d; - } - - /// - /// Returns a map from marker names to corresponding progress values. - /// - public IReadOnlyDictionary Markers => - new Dictionary - { - }; - - /// - /// Sets the color property with the given name, or does nothing if no such property - /// exists. - /// - public void SetColorProperty(string propertyName, Color value) - { - } - - /// - /// Sets the scalar property with the given name, or does nothing if no such property - /// exists. - /// - public void SetScalarProperty(string propertyName, double value) - { - } - - sealed class LottieLogo_AnimatedVisual : Microsoft.UI.Xaml.Controls.IAnimatedVisual2 - { - const long c_durationTicks = 59666666; - readonly Compositor _c; - readonly ExpressionAnimation _reusableExpressionAnimation; - CompositionColorBrush _colorBrush_AlmostTeal_FF007A87; - CompositionColorBrush _colorBrush_White; - CompositionContainerShape _containerShape_00; - CompositionContainerShape _containerShape_01; - CompositionContainerShape _containerShape_02; - CompositionContainerShape _containerShape_03; - CompositionContainerShape _containerShape_04; - CompositionContainerShape _containerShape_05; - CompositionContainerShape _containerShape_06; - CompositionContainerShape _containerShape_07; - CompositionContainerShape _containerShape_08; - CompositionContainerShape _containerShape_09; - CompositionContainerShape _containerShape_10; - CompositionContainerShape _containerShape_11; - CompositionContainerShape _containerShape_12; - CompositionContainerShape _containerShape_13; - CompositionContainerShape _containerShape_14; - CompositionContainerShape _containerShape_15; - CompositionContainerShape _containerShape_16; - CompositionContainerShape _containerShape_17; - CompositionContainerShape _containerShape_18; - CompositionContainerShape _containerShape_19; - CompositionContainerShape _containerShape_20; - CompositionContainerShape _containerShape_21; - CompositionContainerShape _containerShape_22; - CompositionEllipseGeometry _ellipse_0_0; - CompositionEllipseGeometry _ellipse_0_1; - CompositionEllipseGeometry _ellipse_4p7; - CompositionPath _path_0; - CompositionPath _path_1; - CompositionPath _path_2; - CompositionPath _path_3; - CompositionPath _path_4; - CompositionPath _path_5; - CompositionPath _path_6; - CompositionPath _path_7; - CompositionPath _path_8; - CompositionPathGeometry _pathGeometry_00; - CompositionPathGeometry _pathGeometry_01; - CompositionPathGeometry _pathGeometry_02; - CompositionPathGeometry _pathGeometry_03; - CompositionPathGeometry _pathGeometry_04; - CompositionPathGeometry _pathGeometry_05; - CompositionPathGeometry _pathGeometry_06; - CompositionPathGeometry _pathGeometry_07; - CompositionPathGeometry _pathGeometry_08; - CompositionPathGeometry _pathGeometry_09; - CompositionPathGeometry _pathGeometry_10; - CompositionPathGeometry _pathGeometry_11; - CompositionPathGeometry _pathGeometry_12; - CompositionPathGeometry _pathGeometry_13; - CompositionPathGeometry _pathGeometry_14; - CompositionPathGeometry _pathGeometry_15; - CompositionPathGeometry _pathGeometry_16; - CompositionPathGeometry _pathGeometry_17; - CompositionPathGeometry _pathGeometry_18; - CompositionPathGeometry _pathGeometry_19; - CompositionPathGeometry _pathGeometry_20; - CompositionPathGeometry _pathGeometry_21; - CompositionPathGeometry _pathGeometry_22; - CompositionPathGeometry _pathGeometry_23; - CompositionPathGeometry _pathGeometry_24; - CompositionPathGeometry _pathGeometry_25; - CompositionPathGeometry _pathGeometry_26; - CompositionPathGeometry _pathGeometry_27; - CompositionPathGeometry _pathGeometry_28; - CompositionPathGeometry _pathGeometry_29; - CompositionPathGeometry _pathGeometry_30; - CompositionPathGeometry _pathGeometry_31; - CompositionPathGeometry _pathGeometry_32; - CompositionPathGeometry _pathGeometry_33; - CompositionPathGeometry _pathGeometry_34; - CompositionPathGeometry _pathGeometry_35; - CompositionPathGeometry _pathGeometry_36; - CompositionPathGeometry _pathGeometry_37; - CompositionPathGeometry _pathGeometry_38; - CompositionSpriteShape _spriteShape_11; - CompositionSpriteShape _spriteShape_12; - CompositionSpriteShape _spriteShape_13; - CompositionSpriteShape _spriteShape_14; - CompositionSpriteShape _spriteShape_15; - CompositionSpriteShape _spriteShape_19; - CompositionSpriteShape _spriteShape_22; - CompositionSpriteShape _spriteShape_23; - CompositionSpriteShape _spriteShape_36; - CompositionSpriteShape _spriteShape_37; - CompositionSpriteShape _spriteShape_38; - ContainerVisual _root; - CubicBezierEasingFunction _cubicBezierEasingFunction_0; - CubicBezierEasingFunction _cubicBezierEasingFunction_1; - CubicBezierEasingFunction _cubicBezierEasingFunction_2; - CubicBezierEasingFunction _cubicBezierEasingFunction_3; - CubicBezierEasingFunction _cubicBezierEasingFunction_4; - CubicBezierEasingFunction _cubicBezierEasingFunction_5; - CubicBezierEasingFunction _cubicBezierEasingFunction_6; - CubicBezierEasingFunction _cubicBezierEasingFunction_7; - CubicBezierEasingFunction _cubicBezierEasingFunction_8; - ExpressionAnimation _rootProgress; - ScalarKeyFrameAnimation _tEndScalarAnimation_1_to_0_02; - ScalarKeyFrameAnimation _tEndScalarAnimation_1_to_0_03; - ScalarKeyFrameAnimation _tEndScalarAnimation_1_to_0_06; - ScalarKeyFrameAnimation _tEndScalarAnimation_1_to_0_11; - ScalarKeyFrameAnimation _tEndScalarAnimation_1_to_0_13; - ScalarKeyFrameAnimation _tStartScalarAnimation_0_to_0p249; - ScalarKeyFrameAnimation _tStartScalarAnimation_0p87_to_0_02; - StepEasingFunction _holdThenStepEasingFunction; - StepEasingFunction _stepThenHoldEasingFunction; - Vector2KeyFrameAnimation _offsetVector2Animation_02; - Vector2KeyFrameAnimation _offsetVector2Animation_03; - Vector2KeyFrameAnimation _offsetVector2Animation_04; - Vector2KeyFrameAnimation _offsetVector2Animation_05; - Vector2KeyFrameAnimation _offsetVector2Animation_06; - Vector2KeyFrameAnimation _radiusVector2Animation; - Vector2KeyFrameAnimation _shapeVisibilityAnimation_04; - - public void CreateAnimations() - { - StartProgressBoundAnimation(_containerShape_00, "Offset", OffsetVector2Animation_01(), RootProgress()); - StartProgressBoundAnimation(_containerShape_00, "Scale", ShapeVisibilityAnimation_00(), RootProgress()); - StartProgressBoundAnimation(_containerShape_01, "Offset", OffsetVector2Animation_00(), RootProgress()); - StartProgressBoundAnimation(_containerShape_02, "Offset", OffsetVector2Animation_02(), RootProgress()); - StartProgressBoundAnimation(_containerShape_02, "Scale", ShapeVisibilityAnimation_01(), RootProgress()); - StartProgressBoundAnimation(_containerShape_03, "Offset", OffsetVector2Animation_02(), RootProgress()); - StartProgressBoundAnimation(_containerShape_03, "Scale", ShapeVisibilityAnimation_02(), RootProgress()); - StartProgressBoundAnimation(_containerShape_04, "Offset", OffsetVector2Animation_03(), RootProgress()); - StartProgressBoundAnimation(_containerShape_04, "Scale", ShapeVisibilityAnimation_03(), RootProgress()); - StartProgressBoundAnimation(_containerShape_05, "Offset", OffsetVector2Animation_03(), RootProgress()); - StartProgressBoundAnimation(_containerShape_05, "Scale", ShapeVisibilityAnimation_04(), RootProgress()); - StartProgressBoundAnimation(_containerShape_06, "Offset", OffsetVector2Animation_04(), RootProgress()); - StartProgressBoundAnimation(_containerShape_06, "Scale", ShapeVisibilityAnimation_05(), RootProgress()); - StartProgressBoundAnimation(_containerShape_07, "Offset", OffsetVector2Animation_04(), RootProgress()); - StartProgressBoundAnimation(_containerShape_07, "Scale", ShapeVisibilityAnimation_06(), RootProgress()); - StartProgressBoundAnimation(_containerShape_08, "Offset", OffsetVector2Animation_05(), RootProgress()); - StartProgressBoundAnimation(_containerShape_08, "Scale", ShapeVisibilityAnimation_07(), RootProgress()); - StartProgressBoundAnimation(_containerShape_09, "Offset", OffsetVector2Animation_05(), RootProgress()); - StartProgressBoundAnimation(_containerShape_09, "Scale", ShapeVisibilityAnimation_08(), RootProgress()); - StartProgressBoundAnimation(_containerShape_10, "Offset", OffsetVector2Animation_06(), RootProgress()); - StartProgressBoundAnimation(_containerShape_10, "Scale", ShapeVisibilityAnimation_09(), RootProgress()); - StartProgressBoundAnimation(_containerShape_11, "Offset", OffsetVector2Animation_07(), RootProgress()); - StartProgressBoundAnimation(_containerShape_11, "Scale", ShapeVisibilityAnimation_14(), RootProgress()); - StartProgressBoundAnimation(_containerShape_12, "Offset", OffsetVector2Animation_06(), RootProgress()); - StartProgressBoundAnimation(_containerShape_12, "Scale", ShapeVisibilityAnimation_15(), RootProgress()); - StartProgressBoundAnimation(_containerShape_13, "Offset", OffsetVector2Animation_06(), RootProgress()); - StartProgressBoundAnimation(_containerShape_13, "Scale", ShapeVisibilityAnimation_17(), RootProgress()); - StartProgressBoundAnimation(_containerShape_14, "Offset", OffsetVector2Animation_09(), RootProgress()); - StartProgressBoundAnimation(_containerShape_14, "Scale", ShapeVisibilityAnimation_18(), RootProgress()); - StartProgressBoundAnimation(_containerShape_15, "Offset", OffsetVector2Animation_08(), RootProgress()); - _containerShape_16.StartAnimation("Offset", OffsetVector2Animation_10()); - var controller = _containerShape_16.TryGetAnimationController("Offset"); - controller.Pause(); - BindProperty(controller, "Progress", "_.Progress*0.9835165+0.01648352", "_", _root); - StartProgressBoundAnimation(_containerShape_16, "Scale", ShapeVisibilityAnimation_21(), RootProgress()); - StartProgressBoundAnimation(_containerShape_17, "Scale", ShapeVisibilityAnimation_22(), RootProgress()); - StartProgressBoundAnimation(_containerShape_18, "Scale", ShapeVisibilityAnimation_23(), RootProgress()); - StartProgressBoundAnimation(_containerShape_19, "Scale", ShapeVisibilityAnimation_24(), RootProgress()); - StartProgressBoundAnimation(_containerShape_20, "Scale", ShapeVisibilityAnimation_25(), RootProgress()); - StartProgressBoundAnimation(_containerShape_21, "Scale", ShapeVisibilityAnimation_29(), RootProgress()); - StartProgressBoundAnimation(_containerShape_22, "Scale", ShapeVisibilityAnimation_30(), RootProgress()); - StartProgressBoundAnimation(_ellipse_0_0, "Radius", RadiusVector2Animation(), RootProgress()); - StartProgressBoundAnimation(_ellipse_0_1, "Radius", RadiusVector2Animation(), RootProgress()); - StartProgressBoundAnimation(_ellipse_0_1, "TrimStart", TrimStartScalarAnimation_0_to_0p399(), RootProgress()); - StartProgressBoundAnimation(_ellipse_0_1, "TrimEnd", TrimEndScalarAnimation_1_to_0p88(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_00, "TrimEnd", TrimEndScalarAnimation_0_to_0p316_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_01, "TrimEnd", TrimEndScalarAnimation_0_to_0p316_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_02, "TrimEnd", TrimEndScalarAnimation_0_to_0p457_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_03, "TrimEnd", TrimEndScalarAnimation_0_to_0p457_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_04, "TrimEnd", TrimEndScalarAnimation_0_to_0p43_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_05, "TrimEnd", TrimEndScalarAnimation_0_to_0p43_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_06, "TrimEnd", TrimEndScalarAnimation_0_to_0p375_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_07, "TrimEnd", TrimEndScalarAnimation_0_to_0p375_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_08, "TStart", TStartScalarAnimation_0_to_0p249(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_08, "TEnd", TEndScalarAnimation_0_to_1_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_09, "TrimStart", TrimStartScalarAnimation_0p29_to_0_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_09, "TrimEnd", TrimEndScalarAnimation_0p411_to_0p665_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_10, "TrimStart", TrimStartScalarAnimation_0p5_to_0_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_10, "TrimEnd", TrimEndScalarAnimation_0p5_to_1_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_11, "TrimStart", TrimStartScalarAnimation_0p29_to_0_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_11, "TrimEnd", TrimEndScalarAnimation_0p411_to_0p665_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_12, "TrimEnd", TrimEndScalarAnimation_0p117_to_1_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_13, "TrimEnd", TrimEndScalarAnimation_0p117_to_1_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_14, "TStart", TStartScalarAnimation_0_to_0p249(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_14, "TEnd", TEndScalarAnimation_0_to_1_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_15, "TrimStart", TrimStartScalarAnimation_0p5_to_0_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_15, "TrimEnd", TrimEndScalarAnimation_0p5_to_1_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_16, "TrimEnd", TrimEndScalarAnimation_0p249_to_0p891(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_17, "TStart", TStartScalarAnimation_0p8_to_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_17, "TEnd", TEndScalarAnimation_0p81_to_0p734_0(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_18, "TStart", TStartScalarAnimation_0p8_to_0p3(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_18, "TEnd", TEndScalarAnimation_0p81_to_0p734_1(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_19, "TStart", TStartScalarAnimation_0p87_to_0_00(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_19, "TEnd", TEndScalarAnimation_1_to_0_00(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_20, "TStart", TStartScalarAnimation_0p87_to_0_01(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_20, "TEnd", TEndScalarAnimation_1_to_0_01(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_21, "TStart", TStartScalarAnimation_0p87_to_0_02(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_21, "TEnd", TEndScalarAnimation_1_to_0_02(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_22, "TStart", TStartScalarAnimation_0p87_to_0_02(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_22, "TEnd", TEndScalarAnimation_1_to_0_02(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_23, "TStart", TStartScalarAnimation_0p87_to_0_03(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_23, "TEnd", TEndScalarAnimation_1_to_0_03(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_24, "TStart", TStartScalarAnimation_0p87_to_0_04(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_24, "TEnd", TEndScalarAnimation_1_to_0_03(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_25, "TStart", TStartScalarAnimation_0p87_to_0_05(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_25, "TEnd", TEndScalarAnimation_1_to_0_04(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_26, "TStart", TStartScalarAnimation_0p87_to_0_06(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_26, "TEnd", TEndScalarAnimation_1_to_0_05(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_27, "TStart", TStartScalarAnimation_0p87_to_0_07(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_27, "TEnd", TEndScalarAnimation_1_to_0_06(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_28, "TStart", TStartScalarAnimation_0p87_to_0_08(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_28, "TEnd", TEndScalarAnimation_1_to_0_06(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_29, "TStart", TStartScalarAnimation_0p87_to_0_09(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_29, "TEnd", TEndScalarAnimation_1_to_0_07(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_30, "TStart", TStartScalarAnimation_0p87_to_0_10(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_30, "TEnd", TEndScalarAnimation_1_to_0_08(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_31, "TStart", TStartScalarAnimation_0p87_to_0_11(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_31, "TEnd", TEndScalarAnimation_1_to_0_09(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_32, "TStart", TStartScalarAnimation_0p87_to_0_12(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_32, "TEnd", TEndScalarAnimation_1_to_0_10(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_33, "TStart", TStartScalarAnimation_0p87_to_0_13(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_33, "TEnd", TEndScalarAnimation_1_to_0_11(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_34, "TStart", TStartScalarAnimation_0p87_to_0_14(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_34, "TEnd", TEndScalarAnimation_1_to_0_11(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_35, "TStart", TStartScalarAnimation_0p87_to_0_15(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_35, "TEnd", TEndScalarAnimation_1_to_0_12(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_36, "TStart", TStartScalarAnimation_0p87_to_0_16(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_36, "TEnd", TEndScalarAnimation_1_to_0_13(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_37, "TStart", TStartScalarAnimation_0p87_to_0_17(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_37, "TEnd", TEndScalarAnimation_1_to_0_13(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_38, "TStart", TStartScalarAnimation_0p87_to_0_18(), RootProgress()); - StartProgressBoundAnimation(_pathGeometry_38, "TEnd", TEndScalarAnimation_1_to_0_14(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_11, "Scale", ShapeVisibilityAnimation_10(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_12, "Scale", ShapeVisibilityAnimation_11(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_13, "Scale", ShapeVisibilityAnimation_12(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_14, "Scale", ShapeVisibilityAnimation_13(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_15, "Scale", ShapeVisibilityAnimation_04(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_19, "Scale", ShapeVisibilityAnimation_16(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_22, "Scale", ShapeVisibilityAnimation_19(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_23, "Scale", ShapeVisibilityAnimation_20(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_36, "Scale", ShapeVisibilityAnimation_26(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_37, "Scale", ShapeVisibilityAnimation_27(), RootProgress()); - StartProgressBoundAnimation(_spriteShape_38, "Scale", ShapeVisibilityAnimation_28(), RootProgress()); - StartProgressBoundAnimation(_root.Properties, "t0", t0ScalarAnimation_0_to_1(), RootProgress()); - } - public void DestroyAnimations() - { - _containerShape_00.StopAnimation("Offset"); - _containerShape_00.StopAnimation("Scale"); - _containerShape_01.StopAnimation("Offset"); - _containerShape_02.StopAnimation("Offset"); - _containerShape_02.StopAnimation("Scale"); - _containerShape_03.StopAnimation("Offset"); - _containerShape_03.StopAnimation("Scale"); - _containerShape_04.StopAnimation("Offset"); - _containerShape_04.StopAnimation("Scale"); - _containerShape_05.StopAnimation("Offset"); - _containerShape_05.StopAnimation("Scale"); - _containerShape_06.StopAnimation("Offset"); - _containerShape_06.StopAnimation("Scale"); - _containerShape_07.StopAnimation("Offset"); - _containerShape_07.StopAnimation("Scale"); - _containerShape_08.StopAnimation("Offset"); - _containerShape_08.StopAnimation("Scale"); - _containerShape_09.StopAnimation("Offset"); - _containerShape_09.StopAnimation("Scale"); - _containerShape_10.StopAnimation("Offset"); - _containerShape_10.StopAnimation("Scale"); - _containerShape_11.StopAnimation("Offset"); - _containerShape_11.StopAnimation("Scale"); - _containerShape_12.StopAnimation("Offset"); - _containerShape_12.StopAnimation("Scale"); - _containerShape_13.StopAnimation("Offset"); - _containerShape_13.StopAnimation("Scale"); - _containerShape_14.StopAnimation("Offset"); - _containerShape_14.StopAnimation("Scale"); - _containerShape_15.StopAnimation("Offset"); - _containerShape_16.StopAnimation("Offset"); - _containerShape_16.StopAnimation("Scale"); - _containerShape_17.StopAnimation("Scale"); - _containerShape_18.StopAnimation("Scale"); - _containerShape_19.StopAnimation("Scale"); - _containerShape_20.StopAnimation("Scale"); - _containerShape_21.StopAnimation("Scale"); - _containerShape_22.StopAnimation("Scale"); - _ellipse_0_0.StopAnimation("Radius"); - _ellipse_0_1.StopAnimation("Radius"); - _ellipse_0_1.StopAnimation("TrimStart"); - _ellipse_0_1.StopAnimation("TrimEnd"); - _pathGeometry_00.StopAnimation("TrimEnd"); - _pathGeometry_01.StopAnimation("TrimEnd"); - _pathGeometry_02.StopAnimation("TrimEnd"); - _pathGeometry_03.StopAnimation("TrimEnd"); - _pathGeometry_04.StopAnimation("TrimEnd"); - _pathGeometry_05.StopAnimation("TrimEnd"); - _pathGeometry_06.StopAnimation("TrimEnd"); - _pathGeometry_07.StopAnimation("TrimEnd"); - _pathGeometry_08.StopAnimation("TStart"); - _pathGeometry_08.StopAnimation("TEnd"); - _pathGeometry_09.StopAnimation("TrimStart"); - _pathGeometry_09.StopAnimation("TrimEnd"); - _pathGeometry_10.StopAnimation("TrimStart"); - _pathGeometry_10.StopAnimation("TrimEnd"); - _pathGeometry_11.StopAnimation("TrimStart"); - _pathGeometry_11.StopAnimation("TrimEnd"); - _pathGeometry_12.StopAnimation("TrimEnd"); - _pathGeometry_13.StopAnimation("TrimEnd"); - _pathGeometry_14.StopAnimation("TStart"); - _pathGeometry_14.StopAnimation("TEnd"); - _pathGeometry_15.StopAnimation("TrimStart"); - _pathGeometry_15.StopAnimation("TrimEnd"); - _pathGeometry_16.StopAnimation("TrimEnd"); - _pathGeometry_17.StopAnimation("TStart"); - _pathGeometry_17.StopAnimation("TEnd"); - _pathGeometry_18.StopAnimation("TStart"); - _pathGeometry_18.StopAnimation("TEnd"); - _pathGeometry_19.StopAnimation("TStart"); - _pathGeometry_19.StopAnimation("TEnd"); - _pathGeometry_20.StopAnimation("TStart"); - _pathGeometry_20.StopAnimation("TEnd"); - _pathGeometry_21.StopAnimation("TStart"); - _pathGeometry_21.StopAnimation("TEnd"); - _pathGeometry_22.StopAnimation("TStart"); - _pathGeometry_22.StopAnimation("TEnd"); - _pathGeometry_23.StopAnimation("TStart"); - _pathGeometry_23.StopAnimation("TEnd"); - _pathGeometry_24.StopAnimation("TStart"); - _pathGeometry_24.StopAnimation("TEnd"); - _pathGeometry_25.StopAnimation("TStart"); - _pathGeometry_25.StopAnimation("TEnd"); - _pathGeometry_26.StopAnimation("TStart"); - _pathGeometry_26.StopAnimation("TEnd"); - _pathGeometry_27.StopAnimation("TStart"); - _pathGeometry_27.StopAnimation("TEnd"); - _pathGeometry_28.StopAnimation("TStart"); - _pathGeometry_28.StopAnimation("TEnd"); - _pathGeometry_29.StopAnimation("TStart"); - _pathGeometry_29.StopAnimation("TEnd"); - _pathGeometry_30.StopAnimation("TStart"); - _pathGeometry_30.StopAnimation("TEnd"); - _pathGeometry_31.StopAnimation("TStart"); - _pathGeometry_31.StopAnimation("TEnd"); - _pathGeometry_32.StopAnimation("TStart"); - _pathGeometry_32.StopAnimation("TEnd"); - _pathGeometry_33.StopAnimation("TStart"); - _pathGeometry_33.StopAnimation("TEnd"); - _pathGeometry_34.StopAnimation("TStart"); - _pathGeometry_34.StopAnimation("TEnd"); - _pathGeometry_35.StopAnimation("TStart"); - _pathGeometry_35.StopAnimation("TEnd"); - _pathGeometry_36.StopAnimation("TStart"); - _pathGeometry_36.StopAnimation("TEnd"); - _pathGeometry_37.StopAnimation("TStart"); - _pathGeometry_37.StopAnimation("TEnd"); - _pathGeometry_38.StopAnimation("TStart"); - _pathGeometry_38.StopAnimation("TEnd"); - _spriteShape_11.StopAnimation("Scale"); - _spriteShape_12.StopAnimation("Scale"); - _spriteShape_13.StopAnimation("Scale"); - _spriteShape_14.StopAnimation("Scale"); - _spriteShape_15.StopAnimation("Scale"); - _spriteShape_19.StopAnimation("Scale"); - _spriteShape_22.StopAnimation("Scale"); - _spriteShape_23.StopAnimation("Scale"); - _spriteShape_36.StopAnimation("Scale"); - _spriteShape_37.StopAnimation("Scale"); - _spriteShape_38.StopAnimation("Scale"); - _root.Properties.StopAnimation("t0"); - } - static void StartProgressBoundAnimation( - CompositionObject target, - string animatedPropertyName, - CompositionAnimation animation, - ExpressionAnimation controllerProgressExpression) - { - target.StartAnimation(animatedPropertyName, animation); - var controller = target.TryGetAnimationController(animatedPropertyName); - controller.Pause(); - controller.StartAnimation("Progress", controllerProgressExpression); - } - - void BindProperty( - CompositionObject target, - string animatedPropertyName, - string expression, - string referenceParameterName, - CompositionObject referencedObject) - { - _reusableExpressionAnimation.ClearAllParameters(); - _reusableExpressionAnimation.Expression = expression; - _reusableExpressionAnimation.SetReferenceParameter(referenceParameterName, referencedObject); - target.StartAnimation(animatedPropertyName, _reusableExpressionAnimation); - } - - ScalarKeyFrameAnimation CreateScalarKeyFrameAnimation(float initialProgress, float initialValue, CompositionEasingFunction initialEasingFunction) - { - var result = _c.CreateScalarKeyFrameAnimation(); - result.Duration = TimeSpan.FromTicks(c_durationTicks); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - Vector2KeyFrameAnimation CreateVector2KeyFrameAnimation(float initialProgress, Vector2 initialValue, CompositionEasingFunction initialEasingFunction) - { - var result = _c.CreateVector2KeyFrameAnimation(); - result.Duration = TimeSpan.FromTicks(c_durationTicks); - result.InsertKeyFrame(initialProgress, initialValue, initialEasingFunction); - return result; - } - - CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry, Matrix3x2 transformMatrix) - { - var result = _c.CreateSpriteShape(geometry); - result.TransformMatrix = transformMatrix; - return result; - } - - CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry, Matrix3x2 transformMatrix, CompositionBrush fillBrush) - { - var result = _c.CreateSpriteShape(geometry); - result.TransformMatrix = transformMatrix; - result.FillBrush = fillBrush; - return result; - } - - CanvasGeometry Geometry_00() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-13.6639996F, -0.144999996F)); - builder.AddLine(new Vector2(75.663002F, 0.289999992F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_01() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(0.859000027F, -21.1429996F)); - builder.AddLine(new Vector2(-4.35900021F, 70.3919983F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_02() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-26.6700001F, -0.282999992F)); - builder.AddLine(new Vector2(99.1709976F, 0.0659999996F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_03() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-13.6639996F, -0.144999996F)); - builder.AddLine(new Vector2(62.1629982F, 0.289999992F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_04() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-30.7199993F, 63.7610016F)); - builder.AddCubicBezier(new Vector2(-30.6889992F, 63.1669998F), new Vector2(-30.7889996F, 50.8470001F), new Vector2(-30.7409992F, 45.1920013F)); - builder.AddCubicBezier(new Vector2(-30.6650009F, 36.2140007F), new Vector2(-37.3429985F, 27.0739994F), new Vector2(-37.3969994F, 27.0139999F)); - builder.AddCubicBezier(new Vector2(-38.5579987F, 25.7140007F), new Vector2(-39.7519989F, 24.1469994F), new Vector2(-40.6980019F, 22.6609993F)); - builder.AddCubicBezier(new Vector2(-46.637001F, 13.3339996F), new Vector2(-47.8400002F, 0.933000028F), new Vector2(-37.8730011F, -7.1170001F)); - builder.AddCubicBezier(new Vector2(-13.1960001F, -27.0459995F), new Vector2(8.96000004F, 11.559F), new Vector2(49.5060005F, 11.559F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_05() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(246.649994F, 213.813995F)); - builder.AddLine(new Vector2(340.955994F, 213.628006F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_06() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(1.68099999F, -29.9920006F)); - builder.AddLine(new Vector2(-1.68099999F, 29.9920006F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_07() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(1.76800001F, -25.9659996F)); - builder.AddLine(new Vector2(-1.76800001F, 25.9659996F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_08() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-8.83699989F, -58.2290001F)); - builder.AddCubicBezier(new Vector2(-8.83699989F, -58.2290001F), new Vector2(-10.1630001F, 29.4950008F), new Vector2(-35.8339996F, 33.6619987F)); - builder.AddCubicBezier(new Vector2(-44.0579987F, 34.9970016F), new Vector2(-50.2319984F, 30.0499992F), new Vector2(-51.6879997F, 23.1480007F)); - builder.AddCubicBezier(new Vector2(-53.144001F, 16.2450008F), new Vector2(-49.6549988F, 9.15600014F), new Vector2(-41.1739998F, 7.29300022F)); - builder.AddCubicBezier(new Vector2(-17.3570004F, 2.05999994F), new Vector2(4.23500013F, 57.1879997F), new Vector2(51.7970009F, 44.1780014F)); - builder.AddCubicBezier(new Vector2(51.9570007F, 44.1339989F), new Vector2(52.6870003F, 43.8740005F), new Vector2(53.1879997F, 43.7410011F)); - builder.AddCubicBezier(new Vector2(53.6889992F, 43.6080017F), new Vector2(68.9710007F, 41.3569984F), new Vector2(140.393997F, 43.6720009F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_09() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-67.125F, -112F)); - builder.AddCubicBezier(new Vector2(-67.125F, -112F), new Vector2(-73.5579987F, -100.719002F), new Vector2(-75.4580002F, -89.9509964F)); - builder.AddCubicBezier(new Vector2(-78.625F, -72F), new Vector2(-79.375F, -58.25F), new Vector2(-80.375F, -39.25F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_10() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-67.25F, -105.5F)); - builder.AddCubicBezier(new Vector2(-67.25F, -105.5F), new Vector2(-70.4329987F, -94.9690018F), new Vector2(-72.3330002F, -84.2009964F)); - builder.AddCubicBezier(new Vector2(-75.5F, -66.25F), new Vector2(-75.5F, -56.75F), new Vector2(-76.5F, -37.75F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_11() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(34.5F, -13.0500002F)); - builder.AddCubicBezier(new Vector2(7.5F, -14.5F), new Vector2(-4F, -37F), new Vector2(-35.0460014F, -35.5789986F)); - builder.AddCubicBezier(new Vector2(-61.4720001F, -34.3689995F), new Vector2(-62.25F, -5.75F), new Vector2(-62.25F, -5.75F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_12() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-3F, 35.9500008F)); - builder.AddCubicBezier(new Vector2(-3F, 35.9500008F), new Vector2(-1.5F, 7.5F), new Vector2(-1.352F, -6.75600004F)); - builder.AddCubicBezier(new Vector2(-9.90299988F, -15.0190001F), new Vector2(-21.5699997F, -20.5790005F), new Vector2(-32.0460014F, -20.5790005F)); - builder.AddCubicBezier(new Vector2(-53.5F, -20.5790005F), new Vector2(-42.25F, 4.25F), new Vector2(-42.25F, 4.25F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_13() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(16.2310009F, 39.0730019F)); - builder.AddLine(new Vector2(-32.769001F, 57.3650017F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_14() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(7.44999981F, 21.9500008F)); - builder.AddLine(new Vector2(-32.75F, 55.75F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_15() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-94.5F, 37.0730019F)); - builder.AddLine(new Vector2(-48.769001F, 55.3650017F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_16() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(-87.5F, 20.9500008F)); - builder.AddLine(new Vector2(-48.75F, 54.75F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_17() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(166.731003F, -7.92700005F)); - builder.AddLine(new Vector2(136.731003F, 7.11499977F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_18() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(156.449997F, -23.0499992F)); - builder.AddLine(new Vector2(132F, 2.75F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_19() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(169.5F, 18.073F)); - builder.AddLine(new Vector2(137.481003F, 11.3649998F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_20() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(119.5F, -45.0499992F)); - builder.AddLine(new Vector2(82.75F, -44.75F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_21() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(119.25F, -20.0499992F)); - builder.AddLine(new Vector2(63.5F, -20.5F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_22() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(128F, 3.6500001F)); - builder.AddLine(new Vector2(78.25F, 3.5F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_23() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(149.623993F, 8.24400043F)); - builder.AddLine(new Vector2(136.647995F, 10.1560001F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_24() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(144.429001F, -5.39699984F)); - builder.AddLine(new Vector2(132.274994F, 4.73099995F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_25() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(145.677002F, 22.2199993F)); - builder.AddLine(new Vector2(134.921997F, 14.7489996F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_26() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(147.699005F, 13.0249996F)); - builder.AddLine(new Vector2(133.195007F, 13.21F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_27() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(142.182999F, -5.11199999F)); - builder.AddLine(new Vector2(130.029007F, 5.01599979F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - CanvasGeometry Geometry_28() - { - CanvasGeometry result; - using (var builder = new CanvasPathBuilder(null)) - { - builder.BeginFigure(new Vector2(142.037994F, 29.2779999F)); - builder.AddLine(new Vector2(131.281998F, 21.8069992F)); - builder.EndFigure(CanvasFigureLoop.Open); - result = CanvasGeometry.CreatePath(builder); - } - return result; - } - - // - Layer aggregator - // Offset:<187.5, 333.5> - CompositionColorBrush ColorBrush_AlmostDarkTurquoise_FF00D1C1() - { - return _c.CreateColorBrush(Color.FromArgb(0xFF, 0x00, 0xD1, 0xC1)); - } - - CompositionColorBrush ColorBrush_AlmostTeal_FF007A87() - { - return (_colorBrush_AlmostTeal_FF007A87 == null) - ? _colorBrush_AlmostTeal_FF007A87 = _c.CreateColorBrush(Color.FromArgb(0xFF, 0x00, 0x7A, 0x87)) - : _colorBrush_AlmostTeal_FF007A87; - } - - CompositionColorBrush ColorBrush_White() - { - return (_colorBrush_White == null) - ? _colorBrush_White = _c.CreateColorBrush(Color.FromArgb(0xFF, 0xFF, 0xFF, 0xFF)) - : _colorBrush_White; - } - - // Layer aggregator - // Transforms for Bncr - CompositionContainerShape ContainerShape_00() - { - if (_containerShape_00 != null) { return _containerShape_00; } - var result = _containerShape_00 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // Transforms: Dot-Y - result.Shapes.Add(ContainerShape_01()); - return result; - } - - // - Layer aggregator - // Layer: Dot-Y - // Transforms for Dot-Y - CompositionContainerShape ContainerShape_01() - { - if (_containerShape_01 != null) { return _containerShape_01; } - var result = _containerShape_01 = _c.CreateContainerShape(); - // ShapeGroup: Ellipse 1 Offset:<196, 267> - result.Shapes.Add(SpriteShape_01()); - return result; - } - - // Layer aggregator - // Transforms for E3-Y - CompositionContainerShape ContainerShape_02() - { - if (_containerShape_02 != null) { return _containerShape_02; } - var result = _containerShape_02 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // ShapeGroup: Group 1 Offset:<344.674, 261.877> - result.Shapes.Add(SpriteShape_02()); - return result; - } - - // Layer aggregator - // Transforms for E3-Y - CompositionContainerShape ContainerShape_03() - { - if (_containerShape_03 != null) { return _containerShape_03; } - var result = _containerShape_03 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // Transforms: E3-B Offset:<0.06500244, 0> - result.Shapes.Add(SpriteShape_03()); - return result; - } - - // Layer aggregator - // Transforms for I-Y - CompositionContainerShape ContainerShape_04() - { - if (_containerShape_04 != null) { return _containerShape_04; } - var result = _containerShape_04 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // ShapeGroup: Group 6 Offset:<304.135, 282.409> - result.Shapes.Add(SpriteShape_04()); - return result; - } - - // Layer aggregator - // Transforms for I-Y - CompositionContainerShape ContainerShape_05() - { - if (_containerShape_05 != null) { return _containerShape_05; } - var result = _containerShape_05 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // Transforms: I-B - result.Shapes.Add(SpriteShape_05()); - return result; - } - - // Layer aggregator - // Transforms for E2-Y - CompositionContainerShape ContainerShape_06() - { - if (_containerShape_06 != null) { return _containerShape_06; } - var result = _containerShape_06 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // ShapeGroup: Group 3 Offset:<331.664, 238.14> - result.Shapes.Add(SpriteShape_06()); - return result; - } - - // Layer aggregator - // Transforms for E2-Y - CompositionContainerShape ContainerShape_07() - { - if (_containerShape_07 != null) { return _containerShape_07; } - var result = _containerShape_07 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // Transforms: E2-B - result.Shapes.Add(SpriteShape_07()); - return result; - } - - // Layer aggregator - // Transforms for E1-Y - CompositionContainerShape ContainerShape_08() - { - if (_containerShape_08 != null) { return _containerShape_08; } - var result = _containerShape_08 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // ShapeGroup: Group 2 Offset:<344.672, 214.842> - result.Shapes.Add(SpriteShape_08()); - return result; - } - - // Layer aggregator - // Transforms for E1-Y - CompositionContainerShape ContainerShape_09() - { - if (_containerShape_09 != null) { return _containerShape_09; } - var result = _containerShape_09 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // Transforms: E1-B - result.Shapes.Add(SpriteShape_09()); - return result; - } - - // Layer aggregator - // Transforms for T1a-Y - CompositionContainerShape ContainerShape_10() - { - if (_containerShape_10 != null) { return _containerShape_10; } - var result = _containerShape_10 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // ShapeGroup: Group 9 Offset:<227.677, 234.375> - result.Shapes.Add(SpriteShape_10()); - return result; - } - - // Layer aggregator - // Transforms for O-Y - CompositionContainerShape ContainerShape_11() - { - if (_containerShape_11 != null) { return _containerShape_11; } - var result = _containerShape_11 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - var shapes = result.Shapes; - // ShapeGroup: Ellipse 1 Offset:<196, 267> - shapes.Add(SpriteShape_16()); - // ShapeGroup: Ellipse 1 Offset:<196, 267> - shapes.Add(SpriteShape_17()); - return result; - } - - // Layer aggregator - // Transforms for T1a-Y 2 - CompositionContainerShape ContainerShape_12() - { - if (_containerShape_12 != null) { return _containerShape_12; } - var result = _containerShape_12 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // ShapeGroup: Group 9 Offset:<227.677, 234.375> - result.Shapes.Add(SpriteShape_18()); - return result; - } - - // Layer aggregator - // Transforms for T1a-Y - CompositionContainerShape ContainerShape_13() - { - if (_containerShape_13 != null) { return _containerShape_13; } - var result = _containerShape_13 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // Transforms: T1a-B - result.Shapes.Add(SpriteShape_20()); - return result; - } - - // Layer aggregator - // Transforms for N - CompositionContainerShape ContainerShape_14() - { - if (_containerShape_14 != null) { return _containerShape_14; } - var result = _containerShape_14 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // Transforms: Dot-Y - result.Shapes.Add(ContainerShape_15()); - return result; - } - - // - Layer aggregator - // Layer: Dot-Y - // Transforms for Dot-Y - CompositionContainerShape ContainerShape_15() - { - if (_containerShape_15 != null) { return _containerShape_15; } - var result = _containerShape_15 = _c.CreateContainerShape(); - // ShapeGroup: Ellipse 1 Offset:<196, 267> - result.Shapes.Add(SpriteShape_21()); - return result; - } - - // Layer aggregator - // Transforms for Dot1 - CompositionContainerShape ContainerShape_16() - { - if (_containerShape_16 != null) { return _containerShape_16; } - var result = _containerShape_16 = _c.CreateContainerShape(); - // Offset:<154.457, 287.822> - result.TransformMatrix = new Matrix3x2(1F, 0F, 0F, 1F, 154.457001F, 287.821991F); - // ShapeGroup: Ellipse 1 Offset:<196, 267> - result.Shapes.Add(SpriteShape_24()); - return result; - } - - // Layer aggregator - // Layer: S1-Y - CompositionContainerShape ContainerShape_17() - { - if (_containerShape_17 != null) { return _containerShape_17; } - var result = _containerShape_17 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - var shapes = result.Shapes; - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_25()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_26()); - return result; - } - - // Layer aggregator - // Layer: S7 - CompositionContainerShape ContainerShape_18() - { - if (_containerShape_18 != null) { return _containerShape_18; } - var result = _containerShape_18 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - var shapes = result.Shapes; - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_27()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_28()); - return result; - } - - // Layer aggregator - // Layer: S3-Y - CompositionContainerShape ContainerShape_19() - { - if (_containerShape_19 != null) { return _containerShape_19; } - var result = _containerShape_19 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - var shapes = result.Shapes; - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_29()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_30()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_31()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_32()); - return result; - } - - // Layer aggregator - // Layer: S3-Y 2 - CompositionContainerShape ContainerShape_20() - { - if (_containerShape_20 != null) { return _containerShape_20; } - var result = _containerShape_20 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - var shapes = result.Shapes; - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_33()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_34()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_35()); - return result; - } - - // Layer aggregator - // Layer: S3-Y 3 - CompositionContainerShape ContainerShape_21() - { - if (_containerShape_21 != null) { return _containerShape_21; } - var result = _containerShape_21 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - var shapes = result.Shapes; - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_39()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_40()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_41()); - return result; - } - - // Layer aggregator - // Layer: S3-Y 4 - CompositionContainerShape ContainerShape_22() - { - if (_containerShape_22 != null) { return _containerShape_22; } - var result = _containerShape_22 = _c.CreateContainerShape(); - result.Scale = new Vector2(0F, 0F); - var shapes = result.Shapes; - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_42()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_43()); - // Offset:<154.457, 287.822> - shapes.Add(SpriteShape_44()); - return result; - } - - // - - Layer aggregator - // - Layer: O-Y - // ShapeGroup: Ellipse 1 Offset:<196, 267> - // Ellipse Path 1.EllipseGeometry - CompositionEllipseGeometry Ellipse_0_0() - { - if (_ellipse_0_0 != null) { return _ellipse_0_0; } - var result = _ellipse_0_0 = _c.CreateEllipseGeometry(); - result.Center = new Vector2(0.800000012F, -0.5F); - result.Radius = new Vector2(0F, 0F); - return result; - } - - // - - Layer aggregator - // - Layer: O-Y - // ShapeGroup: Ellipse 1 Offset:<196, 267> - // Ellipse Path 1.EllipseGeometry - CompositionEllipseGeometry Ellipse_0_1() - { - if (_ellipse_0_1 != null) { return _ellipse_0_1; } - var result = _ellipse_0_1 = _c.CreateEllipseGeometry(); - result.Center = new Vector2(0.800000012F, -0.5F); - result.Radius = new Vector2(0F, 0F); - return result; - } - - // - - - Layer aggregator - // - - Layer: Dot-Y - // - Transforms: Dot-Y - // ShapeGroup: Ellipse 1 Offset:<196, 267> - // Ellipse Path 1.EllipseGeometry - CompositionEllipseGeometry Ellipse_4p6() - { - var result = _c.CreateEllipseGeometry(); - result.Center = new Vector2(0.800000012F, -0.5F); - result.Radius = new Vector2(4.5999999F, 4.5999999F); - return result; - } - - // Ellipse Path 1.EllipseGeometry - CompositionEllipseGeometry Ellipse_4p7() - { - if (_ellipse_4p7 != null) { return _ellipse_4p7; } - var result = _ellipse_4p7 = _c.CreateEllipseGeometry(); - result.Center = new Vector2(0.800000012F, -0.5F); - result.Radius = new Vector2(4.69999981F, 4.69999981F); - return result; - } - - CompositionPath Path_0() - { - if (_path_0 != null) { return _path_0; } - var result = _path_0 = new CompositionPath(Geometry_00()); - return result; - } - - CompositionPath Path_1() - { - if (_path_1 != null) { return _path_1; } - var result = _path_1 = new CompositionPath(Geometry_01()); - return result; - } - - CompositionPath Path_2() - { - if (_path_2 != null) { return _path_2; } - var result = _path_2 = new CompositionPath(Geometry_02()); - return result; - } - - CompositionPath Path_3() - { - if (_path_3 != null) { return _path_3; } - var result = _path_3 = new CompositionPath(Geometry_03()); - return result; - } - - CompositionPath Path_4() - { - if (_path_4 != null) { return _path_4; } - var result = _path_4 = new CompositionPath(Geometry_04()); - return result; - } - - CompositionPath Path_5() - { - if (_path_5 != null) { return _path_5; } - var result = _path_5 = new CompositionPath(Geometry_05()); - return result; - } - - CompositionPath Path_6() - { - if (_path_6 != null) { return _path_6; } - var result = _path_6 = new CompositionPath(Geometry_06()); - return result; - } - - CompositionPath Path_7() - { - if (_path_7 != null) { return _path_7; } - var result = _path_7 = new CompositionPath(Geometry_07()); - return result; - } - - CompositionPath Path_8() - { - if (_path_8 != null) { return _path_8; } - var result = _path_8 = new CompositionPath(Geometry_08()); - return result; - } - - // - - Layer aggregator - // - Layer: E3-Y - // ShapeGroup: Group 1 Offset:<344.674, 261.877> - CompositionPathGeometry PathGeometry_00() - { - if (_pathGeometry_00 != null) { return _pathGeometry_00; } - var result = _pathGeometry_00 = _c.CreatePathGeometry(Path_0()); - return result; - } - - // - - Layer aggregator - // - Layer: E3-B - // Transforms: E3-B Offset:<0.06500244, 0> - CompositionPathGeometry PathGeometry_01() - { - if (_pathGeometry_01 != null) { return _pathGeometry_01; } - var result = _pathGeometry_01 = _c.CreatePathGeometry(Path_0()); - return result; - } - - // - - Layer aggregator - // - Layer: I-Y - // ShapeGroup: Group 6 Offset:<304.135, 282.409> - CompositionPathGeometry PathGeometry_02() - { - if (_pathGeometry_02 != null) { return _pathGeometry_02; } - var result = _pathGeometry_02 = _c.CreatePathGeometry(Path_1()); - return result; - } - - // - - Layer aggregator - // - Layer: I-B - // Transforms: I-B - CompositionPathGeometry PathGeometry_03() - { - if (_pathGeometry_03 != null) { return _pathGeometry_03; } - var result = _pathGeometry_03 = _c.CreatePathGeometry(Path_1()); - return result; - } - - // - - Layer aggregator - // - Layer: E2-Y - // ShapeGroup: Group 3 Offset:<331.664, 238.14> - CompositionPathGeometry PathGeometry_04() - { - if (_pathGeometry_04 != null) { return _pathGeometry_04; } - var result = _pathGeometry_04 = _c.CreatePathGeometry(Path_2()); - return result; - } - - // - - Layer aggregator - // - Layer: E2-B - // Transforms: E2-B - CompositionPathGeometry PathGeometry_05() - { - if (_pathGeometry_05 != null) { return _pathGeometry_05; } - var result = _pathGeometry_05 = _c.CreatePathGeometry(Path_2()); - return result; - } - - // - - Layer aggregator - // - Layer: E1-Y - // ShapeGroup: Group 2 Offset:<344.672, 214.842> - CompositionPathGeometry PathGeometry_06() - { - if (_pathGeometry_06 != null) { return _pathGeometry_06; } - var result = _pathGeometry_06 = _c.CreatePathGeometry(Path_3()); - return result; - } - - // - - Layer aggregator - // - Layer: E1-B - // Transforms: E1-B - CompositionPathGeometry PathGeometry_07() - { - if (_pathGeometry_07 != null) { return _pathGeometry_07; } - var result = _pathGeometry_07 = _c.CreatePathGeometry(Path_3()); - return result; - } - - CompositionPathGeometry PathGeometry_08() - { - if (_pathGeometry_08 != null) { return _pathGeometry_08; } - var result = _pathGeometry_08 = _c.CreatePathGeometry(Path_4()); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 0F); - propertySet.InsertScalar("TStart", 0F); - BindProperty(_pathGeometry_08, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_08); - BindProperty(_pathGeometry_08, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_08); - return result; - } - - // - Layer aggregator - // Layer: T2b-Y - CompositionPathGeometry PathGeometry_09() - { - if (_pathGeometry_09 != null) { return _pathGeometry_09; } - var result = _pathGeometry_09 = _c.CreatePathGeometry(Path_5()); - return result; - } - - // - Layer aggregator - // Layer: T2a-Y - CompositionPathGeometry PathGeometry_10() - { - if (_pathGeometry_10 != null) { return _pathGeometry_10; } - var result = _pathGeometry_10 = _c.CreatePathGeometry(Path_6()); - return result; - } - - // - Layer aggregator - // Layer: T2b-B - CompositionPathGeometry PathGeometry_11() - { - if (_pathGeometry_11 != null) { return _pathGeometry_11; } - var result = _pathGeometry_11 = _c.CreatePathGeometry(Path_5()); - return result; - } - - // - Layer aggregator - // Layer: T1b-Y - CompositionPathGeometry PathGeometry_12() - { - if (_pathGeometry_12 != null) { return _pathGeometry_12; } - var result = _pathGeometry_12 = _c.CreatePathGeometry(Path_7()); - return result; - } - - // - Layer aggregator - // Layer: T1b-B - CompositionPathGeometry PathGeometry_13() - { - if (_pathGeometry_13 != null) { return _pathGeometry_13; } - var result = _pathGeometry_13 = _c.CreatePathGeometry(Path_7()); - return result; - } - - CompositionPathGeometry PathGeometry_14() - { - if (_pathGeometry_14 != null) { return _pathGeometry_14; } - var result = _pathGeometry_14 = _c.CreatePathGeometry(Path_4()); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 0F); - propertySet.InsertScalar("TStart", 0F); - BindProperty(_pathGeometry_14, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_14); - BindProperty(_pathGeometry_14, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_14); - return result; - } - - // - Layer aggregator - // Layer: T2a-B - CompositionPathGeometry PathGeometry_15() - { - if (_pathGeometry_15 != null) { return _pathGeometry_15; } - var result = _pathGeometry_15 = _c.CreatePathGeometry(Path_6()); - return result; - } - - // - - Layer aggregator - // - Layer: T1a-B - // Transforms: T1a-B - CompositionPathGeometry PathGeometry_16() - { - if (_pathGeometry_16 != null) { return _pathGeometry_16; } - var result = _pathGeometry_16 = _c.CreatePathGeometry(Path_4()); - result.TrimStart = 0.248999998F; - return result; - } - - CompositionPathGeometry PathGeometry_17() - { - if (_pathGeometry_17 != null) { return _pathGeometry_17; } - var result = _pathGeometry_17 = _c.CreatePathGeometry(Path_8()); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 0.810000002F); - propertySet.InsertScalar("TStart", 0.800000012F); - BindProperty(_pathGeometry_17, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_17); - BindProperty(_pathGeometry_17, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_17); - return result; - } - - CompositionPathGeometry PathGeometry_18() - { - if (_pathGeometry_18 != null) { return _pathGeometry_18; } - var result = _pathGeometry_18 = _c.CreatePathGeometry(Path_8()); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 0.810000002F); - propertySet.InsertScalar("TStart", 0.800000012F); - BindProperty(_pathGeometry_18, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_18); - BindProperty(_pathGeometry_18, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_18); - return result; - } - - CompositionPathGeometry PathGeometry_19() - { - if (_pathGeometry_19 != null) { return _pathGeometry_19; } - var result = _pathGeometry_19 = _c.CreatePathGeometry(new CompositionPath(Geometry_09())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_19, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_19); - BindProperty(_pathGeometry_19, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_19); - return result; - } - - CompositionPathGeometry PathGeometry_20() - { - if (_pathGeometry_20 != null) { return _pathGeometry_20; } - var result = _pathGeometry_20 = _c.CreatePathGeometry(new CompositionPath(Geometry_10())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_20, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_20); - BindProperty(_pathGeometry_20, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_20); - return result; - } - - CompositionPathGeometry PathGeometry_21() - { - if (_pathGeometry_21 != null) { return _pathGeometry_21; } - var result = _pathGeometry_21 = _c.CreatePathGeometry(new CompositionPath(Geometry_11())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_21, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_21); - BindProperty(_pathGeometry_21, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_21); - return result; - } - - CompositionPathGeometry PathGeometry_22() - { - if (_pathGeometry_22 != null) { return _pathGeometry_22; } - var result = _pathGeometry_22 = _c.CreatePathGeometry(new CompositionPath(Geometry_12())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_22, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_22); - BindProperty(_pathGeometry_22, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_22); - return result; - } - - CompositionPathGeometry PathGeometry_23() - { - if (_pathGeometry_23 != null) { return _pathGeometry_23; } - var result = _pathGeometry_23 = _c.CreatePathGeometry(new CompositionPath(Geometry_13())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_23, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_23); - BindProperty(_pathGeometry_23, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_23); - return result; - } - - CompositionPathGeometry PathGeometry_24() - { - if (_pathGeometry_24 != null) { return _pathGeometry_24; } - var result = _pathGeometry_24 = _c.CreatePathGeometry(new CompositionPath(Geometry_14())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_24, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_24); - BindProperty(_pathGeometry_24, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_24); - return result; - } - - CompositionPathGeometry PathGeometry_25() - { - if (_pathGeometry_25 != null) { return _pathGeometry_25; } - var result = _pathGeometry_25 = _c.CreatePathGeometry(new CompositionPath(Geometry_15())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_25, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_25); - BindProperty(_pathGeometry_25, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_25); - return result; - } - - CompositionPathGeometry PathGeometry_26() - { - if (_pathGeometry_26 != null) { return _pathGeometry_26; } - var result = _pathGeometry_26 = _c.CreatePathGeometry(new CompositionPath(Geometry_16())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_26, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_26); - BindProperty(_pathGeometry_26, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_26); - return result; - } - - CompositionPathGeometry PathGeometry_27() - { - if (_pathGeometry_27 != null) { return _pathGeometry_27; } - var result = _pathGeometry_27 = _c.CreatePathGeometry(new CompositionPath(Geometry_17())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_27, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_27); - BindProperty(_pathGeometry_27, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_27); - return result; - } - - CompositionPathGeometry PathGeometry_28() - { - if (_pathGeometry_28 != null) { return _pathGeometry_28; } - var result = _pathGeometry_28 = _c.CreatePathGeometry(new CompositionPath(Geometry_18())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_28, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_28); - BindProperty(_pathGeometry_28, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_28); - return result; - } - - CompositionPathGeometry PathGeometry_29() - { - if (_pathGeometry_29 != null) { return _pathGeometry_29; } - var result = _pathGeometry_29 = _c.CreatePathGeometry(new CompositionPath(Geometry_19())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_29, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_29); - BindProperty(_pathGeometry_29, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_29); - return result; - } - - CompositionPathGeometry PathGeometry_30() - { - if (_pathGeometry_30 != null) { return _pathGeometry_30; } - var result = _pathGeometry_30 = _c.CreatePathGeometry(new CompositionPath(Geometry_20())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_30, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_30); - BindProperty(_pathGeometry_30, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_30); - return result; - } - - CompositionPathGeometry PathGeometry_31() - { - if (_pathGeometry_31 != null) { return _pathGeometry_31; } - var result = _pathGeometry_31 = _c.CreatePathGeometry(new CompositionPath(Geometry_21())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_31, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_31); - BindProperty(_pathGeometry_31, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_31); - return result; - } - - CompositionPathGeometry PathGeometry_32() - { - if (_pathGeometry_32 != null) { return _pathGeometry_32; } - var result = _pathGeometry_32 = _c.CreatePathGeometry(new CompositionPath(Geometry_22())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_32, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_32); - BindProperty(_pathGeometry_32, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_32); - return result; - } - - CompositionPathGeometry PathGeometry_33() - { - if (_pathGeometry_33 != null) { return _pathGeometry_33; } - var result = _pathGeometry_33 = _c.CreatePathGeometry(new CompositionPath(Geometry_23())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_33, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_33); - BindProperty(_pathGeometry_33, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_33); - return result; - } - - CompositionPathGeometry PathGeometry_34() - { - if (_pathGeometry_34 != null) { return _pathGeometry_34; } - var result = _pathGeometry_34 = _c.CreatePathGeometry(new CompositionPath(Geometry_24())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_34, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_34); - BindProperty(_pathGeometry_34, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_34); - return result; - } - - CompositionPathGeometry PathGeometry_35() - { - if (_pathGeometry_35 != null) { return _pathGeometry_35; } - var result = _pathGeometry_35 = _c.CreatePathGeometry(new CompositionPath(Geometry_25())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_35, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_35); - BindProperty(_pathGeometry_35, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_35); - return result; - } - - CompositionPathGeometry PathGeometry_36() - { - if (_pathGeometry_36 != null) { return _pathGeometry_36; } - var result = _pathGeometry_36 = _c.CreatePathGeometry(new CompositionPath(Geometry_26())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_36, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_36); - BindProperty(_pathGeometry_36, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_36); - return result; - } - - CompositionPathGeometry PathGeometry_37() - { - if (_pathGeometry_37 != null) { return _pathGeometry_37; } - var result = _pathGeometry_37 = _c.CreatePathGeometry(new CompositionPath(Geometry_27())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_37, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_37); - BindProperty(_pathGeometry_37, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_37); - return result; - } - - CompositionPathGeometry PathGeometry_38() - { - if (_pathGeometry_38 != null) { return _pathGeometry_38; } - var result = _pathGeometry_38 = _c.CreatePathGeometry(new CompositionPath(Geometry_28())); - var propertySet = result.Properties; - propertySet.InsertScalar("TEnd", 1F); - propertySet.InsertScalar("TStart", 0.870000005F); - BindProperty(_pathGeometry_38, "TrimStart", "Min(my.TStart,my.TEnd)", "my", _pathGeometry_38); - BindProperty(_pathGeometry_38, "TrimEnd", "Max(my.TStart,my.TEnd)", "my", _pathGeometry_38); - return result; - } - - // - Layer aggregator - // Offset:<187.5, 333.5> - // Rectangle Path 1.RectangleGeometry - CompositionRoundedRectangleGeometry RoundedRectangle_375x667() - { - var result = _c.CreateRoundedRectangleGeometry(); - result.CornerRadius = new Vector2(9.99999997E-07F, 9.99999997E-07F); - result.Offset = new Vector2(-187.5F, -333.5F); - result.Size = new Vector2(375F, 667F); - return result; - } - - // Layer aggregator - // Rectangle Path 1 - CompositionSpriteShape SpriteShape_00() - { - // Offset:<187.5, 333.5> - var geometry = RoundedRectangle_375x667(); - var result = CreateSpriteShape(geometry, new Matrix3x2(1F, 0F, 0F, 1F, 187.5F, 333.5F), ColorBrush_AlmostDarkTurquoise_FF00D1C1());; - return result; - } - - // - - Layer aggregator - // - Layer: Dot-Y - // Transforms: Dot-Y - // Ellipse Path 1 - CompositionSpriteShape SpriteShape_01() - { - // Offset:<196, 267> - var geometry = Ellipse_4p6(); - var result = CreateSpriteShape(geometry, new Matrix3x2(1F, 0F, 0F, 1F, 196F, 267F), ColorBrush_White());; - return result; - } - - // - Layer aggregator - // Layer: E3-Y - // Path 1 - CompositionSpriteShape SpriteShape_02() - { - // Offset:<344.674, 261.877> - var result = CreateSpriteShape(PathGeometry_00(), new Matrix3x2(1F, 0F, 0F, 1F, 344.674011F, 261.877014F));; - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.56200027F; - return result; - } - - // - Layer aggregator - // Layer: E3-B - // Path 1 - CompositionSpriteShape SpriteShape_03() - { - // Offset:<344.739, 261.877> - var result = CreateSpriteShape(PathGeometry_01(), new Matrix3x2(1F, 0F, 0F, 1F, 344.739014F, 261.877014F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.56200027F; - return result; - } - - // - Layer aggregator - // Layer: I-Y - // Path 1 - CompositionSpriteShape SpriteShape_04() - { - // Offset:<304.135, 282.409> - var result = CreateSpriteShape(PathGeometry_02(), new Matrix3x2(1F, 0F, 0F, 1F, 304.13501F, 282.408997F));; - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Square; - result.StrokeStartCap = CompositionStrokeCap.Square; - result.StrokeEndCap = CompositionStrokeCap.Square; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 8.39999962F; - return result; - } - - // - Layer aggregator - // Layer: I-B - // Path 1 - CompositionSpriteShape SpriteShape_05() - { - // Offset:<304.135, 282.409> - var result = CreateSpriteShape(PathGeometry_03(), new Matrix3x2(1F, 0F, 0F, 1F, 304.13501F, 282.408997F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Square; - result.StrokeStartCap = CompositionStrokeCap.Square; - result.StrokeEndCap = CompositionStrokeCap.Square; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // - Layer aggregator - // Layer: E2-Y - // Path 1 - CompositionSpriteShape SpriteShape_06() - { - // Offset:<331.664, 238.14> - var result = CreateSpriteShape(PathGeometry_04(), new Matrix3x2(1F, 0F, 0F, 1F, 331.664001F, 238.139999F));; - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 8.39999962F; - return result; - } - - // - Layer aggregator - // Layer: E2-B - // Path 1 - CompositionSpriteShape SpriteShape_07() - { - // Offset:<331.664, 238.14> - var result = CreateSpriteShape(PathGeometry_05(), new Matrix3x2(1F, 0F, 0F, 1F, 331.664001F, 238.139999F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.56200027F; - return result; - } - - // - Layer aggregator - // Layer: E1-Y - // Path 1 - CompositionSpriteShape SpriteShape_08() - { - // Offset:<344.672, 214.842> - var result = CreateSpriteShape(PathGeometry_06(), new Matrix3x2(1F, 0F, 0F, 1F, 344.671997F, 214.841995F));; - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 8.39999962F; - return result; - } - - // - Layer aggregator - // Layer: E1-B - // Path 1 - CompositionSpriteShape SpriteShape_09() - { - // Offset:<344.672, 214.842> - var result = CreateSpriteShape(PathGeometry_07(), new Matrix3x2(1F, 0F, 0F, 1F, 344.671997F, 214.841995F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.56200027F; - return result; - } - - // - Layer aggregator - // Layer: T1a-Y - // Path 1 - CompositionSpriteShape SpriteShape_10() - { - // Offset:<227.677, 234.375> - var result = CreateSpriteShape(PathGeometry_08(), new Matrix3x2(1F, 0F, 0F, 1F, 227.677002F, 234.375F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 8.39999962F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_11() - { - // Offset:<-56.5, 83.5> - if (_spriteShape_11 != null) { return _spriteShape_11; } - var result = _spriteShape_11 = CreateSpriteShape(PathGeometry_09(), new Matrix3x2(1F, 0F, 0F, 1F, -56.5F, 83.5F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_12() - { - // Offset:<221.198, 330.758> - if (_spriteShape_12 != null) { return _spriteShape_12; } - var result = _spriteShape_12 = CreateSpriteShape(PathGeometry_10(), new Matrix3x2(1F, 0F, 0F, 1F, 221.197998F, 330.757996F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Square; - result.StrokeStartCap = CompositionStrokeCap.Square; - result.StrokeEndCap = CompositionStrokeCap.Square; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_13() - { - // Offset:<-56.5, 83.5> - if (_spriteShape_13 != null) { return _spriteShape_13; } - var result = _spriteShape_13 = CreateSpriteShape(PathGeometry_11(), new Matrix3x2(1F, 0F, 0F, 1F, -56.5F, 83.5F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_14() - { - // Offset:<186.256, 349.081> - if (_spriteShape_14 != null) { return _spriteShape_14; } - var result = _spriteShape_14 = CreateSpriteShape(PathGeometry_12(), new Matrix3x2(1F, 0F, 0F, 1F, 186.255997F, 349.080994F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeLineJoin = CompositionStrokeLineJoin.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 8.39999962F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_15() - { - // Offset:<186.256, 349.081> - if (_spriteShape_15 != null) { return _spriteShape_15; } - var result = _spriteShape_15 = CreateSpriteShape(PathGeometry_13(), new Matrix3x2(1F, 0F, 0F, 1F, 186.255997F, 349.080994F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeLineJoin = CompositionStrokeLineJoin.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // - Layer aggregator - // Layer: O-Y - // Ellipse Path 1 - CompositionSpriteShape SpriteShape_16() - { - // Offset:<196, 267> - var result = CreateSpriteShape(Ellipse_0_0(), new Matrix3x2(1F, 0F, 0F, 1F, 196F, 267F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeThickness = 8.80000019F; - return result; - } - - // - Layer aggregator - // Layer: O-Y - // Ellipse Path 1 - CompositionSpriteShape SpriteShape_17() - { - // Offset:<196, 267> - var result = CreateSpriteShape(Ellipse_0_1(), new Matrix3x2(1F, 0F, 0F, 1F, 196F, 267F));; - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeThickness = 9.19400024F; - return result; - } - - // - Layer aggregator - // Layer: T1a-Y 2 - // Path 1 - CompositionSpriteShape SpriteShape_18() - { - // Offset:<227.677, 234.375> - var result = CreateSpriteShape(PathGeometry_14(), new Matrix3x2(1F, 0F, 0F, 1F, 227.677002F, 234.375F));; - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 8.39999962F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_19() - { - // Offset:<221.198, 330.758> - if (_spriteShape_19 != null) { return _spriteShape_19; } - var result = _spriteShape_19 = CreateSpriteShape(PathGeometry_15(), new Matrix3x2(1F, 0F, 0F, 1F, 221.197998F, 330.757996F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Square; - result.StrokeStartCap = CompositionStrokeCap.Square; - result.StrokeEndCap = CompositionStrokeCap.Square; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // - Layer aggregator - // Layer: T1a-B - // Path 1 - CompositionSpriteShape SpriteShape_20() - { - // Offset:<227.677, 234.375> - var result = CreateSpriteShape(PathGeometry_16(), new Matrix3x2(1F, 0F, 0F, 1F, 227.677002F, 234.375F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // - - Layer aggregator - // - Layer: Dot-Y - // Transforms: Dot-Y - // Ellipse Path 1 - CompositionSpriteShape SpriteShape_21() - { - // Offset:<196, 267> - var geometry = Ellipse_4p7(); - var result = CreateSpriteShape(geometry, new Matrix3x2(1F, 0F, 0F, 1F, 196F, 267F), ColorBrush_White());; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_22() - { - // Offset:<109.52901, 354.143> - if (_spriteShape_22 != null) { return _spriteShape_22; } - var result = _spriteShape_22 = CreateSpriteShape(PathGeometry_17(), new Matrix3x2(1F, 0F, 0F, 1F, 109.529007F, 354.143005F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 8.39999962F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_23() - { - // Offset:<109.52901, 354.143> - if (_spriteShape_23 != null) { return _spriteShape_23; } - var result = _spriteShape_23 = CreateSpriteShape(PathGeometry_18(), new Matrix3x2(1F, 0F, 0F, 1F, 109.529007F, 354.143005F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_AlmostTeal_FF007A87(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 5F; - result.StrokeThickness = 9.19400024F; - return result; - } - - // - Layer aggregator - // Layer: Dot1 - // Ellipse Path 1 - CompositionSpriteShape SpriteShape_24() - { - // Offset:<196, 267> - var geometry = Ellipse_4p7(); - var result = CreateSpriteShape(geometry, new Matrix3x2(1F, 0F, 0F, 1F, 196F, 267F), ColorBrush_White());; - return result; - } - - // - Layer aggregator - // Layer: S1-Y - // Path 1 - CompositionSpriteShape SpriteShape_25() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_19(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 1.5F; - return result; - } - - // - Layer aggregator - // Layer: S1-Y - // Path 1 - CompositionSpriteShape SpriteShape_26() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_20(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 1.5F; - return result; - } - - // - Layer aggregator - // Layer: S7 - // Path 1 - CompositionSpriteShape SpriteShape_27() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_21(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 1.5F; - return result; - } - - // - Layer aggregator - // Layer: S7 - // Path 1 - CompositionSpriteShape SpriteShape_28() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_22(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 1.5F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y - // Path 1 - CompositionSpriteShape SpriteShape_29() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_23(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y - // Path 1 - CompositionSpriteShape SpriteShape_30() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_24(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y - // Path 1 - CompositionSpriteShape SpriteShape_31() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_25(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y - // Path 1 - CompositionSpriteShape SpriteShape_32() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_26(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 2 - // Path 1 - CompositionSpriteShape SpriteShape_33() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_27(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 2 - // Path 1 - CompositionSpriteShape SpriteShape_34() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_28(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 2 - // Path 1 - CompositionSpriteShape SpriteShape_35() - { - // Offset:<179.5, 333.5> - var result = CreateSpriteShape(PathGeometry_29(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_36() - { - // Offset:<179.5, 333.5> - if (_spriteShape_36 != null) { return _spriteShape_36; } - var result = _spriteShape_36 = CreateSpriteShape(PathGeometry_30(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 1.5F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_37() - { - // Offset:<179.5, 333.5> - if (_spriteShape_37 != null) { return _spriteShape_37; } - var result = _spriteShape_37 = CreateSpriteShape(PathGeometry_31(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 1.5F; - return result; - } - - // Layer aggregator - // Path 1 - CompositionSpriteShape SpriteShape_38() - { - // Offset:<179.5, 333.5> - if (_spriteShape_38 != null) { return _spriteShape_38; } - var result = _spriteShape_38 = CreateSpriteShape(PathGeometry_32(), new Matrix3x2(1F, 0F, 0F, 1F, 179.5F, 333.5F));; - result.Scale = new Vector2(0F, 0F); - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 1.5F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 3 - // Path 1 - CompositionSpriteShape SpriteShape_39() - { - // Offset:<212.662, 248.428>, Rotation:97.90000401019934 degrees - var result = CreateSpriteShape(PathGeometry_33(), new Matrix3x2(-0.137444615F, 0.99050945F, -0.99050945F, -0.137444615F, 212.662003F, 248.427994F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 3 - // Path 1 - CompositionSpriteShape SpriteShape_40() - { - // Offset:<212.662, 248.428>, Rotation:97.90000401019934 degrees - var result = CreateSpriteShape(PathGeometry_34(), new Matrix3x2(-0.137444615F, 0.99050945F, -0.99050945F, -0.137444615F, 212.662003F, 248.427994F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 3 - // Path 1 - CompositionSpriteShape SpriteShape_41() - { - // Offset:<212.662, 248.428>, Rotation:97.90000401019934 degrees - var result = CreateSpriteShape(PathGeometry_35(), new Matrix3x2(-0.137444615F, 0.99050945F, -0.99050945F, -0.137444615F, 212.662003F, 248.427994F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 4 - // Path 1 - CompositionSpriteShape SpriteShape_42() - { - // Offset:<207.662, 419.42798>, Rotation:-89.09999525232098 degrees, - // Scale:<0.99999994, 0.99999994> - var result = CreateSpriteShape(PathGeometry_36(), new Matrix3x2(0.0157073997F, -0.999876618F, 0.999876618F, 0.0157073997F, 207.662003F, 419.427979F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 4 - // Path 1 - CompositionSpriteShape SpriteShape_43() - { - // Offset:<207.662, 419.42798>, Rotation:-89.09999525232098 degrees, - // Scale:<0.99999994, 0.99999994> - var result = CreateSpriteShape(PathGeometry_37(), new Matrix3x2(0.0157073997F, -0.999876618F, 0.999876618F, 0.0157073997F, 207.662003F, 419.427979F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // - Layer aggregator - // Layer: S3-Y 4 - // Path 1 - CompositionSpriteShape SpriteShape_44() - { - // Offset:<207.662, 419.42798>, Rotation:-89.09999525232098 degrees, - // Scale:<0.99999994, 0.99999994> - var result = CreateSpriteShape(PathGeometry_38(), new Matrix3x2(0.0157073997F, -0.999876618F, 0.999876618F, 0.0157073997F, 207.662003F, 419.427979F));; - result.StrokeBrush = ColorBrush_White(); - result.StrokeDashCap = CompositionStrokeCap.Round; - result.StrokeStartCap = CompositionStrokeCap.Round; - result.StrokeEndCap = CompositionStrokeCap.Round; - result.StrokeMiterLimit = 2F; - result.StrokeThickness = 2F; - return result; - } - - // The root of the composition. - ContainerVisual Root() - { - if (_root != null) { return _root; } - var result = _root = _c.CreateContainerVisual(); - var propertySet = result.Properties; - propertySet.InsertScalar("Progress", 0F); - propertySet.InsertScalar("t0", 0F); - // Layer aggregator - result.Children.InsertAtTop(ShapeVisual_0()); - return result; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_0() - { - return (_cubicBezierEasingFunction_0 == null) - ? _cubicBezierEasingFunction_0 = _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.180000007F, 1F)) - : _cubicBezierEasingFunction_0; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_1() - { - return (_cubicBezierEasingFunction_1 == null) - ? _cubicBezierEasingFunction_1 = _c.CreateCubicBezierEasingFunction(new Vector2(0.819999993F, 0F), new Vector2(0.833000004F, 0.833000004F)) - : _cubicBezierEasingFunction_1; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_2() - { - return (_cubicBezierEasingFunction_2 == null) - ? _cubicBezierEasingFunction_2 = _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.833000004F, 0.833000004F)) - : _cubicBezierEasingFunction_2; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_3() - { - return (_cubicBezierEasingFunction_3 == null) - ? _cubicBezierEasingFunction_3 = _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.666999996F, 1F)) - : _cubicBezierEasingFunction_3; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_4() - { - return (_cubicBezierEasingFunction_4 == null) - ? _cubicBezierEasingFunction_4 = _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.119999997F, 1F)) - : _cubicBezierEasingFunction_4; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_5() - { - return (_cubicBezierEasingFunction_5 == null) - ? _cubicBezierEasingFunction_5 = _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0F), new Vector2(0.119999997F, 1F)) - : _cubicBezierEasingFunction_5; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_6() - { - return (_cubicBezierEasingFunction_6 == null) - ? _cubicBezierEasingFunction_6 = _c.CreateCubicBezierEasingFunction(new Vector2(0.300999999F, 0F), new Vector2(0.666999996F, 1F)) - : _cubicBezierEasingFunction_6; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_7() - { - return (_cubicBezierEasingFunction_7 == null) - ? _cubicBezierEasingFunction_7 = _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.0599999987F, 1F)) - : _cubicBezierEasingFunction_7; - } - - CubicBezierEasingFunction CubicBezierEasingFunction_8() - { - return (_cubicBezierEasingFunction_8 == null) - ? _cubicBezierEasingFunction_8 = _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.337000012F, 1F)) - : _cubicBezierEasingFunction_8; - } - - ExpressionAnimation RootProgress() - { - if (_rootProgress != null) { return _rootProgress; } - var result = _rootProgress = _c.CreateExpressionAnimation("_.Progress"); - result.SetReferenceParameter("_", _root); - return result; - } - - ScalarKeyFrameAnimation t0ScalarAnimation_0_to_1() - { - // Frame 35.26. - var result = CreateScalarKeyFrameAnimation(0.196966499F, 0F, StepThenHoldEasingFunction()); - result.SetReferenceParameter("_", _root); - // Frame 44. - result.InsertKeyFrame(0.245810047F, 1F, _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.197999999F), new Vector2(0.638000011F, 1F))); - // Frame 44. - result.InsertKeyFrame(0.245810062F, 0F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675946F, 1F, _c.CreateCubicBezierEasingFunction(new Vector2(0.523000002F, 0F), new Vector2(0.795000017F, 1F))); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_0_to_1_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0F, HoldThenStepEasingFunction()); - // Frame 74. - result.InsertKeyFrame(0.413407832F, 1F, CubicBezierEasingFunction_6()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_0_to_1_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0F, HoldThenStepEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, 1F, CubicBezierEasingFunction_6()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_0p81_to_0p734_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.810000002F, StepThenHoldEasingFunction()); - // Frame 16. - result.InsertKeyFrame(0.0893854722F, 0.810000002F, HoldThenStepEasingFunction()); - // Frame 27. - result.InsertKeyFrame(0.150837988F, 0.734000027F, CubicBezierEasingFunction_8()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_0p81_to_0p734_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.810000002F, StepThenHoldEasingFunction()); - // Frame 18. - result.InsertKeyFrame(0.100558661F, 0.810000002F, HoldThenStepEasingFunction()); - // Frame 29. - result.InsertKeyFrame(0.162011176F, 0.734000027F, CubicBezierEasingFunction_8()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_00() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 29. - result.InsertKeyFrame(0.162011176F, 1F, HoldThenStepEasingFunction()); - // Frame 33. - result.InsertKeyFrame(0.184357539F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 36. - result.InsertKeyFrame(0.201117322F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_01() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 29. - result.InsertKeyFrame(0.162011176F, 1F, HoldThenStepEasingFunction()); - // Frame 33. - result.InsertKeyFrame(0.184357539F, 0.690559983F, CubicBezierEasingFunction_2()); - // Frame 36. - result.InsertKeyFrame(0.201117322F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_02() - { - // Frame 0. - if (_tEndScalarAnimation_1_to_0_02 != null) { return _tEndScalarAnimation_1_to_0_02; } - var result = _tEndScalarAnimation_1_to_0_02 = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 65. - result.InsertKeyFrame(0.363128483F, 1F, HoldThenStepEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.391061455F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_03() - { - // Frame 0. - if (_tEndScalarAnimation_1_to_0_03 != null) { return _tEndScalarAnimation_1_to_0_03; } - var result = _tEndScalarAnimation_1_to_0_03 = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 1F, HoldThenStepEasingFunction()); - // Frame 57. - result.InsertKeyFrame(0.318435758F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_04() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 1F, HoldThenStepEasingFunction()); - // Frame 57. - result.InsertKeyFrame(0.318435758F, 0.758560002F, CubicBezierEasingFunction_2()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_05() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 1F, HoldThenStepEasingFunction()); - // Frame 57. - result.InsertKeyFrame(0.318435758F, 0.704559982F, CubicBezierEasingFunction_2()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_06() - { - // Frame 0. - if (_tEndScalarAnimation_1_to_0_06 != null) { return _tEndScalarAnimation_1_to_0_06; } - var result = _tEndScalarAnimation_1_to_0_06 = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 97. - result.InsertKeyFrame(0.541899443F, 1F, HoldThenStepEasingFunction()); - // Frame 100. - result.InsertKeyFrame(0.558659196F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 107. - result.InsertKeyFrame(0.597765386F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_07() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 97. - result.InsertKeyFrame(0.541899443F, 1F, HoldThenStepEasingFunction()); - // Frame 100. - result.InsertKeyFrame(0.558659196F, 0.758560002F, CubicBezierEasingFunction_2()); - // Frame 107. - result.InsertKeyFrame(0.597765386F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_08() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 80. - result.InsertKeyFrame(0.446927369F, 1F, HoldThenStepEasingFunction()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 87. - result.InsertKeyFrame(0.486033529F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_09() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, 1F, HoldThenStepEasingFunction()); - // Frame 87. - result.InsertKeyFrame(0.486033529F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 91. - result.InsertKeyFrame(0.508379877F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_10() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 85. - result.InsertKeyFrame(0.47486034F, 1F, HoldThenStepEasingFunction()); - // Frame 90. - result.InsertKeyFrame(0.502793312F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 94. - result.InsertKeyFrame(0.525139689F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_11() - { - // Frame 0. - if (_tEndScalarAnimation_1_to_0_11 != null) { return _tEndScalarAnimation_1_to_0_11; } - var result = _tEndScalarAnimation_1_to_0_11 = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 1F, HoldThenStepEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_12() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 1F, HoldThenStepEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, 0.758560002F, CubicBezierEasingFunction_2()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_13() - { - // Frame 0. - if (_tEndScalarAnimation_1_to_0_13 != null) { return _tEndScalarAnimation_1_to_0_13; } - var result = _tEndScalarAnimation_1_to_0_13 = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, 1F, HoldThenStepEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, 0.663559973F, CubicBezierEasingFunction_2()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TEnd - ScalarKeyFrameAnimation TEndScalarAnimation_1_to_0_14() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, 1F, HoldThenStepEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, 0.758560002F, CubicBezierEasingFunction_2()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // - - - Layer aggregator - // - - Layer: E2-Y - // - ShapeGroup: Group 3 Offset:<331.664, 238.14> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p43_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0F, HoldThenStepEasingFunction()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, 0.430000007F, CubicBezierEasingFunction_4()); - return result; - } - - // - - - Layer aggregator - // - - Layer: E2-B - // - Transforms: E2-B - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p43_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 86. - result.InsertKeyFrame(0.480446935F, 0F, HoldThenStepEasingFunction()); - // Frame 95. - result.InsertKeyFrame(0.530726254F, 0.430000007F, CubicBezierEasingFunction_4()); - return result; - } - - // - - - Layer aggregator - // - - Layer: E3-Y - // - ShapeGroup: Group 1 Offset:<344.674, 261.877> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p316_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, 0F, HoldThenStepEasingFunction()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, 0.316000015F, CubicBezierEasingFunction_2()); - return result; - } - - // - - - Layer aggregator - // - - Layer: E3-B - // - Transforms: E3-B Offset:<0.06500244, 0> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p316_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, 0F, HoldThenStepEasingFunction()); - // Frame 97. - result.InsertKeyFrame(0.541899443F, 0.316000015F, CubicBezierEasingFunction_2()); - return result; - } - - // - - - Layer aggregator - // - - Layer: E1-Y - // - ShapeGroup: Group 2 Offset:<344.672, 214.842> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p375_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, 0F, HoldThenStepEasingFunction()); - // Frame 88. - result.InsertKeyFrame(0.491620123F, 0.375F, CubicBezierEasingFunction_4()); - return result; - } - - // - - - Layer aggregator - // - - Layer: E1-B - // - Transforms: E1-B - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p375_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, 0F, HoldThenStepEasingFunction()); - // Frame 93. - result.InsertKeyFrame(0.519553065F, 0.375F, CubicBezierEasingFunction_4()); - return result; - } - - // - - - Layer aggregator - // - - Layer: I-Y - // - ShapeGroup: Group 6 Offset:<304.135, 282.409> - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p457_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, 0F, HoldThenStepEasingFunction()); - // Frame 88. - result.InsertKeyFrame(0.491620123F, 0.456999987F, CubicBezierEasingFunction_4()); - return result; - } - - // - - - Layer aggregator - // - - Layer: I-B - // - Transforms: I-B - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0_to_0p457_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 81. - result.InsertKeyFrame(0.452513963F, 0F, HoldThenStepEasingFunction()); - // Frame 91. - result.InsertKeyFrame(0.508379877F, 0.456999987F, CubicBezierEasingFunction_4()); - return result; - } - - // - - Layer aggregator - // - Layer: T2a-Y - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0p5_to_1_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.5F, StepThenHoldEasingFunction()); - // Frame 72. - result.InsertKeyFrame(0.402234644F, 0.5F, HoldThenStepEasingFunction()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 1F, CubicBezierEasingFunction_7()); - return result; - } - - // - - Layer aggregator - // - Layer: T2a-B - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0p5_to_1_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.5F, StepThenHoldEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 0.5F, HoldThenStepEasingFunction()); - // Frame 85. - result.InsertKeyFrame(0.47486034F, 1F, CubicBezierEasingFunction_7()); - return result; - } - - // - - Layer aggregator - // - Layer: T1b-Y - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0p117_to_1_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.116999999F, StepThenHoldEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.391061455F, 0.116999999F, HoldThenStepEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 1F, CubicBezierEasingFunction_2()); - return result; - } - - // - - Layer aggregator - // - Layer: T1b-B - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0p117_to_1_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.116999999F, StepThenHoldEasingFunction()); - // Frame 81. - result.InsertKeyFrame(0.452513963F, 0.116999999F, HoldThenStepEasingFunction()); - // Frame 88. - result.InsertKeyFrame(0.491620123F, 1F, _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.209999993F, 1F))); - return result; - } - - // - - - Layer aggregator - // - - Layer: T1a-B - // - Transforms: T1a-B - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0p249_to_0p891() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.248999998F, StepThenHoldEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.391061455F, 0.248999998F, HoldThenStepEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, 0.890999973F, _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.672999978F, 1F))); - return result; - } - - // - - Layer aggregator - // - Layer: T2b-Y - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0p411_to_0p665_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.411000013F, StepThenHoldEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, 0.411000013F, HoldThenStepEasingFunction()); - // Frame 85. - result.InsertKeyFrame(0.47486034F, 0.665000021F, CubicBezierEasingFunction_4()); - return result; - } - - // - - Layer aggregator - // - Layer: T2b-B - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_0p411_to_0p665_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.411000013F, StepThenHoldEasingFunction()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0.411000013F, HoldThenStepEasingFunction()); - // Frame 91. - result.InsertKeyFrame(0.508379877F, 0.665000021F, CubicBezierEasingFunction_4()); - return result; - } - - // - - - Layer aggregator - // - - Layer: O-Y - // - ShapeGroup: Ellipse 1 Offset:<196, 267> - // Ellipse Path 1.EllipseGeometry - // TrimEnd - ScalarKeyFrameAnimation TrimEndScalarAnimation_1_to_0p88() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 1F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 1F, HoldThenStepEasingFunction()); - // Frame 63. - result.InsertKeyFrame(0.351955295F, 0.879999995F, CubicBezierEasingFunction_2()); - return result; - } - - // - - - Layer aggregator - // - - Layer: O-Y - // - ShapeGroup: Ellipse 1 Offset:<196, 267> - // Ellipse Path 1.EllipseGeometry - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0_to_0p399() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0F, HoldThenStepEasingFunction()); - // Frame 63. - result.InsertKeyFrame(0.351955295F, 0.300000012F, CubicBezierEasingFunction_2()); - // Frame 91. - result.InsertKeyFrame(0.508379877F, 0.398999989F, _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 1F), new Vector2(0.432000011F, 1F))); - return result; - } - - // - - Layer aggregator - // - Layer: T2a-Y - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0p5_to_0_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.5F, StepThenHoldEasingFunction()); - // Frame 72. - result.InsertKeyFrame(0.402234644F, 0.5F, HoldThenStepEasingFunction()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0F, CubicBezierEasingFunction_7()); - return result; - } - - // - - Layer aggregator - // - Layer: T2a-B - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0p5_to_0_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.5F, StepThenHoldEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 0.5F, HoldThenStepEasingFunction()); - // Frame 85. - result.InsertKeyFrame(0.47486034F, 0F, CubicBezierEasingFunction_7()); - return result; - } - - // - - Layer aggregator - // - Layer: T2b-Y - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0p29_to_0_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.289999992F, StepThenHoldEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, 0.289999992F, HoldThenStepEasingFunction()); - // Frame 85. - result.InsertKeyFrame(0.47486034F, 0F, CubicBezierEasingFunction_4()); - return result; - } - - // - - Layer aggregator - // - Layer: T2b-B - // TrimStart - ScalarKeyFrameAnimation TrimStartScalarAnimation_0p29_to_0_1() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.289999992F, StepThenHoldEasingFunction()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0.289999992F, HoldThenStepEasingFunction()); - // Frame 91. - result.InsertKeyFrame(0.508379877F, 0F, CubicBezierEasingFunction_4()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0_to_0p249() - { - // Frame 0. - if (_tStartScalarAnimation_0_to_0p249 != null) { return _tStartScalarAnimation_0_to_0p249; } - var result = _tStartScalarAnimation_0_to_0p249 = CreateScalarKeyFrameAnimation(0F, 0F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0F, HoldThenStepEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.391061455F, 0.248999998F, _c.CreateCubicBezierEasingFunction(new Vector2(0.300999999F, 0F), new Vector2(0.833000004F, 1F))); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p8_to_0() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.800000012F, StepThenHoldEasingFunction()); - // Frame 16. - result.InsertKeyFrame(0.0893854722F, 0.800000012F, HoldThenStepEasingFunction()); - // Frame 20. - result.InsertKeyFrame(0.111731842F, 0.5F, _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.703000009F, 0.856999993F))); - // Frame 28. - result.InsertKeyFrame(0.156424582F, 0F, _c.CreateCubicBezierEasingFunction(new Vector2(0.333000004F, 0.202000007F), new Vector2(0.938000023F, 1F))); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p8_to_0p3() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.800000012F, StepThenHoldEasingFunction()); - // Frame 18. - result.InsertKeyFrame(0.100558661F, 0.800000012F, HoldThenStepEasingFunction()); - // Frame 23. - result.InsertKeyFrame(0.128491625F, 0.5F, _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.703000009F, 0.82099998F))); - // Frame 55. - result.InsertKeyFrame(0.30726257F, 0.300000012F, _c.CreateCubicBezierEasingFunction(new Vector2(0.0370000005F, 0.167999998F), new Vector2(0.263000011F, 1F))); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_00() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 29. - result.InsertKeyFrame(0.162011176F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 33. - result.InsertKeyFrame(0.184357539F, 0.375330001F, CubicBezierEasingFunction_2()); - // Frame 36. - result.InsertKeyFrame(0.201117322F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_01() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 29. - result.InsertKeyFrame(0.162011176F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 33. - result.InsertKeyFrame(0.184357539F, 0.253329992F, CubicBezierEasingFunction_2()); - // Frame 36. - result.InsertKeyFrame(0.201117322F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_02() - { - // Frame 0. - if (_tStartScalarAnimation_0p87_to_0_02 != null) { return _tStartScalarAnimation_0p87_to_0_02; } - var result = _tStartScalarAnimation_0p87_to_0_02 = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 65. - result.InsertKeyFrame(0.363128483F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.391061455F, 0.212329999F, CubicBezierEasingFunction_2()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_03() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 57. - result.InsertKeyFrame(0.318435758F, 0.421330005F, CubicBezierEasingFunction_2()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_04() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 57. - result.InsertKeyFrame(0.318435758F, 0.438329995F, CubicBezierEasingFunction_2()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_05() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 57. - result.InsertKeyFrame(0.318435758F, 0.506330013F, CubicBezierEasingFunction_2()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_06() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 57. - result.InsertKeyFrame(0.318435758F, 0.439330012F, CubicBezierEasingFunction_2()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_07() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 97. - result.InsertKeyFrame(0.541899443F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 100. - result.InsertKeyFrame(0.558659196F, 0.421330005F, CubicBezierEasingFunction_2()); - // Frame 107. - result.InsertKeyFrame(0.597765386F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_08() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 97. - result.InsertKeyFrame(0.541899443F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 100. - result.InsertKeyFrame(0.558659196F, 0.438329995F, CubicBezierEasingFunction_2()); - // Frame 107. - result.InsertKeyFrame(0.597765386F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_09() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 97. - result.InsertKeyFrame(0.541899443F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 100. - result.InsertKeyFrame(0.558659196F, 0.506330013F, CubicBezierEasingFunction_2()); - // Frame 107. - result.InsertKeyFrame(0.597765386F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_10() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 80. - result.InsertKeyFrame(0.446927369F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0.212329999F, CubicBezierEasingFunction_2()); - // Frame 87. - result.InsertKeyFrame(0.486033529F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_11() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 87. - result.InsertKeyFrame(0.486033529F, 0.212329999F, CubicBezierEasingFunction_2()); - // Frame 91. - result.InsertKeyFrame(0.508379877F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_12() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 85. - result.InsertKeyFrame(0.47486034F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 90. - result.InsertKeyFrame(0.502793312F, 0.212329999F, CubicBezierEasingFunction_2()); - // Frame 94. - result.InsertKeyFrame(0.525139689F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_13() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, 0.421330005F, CubicBezierEasingFunction_2()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_14() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, 0.438329995F, CubicBezierEasingFunction_2()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_15() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, 0.506330013F, CubicBezierEasingFunction_2()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_16() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, 0.421330005F, CubicBezierEasingFunction_2()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_17() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, 0.438329995F, CubicBezierEasingFunction_2()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // TStart - ScalarKeyFrameAnimation TStartScalarAnimation_0p87_to_0_18() - { - // Frame 0. - var result = CreateScalarKeyFrameAnimation(0F, 0.870000005F, StepThenHoldEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, 0.870000005F, HoldThenStepEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, 0.506330013F, CubicBezierEasingFunction_2()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, 0F, CubicBezierEasingFunction_2()); - return result; - } - - // Layer aggregator - ShapeVisual ShapeVisual_0() - { - var result = _c.CreateShapeVisual(); - result.Size = new Vector2(375F, 667F); - var shapes = result.Shapes; - // Offset:<187.5, 333.5> - shapes.Add(SpriteShape_00()); - // Layer: Dot-Y - shapes.Add(ContainerShape_00()); - // Layer: E3-Y - shapes.Add(ContainerShape_02()); - // Layer: E3-B - shapes.Add(ContainerShape_03()); - // Layer: I-Y - shapes.Add(ContainerShape_04()); - // Layer: I-B - shapes.Add(ContainerShape_05()); - // Layer: E2-Y - shapes.Add(ContainerShape_06()); - // Layer: E2-B - shapes.Add(ContainerShape_07()); - // Layer: E1-Y - shapes.Add(ContainerShape_08()); - // Layer: E1-B - shapes.Add(ContainerShape_09()); - // Layer: T1a-Y - shapes.Add(ContainerShape_10()); - // Layer: T2b-Y - shapes.Add(SpriteShape_11()); - // Layer: T2a-Y - shapes.Add(SpriteShape_12()); - // Layer: T2b-B - shapes.Add(SpriteShape_13()); - // Layer: T1b-Y - shapes.Add(SpriteShape_14()); - // Layer: T1b-B - shapes.Add(SpriteShape_15()); - // Layer: O-Y - shapes.Add(ContainerShape_11()); - // Layer: T1a-Y 2 - shapes.Add(ContainerShape_12()); - // Layer: T2a-B - shapes.Add(SpriteShape_19()); - // Layer: T1a-B - shapes.Add(ContainerShape_13()); - // Layer: Dot-Y - shapes.Add(ContainerShape_14()); - // Layer: L-Y - shapes.Add(SpriteShape_22()); - // Layer: L-B - shapes.Add(SpriteShape_23()); - // Layer: Dot1 - shapes.Add(ContainerShape_16()); - // Layer: S1-Y - shapes.Add(ContainerShape_17()); - // Layer: S7 - shapes.Add(ContainerShape_18()); - // Layer: S3-Y - shapes.Add(ContainerShape_19()); - // Layer: S3-Y 2 - shapes.Add(ContainerShape_20()); - // Layer: S11 - shapes.Add(SpriteShape_36()); - // Layer: S12 - shapes.Add(SpriteShape_37()); - // Layer: S13 - shapes.Add(SpriteShape_38()); - // Layer: S3-Y 3 - shapes.Add(ContainerShape_21()); - // Layer: S3-Y 4 - shapes.Add(ContainerShape_22()); - return result; - } - - StepEasingFunction HoldThenStepEasingFunction() - { - if (_holdThenStepEasingFunction != null) { return _holdThenStepEasingFunction; } - var result = _holdThenStepEasingFunction = _c.CreateStepEasingFunction(); - result.IsFinalStepSingleFrame = true; - return result; - } - - StepEasingFunction StepThenHoldEasingFunction() - { - if (_stepThenHoldEasingFunction != null) { return _stepThenHoldEasingFunction; } - var result = _stepThenHoldEasingFunction = _c.CreateStepEasingFunction(); - result.IsInitialStepSingleFrame = true; - return result; - } - - // - - Layer aggregator - // - Layer: Dot-Y - // Transforms: Dot-Y - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_00() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(-153.528F, -206.753998F), StepThenHoldEasingFunction()); - // Frame 96. - result.InsertKeyFrame(0.536312878F, new Vector2(-153.528F, -206.753998F), HoldThenStepEasingFunction()); - // Frame 108. - result.InsertKeyFrame(0.603351951F, new Vector2(-134.278F, -206.753998F), _c.CreateCubicBezierEasingFunction(new Vector2(0F, 0F), new Vector2(0F, 0.811999977F))); - // Frame 115. - result.InsertKeyFrame(0.642458081F, new Vector2(-133.028F, -206.753998F), _c.CreateCubicBezierEasingFunction(new Vector2(0.389999986F, 0.707000017F), new Vector2(0.708000004F, 1F))); - return result; - } - - // - Layer aggregator - // Layer: Dot-Y - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_01() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(104.781998F, -2.52699995F), StepThenHoldEasingFunction()); - // Frame 96. - result.InsertKeyFrame(0.536312878F, new Vector2(104.781998F, -2.52699995F), HoldThenStepEasingFunction()); - // Frame 99. - result.InsertKeyFrame(0.553072631F, new Vector2(104.781998F, -4.52699995F), CubicBezierEasingFunction_0()); - // Frame 102. - result.InsertKeyFrame(0.569832385F, new Vector2(104.781998F, -2.52699995F), CubicBezierEasingFunction_1()); - // Frame 105. - result.InsertKeyFrame(0.586592197F, new Vector2(104.781998F, -3.09100008F), CubicBezierEasingFunction_0()); - // Frame 108. - result.InsertKeyFrame(0.603351951F, new Vector2(104.781998F, -2.52699995F), CubicBezierEasingFunction_1()); - return result; - } - - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_02() - { - // Frame 0. - if (_offsetVector2Animation_02 != null) { return _offsetVector2Animation_02; } - var result = _offsetVector2Animation_02 = CreateVector2KeyFrameAnimation(0F, new Vector2(-225.957001F, -204.322006F), StepThenHoldEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, new Vector2(-225.957001F, -204.322006F), HoldThenStepEasingFunction()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, new Vector2(-207.957001F, -204.322006F), CubicBezierEasingFunction_3()); - // Frame 96. - result.InsertKeyFrame(0.536312878F, new Vector2(-210.957001F, -204.322006F), _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0F), new Vector2(0.666999996F, 1F))); - return result; - } - - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_03() - { - // Frame 0. - if (_offsetVector2Animation_03 != null) { return _offsetVector2Animation_03; } - var result = _offsetVector2Animation_03 = CreateVector2KeyFrameAnimation(0F, new Vector2(-210.207993F, -219.320999F), StepThenHoldEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, new Vector2(-210.207993F, -219.320999F), HoldThenStepEasingFunction()); - // Frame 88. - result.InsertKeyFrame(0.491620123F, new Vector2(-211.175995F, -199.352997F), CubicBezierEasingFunction_4()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, new Vector2(-210.957993F, -204.320999F), CubicBezierEasingFunction_5()); - return result; - } - - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_04() - { - // Frame 0. - if (_offsetVector2Animation_04 != null) { return _offsetVector2Animation_04; } - var result = _offsetVector2Animation_04 = CreateVector2KeyFrameAnimation(0F, new Vector2(-222.957993F, -204.322006F), StepThenHoldEasingFunction()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, new Vector2(-222.957993F, -204.322006F), HoldThenStepEasingFunction()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, new Vector2(-210.957993F, -204.322006F), CubicBezierEasingFunction_4()); - return result; - } - - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_05() - { - // Frame 0. - if (_offsetVector2Animation_05 != null) { return _offsetVector2Animation_05; } - var result = _offsetVector2Animation_05 = CreateVector2KeyFrameAnimation(0F, new Vector2(-230.957001F, -205.695999F), StepThenHoldEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, new Vector2(-230.957001F, -205.695999F), HoldThenStepEasingFunction()); - // Frame 88. - result.InsertKeyFrame(0.491620123F, new Vector2(-206.957001F, -205.695999F), CubicBezierEasingFunction_4()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, new Vector2(-210.957001F, -205.695999F), CubicBezierEasingFunction_5()); - return result; - } - - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_06() - { - // Frame 0. - if (_offsetVector2Animation_06 != null) { return _offsetVector2Animation_06; } - var result = _offsetVector2Animation_06 = CreateVector2KeyFrameAnimation(0F, new Vector2(-210.957001F, -201.322006F), StepThenHoldEasingFunction()); - // Frame 56. - result.InsertKeyFrame(0.312849164F, new Vector2(-210.957001F, -201.322006F), HoldThenStepEasingFunction()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, new Vector2(-210.957001F, -204.322006F), CubicBezierEasingFunction_3()); - return result; - } - - // - Layer aggregator - // Layer: O-Y - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_07() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(-259.583008F, -193.447006F), StepThenHoldEasingFunction()); - result.SetReferenceParameter("_", _root); - // Frame 31. - result.InsertKeyFrame(0.17318435F, new Vector2(-259.583008F, -193.447006F), HoldThenStepEasingFunction()); - // Frame 35.26. - result.InsertKeyFrame(0.196966484F, new Vector2(-250.582993F, -258.946991F), CubicBezierEasingFunction_2()); - // Frame 44. - result.InsertExpressionKeyFrame(0.245810047F, "Pow(1-_.t0,3)*Vector2(-250.583,-258.947)+(3*Square(1-_.t0)*_.t0*Vector2(-250.583,-258.947))+(3*(1-_.t0)*Square(_.t0)*Vector2(-249.6143,-337.5837))+(Pow(_.t0,3)*Vector2(-230.458,-339.322))", StepThenHoldEasingFunction()); - // Frame 54. - result.InsertExpressionKeyFrame(0.301675946F, "Pow(1-_.t0,3)*Vector2(-230.458,-339.322)+(3*Square(1-_.t0)*_.t0*Vector2(-214.2505,-340.7927))+(3*(1-_.t0)*Square(_.t0)*Vector2(-210.958,-164.322))+(Pow(_.t0,3)*Vector2(-210.958,-164.322))", StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, new Vector2(-210.957993F, -164.322006F), StepThenHoldEasingFunction()); - // Frame 63. - result.InsertKeyFrame(0.351955295F, new Vector2(-210.957993F, -207.322006F), _c.CreateCubicBezierEasingFunction(new Vector2(0.180000007F, 0F), new Vector2(0.34799999F, 1F))); - // Frame 73. - result.InsertKeyFrame(0.407821238F, new Vector2(-210.957993F, -204.322006F), _c.CreateCubicBezierEasingFunction(new Vector2(0.693000019F, 0F), new Vector2(0.270000011F, 1F))); - return result; - } - - // - - Layer aggregator - // - Layer: Dot-Y - // Transforms: Dot-Y - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_08() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(-156.916F, -206.503998F), StepThenHoldEasingFunction()); - // Frame 28. - result.InsertKeyFrame(0.156424582F, new Vector2(-156.916F, -206.503998F), HoldThenStepEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, new Vector2(-117.416F, -206.503998F), CubicBezierEasingFunction_2()); - return result; - } - - // - Layer aggregator - // Layer: Dot-Y - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_09() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(-93.6669998F, -51.8180008F), StepThenHoldEasingFunction()); - // Frame 28. - result.InsertKeyFrame(0.156424582F, new Vector2(-93.6669998F, -51.8180008F), HoldThenStepEasingFunction()); - // Frame 40. - result.InsertKeyFrame(0.223463684F, new Vector2(-93.6669998F, -132.817993F), _c.CreateCubicBezierEasingFunction(new Vector2(0.166999996F, 0.166999996F), new Vector2(0.25999999F, 1F))); - // Frame 54. - result.InsertKeyFrame(0.301675975F, new Vector2(-93.6669998F, 42.0569992F), _c.CreateCubicBezierEasingFunction(new Vector2(0.74000001F, 0F), new Vector2(0.833000004F, 0.833000004F))); - return result; - } - - // - Layer aggregator - // Layer: Dot1 - // Offset - Vector2KeyFrameAnimation OffsetVector2Animation_10() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(98.9800034F, -157.509995F), HoldThenStepEasingFunction()); - // Frame 18.69. - result.InsertKeyFrame(0.104395606F, new Vector2(-161.020004F, -157.509995F), _c.CreateCubicBezierEasingFunction(new Vector2(0.823000014F, 0F), new Vector2(0.833000004F, 0.833000004F))); - return result; - } - - // Radius - Vector2KeyFrameAnimation RadiusVector2Animation() - { - // Frame 0. - if (_radiusVector2Animation != null) { return _radiusVector2Animation; } - var result = _radiusVector2Animation = CreateVector2KeyFrameAnimation(0F, new Vector2(1.5F, 1.5F), StepThenHoldEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, new Vector2(1.5F, 1.5F), HoldThenStepEasingFunction()); - // Frame 61. - result.InsertKeyFrame(0.340782136F, new Vector2(22.2999992F, 22.2999992F), _c.CreateCubicBezierEasingFunction(new Vector2(0.333000004F, 0F), new Vector2(0.666999996F, 1F))); - return result; - } - - // - Layer aggregator - // Layer: Dot-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_00() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 96. - result.InsertKeyFrame(0.536312878F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: E3-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_01() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 102. - result.InsertKeyFrame(0.569832385F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: E3-B - Vector2KeyFrameAnimation ShapeVisibilityAnimation_02() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: I-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_03() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 78. - result.InsertKeyFrame(0.43575418F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 93. - result.InsertKeyFrame(0.519553065F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - Vector2KeyFrameAnimation ShapeVisibilityAnimation_04() - { - // Frame 0. - if (_shapeVisibilityAnimation_04 != null) { return _shapeVisibilityAnimation_04; } - var result = _shapeVisibilityAnimation_04 = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 81. - result.InsertKeyFrame(0.452513963F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: E2-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_05() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 96. - result.InsertKeyFrame(0.536312878F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: E2-B - Vector2KeyFrameAnimation ShapeVisibilityAnimation_06() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 86. - result.InsertKeyFrame(0.480446935F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: E1-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_07() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 79. - result.InsertKeyFrame(0.441340774F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 94. - result.InsertKeyFrame(0.525139689F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: E1-B - Vector2KeyFrameAnimation ShapeVisibilityAnimation_08() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T1a-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_09() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 59. - result.InsertKeyFrame(0.329608947F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 156. - result.InsertKeyFrame(0.87150836F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T2b-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_10() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 92. - result.InsertKeyFrame(0.513966501F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T2a-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_11() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 72. - result.InsertKeyFrame(0.402234644F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 89. - result.InsertKeyFrame(0.497206718F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T2b-B - Vector2KeyFrameAnimation ShapeVisibilityAnimation_12() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 82. - result.InsertKeyFrame(0.458100557F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T1b-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_13() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.391061455F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 161. - result.InsertKeyFrame(0.899441361F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: O-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_14() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T1a-Y 2 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_15() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 59. - result.InsertKeyFrame(0.329608947F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T2a-B - Vector2KeyFrameAnimation ShapeVisibilityAnimation_16() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: T1a-B - Vector2KeyFrameAnimation ShapeVisibilityAnimation_17() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 70. - result.InsertKeyFrame(0.391061455F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: Dot-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_18() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 28. - result.InsertKeyFrame(0.156424582F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: L-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_19() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 16. - result.InsertKeyFrame(0.0893854722F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: L-B - Vector2KeyFrameAnimation ShapeVisibilityAnimation_20() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 18. - result.InsertKeyFrame(0.100558661F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: Dot1 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_21() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 17. - result.InsertKeyFrame(0.0949720666F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S1-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_22() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 30. - result.InsertKeyFrame(0.167597771F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 37. - result.InsertKeyFrame(0.206703916F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S7 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_23() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 65. - result.InsertKeyFrame(0.363128483F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S3-Y - Vector2KeyFrameAnimation ShapeVisibilityAnimation_24() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 54. - result.InsertKeyFrame(0.301675975F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 64. - result.InsertKeyFrame(0.357541889F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S3-Y 2 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_25() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 97. - result.InsertKeyFrame(0.541899443F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 107. - result.InsertKeyFrame(0.597765386F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S11 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_26() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 80. - result.InsertKeyFrame(0.446927369F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 90. - result.InsertKeyFrame(0.502793312F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S12 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_27() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 94. - result.InsertKeyFrame(0.525139689F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S13 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_28() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 85. - result.InsertKeyFrame(0.47486034F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 95. - result.InsertKeyFrame(0.530726254F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S3-Y 3 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_29() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 75. - result.InsertKeyFrame(0.418994427F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 83. - result.InsertKeyFrame(0.463687152F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - // - Layer aggregator - // Layer: S3-Y 4 - Vector2KeyFrameAnimation ShapeVisibilityAnimation_30() - { - // Frame 0. - var result = CreateVector2KeyFrameAnimation(0F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - // Frame 76. - result.InsertKeyFrame(0.424580991F, new Vector2(1F, 1F), HoldThenStepEasingFunction()); - // Frame 84. - result.InsertKeyFrame(0.469273746F, new Vector2(0F, 0F), HoldThenStepEasingFunction()); - return result; - } - - internal LottieLogo_AnimatedVisual( - Compositor compositor - ) - { - _c = compositor; - _reusableExpressionAnimation = compositor.CreateExpressionAnimation(); - Root(); - } - - public Visual RootVisual => _root; - public TimeSpan Duration => TimeSpan.FromTicks(c_durationTicks); - public Vector2 Size => new Vector2(375F, 667F); - void IDisposable.Dispose() => _root?.Dispose(); - - internal static bool IsRuntimeCompatible() - { - return Windows.Foundation.Metadata.ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract", 7); - } - } - } -} diff --git a/dev/AnimatedVisualPlayer/TestUI/nullsource.cs b/dev/AnimatedVisualPlayer/TestUI/nullsource.cs deleted file mode 100644 index 41c4594848..0000000000 --- a/dev/AnimatedVisualPlayer/TestUI/nullsource.cs +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using Microsoft.UI.Xaml.Controls; -using Windows.UI.Composition; - -namespace AnimatedVisuals -{ - // An IAnimatedVisualSource that always fails to create an animated visual. - // Used for testing of the fallback path in AnimatedVisualPlayer. - sealed class nullsource : IAnimatedVisualSource - { - public IAnimatedVisual TryCreateAnimatedVisual(Compositor compositor, out object diagnostics) - { - diagnostics = null; - // Return null to indicate failure. - return null; - } - } -} diff --git a/dev/AnimatedVisualPlayer/inc/Constants.cs b/dev/AnimatedVisualPlayer/inc/Constants.cs deleted file mode 100644 index 09f22dcc36..0000000000 --- a/dev/AnimatedVisualPlayer/inc/Constants.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace AnimatedVisualPlayerTests -{ - /// - /// Share these constants between the UI and the Interaction test that uses - /// Accessibility to access them. - /// - internal static class Constants - { - public const string FalseText = "False"; - public const string OneText = "1"; - public const string PlayingEndedText = "AnimatedVisualPlayer playing ended"; - public const string PointerMovedText = "Pointer moved"; - public const string TrueText = "True"; - public const string ZeroText = "0"; - } -} diff --git a/dev/AutoSuggestBox/APITests/AutoSuggestBoxTests.cs b/dev/AutoSuggestBox/APITests/AutoSuggestBoxTests.cs deleted file mode 100644 index a79b683278..0000000000 --- a/dev/AutoSuggestBox/APITests/AutoSuggestBoxTests.cs +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using Common; -using MUXControlsTestApp.Utilities; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Media; -using System.Linq; -using System.Collections.Generic; -using MUXControlsTestApp; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests -{ - [TestClass] - public class AutoSuggestBoxTests : ApiTestBase - { - [TestMethod] - public void VerifyAutoSuggestBoxCornerRadius() - { - if (PlatformConfiguration.IsOSVersionLessThan(OSVersion.Redstone5)) - { - Log.Warning("AutoSuggestBox CornerRadius property is not available pre-rs5"); - return; - } - - var autoSuggestBox = SetupAutoSuggestBox(); - - RunOnUIThread.Execute(() => - { - autoSuggestBox.CornerRadius = new CornerRadius(2); - autoSuggestBox.Focus(FocusState.Keyboard); - autoSuggestBox.Text = "123"; - autoSuggestBox.MaxHeight = 32; - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - var textBox = TestUtilities.FindDescendents(autoSuggestBox).Where(e => e.Name == "TextBox").Single(); - - // Flyout might open differently and as such flip corner radii values - Verify.IsTrue(new CornerRadius(2, 2, 0, 0) == textBox.CornerRadius || new CornerRadius(0,0,2,2) == textBox.CornerRadius); - - var overlayCornerRadius = new CornerRadius(0, 0, 0, 0); - var radius = App.Current.Resources["OverlayCornerRadius"]; - if (radius != null) - { - overlayCornerRadius = (CornerRadius)radius; - } - var popup = VisualTreeHelper.GetOpenPopups(Window.Current).Last(); - var popupBorder = popup.Child as Border; - - // Flyout might open differently and as such flip corner radii values - Verify.IsTrue(new CornerRadius(0, 0, overlayCornerRadius.BottomRight, overlayCornerRadius.BottomLeft) == popupBorder.CornerRadius - || new CornerRadius(overlayCornerRadius.TopRight, overlayCornerRadius.TopLeft, 0, 0) == popupBorder.CornerRadius); - }); - } - - [TestMethod] - public void VerifyVisualTree() - { - var autoSuggestBox = SetupAutoSuggestBox(); - VisualTreeTestHelper.VerifyVisualTree(root: autoSuggestBox, verificationFileNamePrefix: "AutoSuggestBox"); - } - - private AutoSuggestBox SetupAutoSuggestBox() - { - AutoSuggestBox autoSuggestBox = null; - RunOnUIThread.Execute(() => - { - autoSuggestBox = new AutoSuggestBox(); - List suggestions = new List - { - "Item 1", "Item 2", "Item 3" - }; - autoSuggestBox.ItemsSource = suggestions; - autoSuggestBox.Width = 400; - }); - TestUtilities.SetAsVisualTreeRoot(autoSuggestBox); - Verify.IsNotNull(autoSuggestBox); - return autoSuggestBox; - } - - } -} diff --git a/dev/AutoSuggestBox/APITests/AutoSuggestBox_APITests.projitems b/dev/AutoSuggestBox/APITests/AutoSuggestBox_APITests.projitems deleted file mode 100644 index fe63368fd4..0000000000 --- a/dev/AutoSuggestBox/APITests/AutoSuggestBox_APITests.projitems +++ /dev/null @@ -1,14 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - 84673739-208c-427e-a19e-e090ec3733ce - - - AutoSuggestBox_APITests - - - - - \ No newline at end of file diff --git a/dev/AutoSuggestBox/APITests/AutoSuggestBox_APITests.shproj b/dev/AutoSuggestBox/APITests/AutoSuggestBox_APITests.shproj deleted file mode 100644 index 23ea13b97f..0000000000 --- a/dev/AutoSuggestBox/APITests/AutoSuggestBox_APITests.shproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - 84673739-208c-427e-a19e-e090ec3733ce - 14.0 - - - - - - - - diff --git a/dev/AutoSuggestBox/AutoSuggestBox.vcxitems b/dev/AutoSuggestBox/AutoSuggestBox.vcxitems deleted file mode 100644 index 0d6fdededc..0000000000 --- a/dev/AutoSuggestBox/AutoSuggestBox.vcxitems +++ /dev/null @@ -1,38 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {417000d9-2641-4629-99f2-8f6033a6ac52} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - - - - - - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - - - - - - - - - - - \ No newline at end of file diff --git a/dev/AutoSuggestBox/AutoSuggestBoxHelper.cpp b/dev/AutoSuggestBox/AutoSuggestBoxHelper.cpp deleted file mode 100644 index f5d8b209c7..0000000000 --- a/dev/AutoSuggestBox/AutoSuggestBoxHelper.cpp +++ /dev/null @@ -1,161 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include -#include -#include "AutoSuggestBoxHelper.h" -#include "DispatcherHelper.h" -#include "CornerRadiusFilterConverter.h" -#include "ResourceAccessor.h" - -static constexpr auto c_popupName = L"SuggestionsPopup"sv; -static constexpr auto c_popupBorderName = L"SuggestionsContainer"sv; -static constexpr auto c_textBoxName = L"TextBox"sv; -static constexpr auto c_textBoxBorderName = L"BorderElement"sv; -static constexpr auto c_controlCornerRadiusKey = L"ControlCornerRadius"sv; -static constexpr auto c_overlayCornerRadiusKey = L"OverlayCornerRadius"sv; -GlobalDependencyProperty AutoSuggestBoxHelper::s_AutoSuggestEventRevokersProperty{ nullptr }; - -AutoSuggestBoxHelper::AutoSuggestBoxHelper() -{ - EnsureProperties(); -} - -void AutoSuggestBoxHelper::EnsureProperties() -{ - if (!s_AutoSuggestEventRevokersProperty) - { - s_AutoSuggestEventRevokersProperty = - InitializeDependencyProperty( - L"AutoSuggestEventRevokers", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - - AutoSuggestBoxHelperProperties::EnsureProperties(); -} - -void AutoSuggestBoxHelper::ClearProperties() -{ - s_AutoSuggestEventRevokersProperty = nullptr; - AutoSuggestBoxHelperProperties::ClearProperties(); -} - - -// The corner radius needs to be updated dynamically depending on whether the suggestion list is opening up or down. -// Xaml is not lifted yet when we implementing this feature so we don't have access to AutoSuggestBox code. -// Creating this attached property to help us plug in some extra logic without touching the actual code. -void AutoSuggestBoxHelper::OnKeepInteriorCornersSquarePropertyChanged( - const winrt::DependencyObject& sender, - const winrt::DependencyPropertyChangedEventArgs& args) -{ - if (auto autoSuggestBox = sender.try_as()) - { - const bool shouldMonitorAutoSuggestEvents = unbox_value(args.NewValue()); - if (shouldMonitorAutoSuggestEvents) - { - auto revokersInspectable = winrt::make(); - auto revokers = revokersInspectable.as(); - - revokers->m_autoSuggestBoxLoadedRevoker = autoSuggestBox.Loaded(winrt::auto_revoke, AutoSuggestBoxHelper::OnAutoSuggestBoxLoaded); - autoSuggestBox.SetValue(AutoSuggestEventRevokersProperty(), revokersInspectable); - } - else - { - autoSuggestBox.SetValue(AutoSuggestEventRevokersProperty(), nullptr); - } - } -} - -void AutoSuggestBoxHelper::OnAutoSuggestBoxLoaded(const winrt::IInspectable& sender, const winrt::IInspectable& args) -{ - auto autoSuggestBox = sender.as(); - auto revokers = autoSuggestBox.GetValue(AutoSuggestEventRevokersProperty()).as(); - - if (!revokers->m_popupOpenedRevoker || !revokers->m_popupClosedRevoker) - { - if (auto popup = GetTemplateChildT(c_popupName, autoSuggestBox)) - { - auto autoSuggestBoxWeakRef = winrt::make_weak(autoSuggestBox); - - revokers->m_popupOpenedRevoker = popup.Opened(winrt::auto_revoke, - [autoSuggestBoxWeakRef](const winrt::IInspectable& sender, const winrt::IInspectable& args) - { - if (auto autoSuggestBox = autoSuggestBoxWeakRef.get()) - { - UpdateCornerRadius(autoSuggestBox, /*IsDropDownOpen=*/true); - } - }); - - revokers->m_popupClosedRevoker = popup.Closed(winrt::auto_revoke, - [autoSuggestBoxWeakRef](const winrt::IInspectable& sender, const winrt::IInspectable& args) - { - if (auto autoSuggestBox = autoSuggestBoxWeakRef.get()) - { - UpdateCornerRadius(autoSuggestBox, /*IsDropDownOpen=*/false); - } - }); - } - } -} - -void AutoSuggestBoxHelper::UpdateCornerRadius(const winrt::AutoSuggestBox& autoSuggestBox, bool isPopupOpen) -{ - auto textBoxRadius = unbox_value(ResourceAccessor::ResourceLookup(autoSuggestBox, box_value(c_controlCornerRadiusKey))); - auto popupRadius = unbox_value(ResourceAccessor::ResourceLookup(autoSuggestBox, box_value(c_overlayCornerRadiusKey))); - - if (winrt::IControl7 autoSuggestBoxControl7 = autoSuggestBox) - { - textBoxRadius = autoSuggestBoxControl7.CornerRadius(); - } - - if (isPopupOpen) - { - auto const isOpenDown = IsPopupOpenDown(autoSuggestBox); - auto cornerRadiusConverter = winrt::make_self(); - - const auto popupRadiusFilter = isOpenDown ? winrt::CornerRadiusFilterKind::Bottom : winrt::CornerRadiusFilterKind::Top; - popupRadius = cornerRadiusConverter->Convert(popupRadius, popupRadiusFilter); - - const auto textBoxRadiusFilter = isOpenDown ? winrt::CornerRadiusFilterKind::Top : winrt::CornerRadiusFilterKind::Bottom; - textBoxRadius = cornerRadiusConverter->Convert(textBoxRadius, textBoxRadiusFilter); - } - - if (auto popupBorder = GetTemplateChildT(c_popupBorderName, autoSuggestBox)) - { - popupBorder.CornerRadius(popupRadius); - } - - if (auto textBox = GetTemplateChildT(c_textBoxName, autoSuggestBox)) - { - if (winrt::IControl7 textBoxControl7 = textBox) - { - textBoxControl7.CornerRadius(textBoxRadius); - } - else - { - if (auto textBoxBorder = GetTemplateChildT(c_textBoxBorderName, textBox)) - { - textBoxBorder.CornerRadius(textBoxRadius); - } - } - } -} - -bool AutoSuggestBoxHelper::IsPopupOpenDown(const winrt::AutoSuggestBox& autoSuggestBox) -{ - double verticalOffset = 0; - if (auto popupBorder = GetTemplateChildT(c_popupBorderName, autoSuggestBox)) - { - if (auto textBox = GetTemplateChildT(c_textBoxName, autoSuggestBox)) - { - const auto transform = popupBorder.TransformToVisual(textBox); - const auto popupTop = transform.TransformPoint(winrt::Point(0, 0)); - verticalOffset = popupTop.Y; - } - } - return verticalOffset >= 0; -} diff --git a/dev/AutoSuggestBox/AutoSuggestBoxHelper.h b/dev/AutoSuggestBox/AutoSuggestBoxHelper.h deleted file mode 100644 index 7f03ba398c..0000000000 --- a/dev/AutoSuggestBox/AutoSuggestBoxHelper.h +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once -#include "AutoSuggestBoxHelper.g.h" -#include "AutoSuggestBoxHelper.properties.h" - -class AutoSuggestBoxHelper - : public winrt::implementation::AutoSuggestBoxHelperT - , public AutoSuggestBoxHelperProperties -{ -public: - AutoSuggestBoxHelper(); - - static void EnsureProperties(); - static void ClearProperties(); - - static winrt::DependencyProperty AutoSuggestEventRevokersProperty() { return s_AutoSuggestEventRevokersProperty; } - static void OnKeepInteriorCornersSquarePropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyPropertyChangedEventArgs& args); - - static GlobalDependencyProperty s_AutoSuggestEventRevokersProperty; - -private: - static void OnAutoSuggestBoxLoaded(const winrt::IInspectable& sender, const winrt::IInspectable& args); - - static void UpdateCornerRadius(const winrt::AutoSuggestBox& autoSuggestBox, bool isPopupOpen); - static bool IsPopupOpenDown(const winrt::AutoSuggestBox& autoSuggestBox); -}; - -class AutoSuggestEventRevokers - : public winrt::implements -{ -public: - winrt::AutoSuggestBox::Loaded_revoker m_autoSuggestBoxLoadedRevoker; - winrt::Popup::Opened_revoker m_popupOpenedRevoker; - winrt::Popup::Closed_revoker m_popupClosedRevoker; -}; diff --git a/dev/AutoSuggestBox/AutoSuggestBoxHelper.idl b/dev/AutoSuggestBox/AutoSuggestBoxHelper.idl deleted file mode 100644 index 3abd597bf5..0000000000 --- a/dev/AutoSuggestBox/AutoSuggestBoxHelper.idl +++ /dev/null @@ -1,16 +0,0 @@ -namespace MU_XCP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -[default_interface] -runtimeclass AutoSuggestBoxHelper -{ - [MUX_DEFAULT_VALUE("false")] - [MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnKeepInteriorCornersSquarePropertyChanged")] - static Windows.UI.Xaml.DependencyProperty KeepInteriorCornersSquareProperty { get; }; - static void SetKeepInteriorCornersSquare(Windows.UI.Xaml.Controls.AutoSuggestBox autoSuggestBox, Boolean value); - static Boolean GetKeepInteriorCornersSquare(Windows.UI.Xaml.Controls.AutoSuggestBox autoSuggestBox); -}; - -} diff --git a/dev/AutoSuggestBox/AutoSuggestBox_themeresources.xaml b/dev/AutoSuggestBox/AutoSuggestBox_themeresources.xaml deleted file mode 100644 index 78870e3b14..0000000000 --- a/dev/AutoSuggestBox/AutoSuggestBox_themeresources.xaml +++ /dev/null @@ -1,489 +0,0 @@ - - - - - - - - - - 12 - - - - - - - 12 - - - - - - - - 12 - - - - 0,0,0,8 - 1,3 - 0,4 - 3,2 - 3 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Visible - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/ColorPicker/ColorPickerSlider.cpp b/dev/ColorPicker/ColorPickerSlider.cpp deleted file mode 100644 index cf00d86235..0000000000 --- a/dev/ColorPicker/ColorPickerSlider.cpp +++ /dev/null @@ -1,274 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "ColorPickerSlider.h" -#include "ColorPickerSliderAutomationPeer.h" - -#include "ColorPicker.h" -#include "ResourceAccessor.h" -#include "Utils.h" - -ColorPickerSlider::ColorPickerSlider() -{ - // We want the ColorPickerSlider to pick up everything for its default style from the Slider's default style, - // since its purpose is just to turn off keyboarding. So we'll give it Slider's control name as its default style key - // instead of ColorPickerSlider. - winrt::IControlProtected controlProtected = *this; - auto propertyValue = box_value(L"Windows.UI.Xaml.Controls.Slider"); - controlProtected.DefaultStyleKey(propertyValue); - - ValueChanged({ this, &ColorPickerSlider::OnValueChangedEvent }); -} - -winrt::AutomationPeer ColorPickerSlider::OnCreateAutomationPeer() -{ - return winrt::make(*this); -} - -void ColorPickerSlider::OnApplyTemplate() -{ - __super::OnApplyTemplate(); - - winrt::IControlProtected thisAsControlProtected = *this; - - m_toolTip.set(GetTemplateChildT(L"ToolTip", thisAsControlProtected)); - - if (auto toolTip = m_toolTip.get()) - { - toolTip.Content(box_value(GetToolTipString())); - } -} - -void ColorPickerSlider::OnKeyDown(winrt::KeyRoutedEventArgs const& args) -{ - if (args.Key() != winrt::VirtualKey::Left && - args.Key() != winrt::VirtualKey::Right && - args.Key() != winrt::VirtualKey::Up && - args.Key() != winrt::VirtualKey::Down) - { - __super::OnKeyDown(args); - return; - } - - winrt::ColorPicker parentColorPicker = GetParentColorPicker(); - - if (!parentColorPicker) - { - return; - } - - const bool isControlDown = (winrt::Window::Current().CoreWindow().GetKeyState(winrt::VirtualKey::Control) & winrt::CoreVirtualKeyStates::Down) == winrt::CoreVirtualKeyStates::Down; - - double minBound = 0; - double maxBound = 0; - - Hsv currentHsv = winrt::get_self(parentColorPicker)->GetCurrentHsv(); - double currentAlpha = 0; - - switch (ColorChannel()) - { - case winrt::ColorPickerHsvChannel::Hue: - minBound = parentColorPicker.MinHue(); - maxBound = parentColorPicker.MaxHue(); - currentHsv.h = Value(); - break; - - case winrt::ColorPickerHsvChannel::Saturation: - minBound = parentColorPicker.MinSaturation(); - maxBound = parentColorPicker.MaxSaturation(); - currentHsv.s = Value() / 100; - break; - - case winrt::ColorPickerHsvChannel::Value: - minBound = parentColorPicker.MinValue(); - maxBound = parentColorPicker.MaxValue(); - currentHsv.v = Value() / 100; - break; - - case winrt::ColorPickerHsvChannel::Alpha: - minBound = 0; - maxBound = 100; - currentAlpha = Value() / 100; - break; - - default: - throw winrt::hresult_error(E_FAIL); - } - - const bool shouldInvertHorizontalDirection = FlowDirection() == winrt::FlowDirection::RightToLeft && !IsDirectionReversed(); - - const IncrementDirection direction = - ((args.Key() == winrt::VirtualKey::Left && !shouldInvertHorizontalDirection) || - (args.Key() == winrt::VirtualKey::Right && shouldInvertHorizontalDirection) || - args.Key() == winrt::VirtualKey::Down) ? - IncrementDirection::Lower : - IncrementDirection::Higher; - - const IncrementAmount amount = isControlDown ? IncrementAmount::Large : IncrementAmount::Small; - - if (ColorChannel() != winrt::ColorPickerHsvChannel::Alpha) - { - currentHsv = IncrementColorChannel(currentHsv, ColorChannel(), direction, amount, false /* shouldWrap */, minBound, maxBound); - } - else - { - currentAlpha = IncrementAlphaChannel(currentAlpha, direction, amount, false /* shouldWrap */, minBound, maxBound); - } - - switch (ColorChannel()) - { - case winrt::ColorPickerHsvChannel::Hue: - Value(currentHsv.h); - break; - - case winrt::ColorPickerHsvChannel::Saturation: - Value(currentHsv.s * 100); - break; - - case winrt::ColorPickerHsvChannel::Value: - Value(currentHsv.v * 100); - break; - - case winrt::ColorPickerHsvChannel::Alpha: - Value(currentAlpha * 100); - break; - - default: - MUX_ASSERT(false); - } - - args.Handled(true); -} - -void ColorPickerSlider::OnGotFocus(winrt::RoutedEventArgs const& /*e*/) -{ - if (auto toolTip = m_toolTip.get()) - { - toolTip.Content(box_value(GetToolTipString())); - toolTip.IsEnabled(true); - toolTip.IsOpen(true); - } -} - -void ColorPickerSlider::OnLostFocus(winrt::RoutedEventArgs const& /*e*/) -{ - if (auto toolTip = m_toolTip.get()) - { - toolTip.IsOpen(false); - } -} - -void ColorPickerSlider::OnValueChangedEvent(winrt::IInspectable const& /*sender*/, winrt::RangeBaseValueChangedEventArgs const& args) -{ - if (auto toolTip = m_toolTip.get()) - { - toolTip.Content(box_value(GetToolTipString())); - - // ToolTip doesn't currently provide any way to re-run its placement logic if its placement target moves, - // so toggling IsEnabled induces it to do that without incurring any visual glitches. - toolTip.IsEnabled(false); - toolTip.IsEnabled(true); - } - - winrt::DependencyObject currentObject = *this; - winrt::ColorPicker owningColorPicker{ nullptr }; - - while (currentObject && (owningColorPicker = currentObject.try_as()) == nullptr) - { - currentObject = winrt::VisualTreeHelper::GetParent(currentObject); - } - - if (owningColorPicker) - { - const winrt::Color oldColor = owningColorPicker.Color(); - Hsv hsv = RgbToHsv(RgbFromColor(oldColor)); - hsv.v = args.NewValue() / 100.0; - const winrt::Color newColor = ColorFromRgba(HsvToRgb(hsv)); - - winrt::ColorPickerSliderAutomationPeer peer = winrt::FrameworkElementAutomationPeer::FromElement(*this).as(); - winrt::get_self(peer)->RaisePropertyChangedEvent(oldColor, newColor, static_cast(round(args.OldValue())), static_cast(round(args.NewValue()))); - } -} - -winrt::ColorPicker ColorPickerSlider::GetParentColorPicker() -{ - winrt::ColorPicker parentColorPicker{ nullptr }; - winrt::DependencyObject currentObject = *this; - - while (currentObject && !(parentColorPicker = currentObject.try_as())) - { - currentObject = winrt::VisualTreeHelper::GetParent(currentObject); - } - - return parentColorPicker; -} - -winrt::hstring ColorPickerSlider::GetToolTipString() -{ - const unsigned int sliderValue = static_cast(round(Value())); - - if (ColorChannel() == winrt::ColorPickerHsvChannel::Alpha) - { - return StringUtil::FormatString( - ResourceAccessor::GetLocalizedStringResource(SR_ToolTipStringAlphaSlider), - sliderValue); - } - else - { - winrt::ColorPicker parentColorPicker = GetParentColorPicker(); - if (parentColorPicker && DownlevelHelper::ToDisplayNameExists()) - { - Hsv currentHsv = winrt::get_self(parentColorPicker)->GetCurrentHsv(); - winrt::hstring localizedString; - - switch (ColorChannel()) - { - case winrt::ColorPickerHsvChannel::Hue: - currentHsv.h = Value(); - localizedString = ResourceAccessor::GetLocalizedStringResource(SR_ToolTipStringHueSliderWithColorName); - break; - - case winrt::ColorPickerHsvChannel::Saturation: - localizedString = ResourceAccessor::GetLocalizedStringResource(SR_ToolTipStringSaturationSliderWithColorName); - currentHsv.s = Value() / 100; - break; - - case winrt::ColorPickerHsvChannel::Value: - localizedString = ResourceAccessor::GetLocalizedStringResource(SR_ToolTipStringValueSliderWithColorName); - currentHsv.v = Value() / 100; - break; - default: - throw winrt::hresult_error(E_FAIL); - } - - return StringUtil::FormatString( - localizedString, - sliderValue, - winrt::ColorHelper::ToDisplayName(ColorFromRgba(HsvToRgb(currentHsv))).data()); - } - else - { - winrt::hstring localizedString; - switch (ColorChannel()) - { - case winrt::ColorPickerHsvChannel::Hue: - localizedString = ResourceAccessor::GetLocalizedStringResource(SR_ToolTipStringHueSliderWithoutColorName); - break; - case winrt::ColorPickerHsvChannel::Saturation: - localizedString = ResourceAccessor::GetLocalizedStringResource(SR_ToolTipStringSaturationSliderWithoutColorName); - break; - case winrt::ColorPickerHsvChannel::Value: - localizedString = ResourceAccessor::GetLocalizedStringResource(SR_ToolTipStringValueSliderWithoutColorName); - break; - default: - throw winrt::hresult_error(E_FAIL); - } - - return StringUtil::FormatString( - localizedString, - sliderValue); - } - } -} diff --git a/dev/ColorPicker/ColorPickerSlider.h b/dev/ColorPicker/ColorPickerSlider.h deleted file mode 100644 index bf5fb1b212..0000000000 --- a/dev/ColorPicker/ColorPickerSlider.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "ColorPickerSlider.g.h" -#include "ColorPickerSlider.properties.h" - -class ColorPickerSlider : - public ReferenceTracker, - public ColorPickerSliderProperties -{ -public: - ColorPickerSlider(); - - // IUIElementOverridesHelper overrides - winrt::AutomationPeer OnCreateAutomationPeer(); - - // IFrameworkElementOverrides overrides - void OnApplyTemplate(); - - // IControlOverrides overrides - void OnKeyDown(winrt::KeyRoutedEventArgs const& e); - void OnGotFocus(winrt::RoutedEventArgs const& e); - void OnLostFocus(winrt::RoutedEventArgs const& e); - -private: - void OnValueChangedEvent(winrt::IInspectable const& sender, winrt::RangeBaseValueChangedEventArgs const& args); - - winrt::ColorPicker GetParentColorPicker(); - winrt::hstring GetToolTipString(); - - tracker_ref m_toolTip{ this }; -}; \ No newline at end of file diff --git a/dev/ColorPicker/ColorPickerSlider.idl b/dev/ColorPicker/ColorPickerSlider.idl deleted file mode 100644 index 91f21924fe..0000000000 --- a/dev/ColorPicker/ColorPickerSlider.idl +++ /dev/null @@ -1,16 +0,0 @@ -namespace MU_XCP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass ColorPickerSlider : Windows.UI.Xaml.Controls.Slider -{ - ColorPickerSlider(); - - [MUX_DEFAULT_VALUE("winrt::ColorPickerHsvChannel::Value")] - MU_XC_NAMESPACE.ColorPickerHsvChannel ColorChannel { get; set; }; - - static Windows.UI.Xaml.DependencyProperty ColorChannelProperty { get; }; -} - -} diff --git a/dev/ColorPicker/ColorPickerSliderAutomationPeer.cpp b/dev/ColorPicker/ColorPickerSliderAutomationPeer.cpp deleted file mode 100644 index 521907a7ba..0000000000 --- a/dev/ColorPicker/ColorPickerSliderAutomationPeer.cpp +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "ColorPickerSliderAutomationPeer.h" - -#include "ColorPicker.h" -#include "ResourceAccessor.h" -#include "Utils.h" - -#include "ColorPickerSliderAutomationPeer.properties.cpp" - -ColorPickerSliderAutomationPeer::ColorPickerSliderAutomationPeer(winrt::ColorPickerSlider const& owner) - : ReferenceTracker(owner) -{ -} - -winrt::IInspectable ColorPickerSliderAutomationPeer::GetPatternCore(winrt::PatternInterface const& patternInterface) -{ - // If this slider is handling the alpha channel, then we don't want to do anything special for it - - // in that case, we'll just return the base SliderAutomationPeer. - if (Owner().as().ColorChannel() != winrt::ColorPickerHsvChannel::Alpha && patternInterface == winrt::PatternInterface::Value) - { - return *this; - } - - return __super::GetPatternCore(patternInterface); -} - -bool ColorPickerSliderAutomationPeer::IsReadOnly() -{ - return false; -} - -winrt::hstring ColorPickerSliderAutomationPeer::Value() -{ - winrt::ColorPickerSlider owner = Owner().as(); - winrt::DependencyObject currentObject = owner; - winrt::ColorPicker owningColorPicker{ nullptr }; - - while (currentObject && !(owningColorPicker = currentObject.try_as())) - { - currentObject = winrt::VisualTreeHelper::GetParent(currentObject); - } - - if (owningColorPicker) - { - const winrt::Color color = owningColorPicker.Color(); - const double sliderValue = owner.Value(); - - return GetValueString(color, static_cast(round(sliderValue))); - } - else - { - return L""; - } -} - -void ColorPickerSliderAutomationPeer::SetValue(winrt::hstring const& /*value*/) -{ - MUX_ASSERT(false); // Not implemented. -} - -void ColorPickerSliderAutomationPeer::RaisePropertyChangedEvent(winrt::Color oldColor, winrt::Color newColor, int oldValue, int newValue) -{ - winrt::hstring oldValueString = GetValueString(oldColor, oldValue); - winrt::hstring newValueString = GetValueString(newColor, newValue); - - __super::RaisePropertyChangedEvent(winrt::ValuePatternIdentifiers::ValueProperty(), box_value(oldValueString), box_value(newValueString)); -} - -winrt::hstring ColorPickerSliderAutomationPeer::GetValueString(winrt::Color color, int value) -{ - if (DownlevelHelper::ToDisplayNameExists()) - { - winrt::hstring resourceStringWithName; - switch (Owner().as().ColorChannel()) - { - case winrt::ColorPickerHsvChannel::Hue: - resourceStringWithName = ResourceAccessor::GetLocalizedStringResource(SR_ValueStringHueSliderWithColorName); - break; - case winrt::ColorPickerHsvChannel::Saturation: - resourceStringWithName = ResourceAccessor::GetLocalizedStringResource(SR_ValueStringSaturationSliderWithColorName); - break; - case winrt::ColorPickerHsvChannel::Value: - resourceStringWithName = ResourceAccessor::GetLocalizedStringResource(SR_ValueStringValueSliderWithColorName); - break; - default: - return L""; - } - - return StringUtil::FormatString( - resourceStringWithName, - value, - winrt::ColorHelper::ToDisplayName(color).data()); - } - else - { - winrt::hstring resourceStringWithoutName; - switch (Owner().as().ColorChannel()) - { - case winrt::ColorPickerHsvChannel::Hue: - resourceStringWithoutName = ResourceAccessor::GetLocalizedStringResource(SR_ValueStringHueSliderWithoutColorName); - break; - case winrt::ColorPickerHsvChannel::Saturation: - resourceStringWithoutName = ResourceAccessor::GetLocalizedStringResource(SR_ValueStringSaturationSliderWithoutColorName); - break; - case winrt::ColorPickerHsvChannel::Value: - resourceStringWithoutName = ResourceAccessor::GetLocalizedStringResource(SR_ValueStringValueSliderWithoutColorName); - break; - default: - return L""; - } - - return StringUtil::FormatString( - resourceStringWithoutName, - value); - } -} diff --git a/dev/ColorPicker/ColorPickerSliderAutomationPeer.h b/dev/ColorPicker/ColorPickerSliderAutomationPeer.h deleted file mode 100644 index a03e41e0b2..0000000000 --- a/dev/ColorPicker/ColorPickerSliderAutomationPeer.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "ColorPickerSlider.h" - -#include "ColorPickerSliderAutomationPeer.g.h" - -class ColorPickerSliderAutomationPeer : - public ReferenceTracker -{ -public: - ColorPickerSliderAutomationPeer(winrt::ColorPickerSlider const& owner); - - // IAutomationPeerOverrides - winrt::IInspectable GetPatternCore(winrt::PatternInterface const& patternInterface); - - // IValueProvider properties and methods - bool IsReadOnly(); - winrt::hstring Value(); - void SetValue(winrt::hstring const& value); - - void RaisePropertyChangedEvent(winrt::Color oldColor, winrt::Color newColor, int oldValue, int newValue); - -private: - winrt::hstring GetValueString(winrt::Color color, int value); -}; - diff --git a/dev/ColorPicker/ColorPickerSliderAutomationPeer.idl b/dev/ColorPicker/ColorPickerSliderAutomationPeer.idl deleted file mode 100644 index 5cddcb7184..0000000000 --- a/dev/ColorPicker/ColorPickerSliderAutomationPeer.idl +++ /dev/null @@ -1,11 +0,0 @@ -namespace MU_XAP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass ColorPickerSliderAutomationPeer : Windows.UI.Xaml.Automation.Peers.SliderAutomationPeer -{ - [method_name("CreateInstanceWithOwner")] ColorPickerSliderAutomationPeer(MU_XCP_NAMESPACE.ColorPickerSlider owner); -} - -} \ No newline at end of file diff --git a/dev/ColorPicker/ColorPicker_themeresources.xaml b/dev/ColorPicker/ColorPicker_themeresources.xaml deleted file mode 100644 index 24f2c2792d..0000000000 --- a/dev/ColorPicker/ColorPicker_themeresources.xaml +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 6 - 10 - 10 - 312 - 392 - 312 - 392 - 122 - - - diff --git a/dev/ColorPicker/ColorPicker_themeresources_v1.xaml b/dev/ColorPicker/ColorPicker_themeresources_v1.xaml deleted file mode 100644 index 304fc02144..0000000000 --- a/dev/ColorPicker/ColorPicker_themeresources_v1.xaml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - 312 - 392 - 312 - 392 - 122 - - - diff --git a/dev/ColorPicker/ColorPicker_v1.xaml b/dev/ColorPicker/ColorPicker_v1.xaml deleted file mode 100644 index 4a6f859d15..0000000000 --- a/dev/ColorPicker/ColorPicker_v1.xaml +++ /dev/null @@ -1,614 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/ColorPicker/ColorSpectrum.cpp b/dev/ColorPicker/ColorSpectrum.cpp deleted file mode 100644 index d10e5da9dd..0000000000 --- a/dev/ColorPicker/ColorSpectrum.cpp +++ /dev/null @@ -1,1719 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "ColorSpectrum.h" - -#include "ColorSpectrumAutomationPeer.h" -#include "SpectrumBrush.h" - -using namespace std; - -ColorSpectrum::ColorSpectrum() -{ - SetDefaultStyleKey(this); - - m_updatingColor = false; - m_updatingHsvColor = false; - m_isPointerOver = false; - m_isPointerPressed = false; - m_shouldShowLargeSelection = false; - - m_shapeFromLastBitmapCreation = Shape(); - m_componentsFromLastBitmapCreation = Components(); - m_imageWidthFromLastBitmapCreation = 0; - m_imageHeightFromLastBitmapCreation = 0; - m_minHueFromLastBitmapCreation = MinHue(); - m_maxHueFromLastBitmapCreation = MaxHue(); - m_minSaturationFromLastBitmapCreation = MinSaturation(); - m_maxSaturationFromLastBitmapCreation = MaxSaturation(); - m_minValueFromLastBitmapCreation = MinValue(); - m_maxValueFromLastBitmapCreation = MaxValue(); - - Unloaded({ this, &ColorSpectrum::OnUnloaded }); - - if (SharedHelpers::IsRS1OrHigher()) - { - IsFocusEngagementEnabled(true); - } -} - -winrt::AutomationPeer ColorSpectrum::OnCreateAutomationPeer() -{ - return winrt::make(*this); -} - -void ColorSpectrum::OnApplyTemplate() -{ - winrt::IControlProtected thisAsControlProtected = *this; - - m_layoutRoot.set(GetTemplateChildT(L"LayoutRoot", thisAsControlProtected)); - m_sizingGrid.set(GetTemplateChildT(L"SizingGrid", thisAsControlProtected)); - m_spectrumRectangle.set(GetTemplateChildT(L"SpectrumRectangle", thisAsControlProtected)); - m_spectrumEllipse.set(GetTemplateChildT(L"SpectrumEllipse", thisAsControlProtected)); - m_spectrumOverlayRectangle.set(GetTemplateChildT(L"SpectrumOverlayRectangle", thisAsControlProtected)); - m_spectrumOverlayEllipse.set(GetTemplateChildT(L"SpectrumOverlayEllipse", thisAsControlProtected)); - m_inputTarget.set(GetTemplateChildT(L"InputTarget", thisAsControlProtected)); - m_selectionEllipsePanel.set(GetTemplateChildT(L"SelectionEllipsePanel", thisAsControlProtected)); - m_colorNameToolTip.set(GetTemplateChildT(L"ColorNameToolTip", thisAsControlProtected)); - - if (auto&& layoutRoot = m_layoutRoot.get()) - { - layoutRoot.SizeChanged({ this, &ColorSpectrum::OnLayoutRootSizeChanged }); - } - - if (auto&& inputTarget = m_inputTarget.get()) - { - inputTarget.PointerEntered({ this, &ColorSpectrum::OnInputTargetPointerEntered }); - inputTarget.PointerExited({ this, &ColorSpectrum::OnInputTargetPointerExited }); - inputTarget.PointerPressed({ this, &ColorSpectrum::OnInputTargetPointerPressed }); - inputTarget.PointerMoved({ this, &ColorSpectrum::OnInputTargetPointerMoved }); - inputTarget.PointerReleased({ this, &ColorSpectrum::OnInputTargetPointerReleased }); - } - - if (DownlevelHelper::ToDisplayNameExists()) - { - if (auto&& colorNameToolTip = m_colorNameToolTip.get()) - { - colorNameToolTip.Content(box_value(winrt::ColorHelper::ToDisplayName(Color()))); - } - } - - if (auto&& selectionEllipsePanel = m_selectionEllipsePanel.get()) - { - selectionEllipsePanel.RegisterPropertyChangedCallback(winrt::FrameworkElement::FlowDirectionProperty(), { this, &ColorSpectrum::OnSelectionEllipseFlowDirectionChanged }); - } - - // If we haven't yet created our bitmaps, do so now. - if (m_hsvValues.size() == 0) - { - CreateBitmapsAndColorMap(); - } - - UpdateEllipse(); - UpdateVisualState(false /* useTransitions */); -} - -void ColorSpectrum::OnKeyDown(winrt::KeyRoutedEventArgs const& args) -{ - if (args.Key() != winrt::VirtualKey::Left && - args.Key() != winrt::VirtualKey::Right && - args.Key() != winrt::VirtualKey::Up && - args.Key() != winrt::VirtualKey::Down) - { - __super::OnKeyDown(args); - return; - } - - const bool isControlDown = (winrt::Window::Current().CoreWindow().GetKeyState(winrt::VirtualKey::Control) & winrt::CoreVirtualKeyStates::Down) == winrt::CoreVirtualKeyStates::Down; - - winrt::ColorPickerHsvChannel incrementChannel = winrt::ColorPickerHsvChannel::Hue; - - bool isSaturationValue = false; - - if (args.Key() == winrt::VirtualKey::Left || - args.Key() == winrt::VirtualKey::Right) - { - switch (Components()) - { - case winrt::ColorSpectrumComponents::HueSaturation: - case winrt::ColorSpectrumComponents::HueValue: - incrementChannel = winrt::ColorPickerHsvChannel::Hue; - break; - - case winrt::ColorSpectrumComponents::SaturationValue: - isSaturationValue = true; - [[fallthrough]]; // fallthrough is explicitly wanted - case winrt::ColorSpectrumComponents::SaturationHue: - incrementChannel = winrt::ColorPickerHsvChannel::Saturation; - break; - - case winrt::ColorSpectrumComponents::ValueHue: - case winrt::ColorSpectrumComponents::ValueSaturation: - incrementChannel = winrt::ColorPickerHsvChannel::Value; - break; - } - } - else if (args.Key() == winrt::VirtualKey::Up || - args.Key() == winrt::VirtualKey::Down) - { - switch (Components()) - { - case winrt::ColorSpectrumComponents::SaturationHue: - case winrt::ColorSpectrumComponents::ValueHue: - incrementChannel = winrt::ColorPickerHsvChannel::Hue; - break; - - case winrt::ColorSpectrumComponents::HueSaturation: - case winrt::ColorSpectrumComponents::ValueSaturation: - incrementChannel = winrt::ColorPickerHsvChannel::Saturation; - break; - - case winrt::ColorSpectrumComponents::SaturationValue: - isSaturationValue = true; - [[fallthrough]]; // fallthrough is explicitly wanted - case winrt::ColorSpectrumComponents::HueValue: - incrementChannel = winrt::ColorPickerHsvChannel::Value; - break; - } - } - - double minBound = 0; - double maxBound = 0; - - switch (incrementChannel) - { - case winrt::ColorPickerHsvChannel::Hue: - minBound = MinHue(); - maxBound = MaxHue(); - break; - - case winrt::ColorPickerHsvChannel::Saturation: - minBound = MinSaturation(); - maxBound = MaxSaturation(); - break; - - case winrt::ColorPickerHsvChannel::Value: - minBound = MinValue(); - maxBound = MaxValue(); - break; - } - - // The order of saturation and value in the spectrum is reversed - the max value is at the bottom while the min value is at the top - - // so we want left and up to be lower for hue, but higher for saturation and value. - // This will ensure that the icon always moves in the direction of the key press. - IncrementDirection direction = - (incrementChannel == winrt::ColorPickerHsvChannel::Hue && (args.Key() == winrt::VirtualKey::Left || args.Key() == winrt::VirtualKey::Up)) || - (incrementChannel != winrt::ColorPickerHsvChannel::Hue && (args.Key() == winrt::VirtualKey::Right || args.Key() == winrt::VirtualKey::Down)) ? - IncrementDirection::Lower : - IncrementDirection::Higher; - - // Image is flipped in RightToLeft, so we need to invert direction in that case. - // The combination saturation and value is also flipped, so we need to invert in that case too. - // If both are false, we don't need to invert. - // If both are true, we would invert twice, so not invert at all. - if ((FlowDirection() == winrt::FlowDirection::RightToLeft) != isSaturationValue && - (args.Key() == winrt::VirtualKey::Left || args.Key() == winrt::VirtualKey::Right)) - { - if (direction == IncrementDirection::Higher) - { - direction = IncrementDirection::Lower; - } - else - { - direction = IncrementDirection::Higher; - } - } - - const IncrementAmount amount = isControlDown ? IncrementAmount::Large : IncrementAmount::Small; - - const winrt::float4 hsvColor = HsvColor(); - UpdateColor(IncrementColorChannel(Hsv(hsv::GetHue(hsvColor), hsv::GetSaturation(hsvColor), hsv::GetValue(hsvColor)), incrementChannel, direction, amount, true /* shouldWrap */, minBound, maxBound)); - args.Handled(true); -} - -void ColorSpectrum::OnGotFocus(winrt::RoutedEventArgs const& /*e*/) -{ - // We only want to bother with the color name tool tip if we can provide color names. - if (auto&& colorNameToolTip = m_colorNameToolTip.get()) - { - if (DownlevelHelper::ToDisplayNameExists()) - { - colorNameToolTip.IsOpen(true); - } - } - - UpdateVisualState(true /* useTransitions */); -} - -void ColorSpectrum::OnLostFocus(winrt::RoutedEventArgs const& /*e*/) -{ - // We only want to bother with the color name tool tip if we can provide color names. - if (auto&& colorNameToolTip = m_colorNameToolTip.get()) - { - if (DownlevelHelper::ToDisplayNameExists()) - { - colorNameToolTip.IsOpen(false); - } - } - - UpdateVisualState(true /* useTransitions */); -} - -void ColorSpectrum::OnPropertyChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - winrt::IDependencyProperty property = args.Property(); - - if (property == s_ColorProperty) - { - OnColorChanged(args); - } - else if (property == s_HsvColorProperty) - { - OnHsvColorChanged(args); - } - else if (property == s_MinHueProperty || - property == s_MaxHueProperty) - { - OnMinMaxHueChanged(args); - } - else if (property == s_MinSaturationProperty || - property == s_MaxSaturationProperty) - { - OnMinMaxSaturationChanged(args); - } - else if (property == s_MinValueProperty || - property == s_MaxValueProperty) - { - OnMinMaxValueChanged(args); - } - else if (property == s_ShapeProperty) - { - OnShapeChanged(args); - } - else if (property == s_ComponentsProperty) - { - OnComponentsChanged(args); - } -} - -void ColorSpectrum::OnColorChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - // If we're in the process of internally updating the color, then we don't want to respond to the Color property changing. - if (!m_updatingColor) - { - const winrt::Color color = Color(); - - m_updatingHsvColor = true; - const Hsv newHsv = RgbToHsv(Rgb(color.R / 255.0, color.G / 255.0, color.B / 255.0)); - HsvColor(winrt::float4{ static_cast(newHsv.h), static_cast(newHsv.s), static_cast(newHsv.v), static_cast(color.A / 255.0) }); - m_updatingHsvColor = false; - - UpdateEllipse(); - UpdateBitmapSources(); - } - - m_oldColor = unbox_value(args.OldValue()); -} - -void ColorSpectrum::OnHsvColorChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - // If we're in the process of internally updating the HSV color, then we don't want to respond to the HsvColor property changing. - if (!m_updatingHsvColor) - { - SetColor(); - } - - m_oldHsvColor = unbox_value(args.OldValue()); -} - -void ColorSpectrum::SetColor() -{ - const winrt::float4 hsvColor = HsvColor(); - - m_updatingColor = true; - const Rgb newRgb = HsvToRgb(Hsv(hsv::GetHue(hsvColor), hsv::GetSaturation(hsvColor), hsv::GetValue(hsvColor))); - - Color(ColorFromRgba(newRgb, hsv::GetAlpha(hsvColor))); - - m_updatingColor = false; - - UpdateEllipse(); - UpdateBitmapSources(); - RaiseColorChanged(); -} - -void ColorSpectrum::RaiseColorChanged() -{ - const winrt::Color newColor = Color(); - const auto colorChanged = - m_oldColor.A != newColor.A || - m_oldColor.R != newColor.R || - m_oldColor.G != newColor.G || - m_oldColor.B != newColor.B; - const auto areBothColorsBlack = - (m_oldColor.R == newColor.R && newColor.R == 0) || - (m_oldColor.G == newColor.G && newColor.G == 0) || - (m_oldColor.B == newColor.B && newColor.B == 0); - - if (colorChanged || areBothColorsBlack) - { - auto colorChangedEventArgs = winrt::make_self(); - - colorChangedEventArgs->OldColor(m_oldColor); - colorChangedEventArgs->NewColor(newColor); - - m_colorChangedEventSource(*this, *colorChangedEventArgs); - - if (DownlevelHelper::ToDisplayNameExists()) - { - if (auto&& colorNameToolTip = m_colorNameToolTip.get()) - { - colorNameToolTip.Content(box_value(winrt::ColorHelper::ToDisplayName(newColor))); - } - } - - auto peer = winrt::FrameworkElementAutomationPeer::FromElement(*this); - if (peer) - { - winrt::ColorSpectrumAutomationPeer colorSpectrumPeer = peer.as(); - winrt::get_self(colorSpectrumPeer)->RaisePropertyChangedEvent(m_oldColor, newColor, m_oldHsvColor, HsvColor()); - } - } -} - -void ColorSpectrum::OnMinMaxHueChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - const int minHue = MinHue(); - const int maxHue = MaxHue(); - - if (minHue < 0 || minHue > 359) - { - throw winrt::hresult_invalid_argument(L"MinHue must be between 0 and 359."); - } - else if (maxHue < 0 || maxHue > 359) - { - throw winrt::hresult_invalid_argument(L"MaxHue must be between 0 and 359."); - } - - const winrt::ColorSpectrumComponents components = Components(); - - // If hue is one of the axes in the spectrum bitmap, then we'll need to regenerate it - // if the maximum or minimum value has changed. - if (components != winrt::ColorSpectrumComponents::SaturationValue && - components != winrt::ColorSpectrumComponents::ValueSaturation) - { - CreateBitmapsAndColorMap(); - } -} - -void ColorSpectrum::OnMinMaxSaturationChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - const int minSaturation = MinSaturation(); - const int maxSaturation = MaxSaturation(); - - if (minSaturation < 0 || minSaturation > 100) - { - throw winrt::hresult_invalid_argument(L"MinSaturation must be between 0 and 100."); - } - else if (maxSaturation < 0 || maxSaturation > 100) - { - throw winrt::hresult_invalid_argument(L"MaxSaturation must be between 0 and 100."); - } - - const winrt::ColorSpectrumComponents components = Components(); - - // If value is one of the axes in the spectrum bitmap, then we'll need to regenerate it - // if the maximum or minimum value has changed. - if (components != winrt::ColorSpectrumComponents::HueValue && - components != winrt::ColorSpectrumComponents::ValueHue) - { - CreateBitmapsAndColorMap(); - } -} - -void ColorSpectrum::OnMinMaxValueChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - const int minValue = MinValue(); - const int maxValue = MaxValue(); - - if (minValue < 0 || minValue > 100) - { - throw winrt::hresult_invalid_argument(L"MinValue must be between 0 and 100."); - } - else if (maxValue < 0 || maxValue > 100) - { - throw winrt::hresult_invalid_argument(L"MaxValue must be between 0 and 100."); - } - - const winrt::ColorSpectrumComponents components = Components(); - - // If value is one of the axes in the spectrum bitmap, then we'll need to regenerate it - // if the maximum or minimum value has changed. - if (components != winrt::ColorSpectrumComponents::HueSaturation && - components != winrt::ColorSpectrumComponents::SaturationHue) - { - CreateBitmapsAndColorMap(); - } -} - -void ColorSpectrum::OnShapeChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - CreateBitmapsAndColorMap(); -} - -void ColorSpectrum::OnComponentsChanged(winrt::DependencyPropertyChangedEventArgs const& args) -{ - CreateBitmapsAndColorMap(); -} - -void ColorSpectrum::OnUnloaded(winrt::IInspectable const& sender, winrt::RoutedEventArgs const& args) -{ - // If we're in the middle of creating an image bitmap while being unloaded, - // we'll want to synchronously cancel it so we don't have any asynchronous actions - // lingering beyond our lifetime. - CancelAsyncAction(m_createImageBitmapAction); -} - -winrt::Rect ColorSpectrum::GetBoundingRectangle() -{ - winrt::Rect localRect{ 0, 0, 0, 0 }; - - if (auto&& inputTarget = m_inputTarget.get()) - { - localRect.Width = static_cast(inputTarget.ActualWidth()); - localRect.Height = static_cast(inputTarget.ActualHeight()); - } - - const auto globalBounds = TransformToVisual(nullptr).TransformBounds(localRect); - return SharedHelpers::ConvertDipsToPhysical(*this, globalBounds); -} - -void ColorSpectrum::UpdateVisualState(bool useTransitions) -{ - winrt::Control thisAsControl = *this; - - if (m_isPointerPressed) - { - winrt::VisualStateManager::GoToState(thisAsControl, m_shouldShowLargeSelection ? L"PressedLarge" : L"Pressed", useTransitions); - } - else if (m_isPointerOver) - { - winrt::VisualStateManager::GoToState(thisAsControl, L"PointerOver", useTransitions); - } - else - { - winrt::VisualStateManager::GoToState(thisAsControl, L"Normal", useTransitions); - } - - winrt::VisualStateManager::GoToState(thisAsControl, m_shapeFromLastBitmapCreation == winrt::ColorSpectrumShape::Box ? L"BoxSelected" : L"RingSelected", useTransitions); - winrt::VisualStateManager::GoToState(thisAsControl, SelectionEllipseShouldBeLight() ? L"SelectionEllipseLight" : L"SelectionEllipseDark", useTransitions); - - if (IsEnabled() && FocusState() != winrt::FocusState::Unfocused) - { - if (FocusState() == winrt::FocusState::Pointer) - { - winrt::VisualStateManager::GoToState(thisAsControl, L"PointerFocused", useTransitions); - } - else - { - winrt::VisualStateManager::GoToState(thisAsControl, L"Focused", useTransitions); - } - } - else - { - winrt::VisualStateManager::GoToState(thisAsControl, L"Unfocused", useTransitions); - } -} - -void ColorSpectrum::UpdateColor(Hsv newHsv) -{ - m_updatingColor = true; - m_updatingHsvColor = true; - - const Rgb newRgb = HsvToRgb(newHsv); - const float alpha = hsv::GetAlpha(HsvColor()); - - Color(ColorFromRgba(newRgb, alpha)); - HsvColor({ static_cast(newHsv.h), static_cast(newHsv.s), static_cast(newHsv.v), alpha }); - - UpdateEllipse(); - UpdateVisualState(true /* useTransitions */); - - m_updatingHsvColor = false; - m_updatingColor = false; - - RaiseColorChanged(); -} - -void ColorSpectrum::UpdateColorFromPoint(const winrt::PointerPoint& point) -{ - // If we haven't initialized our HSV value array yet, then we should just ignore any user input - - // we don't yet know what to do with it. - if (m_hsvValues.size() == 0) - { - return; - } - - double xPosition = point.Position().X; - double yPosition = point.Position().Y; - const double radius = min(m_imageWidthFromLastBitmapCreation, m_imageHeightFromLastBitmapCreation) / 2; - const double distanceFromRadius = sqrt(pow(xPosition - radius, 2) + pow(yPosition - radius, 2)); - - const auto shape = Shape(); - - // If the point is outside the circle, we should bring it back into the circle. - if (distanceFromRadius > radius && shape == winrt::ColorSpectrumShape::Ring) - { - xPosition = (radius / distanceFromRadius) * (xPosition - radius) + radius; - yPosition = (radius / distanceFromRadius) * (yPosition - radius) + radius; - } - - // Now we need to find the index into the array of HSL values at each point in the spectrum m_image. - int x = static_cast(round(xPosition)); - int y = static_cast(round(yPosition)); - const int width = static_cast(round(m_imageWidthFromLastBitmapCreation)); - - if (x < 0) - { - x = 0; - } - else if (x >= m_imageWidthFromLastBitmapCreation) - { - x = static_cast(round(m_imageWidthFromLastBitmapCreation)) - 1; - } - - if (y < 0) - { - y = 0; - } - else if (y >= m_imageHeightFromLastBitmapCreation) - { - y = static_cast(round(m_imageHeightFromLastBitmapCreation)) - 1; - } - - // The gradient image contains two dimensions of HSL information, but not the third. - // We should keep the third where it already was. - Hsv hsvAtPoint = m_hsvValues[y * width + x]; - - const auto components = Components(); - const auto hsvColor = HsvColor(); - - switch (components) - { - case winrt::ColorSpectrumComponents::HueValue: - case winrt::ColorSpectrumComponents::ValueHue: - hsvAtPoint.s = hsv::GetSaturation(hsvColor); - break; - - case winrt::ColorSpectrumComponents::HueSaturation: - case winrt::ColorSpectrumComponents::SaturationHue: - hsvAtPoint.v = hsv::GetValue(hsvColor); - break; - - case winrt::ColorSpectrumComponents::ValueSaturation: - case winrt::ColorSpectrumComponents::SaturationValue: - hsvAtPoint.h = hsv::GetHue(hsvColor); - break; - } - - UpdateColor(hsvAtPoint); -} - -void ColorSpectrum::UpdateEllipse() -{ - auto&& selectionEllipsePanel = m_selectionEllipsePanel.get(); - - if (!selectionEllipsePanel) - { - return; - } - - // If we don't have an image size yet, we shouldn't be showing the ellipse. - if (m_imageWidthFromLastBitmapCreation == 0 || - m_imageHeightFromLastBitmapCreation == 0) - { - selectionEllipsePanel.Visibility(winrt::Visibility::Collapsed); - return; - } - else - { - selectionEllipsePanel.Visibility(winrt::Visibility::Visible); - } - - double xPosition; - double yPosition; - - winrt::float4 hsvColor = HsvColor(); - - hsv::SetHue(hsvColor, clamp(hsv::GetHue(hsvColor), static_cast(m_minHueFromLastBitmapCreation), static_cast (m_maxHueFromLastBitmapCreation))); - hsv::SetSaturation(hsvColor, clamp(hsv::GetSaturation(hsvColor), m_minSaturationFromLastBitmapCreation / 100.0f, m_maxSaturationFromLastBitmapCreation / 100.0f)); - hsv::SetValue(hsvColor, clamp(hsv::GetValue(hsvColor), m_minValueFromLastBitmapCreation / 100.0f, m_maxValueFromLastBitmapCreation / 100.0f)); - - if (m_shapeFromLastBitmapCreation == winrt::ColorSpectrumShape::Box) - { - double xPercent = 0; - double yPercent = 0; - - const double hPercent = (hsv::GetHue(hsvColor) - m_minHueFromLastBitmapCreation) / (m_maxHueFromLastBitmapCreation - m_minHueFromLastBitmapCreation); - double sPercent = (hsv::GetSaturation(hsvColor) * 100.0 - m_minSaturationFromLastBitmapCreation) / (m_maxSaturationFromLastBitmapCreation - m_minSaturationFromLastBitmapCreation); - double vPercent = (hsv::GetValue(hsvColor) * 100.0 - m_minValueFromLastBitmapCreation) / (m_maxValueFromLastBitmapCreation - m_minValueFromLastBitmapCreation); - - // In the case where saturation was an axis in the spectrum with hue, or value is an axis, full stop, - // we inverted the direction of that axis in order to put more hue on the outside of the ring, - // so we need to do similarly here when positioning the ellipse. - if (m_componentsFromLastBitmapCreation == winrt::ColorSpectrumComponents::HueSaturation || - m_componentsFromLastBitmapCreation == winrt::ColorSpectrumComponents::SaturationHue) - { - sPercent = 1 - sPercent; - } - else - { - vPercent = 1 - vPercent; - } - - switch (m_componentsFromLastBitmapCreation) - { - case winrt::ColorSpectrumComponents::HueValue: - xPercent = hPercent; - yPercent = vPercent; - break; - - case winrt::ColorSpectrumComponents::HueSaturation: - xPercent = hPercent; - yPercent = sPercent; - break; - - case winrt::ColorSpectrumComponents::ValueHue: - xPercent = vPercent; - yPercent = hPercent; - break; - - case winrt::ColorSpectrumComponents::ValueSaturation: - xPercent = vPercent; - yPercent = sPercent; - break; - - case winrt::ColorSpectrumComponents::SaturationHue: - xPercent = sPercent; - yPercent = hPercent; - break; - - case winrt::ColorSpectrumComponents::SaturationValue: - xPercent = sPercent; - yPercent = vPercent; - break; - } - - xPosition = m_imageWidthFromLastBitmapCreation * xPercent; - yPosition = m_imageHeightFromLastBitmapCreation * yPercent; - } - else - { - double thetaValue = 0; - double rValue = 0; - - const double hThetaValue = - m_maxHueFromLastBitmapCreation != m_minHueFromLastBitmapCreation ? - 360 * (hsv::GetHue(hsvColor) - m_minHueFromLastBitmapCreation) / (m_maxHueFromLastBitmapCreation - m_minHueFromLastBitmapCreation) : - 0; - double sThetaValue = - m_maxSaturationFromLastBitmapCreation != m_minSaturationFromLastBitmapCreation ? - 360 * (hsv::GetSaturation(hsvColor) * 100.0 - m_minSaturationFromLastBitmapCreation) / (m_maxSaturationFromLastBitmapCreation - m_minSaturationFromLastBitmapCreation) : - 0; - double vThetaValue = - m_maxValueFromLastBitmapCreation != m_minValueFromLastBitmapCreation ? - 360 * (hsv::GetValue(hsvColor) * 100.0 - m_minValueFromLastBitmapCreation) / (m_maxValueFromLastBitmapCreation - m_minValueFromLastBitmapCreation) : - 0; - const double hRValue = m_maxHueFromLastBitmapCreation != m_minHueFromLastBitmapCreation ? - (hsv::GetHue(hsvColor) - m_minHueFromLastBitmapCreation) / (m_maxHueFromLastBitmapCreation - m_minHueFromLastBitmapCreation) - 1 : - 0; - double sRValue = m_maxSaturationFromLastBitmapCreation != m_minSaturationFromLastBitmapCreation ? - (hsv::GetSaturation(hsvColor) * 100.0 - m_minSaturationFromLastBitmapCreation) / (m_maxSaturationFromLastBitmapCreation - m_minSaturationFromLastBitmapCreation) - 1 : - 0; - double vRValue = m_maxValueFromLastBitmapCreation != m_minValueFromLastBitmapCreation ? - (hsv::GetValue(hsvColor) * 100.0 - m_minValueFromLastBitmapCreation) / (m_maxValueFromLastBitmapCreation - m_minValueFromLastBitmapCreation) - 1 : - 0; - - // In the case where saturation was an axis in the spectrum with hue, or value is an axis, full stop, - // we inverted the direction of that axis in order to put more hue on the outside of the ring, - // so we need to do similarly here when positioning the ellipse. - if (m_componentsFromLastBitmapCreation == winrt::ColorSpectrumComponents::HueSaturation || - m_componentsFromLastBitmapCreation == winrt::ColorSpectrumComponents::SaturationHue) - { - sThetaValue = 360 - sThetaValue; - sRValue = -sRValue - 1; - } - else - { - vThetaValue = 360 - vThetaValue; - vRValue = -vRValue - 1; - } - - switch (m_componentsFromLastBitmapCreation) - { - case winrt::ColorSpectrumComponents::HueValue: - thetaValue = hThetaValue; - rValue = vRValue; - break; - - case winrt::ColorSpectrumComponents::HueSaturation: - thetaValue = hThetaValue; - rValue = sRValue; - break; - - case winrt::ColorSpectrumComponents::ValueHue: - thetaValue = vThetaValue; - rValue = hRValue; - break; - - case winrt::ColorSpectrumComponents::ValueSaturation: - thetaValue = vThetaValue; - rValue = sRValue; - break; - - case winrt::ColorSpectrumComponents::SaturationHue: - thetaValue = sThetaValue; - rValue = hRValue; - break; - - case winrt::ColorSpectrumComponents::SaturationValue: - thetaValue = sThetaValue; - rValue = vRValue; - break; - } - - const double radius = min(m_imageWidthFromLastBitmapCreation, m_imageHeightFromLastBitmapCreation) / 2; - - xPosition = (cos((thetaValue * M_PI / 180) + M_PI) * radius * rValue) + radius; - yPosition = (sin((thetaValue * M_PI / 180) + M_PI) * radius * rValue) + radius; - } - - winrt::Canvas::SetLeft(selectionEllipsePanel, xPosition - (selectionEllipsePanel.Width() / 2)); - winrt::Canvas::SetTop(selectionEllipsePanel, yPosition - (selectionEllipsePanel.Height() / 2)); - - // We only want to bother with the color name tool tip if we can provide color names. - if (DownlevelHelper::ToDisplayNameExists()) - { - if (auto&& colorNameToolTip = m_colorNameToolTip.get()) - { - // ToolTip doesn't currently provide any way to re-run its placement logic if its placement target moves, - // so toggling IsEnabled induces it to do that without incurring any visual glitches. - colorNameToolTip.IsEnabled(false); - colorNameToolTip.IsEnabled(true); - } - } - - UpdateVisualState(true /* useTransitions */); -} - -void ColorSpectrum::OnLayoutRootSizeChanged(winrt::IInspectable const& /*sender*/, winrt::SizeChangedEventArgs const& /*args*/) -{ - // We want ColorSpectrum to always be a square, so we'll take the smaller of the dimensions - // and size the sizing grid to that. - CreateBitmapsAndColorMap(); -} - -void ColorSpectrum::OnInputTargetPointerEntered(winrt::IInspectable const& /*sender*/, winrt::PointerRoutedEventArgs const& args) -{ - m_isPointerOver = true; - UpdateVisualState(true /* useTransitions*/); - args.Handled(true); -} - -void ColorSpectrum::OnInputTargetPointerExited(winrt::IInspectable const& /*sender*/, winrt::PointerRoutedEventArgs const& args) -{ - m_isPointerOver = false; - UpdateVisualState(true /* useTransitions*/); - args.Handled(true); -} - -void ColorSpectrum::OnInputTargetPointerPressed(winrt::IInspectable const& /*sender*/, winrt::PointerRoutedEventArgs const& args) -{ - auto&& inputTarget = m_inputTarget.get(); - - Focus(winrt::FocusState::Pointer); - - m_isPointerPressed = true; - m_shouldShowLargeSelection = - args.Pointer().PointerDeviceType() == winrt::PointerDeviceType::Pen || - args.Pointer().PointerDeviceType() == winrt::PointerDeviceType::Touch; - - inputTarget.CapturePointer(args.Pointer()); - UpdateColorFromPoint(args.GetCurrentPoint(inputTarget)); - UpdateVisualState(true /* useTransitions*/); - UpdateEllipse(); - - args.Handled(true); -} - -void ColorSpectrum::OnInputTargetPointerMoved(winrt::IInspectable const& /*sender*/, winrt::PointerRoutedEventArgs const& args) -{ - if (!m_isPointerPressed) - { - return; - } - - UpdateColorFromPoint(args.GetCurrentPoint(m_inputTarget.get())); - args.Handled(true); -} - -void ColorSpectrum::OnInputTargetPointerReleased(winrt::IInspectable const& /*sender*/, winrt::PointerRoutedEventArgs const& args) -{ - m_isPointerPressed = false; - m_shouldShowLargeSelection = false; - - m_inputTarget.get().ReleasePointerCapture(args.Pointer()); - UpdateVisualState(true /* useTransitions*/); - UpdateEllipse(); - - args.Handled(true); -} - -void ColorSpectrum::OnSelectionEllipseFlowDirectionChanged(winrt::DependencyObject const& /*o*/, winrt::DependencyProperty const& /*p*/) -{ - UpdateEllipse(); -} - -void ColorSpectrum::CreateBitmapsAndColorMap() -{ - auto&& layoutRoot = m_layoutRoot.get(); - auto&& sizingGrid = m_sizingGrid.get(); - auto&& inputTarget = m_inputTarget.get(); - auto&& spectrumRectangle = m_spectrumRectangle.get(); - auto&& spectrumEllipse = m_spectrumEllipse.get(); - auto&& spectrumOverlayRectangle = m_spectrumOverlayRectangle.get(); - auto&& spectrumOverlayEllipse = m_spectrumOverlayEllipse.get(); - - if (!m_layoutRoot || - !m_sizingGrid || - !m_inputTarget || - !m_spectrumRectangle || - !m_spectrumEllipse || - !m_spectrumOverlayRectangle || - !m_spectrumOverlayEllipse || - SharedHelpers::IsInDesignMode()) - { - return; - } - - const double minDimension = min(layoutRoot.ActualWidth(), layoutRoot.ActualHeight()); - - if (minDimension == 0) - { - return; - } - - sizingGrid.Width(minDimension); - sizingGrid.Height(minDimension); - - if (sizingGrid.Clip()) - { - sizingGrid.Clip().Rect({ 0, 0, static_cast(minDimension), static_cast(minDimension) }); - } - - inputTarget.Width(minDimension); - inputTarget.Height(minDimension); - spectrumRectangle.Width(minDimension); - spectrumRectangle.Height(minDimension); - spectrumEllipse.Width(minDimension); - spectrumEllipse.Height(minDimension); - spectrumOverlayRectangle.Width(minDimension); - spectrumOverlayRectangle.Height(minDimension); - spectrumOverlayEllipse.Width(minDimension); - spectrumOverlayEllipse.Height(minDimension); - - const winrt::float4 hsvColor = HsvColor(); - const int minHue = MinHue(); - int maxHue = MaxHue(); - const int minSaturation = MinSaturation(); - int maxSaturation = MaxSaturation(); - const int minValue = MinValue(); - int maxValue = MaxValue(); - const winrt::ColorSpectrumShape shape = Shape(); - const winrt::ColorSpectrumComponents components = Components(); - - // If min >= max, then by convention, min is the only number that a property can have. - if (minHue >= maxHue) - { - maxHue = minHue; - } - - if (minSaturation >= maxSaturation) - { - maxSaturation = minSaturation; - } - - if (minValue >= maxValue) - { - maxValue = minValue; - } - - const Hsv hsv = { hsv::GetHue(hsvColor), hsv::GetSaturation(hsvColor), hsv::GetValue(hsvColor) }; - - // The middle 4 are only needed and used in the case of hue as the third dimension. - // Saturation and luminosity need only a min and max. - shared_ptr> bgraMinPixelData = make_shared>(); - shared_ptr> bgraMiddle1PixelData = make_shared>(); - shared_ptr> bgraMiddle2PixelData = make_shared>(); - shared_ptr> bgraMiddle3PixelData = make_shared>(); - shared_ptr> bgraMiddle4PixelData = make_shared>(); - shared_ptr> bgraMaxPixelData = make_shared>(); - shared_ptr> newHsvValues = make_shared>(); - - const auto pixelCount = static_cast(round(minDimension) * round(minDimension)); - const size_t pixelDataSize = pixelCount * 4; - bgraMinPixelData->reserve(pixelDataSize); - - // We'll only save pixel data for the middle bitmaps if our third dimension is hue. - if (components == winrt::ColorSpectrumComponents::ValueSaturation || - components == winrt::ColorSpectrumComponents::SaturationValue) - { - bgraMiddle1PixelData->reserve(pixelDataSize); - bgraMiddle2PixelData->reserve(pixelDataSize); - bgraMiddle3PixelData->reserve(pixelDataSize); - bgraMiddle4PixelData->reserve(pixelDataSize); - } - - bgraMaxPixelData->reserve(pixelDataSize); - newHsvValues->reserve(pixelCount); - - const int minDimensionInt = static_cast(round(minDimension)); - winrt::WorkItemHandler workItemHandler( - [minDimensionInt, hsv, minHue, maxHue, minSaturation, maxSaturation, minValue, maxValue, shape, components, - bgraMinPixelData, bgraMiddle1PixelData, bgraMiddle2PixelData, bgraMiddle3PixelData, bgraMiddle4PixelData, bgraMaxPixelData, newHsvValues] - (winrt::IAsyncAction workItem) - { - // As the user perceives it, every time the third dimension not represented in the ColorSpectrum changes, - // the ColorSpectrum will visually change to accommodate that value. For example, if the ColorSpectrum handles hue and luminosity, - // and the saturation externally goes from 1.0 to 0.5, then the ColorSpectrum will visually change to look more washed out - // to represent that third dimension's new value. - // Internally, however, we don't want to regenerate the ColorSpectrum bitmap every single time this happens, since that's very expensive. - // In order to make it so that we don't have to, we implement an optimization where, rather than having only one bitmap, - // we instead have multiple that we blend together using opacity to create the effect that we want. - // In the case where the third dimension is saturation or luminosity, we only need two: one bitmap at the minimum value - // of the third dimension, and one bitmap at the maximum. Then we set the second's opacity at whatever the value of - // the third dimension is - e.g., a saturation of 0.5 implies an opacity of 50%. - // In the case where the third dimension is hue, we need six: one bitmap corresponding to red, yellow, green, cyan, blue, and purple. - // We'll then blend between whichever colors our hue exists between - e.g., an orange color would use red and yellow with an opacity of 50%. - // This optimization does incur slightly more startup time initially since we have to generate multiple bitmaps at once instead of only one, - // but the running time savings after that are *huge* when we can just set an opacity instead of generating a brand new bitmap. - if (shape == winrt::ColorSpectrumShape::Box) - { - for (int x = minDimensionInt - 1; x >= 0; --x) - { - for (int y = minDimensionInt - 1; y >= 0; --y) - { - if (workItem.Status() == winrt::AsyncStatus::Canceled) - { - break; - } - - ColorSpectrum::FillPixelForBox( - x, y, hsv, minDimensionInt, components, minHue, maxHue, minSaturation, maxSaturation, minValue, maxValue, - bgraMinPixelData, bgraMiddle1PixelData, bgraMiddle2PixelData, bgraMiddle3PixelData, bgraMiddle4PixelData, bgraMaxPixelData, - newHsvValues); - } - } - } - else - { - for (int y = 0; y < minDimensionInt; ++y) - { - for (int x = 0; x < minDimensionInt; ++x) - { - if (workItem.Status() == winrt::AsyncStatus::Canceled) - { - break; - } - - ColorSpectrum::FillPixelForRing( - x, y, minDimensionInt / 2.0, hsv, components, minHue, maxHue, minSaturation, maxSaturation, minValue, maxValue, - bgraMinPixelData, bgraMiddle1PixelData, bgraMiddle2PixelData, bgraMiddle3PixelData, bgraMiddle4PixelData, bgraMaxPixelData, - newHsvValues); - } - } - } - }); - - if (m_createImageBitmapAction) - { - m_createImageBitmapAction.Cancel(); - } - - m_createImageBitmapAction = winrt::ThreadPool::RunAsync(workItemHandler); - auto strongThis = get_strong(); - m_createImageBitmapAction.Completed(winrt::AsyncActionCompletedHandler( - [strongThis, minDimension, components, bgraMinPixelData, bgraMiddle1PixelData, bgraMiddle2PixelData, bgraMiddle3PixelData, bgraMiddle4PixelData, bgraMaxPixelData, newHsvValues] - (winrt::IAsyncAction asyncInfo, winrt::AsyncStatus asyncStatus) - { - if (asyncStatus != winrt::AsyncStatus::Completed) - { - return; - } - - strongThis->m_createImageBitmapAction = nullptr; - - strongThis->m_dispatcherHelper.RunAsync( - [strongThis, minDimension, bgraMinPixelData, bgraMiddle1PixelData, bgraMiddle2PixelData, bgraMiddle3PixelData, bgraMiddle4PixelData, bgraMaxPixelData, newHsvValues]() - { - const int pixelWidth = static_cast(round(minDimension)); - const int pixelHeight = static_cast(round(minDimension)); - - const winrt::ColorSpectrumComponents components = strongThis->Components(); - - if (SharedHelpers::IsRS2OrHigher()) - { - winrt::LoadedImageSurface minSurface = CreateSurfaceFromPixelData(pixelWidth, pixelHeight, bgraMinPixelData); - winrt::LoadedImageSurface maxSurface = CreateSurfaceFromPixelData(pixelWidth, pixelHeight, bgraMaxPixelData); - - switch (components) - { - case winrt::ColorSpectrumComponents::HueValue: - case winrt::ColorSpectrumComponents::ValueHue: - strongThis->m_saturationMinimumSurface = minSurface; - strongThis->m_saturationMaximumSurface = maxSurface; - break; - case winrt::ColorSpectrumComponents::HueSaturation: - case winrt::ColorSpectrumComponents::SaturationHue: - strongThis->m_valueSurface = maxSurface; - break; - case winrt::ColorSpectrumComponents::ValueSaturation: - case winrt::ColorSpectrumComponents::SaturationValue: - strongThis->m_hueRedSurface = minSurface; - strongThis->m_hueYellowSurface = CreateSurfaceFromPixelData(pixelWidth, pixelHeight, bgraMiddle1PixelData); - strongThis->m_hueGreenSurface = CreateSurfaceFromPixelData(pixelWidth, pixelHeight, bgraMiddle2PixelData); - strongThis->m_hueCyanSurface = CreateSurfaceFromPixelData(pixelWidth, pixelHeight, bgraMiddle3PixelData); - strongThis->m_hueBlueSurface = CreateSurfaceFromPixelData(pixelWidth, pixelHeight, bgraMiddle4PixelData); - strongThis->m_huePurpleSurface = maxSurface; - break; - } - } - else - { - winrt::WriteableBitmap minBitmap = CreateBitmapFromPixelData(pixelWidth, pixelHeight, bgraMinPixelData); - winrt::WriteableBitmap maxBitmap = CreateBitmapFromPixelData(pixelWidth, pixelHeight, bgraMaxPixelData); - - switch (components) - { - case winrt::ColorSpectrumComponents::HueValue: - case winrt::ColorSpectrumComponents::ValueHue: - strongThis->m_saturationMinimumBitmap = minBitmap; - strongThis->m_saturationMaximumBitmap = maxBitmap; - break; - case winrt::ColorSpectrumComponents::HueSaturation: - case winrt::ColorSpectrumComponents::SaturationHue: - strongThis->m_valueBitmap = maxBitmap; - break; - case winrt::ColorSpectrumComponents::ValueSaturation: - case winrt::ColorSpectrumComponents::SaturationValue: - strongThis->m_hueRedBitmap = minBitmap; - strongThis->m_hueYellowBitmap = CreateBitmapFromPixelData(pixelWidth, pixelHeight, bgraMiddle1PixelData); - strongThis->m_hueGreenBitmap = CreateBitmapFromPixelData(pixelWidth, pixelHeight, bgraMiddle2PixelData); - strongThis->m_hueCyanBitmap = CreateBitmapFromPixelData(pixelWidth, pixelHeight, bgraMiddle3PixelData); - strongThis->m_hueBlueBitmap = CreateBitmapFromPixelData(pixelWidth, pixelHeight, bgraMiddle4PixelData); - strongThis->m_huePurpleBitmap = maxBitmap; - break; - } - } - - strongThis->m_shapeFromLastBitmapCreation = strongThis->Shape(); - strongThis->m_componentsFromLastBitmapCreation = strongThis->Components(); - strongThis->m_imageWidthFromLastBitmapCreation = minDimension; - strongThis->m_imageHeightFromLastBitmapCreation = minDimension; - strongThis->m_minHueFromLastBitmapCreation = strongThis->MinHue(); - strongThis->m_maxHueFromLastBitmapCreation = strongThis->MaxHue(); - strongThis->m_minSaturationFromLastBitmapCreation = strongThis->MinSaturation(); - strongThis->m_maxSaturationFromLastBitmapCreation = strongThis->MaxSaturation(); - strongThis->m_minValueFromLastBitmapCreation = strongThis->MinValue(); - strongThis->m_maxValueFromLastBitmapCreation = strongThis->MaxValue(); - - strongThis->m_hsvValues = *newHsvValues; - - strongThis->UpdateBitmapSources(); - strongThis->UpdateEllipse(); - }); - })); -} - -void ColorSpectrum::FillPixelForBox( - double x, - double y, - const Hsv &baseHsv, - double minDimension, - winrt::ColorSpectrumComponents components, - double minHue, - double maxHue, - double minSaturation, - double maxSaturation, - double minValue, - double maxValue, - shared_ptr> bgraMinPixelData, - shared_ptr> bgraMiddle1PixelData, - shared_ptr> bgraMiddle2PixelData, - shared_ptr> bgraMiddle3PixelData, - shared_ptr> bgraMiddle4PixelData, - shared_ptr> bgraMaxPixelData, - shared_ptr> newHsvValues) -{ - const double hMin = minHue; - const double hMax = maxHue; - const double sMin = minSaturation / 100.0; - const double sMax = maxSaturation / 100.0; - const double vMin = minValue / 100.0; - const double vMax = maxValue / 100.0; - - Hsv hsvMin = baseHsv; - Hsv hsvMiddle1 = baseHsv; - Hsv hsvMiddle2 = baseHsv; - Hsv hsvMiddle3 = baseHsv; - Hsv hsvMiddle4 = baseHsv; - Hsv hsvMax = baseHsv; - - const double xPercent = (minDimension - 1 - x) / (minDimension - 1); - const double yPercent = (minDimension - 1 - y) / (minDimension - 1); - - switch (components) - { - case winrt::ColorSpectrumComponents::HueValue: - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + yPercent * (hMax - hMin); - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + xPercent * (vMax - vMin); - hsvMin.s = 0; - hsvMax.s = 1; - break; - - case winrt::ColorSpectrumComponents::HueSaturation: - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + yPercent * (hMax - hMin); - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + xPercent * (sMax - sMin); - hsvMin.v = 0; - hsvMax.v = 1; - break; - - case winrt::ColorSpectrumComponents::ValueHue: - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + yPercent * (vMax - vMin); - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + xPercent * (hMax - hMin); - hsvMin.s = 0; - hsvMax.s = 1; - break; - - case winrt::ColorSpectrumComponents::ValueSaturation: - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + yPercent * (vMax - vMin); - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + xPercent * (sMax - sMin); - hsvMin.h = 0; - hsvMiddle1.h = 60; - hsvMiddle2.h = 120; - hsvMiddle3.h = 180; - hsvMiddle4.h = 240; - hsvMax.h = 300; - break; - - case winrt::ColorSpectrumComponents::SaturationHue: - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + yPercent * (sMax - sMin); - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + xPercent * (hMax - hMin); - hsvMin.v = 0; - hsvMax.v = 1; - break; - - case winrt::ColorSpectrumComponents::SaturationValue: - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + yPercent * (sMax - sMin); - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + xPercent * (vMax - vMin); - hsvMin.h = 0; - hsvMiddle1.h = 60; - hsvMiddle2.h = 120; - hsvMiddle3.h = 180; - hsvMiddle4.h = 240; - hsvMax.h = 300; - break; - } - - // If saturation is an axis in the spectrum with hue, or value is an axis, then we want - // that axis to go from maximum at the top to minimum at the bottom, - // or maximum at the outside to minimum at the inside in the case of the ring configuration, - // so we'll invert the number before assigning the HSL value to the array. - // Otherwise, we'll have a very narrow section in the middle that actually has meaningful hue - // in the case of the ring configuration. - if (components == winrt::ColorSpectrumComponents::HueSaturation || - components == winrt::ColorSpectrumComponents::SaturationHue) - { - hsvMin.s = sMax - hsvMin.s + sMin; - hsvMiddle1.s = sMax - hsvMiddle1.s + sMin; - hsvMiddle2.s = sMax - hsvMiddle2.s + sMin; - hsvMiddle3.s = sMax - hsvMiddle3.s + sMin; - hsvMiddle4.s = sMax - hsvMiddle4.s + sMin; - hsvMax.s = sMax - hsvMax.s + sMin; - } - else - { - hsvMin.v = vMax - hsvMin.v + vMin; - hsvMiddle1.v = vMax - hsvMiddle1.v + vMin; - hsvMiddle2.v = vMax - hsvMiddle2.v + vMin; - hsvMiddle3.v = vMax - hsvMiddle3.v + vMin; - hsvMiddle4.v = vMax - hsvMiddle4.v + vMin; - hsvMax.v = vMax - hsvMax.v + vMin; - } - - newHsvValues->push_back(hsvMin); - - const Rgb rgbMin = HsvToRgb(hsvMin); - bgraMinPixelData->push_back(static_cast<::byte>(round(rgbMin.b * 255))); // b - bgraMinPixelData->push_back(static_cast<::byte>(round(rgbMin.g * 255))); // g - bgraMinPixelData->push_back(static_cast<::byte>(round(rgbMin.r * 255))); // r - bgraMinPixelData->push_back(255); // a - ignored - - // We'll only save pixel data for the middle bitmaps if our third dimension is hue. - if (components == winrt::ColorSpectrumComponents::ValueSaturation || - components == winrt::ColorSpectrumComponents::SaturationValue) - { - const Rgb rgbMiddle1 = HsvToRgb(hsvMiddle1); - bgraMiddle1PixelData->push_back(static_cast<::byte>(round(rgbMiddle1.b * 255))); // b - bgraMiddle1PixelData->push_back(static_cast<::byte>(round(rgbMiddle1.g * 255))); // g - bgraMiddle1PixelData->push_back(static_cast<::byte>(round(rgbMiddle1.r * 255))); // r - bgraMiddle1PixelData->push_back(255); // a - ignored - - const Rgb rgbMiddle2 = HsvToRgb(hsvMiddle2); - bgraMiddle2PixelData->push_back(static_cast<::byte>(round(rgbMiddle2.b * 255))); // b - bgraMiddle2PixelData->push_back(static_cast<::byte>(round(rgbMiddle2.g * 255))); // g - bgraMiddle2PixelData->push_back(static_cast<::byte>(round(rgbMiddle2.r * 255))); // r - bgraMiddle2PixelData->push_back(255); // a - ignored - - const Rgb rgbMiddle3 = HsvToRgb(hsvMiddle3); - bgraMiddle3PixelData->push_back(static_cast<::byte>(round(rgbMiddle3.b * 255))); // b - bgraMiddle3PixelData->push_back(static_cast<::byte>(round(rgbMiddle3.g * 255))); // g - bgraMiddle3PixelData->push_back(static_cast<::byte>(round(rgbMiddle3.r * 255))); // r - bgraMiddle3PixelData->push_back(255); // a - ignored - - const Rgb rgbMiddle4 = HsvToRgb(hsvMiddle4); - bgraMiddle4PixelData->push_back(static_cast<::byte>(round(rgbMiddle4.b * 255))); // b - bgraMiddle4PixelData->push_back(static_cast<::byte>(round(rgbMiddle4.g * 255))); // g - bgraMiddle4PixelData->push_back(static_cast<::byte>(round(rgbMiddle4.r * 255))); // r - bgraMiddle4PixelData->push_back(255); // a - ignored - } - - const Rgb rgbMax = HsvToRgb(hsvMax); - bgraMaxPixelData->push_back(static_cast<::byte>(round(rgbMax.b * 255))); // b - bgraMaxPixelData->push_back(static_cast<::byte>(round(rgbMax.g * 255))); // g - bgraMaxPixelData->push_back(static_cast<::byte>(round(rgbMax.r * 255))); // r - bgraMaxPixelData->push_back(255); // a - ignored -} - -void ColorSpectrum::FillPixelForRing( - double x, - double y, - double radius, - const Hsv &baseHsv, - winrt::ColorSpectrumComponents components, - double minHue, - double maxHue, - double minSaturation, - double maxSaturation, - double minValue, - double maxValue, - shared_ptr> bgraMinPixelData, - shared_ptr> bgraMiddle1PixelData, - shared_ptr> bgraMiddle2PixelData, - shared_ptr> bgraMiddle3PixelData, - shared_ptr> bgraMiddle4PixelData, - shared_ptr> bgraMaxPixelData, - shared_ptr> newHsvValues) -{ - const double hMin = minHue; - const double hMax = maxHue; - const double sMin = minSaturation / 100.0; - const double sMax = maxSaturation / 100.0; - const double vMin = minValue / 100.0; - const double vMax = maxValue / 100.0; - - double distanceFromRadius = sqrt(pow(x - radius, 2) + pow(y - radius, 2)); - - double xToUse = x; - double yToUse = y; - - // If we're outside the ring, then we want the pixel to appear as blank. - // However, to avoid issues with rounding errors, we'll act as though this point - // is on the edge of the ring for the purposes of returning an HSL value. - // That way, hittesting on the edges will always return the correct value. - if (distanceFromRadius > radius) - { - xToUse = (radius / distanceFromRadius) * (x - radius) + radius; - yToUse = (radius / distanceFromRadius) * (y - radius) + radius; - distanceFromRadius = radius; - } - - Hsv hsvMin = baseHsv; - Hsv hsvMiddle1 = baseHsv; - Hsv hsvMiddle2 = baseHsv; - Hsv hsvMiddle3 = baseHsv; - Hsv hsvMiddle4 = baseHsv; - Hsv hsvMax = baseHsv; - - const double r = 1 - distanceFromRadius / radius; - - double theta = atan2((radius - yToUse), (radius - xToUse)) * 180.0 / M_PI; - theta += 180.0; - theta = floor(theta); - - while (theta > 360) - { - theta -= 360; - } - - const double thetaPercent = theta / 360; - - switch (components) - { - case winrt::ColorSpectrumComponents::HueValue: - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + thetaPercent * (hMax - hMin); - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + r * (vMax - vMin); - hsvMin.s = 0; - hsvMax.s = 1; - break; - - case winrt::ColorSpectrumComponents::HueSaturation: - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + thetaPercent * (hMax - hMin); - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + r * (sMax - sMin); - hsvMin.v = 0; - hsvMax.v = 1; - break; - - case winrt::ColorSpectrumComponents::ValueHue: - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + thetaPercent * (vMax - vMin); - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + r * (hMax - hMin); - hsvMin.s = 0; - hsvMax.s = 1; - break; - - case winrt::ColorSpectrumComponents::ValueSaturation: - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + thetaPercent * (vMax - vMin); - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + r * (sMax - sMin); - hsvMin.h = 0; - hsvMiddle1.h = 60; - hsvMiddle2.h = 120; - hsvMiddle3.h = 180; - hsvMiddle4.h = 240; - hsvMax.h = 300; - break; - - case winrt::ColorSpectrumComponents::SaturationHue: - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + thetaPercent * (sMax - sMin); - hsvMin.h = hsvMiddle1.h = hsvMiddle2.h = hsvMiddle3.h = hsvMiddle4.h = hsvMax.h = hMin + r * (hMax - hMin); - hsvMin.v = 0; - hsvMax.v = 1; - break; - - case winrt::ColorSpectrumComponents::SaturationValue: - hsvMin.s = hsvMiddle1.s = hsvMiddle2.s = hsvMiddle3.s = hsvMiddle4.s = hsvMax.s = sMin + thetaPercent * (sMax - sMin); - hsvMin.v = hsvMiddle1.v = hsvMiddle2.v = hsvMiddle3.v = hsvMiddle4.v = hsvMax.v = vMin + r * (vMax - vMin); - hsvMin.h = 0; - hsvMiddle1.h = 60; - hsvMiddle2.h = 120; - hsvMiddle3.h = 180; - hsvMiddle4.h = 240; - hsvMax.h = 300; - break; - } - - // If saturation is an axis in the spectrum with hue, or value is an axis, then we want - // that axis to go from maximum at the top to minimum at the bottom, - // or maximum at the outside to minimum at the inside in the case of the ring configuration, - // so we'll invert the number before assigning the HSL value to the array. - // Otherwise, we'll have a very narrow section in the middle that actually has meaningful hue - // in the case of the ring configuration. - if (components == winrt::ColorSpectrumComponents::HueSaturation || - components == winrt::ColorSpectrumComponents::SaturationHue) - { - hsvMin.s = sMax - hsvMin.s + sMin; - hsvMiddle1.s = sMax - hsvMiddle1.s + sMin; - hsvMiddle2.s = sMax - hsvMiddle2.s + sMin; - hsvMiddle3.s = sMax - hsvMiddle3.s + sMin; - hsvMiddle4.s = sMax - hsvMiddle4.s + sMin; - hsvMax.s = sMax - hsvMax.s + sMin; - } - else - { - hsvMin.v = vMax - hsvMin.v + vMin; - hsvMiddle1.v = vMax - hsvMiddle1.v + vMin; - hsvMiddle2.v = vMax - hsvMiddle2.v + vMin; - hsvMiddle3.v = vMax - hsvMiddle3.v + vMin; - hsvMiddle4.v = vMax - hsvMiddle4.v + vMin; - hsvMax.v = vMax - hsvMax.v + vMin; - } - - newHsvValues->push_back(hsvMin); - - const Rgb rgbMin = HsvToRgb(hsvMin); - bgraMinPixelData->push_back(static_cast<::byte>(round(rgbMin.b * 255))); // b - bgraMinPixelData->push_back(static_cast<::byte>(round(rgbMin.g * 255))); // g - bgraMinPixelData->push_back(static_cast<::byte>(round(rgbMin.r * 255))); // r - bgraMinPixelData->push_back(255); // a - - // We'll only save pixel data for the middle bitmaps if our third dimension is hue. - if (components == winrt::ColorSpectrumComponents::ValueSaturation || - components == winrt::ColorSpectrumComponents::SaturationValue) - { - const Rgb rgbMiddle1 = HsvToRgb(hsvMiddle1); - bgraMiddle1PixelData->push_back(static_cast<::byte>(round(rgbMiddle1.b * 255))); // b - bgraMiddle1PixelData->push_back(static_cast<::byte>(round(rgbMiddle1.g * 255))); // g - bgraMiddle1PixelData->push_back(static_cast<::byte>(round(rgbMiddle1.r * 255))); // r - bgraMiddle1PixelData->push_back(255); // a - - const Rgb rgbMiddle2 = HsvToRgb(hsvMiddle2); - bgraMiddle2PixelData->push_back(static_cast<::byte>(round(rgbMiddle2.b * 255))); // b - bgraMiddle2PixelData->push_back(static_cast<::byte>(round(rgbMiddle2.g * 255))); // g - bgraMiddle2PixelData->push_back(static_cast<::byte>(round(rgbMiddle2.r * 255))); // r - bgraMiddle2PixelData->push_back(255); // a - - const Rgb rgbMiddle3 = HsvToRgb(hsvMiddle3); - bgraMiddle3PixelData->push_back(static_cast<::byte>(round(rgbMiddle3.b * 255))); // b - bgraMiddle3PixelData->push_back(static_cast<::byte>(round(rgbMiddle3.g * 255))); // g - bgraMiddle3PixelData->push_back(static_cast<::byte>(round(rgbMiddle3.r * 255))); // r - bgraMiddle3PixelData->push_back(255); // a - - const Rgb rgbMiddle4 = HsvToRgb(hsvMiddle4); - bgraMiddle4PixelData->push_back(static_cast<::byte>(round(rgbMiddle4.b * 255))); // b - bgraMiddle4PixelData->push_back(static_cast<::byte>(round(rgbMiddle4.g * 255))); // g - bgraMiddle4PixelData->push_back(static_cast<::byte>(round(rgbMiddle4.r * 255))); // r - bgraMiddle4PixelData->push_back(255); // a - } - - const Rgb rgbMax = HsvToRgb(hsvMax); - bgraMaxPixelData->push_back(static_cast<::byte>(round(rgbMax.b * 255))); // b - bgraMaxPixelData->push_back(static_cast<::byte>(round(rgbMax.g * 255))); // g - bgraMaxPixelData->push_back(static_cast<::byte>(round(rgbMax.r * 255))); // r - bgraMaxPixelData->push_back(255); // a -} - -void ColorSpectrum::UpdateBitmapSources() -{ - auto&& spectrumOverlayRectangle = m_spectrumOverlayRectangle.get(); - auto&& spectrumOverlayEllipse = m_spectrumOverlayEllipse.get(); - - if (!spectrumOverlayRectangle || - !spectrumOverlayEllipse) - { - return; - } - - auto&& spectrumRectangle = m_spectrumRectangle.get(); - auto&& spectrumEllipse = m_spectrumEllipse.get(); - - const winrt::float4 hsvColor = HsvColor(); - const winrt::ColorSpectrumComponents components = Components(); - - // We'll set the base image and the overlay image based on which component is our third dimension. - // If it's saturation or luminosity, then the base image is that dimension at its minimum value, - // while the overlay image is that dimension at its maximum value. - // If it's hue, then we'll figure out where in the color wheel we are, and then use the two - // colors on either side of our position as our base image and overlay image. - // For example, if our hue is orange, then the base image would be red and the overlay image yellow. - switch (components) - { - case winrt::ColorSpectrumComponents::HueValue: - case winrt::ColorSpectrumComponents::ValueHue: - if (SharedHelpers::IsRS2OrHigher()) - { - if (!m_saturationMinimumSurface || - !m_saturationMaximumSurface) - { - return; - } - - winrt::SpectrumBrush spectrumBrush{ winrt::make() }; - - spectrumBrush.MinSurface(m_saturationMinimumSurface); - spectrumBrush.MaxSurface(m_saturationMaximumSurface); - spectrumBrush.MaxSurfaceOpacity(hsv::GetSaturation(hsvColor)); - spectrumRectangle.Fill(spectrumBrush); - spectrumEllipse.Fill(spectrumBrush); - } - else - { - if (!m_saturationMinimumBitmap || - !m_saturationMaximumBitmap) - { - return; - } - - winrt::ImageBrush spectrumBrush; - winrt::ImageBrush spectrumOverlayBrush; - - spectrumBrush.ImageSource(m_saturationMinimumBitmap); - spectrumOverlayBrush.ImageSource(m_saturationMaximumBitmap); - spectrumOverlayRectangle.Opacity(hsv::GetSaturation(hsvColor)); - spectrumOverlayEllipse.Opacity(hsv::GetSaturation(hsvColor)); - spectrumRectangle.Fill(spectrumBrush); - spectrumEllipse.Fill(spectrumBrush); - spectrumOverlayRectangle.Fill(spectrumOverlayBrush); - spectrumOverlayRectangle.Fill(spectrumOverlayBrush); - } - break; - - case winrt::ColorSpectrumComponents::HueSaturation: - case winrt::ColorSpectrumComponents::SaturationHue: - if (SharedHelpers::IsRS2OrHigher()) - { - if (!m_valueSurface) - { - return; - } - - winrt::SpectrumBrush spectrumBrush{ winrt::make() }; - - spectrumBrush.MinSurface(m_valueSurface); - spectrumBrush.MaxSurface(m_valueSurface); - spectrumBrush.MaxSurfaceOpacity(1); - spectrumRectangle.Fill(spectrumBrush); - spectrumEllipse.Fill(spectrumBrush); - } - else - { - if (!m_valueBitmap) - { - return; - } - - winrt::ImageBrush spectrumBrush; - winrt::ImageBrush spectrumOverlayBrush; - - spectrumBrush.ImageSource(m_valueBitmap); - spectrumOverlayBrush.ImageSource(m_valueBitmap); - spectrumOverlayRectangle.Opacity(1); - spectrumOverlayEllipse.Opacity(1); - spectrumRectangle.Fill(spectrumBrush); - spectrumEllipse.Fill(spectrumBrush); - spectrumOverlayRectangle.Fill(spectrumOverlayBrush); - spectrumOverlayRectangle.Fill(spectrumOverlayBrush); - } - break; - - case winrt::ColorSpectrumComponents::ValueSaturation: - case winrt::ColorSpectrumComponents::SaturationValue: - if (SharedHelpers::IsRS2OrHigher()) - { - if (!m_hueRedSurface || - !m_hueYellowSurface || - !m_hueGreenSurface || - !m_hueCyanSurface || - !m_hueBlueSurface || - !m_huePurpleSurface) - { - return; - } - - winrt::SpectrumBrush spectrumBrush{ winrt::make() }; - - const double sextant = hsv::GetHue(hsvColor) / 60.0; - - if (sextant < 1) - { - spectrumBrush.MinSurface(m_hueRedSurface); - spectrumBrush.MaxSurface(m_hueYellowSurface); - } - else if (sextant >= 1 && sextant < 2) - { - spectrumBrush.MinSurface(m_hueYellowSurface); - spectrumBrush.MaxSurface(m_hueGreenSurface); - } - else if (sextant >= 2 && sextant < 3) - { - spectrumBrush.MinSurface(m_hueGreenSurface); - spectrumBrush.MaxSurface(m_hueCyanSurface); - } - else if (sextant >= 3 && sextant < 4) - { - spectrumBrush.MinSurface(m_hueCyanSurface); - spectrumBrush.MaxSurface(m_hueBlueSurface); - } - else if (sextant >= 4 && sextant < 5) - { - spectrumBrush.MinSurface(m_hueBlueSurface); - spectrumBrush.MaxSurface(m_huePurpleSurface); - } - else - { - spectrumBrush.MinSurface(m_huePurpleSurface); - spectrumBrush.MaxSurface(m_hueRedSurface); - } - - spectrumBrush.MaxSurfaceOpacity(sextant - static_cast(sextant)); - spectrumRectangle.Fill(spectrumBrush); - spectrumEllipse.Fill(spectrumBrush); - } - else - { - if (!m_hueRedBitmap || - !m_hueYellowBitmap || - !m_hueGreenBitmap || - !m_hueCyanBitmap || - !m_hueBlueBitmap || - !m_huePurpleBitmap) - { - return; - } - - winrt::ImageBrush spectrumBrush; - winrt::ImageBrush spectrumOverlayBrush; - - const double sextant = hsv::GetHue(hsvColor) / 60.0; - - if (sextant < 1) - { - spectrumBrush.ImageSource(m_hueRedBitmap); - spectrumOverlayBrush.ImageSource(m_hueYellowBitmap); - } - else if (sextant >= 1 && sextant < 2) - { - spectrumBrush.ImageSource(m_hueYellowBitmap); - spectrumOverlayBrush.ImageSource(m_hueGreenBitmap); - } - else if (sextant >= 2 && sextant < 3) - { - spectrumBrush.ImageSource(m_hueGreenBitmap); - spectrumOverlayBrush.ImageSource(m_hueCyanBitmap); - } - else if (sextant >= 3 && sextant < 4) - { - spectrumBrush.ImageSource(m_hueCyanBitmap); - spectrumOverlayBrush.ImageSource(m_hueBlueBitmap); - } - else if (sextant >= 4 && sextant < 5) - { - spectrumBrush.ImageSource(m_hueBlueBitmap); - spectrumOverlayBrush.ImageSource(m_huePurpleBitmap); - } - else - { - spectrumBrush.ImageSource(m_huePurpleBitmap); - spectrumOverlayBrush.ImageSource(m_hueRedBitmap); - } - - spectrumOverlayRectangle.Opacity(sextant - static_cast(sextant)); - spectrumOverlayEllipse.Opacity(sextant - static_cast(sextant)); - spectrumRectangle.Fill(spectrumBrush); - spectrumEllipse.Fill(spectrumBrush); - spectrumOverlayRectangle.Fill(spectrumOverlayBrush); - spectrumOverlayRectangle.Fill(spectrumOverlayBrush); - } - break; - } -} - -bool ColorSpectrum::SelectionEllipseShouldBeLight() -{ - // The selection ellipse should be light if and only if the chosen color - // contrasts more with black than it does with white. - // To find how much something contrasts with white, we use the equation - // for relative luminance, which is given by - // - // L = 0.2126 * Rg + 0.7152 * Gg + 0.0722 * Bg - // - // where Xg = { X/3294 if X <= 10, (R/269 + 0.0513)^2.4 otherwise } - // - // If L is closer to 1, then the color is closer to white; if it is closer to 0, - // then the color is closer to black. This is based on the fact that the human - // eye perceives green to be much brighter than red, which in turn is perceived to be - // brighter than blue. - // - // If the third dimension is value, then we won't be updating the spectrum's displayed colors, - // so in that case we should use a value of 1 when considering the backdrop - // for the selection ellipse. - winrt::Color displayedColor = {}; - - if (Components() == winrt::ColorSpectrumComponents::HueSaturation || - Components() == winrt::ColorSpectrumComponents::SaturationHue) - { - const winrt::float4 hsvColor = HsvColor(); - const Rgb color = HsvToRgb(Hsv(hsv::GetHue(hsvColor), hsv::GetSaturation(hsvColor), 1.0)); - displayedColor = ColorFromRgba(color, hsv::GetAlpha(hsvColor)); - } - else - { - displayedColor = Color(); - } - - const double rg = displayedColor.R <= 10 ? displayedColor.R / 3294.0 : pow(displayedColor.R / 269.0 + 0.0513, 2.4); - const double gg = displayedColor.G <= 10 ? displayedColor.G / 3294.0 : pow(displayedColor.G / 269.0 + 0.0513, 2.4); - const double bg = displayedColor.B <= 10 ? displayedColor.B / 3294.0 : pow(displayedColor.B / 269.0 + 0.0513, 2.4); - - return 0.2126 * rg + 0.7152 * gg + 0.0722 * bg <= 0.5; -} diff --git a/dev/ColorPicker/ColorSpectrum.h b/dev/ColorPicker/ColorSpectrum.h deleted file mode 100644 index adf82be9d8..0000000000 --- a/dev/ColorPicker/ColorSpectrum.h +++ /dev/null @@ -1,183 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "ColorHelpers.h" -#include "ColorChangedEventArgs.h" -#include "DispatcherHelper.h" - -#include "ColorSpectrum.g.h" -#include "ColorSpectrum.properties.h" - -class ColorSpectrum : - public ReferenceTracker, - public ColorSpectrumProperties -{ -public: - ColorSpectrum(); - - // IUIElementOverridesHelper overrides - winrt::AutomationPeer OnCreateAutomationPeer(); - - // IFrameworkElementOverrides overrides - void OnApplyTemplate(); - - // IControlOverrides overrides - void OnKeyDown(winrt::KeyRoutedEventArgs const& e); - void OnGotFocus(winrt::RoutedEventArgs const& e); - void OnLostFocus(winrt::RoutedEventArgs const& e); - - // Property changed handler. - void OnPropertyChanged(winrt::DependencyPropertyChangedEventArgs const& args); - - winrt::Rect GetBoundingRectangle(); - void RaiseColorChanged(); - -private: - - // DependencyProperty changed event handlers - void OnColorChanged(winrt::DependencyPropertyChangedEventArgs const& args); - void OnHsvColorChanged(winrt::DependencyPropertyChangedEventArgs const& args); - void OnMinMaxHueChanged(winrt::DependencyPropertyChangedEventArgs const& args); - void OnMinMaxSaturationChanged(winrt::DependencyPropertyChangedEventArgs const& args); - void OnMinMaxValueChanged(winrt::DependencyPropertyChangedEventArgs const& args); - void OnShapeChanged(winrt::DependencyPropertyChangedEventArgs const& args); - void OnComponentsChanged(winrt::DependencyPropertyChangedEventArgs const& args); - - // ColorSpectrum event handlers - void OnUnloaded(winrt::IInspectable const& sender, winrt::RoutedEventArgs const& args); - - // Template part event handlers - void OnLayoutRootSizeChanged(winrt::IInspectable const& sender, winrt::SizeChangedEventArgs const& args); - void OnInputTargetPointerEntered(winrt::IInspectable const& sender, winrt::PointerRoutedEventArgs const& args); - void OnInputTargetPointerExited(winrt::IInspectable const& sender, winrt::PointerRoutedEventArgs const& args); - void OnInputTargetPointerMoved(winrt::IInspectable const& sender, winrt::PointerRoutedEventArgs const& args); - void OnInputTargetPointerReleased(winrt::IInspectable const& sender, winrt::PointerRoutedEventArgs const& args); - void OnInputTargetPointerPressed(winrt::IInspectable const& sender, winrt::PointerRoutedEventArgs const& args); - void OnSelectionEllipseFlowDirectionChanged(winrt::DependencyObject const& o, winrt::DependencyProperty const& p); - - // Helper functions - void SetColor(); - - void UpdateVisualState(bool useTransitions); - void UpdateColor(Hsv newHsv); - void UpdateColorFromPoint(const winrt::PointerPoint& point); - void UpdateEllipse(); - - void CreateBitmapsAndColorMap(); - void UpdateBitmapSources(); - - bool SelectionEllipseShouldBeLight(); - - // Helpers used by CreateBitmapsAndColorMap() to fill pixel data and create bitmaps from that data. - static void FillPixelForBox( - double x, - double y, - const Hsv &baseHsv, - double minDimension, - winrt::ColorSpectrumComponents components, - double minHue, - double maxHue, - double minSaturation, - double maxSaturation, - double minValue, - double maxValue, - std::shared_ptr> bgraMinPixelData, - std::shared_ptr> bgraMiddle1PixelData, - std::shared_ptr> bgraMiddle2PixelData, - std::shared_ptr> bgraMiddle3PixelData, - std::shared_ptr> bgraMiddle4PixelData, - std::shared_ptr> bgraMaxPixelData, - std::shared_ptr> newHsvValues); - static void FillPixelForRing( - double x, - double y, - double radius, - const Hsv &baseHsv, - winrt::ColorSpectrumComponents components, - double minHue, - double maxHue, - double minSaturation, - double maxSaturation, - double minValue, - double maxValue, - std::shared_ptr> bgraMinPixelData, - std::shared_ptr> bgraMiddle1PixelData, - std::shared_ptr> bgraMiddle2PixelData, - std::shared_ptr> bgraMiddle3PixelData, - std::shared_ptr> bgraMiddle4PixelData, - std::shared_ptr> bgraMaxPixelData, - std::shared_ptr> newHsvValues); - - bool m_updatingColor; - bool m_updatingHsvColor; - bool m_isPointerOver; - bool m_isPointerPressed; - bool m_shouldShowLargeSelection; - std::vector m_hsvValues; - - // XAML elements - tracker_ref m_layoutRoot{ this }; - tracker_ref m_sizingGrid{ this }; - - tracker_ref m_spectrumRectangle{ this }; - tracker_ref m_spectrumEllipse{ this }; - tracker_ref m_spectrumOverlayRectangle{ this }; - tracker_ref m_spectrumOverlayEllipse{ this }; - - tracker_ref m_inputTarget{ this }; - tracker_ref m_selectionEllipsePanel{ this }; - - tracker_ref m_colorNameToolTip{ this }; - - winrt::IAsyncAction m_createImageBitmapAction{ nullptr }; - - // On RS1 and before, we put the spectrum images in a bitmap, - // which we then give to an ImageBrush. - winrt::WriteableBitmap m_hueRedBitmap{ nullptr }; - winrt::WriteableBitmap m_hueYellowBitmap{ nullptr }; - winrt::WriteableBitmap m_hueGreenBitmap{ nullptr }; - winrt::WriteableBitmap m_hueCyanBitmap{ nullptr }; - winrt::WriteableBitmap m_hueBlueBitmap{ nullptr }; - winrt::WriteableBitmap m_huePurpleBitmap{ nullptr }; - - winrt::WriteableBitmap m_saturationMinimumBitmap{ nullptr }; - winrt::WriteableBitmap m_saturationMaximumBitmap{ nullptr }; - - winrt::WriteableBitmap m_valueBitmap{ nullptr }; - - // On RS2 and later, we put the spectrum images in a loaded image surface, - // which we then put into a SpectrumBrush. - winrt::LoadedImageSurface m_hueRedSurface{ nullptr }; - winrt::LoadedImageSurface m_hueYellowSurface{ nullptr }; - winrt::LoadedImageSurface m_hueGreenSurface{ nullptr }; - winrt::LoadedImageSurface m_hueCyanSurface{ nullptr }; - winrt::LoadedImageSurface m_hueBlueSurface{ nullptr }; - winrt::LoadedImageSurface m_huePurpleSurface{ nullptr }; - - winrt::LoadedImageSurface m_saturationMinimumSurface{ nullptr }; - winrt::LoadedImageSurface m_saturationMaximumSurface{ nullptr }; - - winrt::LoadedImageSurface m_valueSurface{ nullptr }; - - // Fields used by UpdateEllipse() to ensure that it's using the data - // associated with the last call to CreateBitmapsAndColorMap(), - // in order to function properly while the asynchronous bitmap creation - // is in progress. - winrt::ColorSpectrumShape m_shapeFromLastBitmapCreation{ winrt::ColorSpectrumShape::Box }; - winrt::ColorSpectrumComponents m_componentsFromLastBitmapCreation{ winrt::ColorSpectrumComponents::HueSaturation }; - double m_imageWidthFromLastBitmapCreation{ 0.0 }; - double m_imageHeightFromLastBitmapCreation{ 0.0 }; - int m_minHueFromLastBitmapCreation{ 0 }; - int m_maxHueFromLastBitmapCreation{ 0 }; - int m_minSaturationFromLastBitmapCreation{ 0 }; - int m_maxSaturationFromLastBitmapCreation{ 0 }; - int m_minValueFromLastBitmapCreation{ 0 }; - int m_maxValueFromLastBitmapCreation{ 0 }; - - winrt::Color m_oldColor{ 255, 255, 255, 255 }; - winrt::float4 m_oldHsvColor{ 0.0, 0.0, 1.0, 1.0 }; - - DispatcherHelper m_dispatcherHelper{ *this }; -}; \ No newline at end of file diff --git a/dev/ColorPicker/ColorSpectrum.idl b/dev/ColorPicker/ColorSpectrum.idl deleted file mode 100644 index 70b4a4a08c..0000000000 --- a/dev/ColorPicker/ColorSpectrum.idl +++ /dev/null @@ -1,46 +0,0 @@ -namespace MU_XCP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass ColorSpectrum : Windows.UI.Xaml.Controls.Control -{ - ColorSpectrum(); - - [MUX_DEFAULT_VALUE("{ 255, 255, 255, 255 }")] - Windows.UI.Color Color { get; set; }; - [MUX_DEFAULT_VALUE("{ 0, 0, 1, 1 }")] - Windows.Foundation.Numerics.Vector4 HsvColor { get; set; }; - [MUX_DEFAULT_VALUE("0")] - Int32 MinHue { get; set; }; - [MUX_DEFAULT_VALUE("359")] - Int32 MaxHue { get; set; }; - [MUX_DEFAULT_VALUE("0")] - Int32 MinSaturation { get; set; }; - [MUX_DEFAULT_VALUE("100")] - Int32 MaxSaturation { get; set; }; - [MUX_DEFAULT_VALUE("0")] - Int32 MinValue { get; set; }; - [MUX_DEFAULT_VALUE("100")] - Int32 MaxValue { get; set; }; - [MUX_DEFAULT_VALUE("winrt::ColorSpectrumShape::Box")] - MU_XC_NAMESPACE.ColorSpectrumShape Shape { get; set; }; - [MUX_DEFAULT_VALUE("winrt::ColorSpectrumComponents::HueSaturation")] - MU_XC_NAMESPACE.ColorSpectrumComponents Components { get; set; }; - event Windows.Foundation.TypedEventHandler ColorChanged; - - static Windows.UI.Xaml.DependencyProperty ColorProperty { get; }; - static Windows.UI.Xaml.DependencyProperty HsvColorProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MinHueProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MaxHueProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MinSaturationProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MaxSaturationProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MinValueProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MaxValueProperty { get; }; - static Windows.UI.Xaml.DependencyProperty ShapeProperty { get; }; - static Windows.UI.Xaml.DependencyProperty ComponentsProperty { get; }; -} - -} diff --git a/dev/ColorPicker/ColorSpectrum.xaml b/dev/ColorPicker/ColorSpectrum.xaml deleted file mode 100644 index a920ad4d0c..0000000000 --- a/dev/ColorPicker/ColorSpectrum.xaml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/dev/ColorPicker/ColorSpectrumAutomationPeer.cpp b/dev/ColorPicker/ColorSpectrumAutomationPeer.cpp deleted file mode 100644 index f544a816bd..0000000000 --- a/dev/ColorPicker/ColorSpectrumAutomationPeer.cpp +++ /dev/null @@ -1,129 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "ColorSpectrumAutomationPeer.h" - -#include "ResourceAccessor.h" -#include "Utils.h" - -#include "ColorSpectrumAutomationPeer.properties.cpp" - -ColorSpectrumAutomationPeer::ColorSpectrumAutomationPeer(winrt::ColorSpectrum const& owner) : - ReferenceTracker(owner) -{ -} - -winrt::IInspectable ColorSpectrumAutomationPeer::GetPatternCore(winrt::PatternInterface const& patternInterface) -{ - if (patternInterface == winrt::PatternInterface::Value) - { - return *this; - } - - return __super::GetPatternCore(patternInterface); -} - -winrt::AutomationControlType ColorSpectrumAutomationPeer::GetAutomationControlTypeCore() -{ - return winrt::AutomationControlType::Slider; -} - -winrt::hstring ColorSpectrumAutomationPeer::GetLocalizedControlTypeCore() -{ - return ResourceAccessor::GetLocalizedStringResource(SR_LocalizedControlTypeColorSpectrum); -} - -winrt::hstring ColorSpectrumAutomationPeer::GetNameCore() -{ - winrt::hstring nameString = __super::GetNameCore(); - - // If a name hasn't been provided by AutomationProperties.Name in markup, - // then we'll return the default value. - if (nameString.empty()) - { - nameString = ResourceAccessor::GetLocalizedStringResource(SR_AutomationNameColorSpectrum); - } - - return nameString; -} - -winrt::hstring ColorSpectrumAutomationPeer::GetClassNameCore() -{ - return winrt::hstring_name_of(); -} - -winrt::hstring ColorSpectrumAutomationPeer::GetHelpTextCore() -{ - return ResourceAccessor::GetLocalizedStringResource(SR_HelpTextColorSpectrum); -} - -winrt::Rect ColorSpectrumAutomationPeer::GetBoundingRectangleCore() -{ - winrt::Rect boundingRectangle = winrt::get_self(Owner().as())->GetBoundingRectangle(); - return boundingRectangle; -} - -winrt::Point ColorSpectrumAutomationPeer::GetClickablePointCore() -{ - const auto boundingRect = GetBoundingRectangleCore(); // Call potentially overridden method - - return winrt::Point{ boundingRect.X + boundingRect.Width / 2, boundingRect.Y + boundingRect.Height / 2 }; -} - -bool ColorSpectrumAutomationPeer::IsReadOnly() -{ - return false; -} - -winrt::hstring ColorSpectrumAutomationPeer::Value() -{ - const winrt::ColorSpectrum colorSpectrumOwner = Owner().as(); - const winrt::Color color = colorSpectrumOwner.Color(); - const winrt::float4 hsvColor = colorSpectrumOwner.HsvColor(); - - return GetValueString(color, hsvColor); -} - -void ColorSpectrumAutomationPeer::SetValue(winrt::hstring const& value) -{ - winrt::ColorSpectrum colorSpectrumOwner = Owner().as(); - const winrt::Color color = unbox_value(winrt::XamlBindingHelper::ConvertValue({ winrt::hstring_name_of(), winrt::TypeKind::Metadata }, box_value(value))); - - colorSpectrumOwner.Color(color); - - // Since ColorPicker sets ColorSpectrum.Color and ColorPicker also responds to ColorSpectrum.ColorChanged, - // we could get into an infinite loop if we always raised ColorSpectrum.ColorChanged when ColorSpectrum.Color changed. - // Because of that, we'll raise the event manually. - winrt::get_self(colorSpectrumOwner)->RaiseColorChanged(); -} - -void ColorSpectrumAutomationPeer::RaisePropertyChangedEvent(winrt::Color oldColor, winrt::Color newColor, winrt::float4 oldHsvColor, winrt::float4 newHsvColor) -{ - winrt::hstring oldValueString = GetValueString(oldColor, oldHsvColor); - winrt::hstring newValueString = GetValueString(newColor, newHsvColor); - - __super::RaisePropertyChangedEvent(winrt::ValuePatternIdentifiers::ValueProperty(), box_value(oldValueString), box_value(newValueString)); -} - -winrt::hstring ColorSpectrumAutomationPeer::GetValueString(winrt::Color color, winrt::float4 hsvColor) -{ - const auto hue = static_cast(round(hsv::GetHue(hsvColor))); - const auto saturation = static_cast(round(hsv::GetSaturation(hsvColor) * 100)); - const auto value = static_cast(round(hsv::GetValue(hsvColor) * 100)); - - if (DownlevelHelper::ToDisplayNameExists()) - { - return StringUtil::FormatString( - ResourceAccessor::GetLocalizedStringResource(SR_ValueStringColorSpectrumWithColorName), - winrt::ColorHelper::ToDisplayName(color).data(), - hue, saturation, value); - } - else - { - return StringUtil::FormatString( - ResourceAccessor::GetLocalizedStringResource(SR_ValueStringColorSpectrumWithoutColorName), - hue, saturation, value); - } -} diff --git a/dev/ColorPicker/ColorSpectrumAutomationPeer.h b/dev/ColorPicker/ColorSpectrumAutomationPeer.h deleted file mode 100644 index eaf231e374..0000000000 --- a/dev/ColorPicker/ColorSpectrumAutomationPeer.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "ColorSpectrum.h" - -#include "ColorSpectrumAutomationPeer.g.h" - -class ColorSpectrumAutomationPeer : - public ReferenceTracker -{ -public: - ColorSpectrumAutomationPeer(winrt::ColorSpectrum const& owner); - - // IAutomationPeerOverrides - winrt::IInspectable GetPatternCore(winrt::PatternInterface const& patternInterface); - winrt::AutomationControlType GetAutomationControlTypeCore(); - winrt::hstring GetLocalizedControlTypeCore(); - winrt::hstring GetNameCore(); - winrt::hstring GetClassNameCore(); - winrt::hstring GetHelpTextCore(); - winrt::Rect GetBoundingRectangleCore(); - winrt::Point GetClickablePointCore(); - - // IValueProvider properties and methods - bool IsReadOnly(); - winrt::hstring Value(); - void SetValue(winrt::hstring const& value); - - void RaisePropertyChangedEvent(winrt::Color oldColor, winrt::Color newColor, winrt::float4 oldHsvColor, winrt::float4 newHsvColor); - -private: - static winrt::hstring GetValueString(winrt::Color color, winrt::float4 hsvColor); -}; diff --git a/dev/ColorPicker/ColorSpectrumAutomationPeer.idl b/dev/ColorPicker/ColorSpectrumAutomationPeer.idl deleted file mode 100644 index 12df436ad3..0000000000 --- a/dev/ColorPicker/ColorSpectrumAutomationPeer.idl +++ /dev/null @@ -1,11 +0,0 @@ -namespace MU_XAP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass ColorSpectrumAutomationPeer : Windows.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer -{ - [method_name("CreateInstanceWithOwner")] ColorSpectrumAutomationPeer(MU_XCP_NAMESPACE.ColorSpectrum owner); -} - -} \ No newline at end of file diff --git a/dev/ColorPicker/ColorSpectrum_v1.xaml b/dev/ColorPicker/ColorSpectrum_v1.xaml deleted file mode 100644 index a920ad4d0c..0000000000 --- a/dev/ColorPicker/ColorSpectrum_v1.xaml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/dev/ColorPicker/Common.idl b/dev/ColorPicker/Common.idl deleted file mode 100644 index 7affa9c71e..0000000000 --- a/dev/ColorPicker/Common.idl +++ /dev/null @@ -1,42 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -enum ColorSpectrumShape -{ - Box = 0, - Ring = 1, -}; - -[MUX_PUBLIC] -[webhosthidden] -enum ColorSpectrumComponents -{ - HueValue = 0, - ValueHue = 1, - HueSaturation = 2, - SaturationHue = 3, - SaturationValue = 4, - ValueSaturation = 5, -}; - -[MUX_PUBLIC] -[webhosthidden] -enum ColorPickerHsvChannel -{ - Hue = 0, - Saturation = 1, - Value = 2, - Alpha = 3, -}; - -[MUX_PUBLIC] -[webhosthidden] -runtimeclass ColorChangedEventArgs -{ - Windows.UI.Color OldColor { get; }; - Windows.UI.Color NewColor { get; }; -} - -} \ No newline at end of file diff --git a/dev/ColorPicker/InteractionTests/ColorPickerTests.cs b/dev/ColorPicker/InteractionTests/ColorPickerTests.cs deleted file mode 100644 index d6b0f4f050..0000000000 --- a/dev/ColorPicker/InteractionTests/ColorPickerTests.cs +++ /dev/null @@ -1,1812 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using System.Collections.Generic; -using System.Threading; - -using Windows.Foundation.Metadata; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common; -using Common; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -using Microsoft.Windows.Apps.Test.Automation; -using Microsoft.Windows.Apps.Test.Foundation; -using Microsoft.Windows.Apps.Test.Foundation.Controls; -using Microsoft.Windows.Apps.Test.Foundation.Patterns; -using Microsoft.Windows.Apps.Test.Foundation.Waiters; - -namespace Windows.UI.Xaml.Tests.MUXControls.InteractionTests -{ - // ColorSpectrum doesn't fit any of the primitives provided in MITA, - // so we'll define our own MITA object for it here. - public class ColorSpectrum : UIObject, IValue - { - public ColorSpectrum(UIObject uiObject) - : base(uiObject) - { - this.Initialize(); - } - - private void Initialize() - { - _valuePattern = new ValueImplementation(this); - } - - public ColorChangedEventWaiter GetColorChangedWaiter() - { - return new ColorChangedEventWaiter(); - } - - public virtual void SetValue(string value) - { - _valuePattern.SetValue(value); - } - - public virtual string Value - { - get - { - return _valuePattern.Value; - } - } - - public virtual bool IsReadOnly - { - get - { - return _valuePattern.IsReadOnly; - } - } - - new public static IFactory Factory - { - get - { - if (null == ColorSpectrum._factory) - { - ColorSpectrum._factory = new ColorSpectrumFactory(); - } - return ColorSpectrum._factory; - } - } - - private IValue _valuePattern; - private static IFactory _factory = null; - - private class ColorSpectrumFactory : IFactory - { - public ColorSpectrum Create(UIObject element) - { - return new ColorSpectrum(element); - } - } - } - - // Similarly, ColorPickerSlider also doesn't fit any of the primitives - // provided in MITA, so we'll define our own MITA object for it here, too. - public class ColorPickerSlider : UIObject, IValue - { - public ColorPickerSlider(UIObject uiObject) - : base(uiObject) - { - this.Initialize(); - } - - private void Initialize() - { - _valuePattern = new ValueImplementation(this); - } - - public ColorChangedEventWaiter GetColorChangedWaiter() - { - return new ColorChangedEventWaiter(); - } - - public virtual void SetValue(string value) - { - _valuePattern.SetValue(value); - } - - public virtual string Value - { - get - { - return _valuePattern.Value; - } - } - - public virtual bool IsReadOnly - { - get - { - return _valuePattern.IsReadOnly; - } - } - - new public static IFactory Factory - { - get - { - if (null == ColorPickerSlider._factory) - { - ColorPickerSlider._factory = new ColorPickerSliderFactory(); - } - return ColorPickerSlider._factory; - } - } - - private IValue _valuePattern; - private static IFactory _factory = null; - - private class ColorPickerSliderFactory : IFactory - { - public ColorPickerSlider Create(UIObject element) - { - return new ColorPickerSlider(element); - } - } - } - - // Depending on the current state of the ColorPicker, either the RGB text boxes will be visible - // or the HSV text boxes will be visible. Waiting on either triplet works for the purposes of - // waiting for the color to change, hence the odd nomenclature in this class. - public class ColorChangedEventWaiter : Waiter - { - private ValueChangedEventWaiter redOrHueChangedWaiter; - private ValueChangedEventWaiter greenOrSaturationChangedWaiter; - private ValueChangedEventWaiter blueOrValueChangedWaiter; - - public ColorChangedEventWaiter() - { - string redOrHueTextBoxAutomationId = null; - string greenOrSaturationTextBoxAutomationId = null; - string blueOrValueTextBoxAutomationId = null; - - ColorChannels currentSelectedChannels = ColorPickerTests.GetCurrentlySelectedChannels(); - - if (currentSelectedChannels == ColorChannels.RGB) - { - redOrHueTextBoxAutomationId = ColorPickerTests.RedTextBoxAutomationId; - greenOrSaturationTextBoxAutomationId = ColorPickerTests.GreenTextBoxAutomationId; - blueOrValueTextBoxAutomationId = ColorPickerTests.BlueTextBoxAutomationId; - } - else - { - redOrHueTextBoxAutomationId = ColorPickerTests.HueTextBoxAutomationId; - greenOrSaturationTextBoxAutomationId = ColorPickerTests.SaturationTextBoxAutomationId; - blueOrValueTextBoxAutomationId = ColorPickerTests.ValueTextBoxAutomationId; - } - - redOrHueChangedWaiter = new ValueChangedEventWaiter(new Edit(FindElement.ById(redOrHueTextBoxAutomationId))); - greenOrSaturationChangedWaiter = new ValueChangedEventWaiter(new Edit(FindElement.ById(greenOrSaturationTextBoxAutomationId))); - blueOrValueChangedWaiter = new ValueChangedEventWaiter(new Edit(FindElement.ById(blueOrValueTextBoxAutomationId))); - } - - public override void Dispose() - { - redOrHueChangedWaiter.Dispose(); - greenOrSaturationChangedWaiter.Dispose(); - blueOrValueChangedWaiter.Dispose(); - } - - public override bool TryWait(TimeSpan timeout) - { - return CompositableWaiter.TryWaitAny(timeout, redOrHueChangedWaiter, greenOrSaturationChangedWaiter, blueOrValueChangedWaiter) != null; - } - } - - public enum ColorChannels - { - RGB, - HSV, - } - - [TestClass] - public class ColorPickerTests - { - public const string ColorSpectrumAutomationId = "ColorSpectrum"; - public const string ThirdDimensionAutomationId = "ThirdDimensionSlider"; - public const string AlphaSliderAutomationId = "AlphaSlider"; - public const string MoreButtonAutomationId = "MoreButton"; - public const string MoreButtonLabelAutomationId = "MoreButtonLabel"; - public const string ColorRepresentationComboBoxAutomationId = "ColorRepresentationComboBox"; - public const string RGBComboBoxItemAutomationId = "RGBComboBoxItem"; - public const string HSVComboBoxItemAutomationId = "HSVComboBoxItem"; - public const string RedTextBoxAutomationId = "RedTextBox"; - public const string RedLabelAutomationId = "RedLabel"; - public const string GreenTextBoxAutomationId = "GreenTextBox"; - public const string GreenLabelAutomationId = "GreenLabel"; - public const string BlueTextBoxAutomationId = "BlueTextBox"; - public const string BlueLabelAutomationId = "BlueLabel"; - public const string HueTextBoxAutomationId = "HueTextBox"; - public const string HueLabelAutomationId = "HueLabel"; - public const string SaturationTextBoxAutomationId = "SaturationTextBox"; - public const string SaturationLabelAutomationId = "SaturationLabel"; - public const string ValueTextBoxAutomationId = "ValueTextBox"; - public const string ValueLabelAutomationId = "ValueLabel"; - public const string AlphaTextBoxAutomationId = "AlphaTextBox"; - public const string AlphaLabelAutomationId = "AlphaLabel"; - public const string HexTextBoxAutomationId = "HexTextBox"; - - [Flags] - public enum TestOptions - { - None = 0, - EnableAlpha = 1, - EnableMoreButton = 2, - EnableNonEnglishLanguage = 4, - DisableColorSpectrumLoadWait = 8 - } - - public class Color - { - public byte A { get; set; } - public byte R { get; set; } - public byte G { get; set; } - public byte B { get; set; } - - public static Color FromArgb(byte a, byte r, byte g, byte b) - { - return new Color() { A = a, R = r, G = g, B = b }; - } - } - - public class ColorPickerTestSetupHelper : TestSetupHelper, IDisposable, IEventSink - { - private PropertyChangedEventSource redEventSource; - private PropertyChangedEventSource greenEventSource; - private PropertyChangedEventSource blueEventSource; - private PropertyChangedEventSource alphaEventSource; - - private object lockObject; - private ManualResetEvent colorChangedEvent; - private bool waitingForColorChanged; - - public static ColorPickerTestSetupHelper Current - { - get; - private set; - } - - public Color Color - { - get; - private set; - } - - public ColorPickerTestSetupHelper(string testName, string languageOverride = "") - : base(testName, new TestSetupHelperOptions{ LanguageOverride = languageOverride}) - { - Current = this; - - redEventSource = null; - greenEventSource = null; - blueEventSource = null; - alphaEventSource = null; - - lockObject = new object(); - colorChangedEvent = new ManualResetEvent(false); - waitingForColorChanged = false; - } - - public void StartTrackingColorChanges() - { - Edit redTextBox = new Edit(FindElement.ById(RedTextBoxAutomationId)); - Edit greenTextBox = new Edit(FindElement.ById(GreenTextBoxAutomationId)); - Edit blueTextBox = new Edit(FindElement.ById(BlueTextBoxAutomationId)); - Edit alphaTextBox = new Edit(FindElement.ById(AlphaTextBoxAutomationId)); - - Color = Color.FromArgb(ParseAlphaTextBoxValue(alphaTextBox.Value), byte.Parse(redTextBox.Value), byte.Parse(greenTextBox.Value), byte.Parse(blueTextBox.Value)); - - redEventSource = new PropertyChangedEventSource(redTextBox, Scope.Element, UIProperty.Get("Value.Value")); - greenEventSource = new PropertyChangedEventSource(greenTextBox, Scope.Element, UIProperty.Get("Value.Value")); - blueEventSource = new PropertyChangedEventSource(blueTextBox, Scope.Element, UIProperty.Get("Value.Value")); - alphaEventSource = new PropertyChangedEventSource(alphaTextBox, Scope.Element, UIProperty.Get("Value.Value")); - - redEventSource.Start(this); - greenEventSource.Start(this); - blueEventSource.Start(this); - alphaEventSource.Start(this); - - Log.Comment("Color-change tracking started. Initial color is RGBA = ({0}, {1}, {2}, {3}).", Color.R, Color.G, Color.B, Color.A); - } - - public void ExecuteAndWaitForColorChange(Action action) - { - waitingForColorChanged = true; - colorChangedEvent.Reset(); - action(); - - Log.Comment("Waiting for color to change..."); - colorChangedEvent.WaitOne(); - Log.Comment("Color changed."); - - waitingForColorChanged = false; - } - - public override void Dispose() - { - lock (lockObject) - { - base.Dispose(); - - if (redEventSource == null || greenEventSource == null || blueEventSource == null || alphaEventSource == null) - { - throw new Exception("Color change tracking was never started. Make sure to call StartTrackingColorChanges() on ColorPickerTestSetupHelper."); - } - - redEventSource.Stop(); - redEventSource.Dispose(); - redEventSource = null; - - greenEventSource.Stop(); - greenEventSource.Dispose(); - greenEventSource = null; - - blueEventSource.Stop(); - blueEventSource.Dispose(); - blueEventSource = null; - - alphaEventSource.Stop(); - alphaEventSource.Dispose(); - alphaEventSource = null; - - colorChangedEvent.Dispose(); - colorChangedEvent = null; - } - - Current = null; - } - - public void SinkEvent(WaiterEventArgs eventArgs) - { - lock (lockObject) - { - AutomationPropertyChangedEventArgs args = eventArgs.EventArgs as AutomationPropertyChangedEventArgs; - string channelChanged = string.Empty; - byte oldValue = 0; - byte newValue = 0; - - string senderAutomationId = eventArgs.Sender.AutomationId; - - switch (senderAutomationId) - { - case RedTextBoxAutomationId: - channelChanged = "Red"; - oldValue = Color.R; - Color = Color.FromArgb(Color.A, byte.Parse(args.NewValue as string), Color.G, Color.B); - newValue = Color.R; - break; - case GreenTextBoxAutomationId: - channelChanged = "Green"; - oldValue = Color.G; - Color = Color.FromArgb(Color.A, Color.R, byte.Parse(args.NewValue as string), Color.B); - newValue = Color.G; - break; - case BlueTextBoxAutomationId: - channelChanged = "Blue"; - oldValue = Color.B; - Color = Color.FromArgb(Color.A, Color.R, Color.G, byte.Parse(args.NewValue as string)); - newValue = Color.B; - break; - case AlphaTextBoxAutomationId: - channelChanged = "Alpha"; - oldValue = Color.A; - // The alpha text box contains a percentage rather than a number between 0 and 255, - // so we need to convert it to that before giving its value to ColorHelper.FromArgb(). - Color = Color.FromArgb(ParseAlphaTextBoxValue(args.NewValue), Color.R, Color.G, Color.B); - newValue = Color.A; - break; - default: - throw new Exception(string.Format("Unknown sender '{0}'.", senderAutomationId)); - } - - Log.Comment("{0} changed from {1} to {2}. Color is now RGBA = ({3}, {4}, {5}, {5}).", channelChanged, oldValue, newValue, Color.R, Color.G, Color.B, Color.A); - - if (waitingForColorChanged && colorChangedEvent != null) - { - colorChangedEvent.Set(); - } - } - } - - private byte ParseAlphaTextBoxValue(object value) - { - return (byte)(byte.Parse((value.ToString()).TrimEnd('%')) * 255 / 100); - } - } - - public static ColorChannels GetCurrentlySelectedChannels() - { - ColorChannels currentlySelectedChannels = ColorChannels.RGB; - - ComboBox colorRepresentationComboBox = new ComboBox(FindElement.ById(ColorRepresentationComboBoxAutomationId)); - ComboBoxItem selectedComboBoxItem = colorRepresentationComboBox.Selection[0]; - - if (selectedComboBoxItem.AutomationId == RGBComboBoxItemAutomationId) - { - currentlySelectedChannels = ColorChannels.RGB; - } - else if (selectedComboBoxItem.AutomationId == HSVComboBoxItemAutomationId) - { - currentlySelectedChannels = ColorChannels.HSV; - } - else - { - Verify.Fail("We should never have a combo box item that isn't either RGB or HSV."); - } - - return currentlySelectedChannels; - } - - [ClassInitialize] - [TestProperty("RunAs", "User")] - [TestProperty("Classification", "Integration")] - [TestProperty("TestPass:IncludeOnlyOn", "Desktop")] - public static void ClassInitialize(TestContext testContext) - { - TestEnvironment.Initialize(testContext); - } - - [TestCleanup] - public void TestCleanup() - { - TestCleanupHelper.Cleanup(); - } - - [TestMethod] - public void CanSelectColorFromSpectrumLTR() - { - using (var setup = SetupColorPickerTest()) - { - CanSelectColorFromSpectrum(setup, false /* isRTL */); - } - } - - [TestMethod] - public void CanSelectColorFromSpectrumRTL() - { - using (var setup = SetupColorPickerTest()) - { - CanSelectColorFromSpectrum(setup, true /* isRTL */); - } - } - - private void CanSelectColorFromSpectrum(ColorPickerTestSetupHelper setup, bool isRTL) - { - SetIsRTL(isRTL); - - // We snap to the nearest HSV value and then derive the RGB value and ellipse position from that, - // so we're bound to run into rounding errors along the way, which is what accounts for the slightly - // different values we get in RTL where our x-axis is flipped. - setup.ExecuteAndWaitForColorChange(() => TapOnColorSpectrumAndWaitForColorChange(0.5, 0.5)); - VerifySelectedColorIsNear(127, 255, 252); - VerifySelectionEllipseIsNear(127, 127); - setup.ExecuteAndWaitForColorChange(() => TapOnColorSpectrumAndWaitForColorChange(0.25, 0.25)); - VerifySelectedColorIsNear(163, isRTL ? 63 : 255, isRTL ? 255 : 63); - VerifySelectionEllipseIsNear(isRTL ? 194 : 63, 63); - setup.ExecuteAndWaitForColorChange(() => TapOnColorSpectrumAndWaitForColorChange(0.75, 0.25)); - VerifySelectedColorIsNear(151, isRTL ? 255 : 63, isRTL ? 63 : 255); - VerifySelectionEllipseIsNear(isRTL ? 66 : 191, 63); - setup.ExecuteAndWaitForColorChange(() => TapOnColorSpectrumAndWaitForColorChange(0.25, 0.75)); - VerifySelectedColorIsNear(224, isRTL ? 191 : 255, isRTL ? 255 : 191); - VerifySelectionEllipseIsNear(isRTL ? 194 : 63, 192); - setup.ExecuteAndWaitForColorChange(() => TapOnColorSpectrumAndWaitForColorChange(0.75, 0.75)); - VerifySelectedColorIsNear(220, isRTL ? 255 : 191, isRTL ? 191 : 255); - VerifySelectionEllipseIsNear(isRTL ? 66 : 191, 192); - } - - [TestMethod] - public void VerifyHsvUpdatesOnSpectrumSelection() - { - using (var setup = SetupColorPickerTest()) - { - TapOnColorSpectrumAndWaitForColorChange(0.5, 0.5); - VerifySelectedColorIsNear(127, 255, 252); - VerifySelectionEllipseIsNear(127, 127); - - WriteInTextBox(ValueTextBoxAutomationId, "0"); - VerifySelectedColorIsNear(0, 0, 0); - - // Since Value is 0, the RGB value stays black and does not trigger the colorChangedEvent, - // so this helper function is used instead. - TapOnColorSpectrum(0.25, 0.25); - Wait.ForIdle(); - - VerifySelectedColorIsNear(0, 0, 0); - - // Allowing +/-1 devation - const double errorMargin = 1; - - Verify.IsLessThanOrEqual(Math.Abs(90 - Double.Parse((new Edit(FindElement.ById(HueTextBoxAutomationId))).Value)), errorMargin); - Verify.IsLessThanOrEqual(Math.Abs(75 - Double.Parse((new Edit(FindElement.ById(SaturationTextBoxAutomationId))).Value)), errorMargin); - Verify.IsLessThanOrEqual(Math.Abs(0 - Double.Parse((new Edit(FindElement.ById(ValueTextBoxAutomationId))).Value)), errorMargin); - - TapOnColorSpectrum(0.75, 0.75); - Wait.ForIdle(); - - VerifySelectedColorIsNear(0, 0, 0); - - Verify.IsLessThanOrEqual(270 - Double.Parse((new Edit(FindElement.ById(HueTextBoxAutomationId))).Value), errorMargin); - Verify.IsLessThanOrEqual(25 - Double.Parse((new Edit(FindElement.ById(SaturationTextBoxAutomationId))).Value), errorMargin); - Verify.IsLessThanOrEqual(0 - Double.Parse((new Edit(FindElement.ById(ValueTextBoxAutomationId))).Value), errorMargin); - } - } - - [TestMethod] - public void CanSelectPreviousColor() - { - using (var setup = SetupColorPickerTest(TestOptions.DisableColorSpectrumLoadWait)) - { - VerifyPreviousColorIsNull(); - - Button previousColorRedButton = new Button(FindElement.ById("PreviousColorRedButton")); - previousColorRedButton.Invoke(); - VerifyPreviousColorIsEqualTo(255, 0, 0); - - SetColorSpectrumColor(128, 255, 255); - Button previousColorCurrentColorButton = new Button(FindElement.ById("PreviousColorCurrentColorButton")); - previousColorCurrentColorButton.Invoke(); - VerifyPreviousColorIsEqualTo(128, 255, 255); - } - } - - [TestMethod] - public void CanChangeColorThroughRgbTextEntry() - { - using (var setup = SetupColorPickerTest(TestOptions.DisableColorSpectrumLoadWait)) - { - WriteInTextBox(RedTextBoxAutomationId, "128"); - VerifyColorIsSelected(128, 0, 0); - WriteInTextBox(GreenTextBoxAutomationId, "128"); - VerifyColorIsSelected(128, 128, 0); - WriteInTextBox(BlueTextBoxAutomationId, "128"); - VerifyColorIsSelected(128, 128, 128); - } - } - - [TestMethod] - public void CanChangeColorThroughHsvTextEntry() - { - using (var setup = SetupColorPickerTest(TestOptions.DisableColorSpectrumLoadWait)) - { - WriteInTextBox(HueTextBoxAutomationId, "120"); - VerifyColorIsSelected(0, 255, 0); - WriteInTextBox(HueTextBoxAutomationId, "240"); - VerifyColorIsSelected(0, 0, 255); - WriteInTextBox(SaturationTextBoxAutomationId, "50"); - VerifyColorIsSelected(128, 128, 255); - WriteInTextBox(SaturationTextBoxAutomationId, "100"); - WriteInTextBox(ValueTextBoxAutomationId, "50"); - VerifyColorIsSelected(0, 0, 128); - } - } - - [TestMethod] - public void CanChangeColorThroughOpacityTextEntry() - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - WriteInTextBox(AlphaTextBoxAutomationId, "50%"); - VerifyColorIsSelected(255, 0, 0, 128); - } - } - - [TestMethod] - public void CanChangeColorThroughHexTextEntry() - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - WriteInTextBox(HexTextBoxAutomationId, "#7F7F7F7F"); - VerifyColorIsSelected(127, 127, 127, 127); - } - } - - [TestMethod] - public void SelectionEllipseChangesColorAccordingToSelectedColor() - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha)) - { - ComboBox colorSpectrumComponentsComboBox = new ComboBox(FindElement.ById("ColorSpectrumComponentsComboBox")); - colorSpectrumComponentsComboBox.SelectItemById("ColorSpectrumComponentsHueValue"); - - VerifySelectionEllipseColorIsEqualTo(255, 255, 255); - WriteInTextBox(AlphaTextBoxAutomationId, "0%"); - VerifySelectionEllipseColorIsEqualTo(255, 255, 255); - WriteInTextBox(HueTextBoxAutomationId, "120"); - VerifySelectionEllipseColorIsEqualTo(0, 0, 0); - WriteInTextBox(ValueTextBoxAutomationId, "85"); - VerifySelectionEllipseColorIsEqualTo(255, 255, 255); - WriteInTextBox(SaturationTextBoxAutomationId, "50"); - VerifySelectionEllipseColorIsEqualTo(0, 0, 0); - } - } - - [TestMethod] - public void CanUseKeyboardToInteractWithColorSpectrumLTR() - { - CanUseKeyboardToInteractWithColorSpectrum(isRTL: false); - } - - [TestMethod] - public void CanUseKeyboardToInteractColorSpectrumRTL() - { - CanUseKeyboardToInteractWithColorSpectrum(isRTL: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithSlidersLTR() - { - CanUseKeyboardToInteractWithSliders(isRTL: false); - CanUseKeyboardToInteractWithSliders(isRTL: false, shouldTryUpAndDown: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithSlidersLTRHorizontalOrientation() - { - CanUseKeyboardToInteractWithSliders(isRTL: false, shouldOrientationBeHorizontal: true); - CanUseKeyboardToInteractWithSliders(isRTL: false, shouldTryUpAndDown: true, shouldOrientationBeHorizontal: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractSlidersRTL() - { - CanUseKeyboardToInteractWithSliders(isRTL: true); - CanUseKeyboardToInteractWithSliders(isRTL: false, shouldTryUpAndDown: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithSlidersRTLHorizontalOrientation() - { - CanUseKeyboardToInteractWithSliders(isRTL: true, shouldOrientationBeHorizontal: true); - CanUseKeyboardToInteractWithSliders(isRTL: true, shouldTryUpAndDown: true, shouldOrientationBeHorizontal: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForRGBLTR() - { - CanUseKeyboardToInteractWithTextBoxesForRGB(isRTL: false); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForRGBRTL() - { - CanUseKeyboardToInteractWithTextBoxesForRGB(isRTL: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForAlphaLTR() - { - CanUseKeyboardToInteractWithTextBoxesForAlpha(isRTL: false); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForAlphaRTL() - { - CanUseKeyboardToInteractWithTextBoxesForAlpha(isRTL: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForHSVLTR() - { - CanUseKeyboardToInteractWithTextBoxesForHSV(isRTL: false); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForHSVRTL() - { - CanUseKeyboardToInteractWithTextBoxesForHSV(isRTL: true); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForHexLTR() - { - CanUseKeyboardToInteractWithTextBoxesForHex(isRTL: false); - } - - [TestMethod] - public void CanUseKeyboardToInteractWithTextBoxesForHexRTL() - { - CanUseKeyboardToInteractWithTextBoxesForHex(isRTL: true); - } - - public void CanUseKeyboardToInteractWithColorSpectrum(bool isRTL) - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha)) - { - SetIsRTL(isRTL); - - bool colorNamesAvailable = ApiInformation.IsMethodPresent("Windows.UI.ColorHelper", "ToDisplayName"); - - Log.Comment("Give initial keyboard focus to the color spectrum."); - FindElement.ById(ColorSpectrumAutomationId).SetFocus(); - Wait.ForIdle(); - - VerifyElementIsFocused(ColorSpectrumAutomationId); - VerifySelectionEllipsePosition(0, 0); - - Log.Comment("Keyboard to the right and left first. We expect this to change the hue by 1 each time (+/- 4 to one RGB channel), applying wrapping."); - PressKeyAndWaitForColorChange(isRTL ? Key.Left : Key.Right); - VerifyColorIsSelected(255, 4, 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(1, 0); - PressKeyAndWaitForColorChange(isRTL ? Key.Right : Key.Left); - VerifyColorIsSelected(255, 0, 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(0, 0); - PressKeyAndWaitForColorChange(isRTL ? Key.Right : Key.Left); - VerifyColorIsSelected(255, 0, 4); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(256, 0); - PressKeyAndWaitForColorChange(isRTL ? Key.Left : Key.Right); - VerifyColorIsSelected(255, 0, 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(0, 0); - - Log.Comment("Now hold control and keyboard to the right and left again. We expect this to jump to the next named color each time, applying wrapping."); - PressKeyAndWaitForColorChange(isRTL ? Key.Left : Key.Right, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 119 : 128, 0); - VerifyColorNameIsSelected("Orange"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 20 : 21, 0); - PressKeyAndWaitForColorChange(isRTL ? Key.Right : Key.Left, ModifierKey.Control); - VerifyColorIsSelected(255, 0, colorNamesAvailable ? 13 : 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, 0); - PressKeyAndWaitForColorChange(isRTL ? Key.Right : Key.Left, ModifierKey.Control); - VerifyColorIsSelected(255, 0, colorNamesAvailable ? 170 : 4); - VerifyColorNameIsSelected("Pink"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 228 : 256, 0); - PressKeyAndWaitForColorChange(isRTL ? Key.Left : Key.Right, ModifierKey.Control); - VerifyColorIsSelected(255, 0, colorNamesAvailable ? 13 : 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, 0); - - Log.Comment("Next, keyboard up and down. We expect this to change the saturation by 1 each time (+/- 2.5 to both non-max RGB channels), applying wrapping."); - PressKeyAndWaitForColorChange(Key.Down); - VerifyColorIsSelected(255, 3, colorNamesAvailable ? 15 : 3); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, 3); - PressKeyAndWaitForColorChange(Key.Up); - VerifyColorIsSelected(255, 0, colorNamesAvailable ? 13 : 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, 0); - PressKeyAndWaitForColorChange(Key.Up); - VerifyColorIsSelected(255, 255, 255); - VerifyColorNameIsSelected("White"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, 256); - PressKeyAndWaitForColorChange(Key.Down); - VerifyColorIsSelected(255, 0, colorNamesAvailable ? 13 : 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, 0); - - Log.Comment("Now hold control keyboard up and down again. We expect this to jump to the next named color each time, applying wrapping."); - PressKeyAndWaitForColorChange(Key.Down, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 153 : 25, colorNamesAvailable ? 158 : 25); - VerifyColorNameIsSelected("Rose"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, colorNamesAvailable ? 154 : 26); - PressKeyAndWaitForColorChange(Key.Up, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, colorNamesAvailable ? 38 : 0); - PressKeyAndWaitForColorChange(Key.Up, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 242 : 255, colorNamesAvailable ? 243 : 255); - VerifyColorNameIsSelected("White"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, colorNamesAvailable ? 243 : 256); - PressKeyAndWaitForColorChange(Key.Down, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 41 : 0, colorNamesAvailable ? 52 : 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, colorNamesAvailable ? 41 : 0); - PressKeyAndWaitForColorChange(Key.Down, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 153 : 25, colorNamesAvailable ? 158 : 25); - VerifyColorNameIsSelected("Rose"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, colorNamesAvailable ? 154 : 26); - PressKeyAndWaitForColorChange(Key.Up, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0); - VerifyColorNameIsSelected("Red"); - VerifySelectionEllipsePosition(colorNamesAvailable ? 255 : 0, colorNamesAvailable ? 38 : 0); - } - } - - public void CanUseKeyboardToInteractWithSliders(bool isRTL, bool shouldTryUpAndDown = false, bool shouldOrientationBeHorizontal = false) - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - SetIsRTL(isRTL); - SetIsHorizontalOrientation(shouldOrientationBeHorizontal); - Key increaseKey = shouldTryUpAndDown ? Key.Up : isRTL ? Key.Left : Key.Right; - Key decreaseKey = shouldTryUpAndDown ? Key.Down : isRTL ? Key.Right : Key.Left; - - bool colorNamesAvailable = ApiInformation.IsMethodPresent("Windows.UI.ColorHelper", "ToDisplayName"); - - Log.Comment("Initialize the color to what it was at the end of CanUseKeyboardToInteractWithColorSpectrum."); - SetColorSpectrumColor(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0); - - Log.Comment("Give initial keyboard focus to the color spectrum."); - FindElement.ById(ColorSpectrumAutomationId).SetFocus(); - Wait.ForIdle(); - - Log.Comment("Give keyboard focus to the value slider using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(ThirdDimensionAutomationId); - - Log.Comment("Keyboard to the right and left first. We expect this to change the value by 1 each time (+/- 2.5 to the max RGB channel), but not wrap."); - KeyboardHelper.PressKey(decreaseKey); - VerifyColorIsSelected(252, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0); - VerifyColorNameIsSelected("Red"); - KeyboardHelper.PressKey(increaseKey); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0); - VerifyColorNameIsSelected("Red"); - KeyboardHelper.PressKey(increaseKey); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0); - VerifyColorNameIsSelected("Red"); - - Log.Comment("Now hold control and keyboard to the right and left again. We expect this to jump to the next named color each time, but not wrap."); - KeyboardHelper.PressKey(decreaseKey, ModifierKey.Control); - VerifyColorIsSelected(colorNamesAvailable ? 102 : 230, colorNamesAvailable ? 15 : 0, colorNamesAvailable ? 20 : 0); - VerifyColorNameIsSelected("Dark red"); - KeyboardHelper.PressKey(decreaseKey, ModifierKey.Control); - VerifyColorIsSelected(colorNamesAvailable ? 15 : 204, colorNamesAvailable ? 2 : 0, colorNamesAvailable ? 3 : 0); - VerifyColorNameIsSelected("Black"); - KeyboardHelper.PressKey(decreaseKey, ModifierKey.Control); - VerifyColorIsSelected(colorNamesAvailable ? 0 : 179, 0, 0); - VerifyColorNameIsSelected("Black"); - KeyboardHelper.PressKey(increaseKey, ModifierKey.Control); - VerifyColorIsSelected(colorNamesAvailable ? 105 : 204, colorNamesAvailable ? 16 : 0, colorNamesAvailable ? 20 : 0); - VerifyColorNameIsSelected("Dark red"); - KeyboardHelper.PressKey(increaseKey, ModifierKey.Control); - VerifyColorIsSelected(colorNamesAvailable ? 214 : 230, colorNamesAvailable ? 32 : 0, colorNamesAvailable ? 41 : 0); - VerifyColorNameIsSelected("Red"); - KeyboardHelper.PressKey(increaseKey, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0); - VerifyColorNameIsSelected("Red"); - - Log.Comment("Give keyboard focus to the alpha slider using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(AlphaSliderAutomationId); - - Log.Comment("Keyboard to the right and left first. We expect this to change the alpha by 2.5 each time, but not wrap."); - KeyboardHelper.PressKey(decreaseKey); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0, 252); - KeyboardHelper.PressKey(increaseKey); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0, 255); - KeyboardHelper.PressKey(increaseKey); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0, 255); - - Log.Comment("Now hold control and keyboard to the right and left again. We expect this to change the alpha by 25 each time, but not wrap. We also expect us to snap to multiples of 10 if we're between them."); - KeyboardHelper.PressKey(decreaseKey, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0, 230); - KeyboardHelper.PressKey(increaseKey); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0, 232); - KeyboardHelper.PressKey(decreaseKey, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0, 230); - KeyboardHelper.PressKey(increaseKey, ModifierKey.Control); - VerifyColorIsSelected(255, colorNamesAvailable ? 38 : 0, colorNamesAvailable ? 49 : 0, 255); - } - } - - public void CanUseKeyboardToInteractWithTextBoxesForRGB(bool isRTL) - { - using (var setup = SetupColorPickerTest(TestOptions.DisableColorSpectrumLoadWait)) - { - SetIsRTL(isRTL); - - Log.Comment("Initialize the color to a known value."); - SetColorSpectrumColor(255, 0, 0); - - Log.Comment("Give initial keyboard focus to red text box."); - FindElement.ById(RedTextBoxAutomationId).SetFocus(); - Wait.ForIdle(); - - Log.Comment("Select the current text, and then type in a new number."); - Edit redTextBox = new Edit(FindElement.ById(RedTextBoxAutomationId)); - redTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(redTextBox, "128"); - VerifyColorIsSelected(128, 0, 0); - - Log.Comment("Give keyboard focus to the green text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(GreenTextBoxAutomationId); - - Log.Comment("Select the current text, and then type in a new number."); - Edit greenTextBox = new Edit(FindElement.ById(GreenTextBoxAutomationId)); - greenTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(greenTextBox, "128"); - VerifyColorIsSelected(128, 128, 0); - - Log.Comment("Give keyboard focus to the blue text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(BlueTextBoxAutomationId); - - Log.Comment("Select the current text, and then type in a new number."); - Edit blueTextBox = new Edit(FindElement.ById(BlueTextBoxAutomationId)); - blueTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(blueTextBox, "128"); - VerifyColorIsSelected(128, 128, 128); - } - } - - public void CanUseKeyboardToInteractWithTextBoxesForAlpha(bool isRTL) - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - SetIsRTL(isRTL); - - bool colorNamesAvailable = ApiInformation.IsMethodPresent("Windows.UI.ColorHelper", "ToDisplayName"); - - Log.Comment("Initialize the color to a known value."); - SetColorSpectrumColor(255, 0, 0); - - Log.Comment("Give initial keyboard focus to alpha text box."); - FindElement.ById(AlphaTextBoxAutomationId).SetFocus(); - Wait.ForIdle(); - - Log.Comment("Select the current text, and then type in a new number."); - Edit alphaTextBox = new Edit(FindElement.ById(AlphaTextBoxAutomationId)); - alphaTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(alphaTextBox, "50%"); - VerifyColorIsSelected(255, 0, 0, 128); - } - } - - public void CanUseKeyboardToInteractWithTextBoxesForHSV(bool isRTL) - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - SetIsRTL(isRTL); - - Log.Comment("Give initial keyboard focus to the color representation combobox."); - FindElement.ById(ColorRepresentationComboBoxAutomationId).SetFocus(); - - Log.Comment("Switch to HSV by pressing down."); - KeyboardHelper.PressKey(Key.Down); - - Log.Comment("Give keyboard focus to the hue text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(HueTextBoxAutomationId); - - Log.Comment("Select the current text, and then type in a new number."); - Edit hueTextBox = new Edit(FindElement.ById(HueTextBoxAutomationId)); - hueTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(hueTextBox, "120"); - VerifyColorIsSelected(0, 255, 0); - - Log.Comment("Give keyboard focus to the saturation text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(SaturationTextBoxAutomationId); - - Log.Comment("Select the current text, and then type in a new number."); - Edit saturationTextBox = new Edit(FindElement.ById(SaturationTextBoxAutomationId)); - saturationTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(saturationTextBox, "50"); - VerifyColorIsSelected(128, 255, 128); - - Log.Comment("Give keyboard focus to the value text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(ValueTextBoxAutomationId); - - Log.Comment("Select the current text, and then type in a new number."); - Edit valueTextBox = new Edit(FindElement.ById(ValueTextBoxAutomationId)); - valueTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(valueTextBox, "50"); - VerifyColorIsSelected(64, 128, 64); - } - } - - public void CanUseKeyboardToInteractWithTextBoxesForHex(bool isRTL) - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - SetIsRTL(isRTL); - - Log.Comment("Give keyboard focus to the hex text box."); - FindElement.ById(HexTextBoxAutomationId).SetFocus(); - Wait.ForIdle(); - - Log.Comment("Select the current text, and then type in a new number."); - Edit hexTextBox = new Edit(FindElement.ById(HexTextBoxAutomationId)); - hexTextBox.DocumentRange.Select(); - KeyboardHelper.EnterText(hexTextBox, "#FFFF0000"); - VerifyColorIsSelected(255, 0, 0); - } - } - - [TestMethod] - public void VerifySpectrumTakesFocusOnPointerPress() - { - using (var setup = SetupColorPickerTest()) - { - TapOnColorSpectrumAndWaitForColorChange(0.5, 0.5); - VerifyElementIsFocused(ColorSpectrumAutomationId); - } - } - - [TestMethod] - public void VerifyMoreButtonShowsAndHidesTextInputFields() - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.EnableMoreButton | TestOptions.DisableColorSpectrumLoadWait)) - { - ToggleButton moreButton = new ToggleButton(FindElement.ById(MoreButtonAutomationId)); - - Verify.IsNotNull(TryFindElement.ById(ColorSpectrumAutomationId)); - Verify.IsNotNull(TryFindElement.ById(ThirdDimensionAutomationId)); - Verify.IsNotNull(TryFindElement.ById(AlphaSliderAutomationId)); - Verify.IsNull(TryFindElement.ById(ColorRepresentationComboBoxAutomationId)); - Verify.IsNull(TryFindElement.ById(RedTextBoxAutomationId)); - Verify.IsNull(TryFindElement.ById(GreenTextBoxAutomationId)); - Verify.IsNull(TryFindElement.ById(BlueTextBoxAutomationId)); - Verify.IsNull(TryFindElement.ById(AlphaTextBoxAutomationId)); - Verify.IsNull(TryFindElement.ById(HexTextBoxAutomationId)); - - moreButton.Toggle(); - Wait.ForIdle(); - - Verify.IsNotNull(TryFindElement.ById(ColorSpectrumAutomationId)); - Verify.IsNotNull(TryFindElement.ById(ThirdDimensionAutomationId)); - Verify.IsNotNull(TryFindElement.ById(AlphaSliderAutomationId)); - Verify.IsNotNull(TryFindElement.ById(ColorRepresentationComboBoxAutomationId)); - Verify.IsNotNull(TryFindElement.ById(RedTextBoxAutomationId)); - Verify.IsNotNull(TryFindElement.ById(GreenTextBoxAutomationId)); - Verify.IsNotNull(TryFindElement.ById(BlueTextBoxAutomationId)); - Verify.IsNotNull(TryFindElement.ById(AlphaTextBoxAutomationId)); - Verify.IsNotNull(TryFindElement.ById(HexTextBoxAutomationId)); - } - } - - [TestMethod] - public void VerifyInvalidTextEntryIsReverted() - { - using (var setup = SetupColorPickerTest(TestOptions.DisableColorSpectrumLoadWait)) - { - SetMinSaturation(50); - SetMinValue(50); - - Verify.AreEqual("255", (new Edit(FindElement.ById(RedTextBoxAutomationId))).Value); - - Log.Comment("First, write a completely invalid string, and make sure that it's reverted after focus is lost."); - WriteInTextBox(RedTextBoxAutomationId, "foo"); - KeyboardHelper.PressKey(Key.Tab); - - Verify.AreEqual("255", (new Edit(FindElement.ById(RedTextBoxAutomationId))).Value); - - Log.Comment("Next, write a string that represents a valid color, but one that is out of range, and then tab away. We should snap to the closest color in range in this case."); - WriteInTextBox(RedTextBoxAutomationId, "0"); - KeyboardHelper.PressKey(Key.Tab); - - Verify.AreEqual("128", (new Edit(FindElement.ById(RedTextBoxAutomationId))).Value); - Verify.AreEqual("64", (new Edit(FindElement.ById(GreenTextBoxAutomationId))).Value); - Verify.AreEqual("64", (new Edit(FindElement.ById(BlueTextBoxAutomationId))).Value); - - Log.Comment("Now we'll do the same with the HSV text boxes."); - WriteInTextBox(HueTextBoxAutomationId, "foo"); - KeyboardHelper.PressKey(Key.Tab); - - Verify.AreEqual("0", (new Edit(FindElement.ById(HueTextBoxAutomationId))).Value); - - WriteInTextBox(SaturationTextBoxAutomationId, "0"); - KeyboardHelper.PressKey(Key.Tab); - - Verify.AreEqual("50", (new Edit(FindElement.ById(SaturationTextBoxAutomationId))).Value); - - WriteInTextBox(ValueTextBoxAutomationId, "0"); - KeyboardHelper.PressKey(Key.Tab); - - Verify.AreEqual("50", (new Edit(FindElement.ById(ValueTextBoxAutomationId))).Value); - - Log.Comment("And similarly for the hex text box."); - - WriteInTextBox(HexTextBoxAutomationId, "#foo"); - KeyboardHelper.PressKey(Key.Tab); - - Verify.AreEqual("#804040", (new Edit(FindElement.ById(HexTextBoxAutomationId))).Value); - - WriteInTextBox(HexTextBoxAutomationId, "#000000"); - KeyboardHelper.PressKey(Key.Tab); - - Verify.AreEqual("#804040", (new Edit(FindElement.ById(HexTextBoxAutomationId))).Value); - } - } - - [TestMethod] - public void VerifyHexStringAndColorAreInSync() - { - using (var setup = SetupColorPickerTest(TestOptions.DisableColorSpectrumLoadWait)) - { - SetColorSpectrumColor(128, 255, 255); - Verify.AreEqual("#80FFFF", (new Edit(FindElement.ById(HexTextBoxAutomationId))).Value); - } - } - - [TestMethod] - public void VerifyEllipsePositionIsClampedToSpectrumBounds() - { - using (var setup = SetupColorPickerTest()) - { - SetMinSaturation(50); - InputHelper.Tap(FindElement.ById("ColorWhiteButton")); - - VerifySelectionEllipsePosition(0, 256); - } - } - - [TestMethod] - public void VerifyCanChangeColorWithTouchWithoutPanning() - { - using (var setup = SetupColorPickerTest()) - { - ScrollImplementation scrollViewer = new ScrollImplementation(FindElement.ById("ColorPickerScrollViewer")); - double initialVerticalScroll = scrollViewer.VerticalScrollPercent; - - ColorSpectrum colorSpectrum = new ColorSpectrum(FindElement.ById(ColorSpectrumAutomationId)); - InputHelper.DragDistance(colorSpectrum, 50, Direction.North); - - Verify.AreEqual(initialVerticalScroll, scrollViewer.VerticalScrollPercent); - } - } - - [TestMethod] - public void VerifyMoreButtonRespondsToThemeChanges() - { - using (var setup = SetupColorPickerTest(TestOptions.EnableMoreButton | TestOptions.DisableColorSpectrumLoadWait)) - { - Button themeLightButton = new Button(FindElement.ById("ThemeLightButton")); - Button themeDarkButton = new Button(FindElement.ById("ThemeDarkButton")); - - TextBlock moreButtonForegroundTextBlock = new TextBlock(FindElement.ById("MoreButtonForegroundTextBlock")); - TextBlock moreButtonBackgroundTextBlock = new TextBlock(FindElement.ById("MoreButtonBackgroundTextBlock")); - TextBlock moreButtonBorderBrushTextBlock = new TextBlock(FindElement.ById("MoreButtonBorderBrushTextBlock")); - - themeLightButton.Invoke(); - Wait.ForIdle(); - - Verify.AreEqual("#FF000000", moreButtonForegroundTextBlock.DocumentText); - Verify.AreEqual("#00FFFFFF", moreButtonBackgroundTextBlock.DocumentText); - Verify.AreEqual("#00FFFFFF", moreButtonBorderBrushTextBlock.DocumentText); - - themeDarkButton.Invoke(); - Wait.ForIdle(); - - Verify.AreEqual("#FFFFFFFF", moreButtonForegroundTextBlock.DocumentText); - Verify.AreEqual("#00FFFFFF", moreButtonBackgroundTextBlock.DocumentText); - Verify.AreEqual("#00FFFFFF", moreButtonBorderBrushTextBlock.DocumentText); - } - } - - [TestMethod] - public void VerifyAutomationNamesAreCorrect() - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - Verify.AreEqual("Color picker", FindElement.ById(ColorSpectrumAutomationId).Name); - Verify.AreEqual("Value (Brightness)", FindElement.ById(ThirdDimensionAutomationId).Name); - Verify.AreEqual("Opacity", FindElement.ById(AlphaSliderAutomationId).Name); - Verify.AreEqual("Color model", FindElement.ById(ColorRepresentationComboBoxAutomationId).Name); - Verify.AreEqual("Red", FindElement.ById(RedTextBoxAutomationId).Name); - Verify.AreEqual("Green", FindElement.ById(GreenTextBoxAutomationId).Name); - Verify.AreEqual("Blue", FindElement.ById(BlueTextBoxAutomationId).Name); - Verify.AreEqual("RGB hex", FindElement.ById(HexTextBoxAutomationId).Name); - SelectTextBoxes(ColorChannels.HSV); - Verify.AreEqual("Hue", FindElement.ById(HueTextBoxAutomationId).Name); - Verify.AreEqual("Saturation", FindElement.ById(SaturationTextBoxAutomationId).Name); - Verify.AreEqual("Value (Brightness)", FindElement.ById(ValueTextBoxAutomationId).Name); - } - } - - // Color change for ColorPicker trigs CColorSpectrum::RaiseColorChanged - // Verify it's not crashed when ColorSpectrum is invisiable - [TestMethod] - public void ValidateNoCrashWhenWhenColorSpectrumInvisibleAndColorChanged() - { - using (var setup = SetupColorPickerTest()) - { - Log.Comment("Hide ColorSpectrum"); - CheckBox isColorSpectrumVisible = new CheckBox(FindElement.ById("ColorSpectrumVisibleCheckBox")); - isColorSpectrumVisible.Toggle(); - Wait.ForIdle(); - - Log.Comment("Change Color"); - InputHelper.Tap(FindElement.ById("ColorWhiteButton")); - } - } - - [TestMethod] - public void VerifyColorSpectrumAutomationValuesAreCorrect() - { - using (var setup = SetupColorPickerTest()) - { - ColorSpectrum colorSpectrum = new ColorSpectrum(FindElement.ById(ColorSpectrumAutomationId)); - colorSpectrum.SetFocus(); - - Verify.AreEqual("2D slider", colorSpectrum.LocalizedControlType); - Verify.AreEqual("2D navigation with arrow keys", colorSpectrum.HelpText); - - bool colorNamesAvailable = ApiInformation.IsMethodPresent("Windows.UI.ColorHelper", "ToDisplayName"); - - Verify.AreEqual(colorNamesAvailable ? "Red, Hue 0, Saturation 100, Value 100" : "Hue 0, Saturation 100, Value 100", colorSpectrum.Value); - KeyboardHelper.PressKey(Key.Right); - Verify.AreEqual(colorNamesAvailable ? "Red, Hue 1, Saturation 100, Value 100" : "Hue 1, Saturation 100, Value 100", colorSpectrum.Value); - KeyboardHelper.PressKey(Key.Right, ModifierKey.Control); - Verify.AreEqual(colorNamesAvailable ? "Orange, Hue 28, Saturation 100, Value 100" : "Hue 31, Saturation 100, Value 100", colorSpectrum.Value); - } - } - - [TestMethod] - public void VerifyThirdDimensionSliderAutomationValuesAreCorrect() - { - using (var setup = SetupColorPickerTest(TestOptions.DisableColorSpectrumLoadWait)) - { - ColorPickerSlider thirdDimensionSlider = new ColorPickerSlider(FindElement.ById(ThirdDimensionAutomationId)); - thirdDimensionSlider.SetFocus(); - - bool colorNamesAvailable = ApiInformation.IsMethodPresent("Windows.UI.ColorHelper", "ToDisplayName"); - - Verify.AreEqual(colorNamesAvailable ? "100, Red" : "100", thirdDimensionSlider.Value); - KeyboardHelper.PressKey(Key.Left); - Verify.AreEqual(colorNamesAvailable ? "99, Red" : "99", thirdDimensionSlider.Value); - KeyboardHelper.PressKey(Key.Left, ModifierKey.Control); - Verify.AreEqual(colorNamesAvailable ? "46, Dark red" : "89", thirdDimensionSlider.Value); - } - } - - // In the OS repo, we run tests against rs_onecore_dep_uxp_dev, and localization resources are not created for OS builds from that repo. - // As a result, we can't test localization there. The functionality that this is testing is just whether ColorPicker is properly - // loading resources instead of having any hard-coded strings, so running this test only in the MUXControls repo should be OK - - // we don't have any OS repo-specific code in what this is testing, so nothing should change between the two repos. - [TestMethod] - public void VerifyStringsAreLocalizedCorrectly() - { - if (PlatformConfiguration.IsOSVersionLessThan(OSVersion.Redstone2)) - { - Log.Warning("ColorPicker localization requires RS2 APIs"); - return; - } - - // First gather all of the text from the English version of the test page. - List englishStrings = new List(); - - Log.Comment("Collecting en-US strings..."); - - using (var setup = SetupColorPickerTest( - TestOptions.EnableAlpha | - TestOptions.EnableMoreButton | - TestOptions.DisableColorSpectrumLoadWait)) - { - GetLocalizedText(englishStrings); - } - - // Now switch to Japanese and gather all of the new text from the test page. - List otherLanguageStrings = new List(); - - Log.Comment("Collecting ja-JP strings..."); - - using (var setup = SetupColorPickerTest( - TestOptions.EnableAlpha | - TestOptions.EnableMoreButton | - TestOptions.EnableNonEnglishLanguage | - TestOptions.DisableColorSpectrumLoadWait)) - { - GetLocalizedText(otherLanguageStrings); - } - - LocalizationHelper.CompareStringSets(englishStrings, otherLanguageStrings); - } - - [TestMethod] - public void VerifyTabFocusOrder() - { - using (var setup = SetupColorPickerTest(TestOptions.EnableAlpha | TestOptions.DisableColorSpectrumLoadWait)) - { - Log.Comment("Give initial keyboard focus to the color spectrum."); - FindElement.ById(ColorSpectrumAutomationId).SetFocus(); - Wait.ForIdle(); - - Log.Comment("Give keyboard focus to the value slider using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(ThirdDimensionAutomationId); - - Log.Comment("Give keyboard focus to the alpha slider using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(AlphaSliderAutomationId); - - Log.Comment("Give keyboard focus to the Color Representation ComboBox using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(ColorRepresentationComboBoxAutomationId); - - Log.Comment("Give keyboard focus to the red text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(RedTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the green text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(GreenTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the blue text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(BlueTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the alpha text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(AlphaTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the hex text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(HexTextBoxAutomationId); - - SetIsHorizontalOrientation(true); - - Log.Comment("Give initial keyboard focus to the color spectrum."); - FindElement.ById(ColorSpectrumAutomationId).SetFocus(); - Wait.ForIdle(); - - Log.Comment("Give keyboard focus to the value slider using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(ThirdDimensionAutomationId); - - Log.Comment("Give keyboard focus to the alpha slider using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(AlphaSliderAutomationId); - - Log.Comment("Give keyboard focus to the hex text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(HexTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the Color Representation ComboBox using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(ColorRepresentationComboBoxAutomationId); - - Log.Comment("Give keyboard focus to the red text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(RedTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the green text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(GreenTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the blue text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(BlueTextBoxAutomationId); - - Log.Comment("Give keyboard focus to the alpha text box using tab."); - KeyboardHelper.PressKey(Key.Tab); - VerifyElementIsFocused(AlphaTextBoxAutomationId); - } - } - - private void GetLocalizedText(IList stringList) - { - ColorSpectrum colorSpectrum = new ColorSpectrum(FindElement.ById(ColorSpectrumAutomationId)); - stringList.Add(colorSpectrum.Value); - stringList.Add(colorSpectrum.LocalizedControlType); - stringList.Add(colorSpectrum.HelpText); - - ColorPickerSlider thirdDimensionSlider = new ColorPickerSlider(FindElement.ById(ThirdDimensionAutomationId)); - stringList.Add(thirdDimensionSlider.Name); - stringList.Add(thirdDimensionSlider.Value); - - ColorPickerSlider alphaSlider = new ColorPickerSlider(FindElement.ById(AlphaSliderAutomationId)); - stringList.Add(alphaSlider.Name); - - ToggleButton moreButton = new ToggleButton(FindElement.ById(MoreButtonAutomationId)); - stringList.Add(moreButton.Name); - stringList.Add(FindElement.ById(MoreButtonLabelAutomationId).Name); - - moreButton.Toggle(); - Wait.ForIdle(); - - stringList.Add(moreButton.Name); - stringList.Add(FindElement.ById(MoreButtonLabelAutomationId).Name); - - ComboBox colorRepresentationComboBox = new ComboBox(FindElement.ById(ColorRepresentationComboBoxAutomationId)); - stringList.Add(colorRepresentationComboBox.Name); - - stringList.Add(FindElement.ById(RedLabelAutomationId).Name); - stringList.Add(FindElement.ById(GreenLabelAutomationId).Name); - stringList.Add(FindElement.ById(BlueLabelAutomationId).Name); - - SelectTextBoxes(ColorChannels.HSV); - - stringList.Add(FindElement.ById(HueLabelAutomationId).Name); - stringList.Add(FindElement.ById(SaturationLabelAutomationId).Name); - stringList.Add(FindElement.ById(ValueLabelAutomationId).Name); - - stringList.Add(FindElement.ById(AlphaLabelAutomationId).Name); - } - - private ColorPickerTestSetupHelper SetupColorPickerTest(TestOptions options = TestOptions.None) - { - var setup = new ColorPickerTestSetupHelper( - "ColorPicker Tests", - languageOverride : (options & TestOptions.EnableNonEnglishLanguage) == TestOptions.EnableNonEnglishLanguage ? "ja-JP" : ""); - - // On CHK builds, waiting for the color spectrum to load can take a while, which contributes - // several seconds towards CatGates' 30-second timeout. As a result, we should only wait - // for it to load in tests where we're actually going to be interacting with it. - if ((options & TestOptions.DisableColorSpectrumLoadWait) != TestOptions.DisableColorSpectrumLoadWait) - { - // This is a bit of a hack - the ColorSpectrum can't be interacted with until it loads asynchronously, - // so we need to wait until that has occurred. There's no publicly accessible event saying that it's loaded, - // so to get around that, we toggle the value of a check box in the test app to indicate that loading has completed. - Log.Comment("Wait until the color spectrum image has loaded."); - CheckBox cb = new CheckBox(FindElement.ById("ColorSpectrumLoadedCheckBox")); - - if (cb.ToggleState != ToggleState.On) - { - cb.GetToggledWaiter().Wait(); - } - - Log.Comment("Color spectrum image loaded."); - } - - SetIsAlphaEnabled((options & TestOptions.EnableAlpha) == TestOptions.EnableAlpha); - SetIsMoreButtonEnabled((options & TestOptions.EnableMoreButton) == TestOptions.EnableMoreButton); - - setup.StartTrackingColorChanges(); - - Wait.ForIdle(); - - return setup; - } - - private void SetColorSpectrumColor(int red, int green, int blue, int alpha = 255) - { - ColorSpectrum colorSpectrum = new ColorSpectrum(FindElement.ById(ColorSpectrumAutomationId)); - - string colorString = "#"; - - // "X2" means "output as hex and pad with zeroes if needed to make the string two characters long". - colorString += alpha.ToString("X2"); - colorString += red.ToString("X2"); - colorString += green.ToString("X2"); - colorString += blue.ToString("X2"); - - using (var waiter = colorSpectrum.GetColorChangedWaiter()) - { - Log.Comment("Setting ColorSpectrum color to {0}.", colorString); - colorSpectrum.SetValue(colorString); - } - - Wait.ForIdle(); - } - - private void TapOnColorSpectrum(double xPercent, double yPercent) - { - ColorSpectrum colorSpectrum = new ColorSpectrum(FindElement.ById(ColorSpectrumAutomationId)); - - int colorSpectrumWidth = colorSpectrum.BoundingRectangle.Width; - int colorSpectrumHeight = colorSpectrum.BoundingRectangle.Height; - - double xPosition = xPercent * (colorSpectrumWidth - 1); - double yPosition = yPercent * (colorSpectrumHeight - 1); - - InputHelper.Tap(colorSpectrum, xPosition, yPosition); - } - - private void TapOnColorSpectrumAndWaitForColorChange(double xPercent, double yPercent) - { - ColorSpectrum colorSpectrum = new ColorSpectrum(FindElement.ById(ColorSpectrumAutomationId)); - - int colorSpectrumWidth = colorSpectrum.BoundingRectangle.Width; - int colorSpectrumHeight = colorSpectrum.BoundingRectangle.Height; - - double xPosition = xPercent * (colorSpectrumWidth - 1); - double yPosition = yPercent * (colorSpectrumHeight - 1); - - ColorPickerTestSetupHelper.Current.ExecuteAndWaitForColorChange( - () => InputHelper.Tap(colorSpectrum, xPosition, yPosition) - ); - } - - private void PressKeyAndWaitForColorChange(Key key, ModifierKey modifierKey = ModifierKey.None, uint numPresses = 1) - { - ColorPickerTestSetupHelper.Current.ExecuteAndWaitForColorChange(() => KeyboardHelper.PressKey(key, modifierKey, numPresses)); - } - - private void WriteInTextBox(string textBoxName, string s) - { - Log.Comment("Retrieve text box with name '{0}'.", textBoxName); - - if (textBoxName == RedTextBoxAutomationId || - textBoxName == GreenTextBoxAutomationId || - textBoxName == BlueTextBoxAutomationId) - { - SelectTextBoxes(ColorChannels.RGB); - } - else if (textBoxName == HueTextBoxAutomationId || - textBoxName == SaturationTextBoxAutomationId || - textBoxName == ValueTextBoxAutomationId) - { - SelectTextBoxes(ColorChannels.HSV); - } - else if (textBoxName == AlphaTextBoxAutomationId) - { - SetIsAlphaEnabled(true); - } - - KeyboardHelper.EnterText(new Edit(FindElement.ById(textBoxName)), s); - } - - private void SelectTextBoxes(ColorChannels channels) - { - ColorChannels currentlySelectedChannels = GetCurrentlySelectedChannels(); - ComboBox colorRepresentationComboBox = new ComboBox(FindElement.ById(ColorRepresentationComboBoxAutomationId)); - - Log.Comment("{0} text boxes requested, {1} text boxes currently selected.", channels == ColorChannels.RGB ? "RGB" : "HSV", currentlySelectedChannels == ColorChannels.RGB ? "RGB" : "HSV"); - - if (currentlySelectedChannels != channels) - { - currentlySelectedChannels = channels; - - Log.Comment("Change the combo box to select {0} text boxes.", channels == ColorChannels.RGB ? "RGB" : "HSV"); - colorRepresentationComboBox.SelectItemById(channels == ColorChannels.RGB ? RGBComboBoxItemAutomationId : HSVComboBoxItemAutomationId); - } - else - { - Log.Comment("No need to change the combo box - we already have the right text box set selected."); - } - } - - private void SetIsAlphaEnabled(bool isAlphaEnabled) - { - CheckBox isAlphaEnabledCheckBox = new CheckBox(FindElement.ById("AlphaEnabledCheckBox")); - - if (isAlphaEnabled && isAlphaEnabledCheckBox.ToggleState != ToggleState.On || - !isAlphaEnabled && isAlphaEnabledCheckBox.ToggleState != ToggleState.Off) - { - isAlphaEnabledCheckBox.Toggle(); - Wait.ForIdle(); - } - } - - private void SetIsMoreButtonEnabled(bool isMoreButtonEnabled) - { - CheckBox isMoreButtonVisibleCheckBox = new CheckBox(FindElement.ById("MoreButtonVisibleCheckBox")); - - if (isMoreButtonEnabled && isMoreButtonVisibleCheckBox.ToggleState != ToggleState.On || - !isMoreButtonEnabled && isMoreButtonVisibleCheckBox.ToggleState != ToggleState.Off) - { - isMoreButtonVisibleCheckBox.Toggle(); - Wait.ForIdle(); - } - } - - private bool GetIsRTL() - { - CheckBox isRTLCheckBox = new CheckBox(FindElement.ById("IsRtlCheckBox")); - return isRTLCheckBox.ToggleState == ToggleState.On; - } - - private void SetIsRTL(bool isRTL) - { - CheckBox isRTLCheckBox = new CheckBox(FindElement.ById("IsRtlCheckBox")); - - if (isRTL && isRTLCheckBox.ToggleState != ToggleState.On || - !isRTL && isRTLCheckBox.ToggleState != ToggleState.Off) - { - isRTLCheckBox.Toggle(); - Wait.ForIdle(); - } - } - - private void SetIsHorizontalOrientation(bool shouldBeHorizontal) - { - ComboBox isRTLCheckBox = new ComboBox(FindElement.ById("OrientationComboBox")); - isRTLCheckBox.SelectItemById(shouldBeHorizontal ? "OrientationHorizontal" : "OrientationVertical"); - Wait.ForIdle(); - } - - private void SetMinSaturation(double minSaturation) - { - Log.Comment("Setting MinSaturation to {0}.", minSaturation); - RangeValueSlider minSaturationSlider = new RangeValueSlider(FindElement.ById("MinimumSaturationSlider")); - SetSaturation(minSaturationSlider, minSaturation); - } - - private void SetMaxSaturation(double maxSaturation) - { - Log.Comment("Setting MaxSaturation to {0}.", maxSaturation); - RangeValueSlider maxSaturationSlider = new RangeValueSlider(FindElement.ById("MaximumSaturationSlider")); - SetSaturation(maxSaturationSlider, maxSaturation); - } - - private void SetSaturation(RangeValueSlider saturationSlider, double saturation) - { - if (saturationSlider.Value != saturation) - { - CheckBox cb = new CheckBox(FindElement.ById("ColorSpectrumLoadedCheckBox")); - - if (cb.ToggleState != ToggleState.Off) - { - cb.Toggle(); - } - - using (var waiter = cb.GetToggledWaiter()) - { - saturationSlider.SetValue(saturation); - Log.Comment("Waiting for the color spectrum image to be reloaded...."); - } - - Log.Comment("Color spectrum image loaded."); - } - } - - private void SetMinValue(double minValue) - { - Log.Comment("Setting MinValue to {0}.", minValue); - RangeValueSlider minValueSlider = new RangeValueSlider(FindElement.ById("MinimumValueSlider")); - SetValue(minValueSlider, minValue); - } - - private void SetMaxValue(double maxValue) - { - Log.Comment("Setting MaxValue to {0}.", maxValue); - RangeValueSlider maxValueSlider = new RangeValueSlider(FindElement.ById("MaximumValueSlider")); - SetValue(maxValueSlider, maxValue); - } - - private void SetValue(RangeValueSlider valueSlider, double value) - { - RangeValueSlider minValueSlider = new RangeValueSlider(FindElement.ById("MinimumValueSlider")); - - if (minValueSlider.Value != value) - { - minValueSlider.SetValue(value); - // The value is tracked by the slider, meaning that we don't have to wait for - // the color spectrum image to be reloaded in this circumstance. - } - } - - private void VerifyColorIsSelected(int expectedRed, int expectedGreen, int expectedBlue, int expectedAlpha = 255) - { - VerifyColorIsSelectedCore(expectedRed, expectedGreen, expectedBlue, expectedAlpha, 1 /* allowedMargin */); - } - - private void VerifySelectedColorIsNear(int expectedRed, int expectedGreen, int expectedBlue, int expectedAlpha = 255) - { - VerifyColorIsSelectedCore(expectedRed, expectedGreen, expectedBlue, expectedAlpha, 10 /* allowedMargin */); - } - - private void VerifyColorIsSelectedCore(int expectedRed, int expectedGreen, int expectedBlue, int expectedAlpha, int allowedMargin) - { - Color currentColor = ColorPickerTestSetupHelper.Current.Color; - - int actualRed = currentColor.R; - int actualGreen = currentColor.G; - int actualBlue = currentColor.B; - int actualAlpha = currentColor.A; - - Log.Comment("Expecting the ColorPicker's selected color to be {8}RGBA = ({0}, {1}, {2}, {3}). Actual color is RGBA = ({4}, {5}, {6}, {7}).", - expectedRed, expectedGreen, expectedBlue, expectedAlpha, - actualRed, actualGreen, actualBlue, actualAlpha, - allowedMargin > 0 ? string.Format("within {0} unit{1} of ", allowedMargin, allowedMargin != 1 ? "s" : "") : ""); - - Verify.IsLessThanOrEqual(expectedRed - allowedMargin, actualRed); - Verify.IsGreaterThanOrEqual(expectedRed + allowedMargin, actualRed); - Verify.IsLessThanOrEqual(expectedGreen - allowedMargin, actualGreen); - Verify.IsGreaterThanOrEqual(expectedGreen + allowedMargin, actualGreen); - Verify.IsLessThanOrEqual(expectedBlue - allowedMargin, actualBlue); - Verify.IsGreaterThanOrEqual(expectedBlue + allowedMargin, actualBlue); - Verify.IsLessThanOrEqual(expectedAlpha - allowedMargin, actualAlpha); - Verify.IsGreaterThanOrEqual(expectedAlpha + allowedMargin, actualAlpha); - } - - private void VerifyColorNameIsSelected(string expectedName) - { - if (!ApiInformation.IsMethodPresent("Windows.UI.ColorHelper", "ToDisplayName")) - { - return; - } - - TextBlock selectedColorNameTextBlock = new TextBlock(FindElement.ById("SelectedColorNameTextBlock")); - - string actualName = selectedColorNameTextBlock.DocumentText; - - Log.Comment("Expecting the ColorPicker's selected color name to be '{0}'. Actual color name is '{1}'.", - expectedName, actualName); - - Verify.AreEqual(expectedName, actualName); - } - - private void VerifyPreviousColorIsEqualTo(int expectedRed, int expectedGreen, int expectedBlue, int expectedAlpha = 255) - { - TextBlock previousRedTextBlock = new TextBlock(FindElement.ById("PreviousRedTextBlock")); - TextBlock previousGreenTextBlock = new TextBlock(FindElement.ById("PreviousGreenTextBlock")); - TextBlock previousBlueTextBlock = new TextBlock(FindElement.ById("PreviousBlueTextBlock")); - TextBlock previousAlphaTextBlock = new TextBlock(FindElement.ById("PreviousAlphaTextBlock")); - - int actualRed = int.Parse(previousRedTextBlock.DocumentText); - int actualGreen = int.Parse(previousGreenTextBlock.DocumentText); - int actualBlue = int.Parse(previousBlueTextBlock.DocumentText); - int actualAlpha = int.Parse(previousAlphaTextBlock.DocumentText); - - Log.Comment("Expecting the ColorPicker's previous color to be RGBA = ({0}, {1}, {2}, {3}). Actual color is RGBA = ({4}, {5}, {6}, {7}).", - expectedRed, expectedGreen, expectedBlue, expectedAlpha, - actualRed, actualGreen, actualBlue, actualAlpha); - - Verify.AreEqual(expectedRed, actualRed); - Verify.AreEqual(expectedGreen, actualGreen); - Verify.AreEqual(expectedBlue, actualBlue); - Verify.AreEqual(expectedAlpha, actualAlpha); - } - - private void VerifyPreviousColorIsNull() - { - TextBlock previousRedTextBlock = new TextBlock(FindElement.ById("PreviousRedTextBlock")); - TextBlock previousGreenTextBlock = new TextBlock(FindElement.ById("PreviousGreenTextBlock")); - TextBlock previousBlueTextBlock = new TextBlock(FindElement.ById("PreviousBlueTextBlock")); - TextBlock previousAlphaTextBlock = new TextBlock(FindElement.ById("PreviousAlphaTextBlock")); - - Verify.AreEqual("", previousRedTextBlock.DocumentText); - Verify.AreEqual("", previousGreenTextBlock.DocumentText); - Verify.AreEqual("", previousBlueTextBlock.DocumentText); - Verify.AreEqual("", previousAlphaTextBlock.DocumentText); - } - - private void VerifySelectionEllipsePosition(double expectedX, double expectedY) - { - VerifySelectionEllipsePositionCore(expectedX, expectedY, 0 /* allowedMargin */); - } - - private void VerifySelectionEllipseIsNear(double expectedX, double expectedY) - { - VerifySelectionEllipsePositionCore(expectedX, expectedY, 10 /* allowedMargin */); - } - - private void VerifySelectionEllipsePositionCore(double expectedX, double expectedY, double allowedMargin) - { - TextBlock ellipseXTextBlock = new TextBlock(FindElement.ById("EllipseXTextBlock")); - TextBlock ellipseYTextBlock = new TextBlock(FindElement.ById("EllipseYTextBlock")); - - double actualX = double.Parse(ellipseXTextBlock.DocumentText); - double actualY = double.Parse(ellipseYTextBlock.DocumentText); - - Log.Comment("Expecting the selection ellipse's position to be {4}({0}, {1}). Actual position is ({2}, {3}).", - expectedX, expectedY, - actualX, actualY, - allowedMargin > 0 ? string.Format("within {0} units of ", allowedMargin) : ""); - - Verify.IsLessThanOrEqual(expectedX - allowedMargin, actualX); - Verify.IsGreaterThanOrEqual(expectedX + allowedMargin, actualX); - Verify.IsLessThanOrEqual(expectedY - allowedMargin, actualY); - Verify.IsGreaterThanOrEqual(expectedY + allowedMargin, actualY); - } - - private void VerifySelectionEllipseColorIsEqualTo(int expectedRed, int expectedGreen, int expectedBlue, int expectedAlpha = 255) - { - TextBlock ellipseRedTextBlock = new TextBlock(FindElement.ById("EllipseRedTextBlock")); - TextBlock ellipseGreenTextBlock = new TextBlock(FindElement.ById("EllipseGreenTextBlock")); - TextBlock ellipseBlueTextBlock = new TextBlock(FindElement.ById("EllipseBlueTextBlock")); - TextBlock ellipseAlphaTextBlock = new TextBlock(FindElement.ById("EllipseAlphaTextBlock")); - - int actualRed = int.Parse(ellipseRedTextBlock.DocumentText); - int actualGreen = int.Parse(ellipseGreenTextBlock.DocumentText); - int actualBlue = int.Parse(ellipseBlueTextBlock.DocumentText); - int actualAlpha = int.Parse(ellipseAlphaTextBlock.DocumentText); - - Log.Comment("Expecting the selection ellipse's color to be RGBA = ({0}, {1}, {2}, {3}). Actual color is RGBA = ({4}, {5}, {6}, {7}).", - expectedRed, expectedGreen, expectedBlue, expectedAlpha, - actualRed, actualGreen, actualBlue, actualAlpha); - - Verify.AreEqual(expectedRed, actualRed); - Verify.AreEqual(expectedGreen, actualGreen); - Verify.AreEqual(expectedBlue, actualBlue); - Verify.AreEqual(expectedAlpha, actualAlpha); - } - - private void VerifyElementIsFocused(string expectedFocusedElement) - { - TextBlock currentlyFocusedElementTextBlock = new TextBlock(FindElement.ById("CurrentlyFocusedElementTextBlock")); - - Log.Comment("Expecting the focused element to be '{0}'. Actual focused element is '{1}'.", expectedFocusedElement, currentlyFocusedElementTextBlock.DocumentText); - Verify.AreEqual(expectedFocusedElement, currentlyFocusedElementTextBlock.DocumentText); - } - } -} \ No newline at end of file diff --git a/dev/ColorPicker/InteractionTests/ColorPicker_InteractionTests.projitems b/dev/ColorPicker/InteractionTests/ColorPicker_InteractionTests.projitems deleted file mode 100644 index 25d500be91..0000000000 --- a/dev/ColorPicker/InteractionTests/ColorPicker_InteractionTests.projitems +++ /dev/null @@ -1,17 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - c9703891-0c13-4dbd-84fc-adb77511c7d4 - - $(DefineConstants);COLORPICKER_INCLUDED - - - ColorPicker_InteractionTests - - - - - \ No newline at end of file diff --git a/dev/ColorPicker/InteractionTests/ColorPicker_InteractionTests.shproj b/dev/ColorPicker/InteractionTests/ColorPicker_InteractionTests.shproj deleted file mode 100644 index 896ae860a2..0000000000 --- a/dev/ColorPicker/InteractionTests/ColorPicker_InteractionTests.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - a4d2fae8-e7fc-4100-91ff-2202fac91c70 - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/ColorPicker/SpectrumBrush.cpp b/dev/ColorPicker/SpectrumBrush.cpp deleted file mode 100644 index 9fd6adfc02..0000000000 --- a/dev/ColorPicker/SpectrumBrush.cpp +++ /dev/null @@ -1,78 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "SpectrumBrush.h" -#include "Vector.h" - -void SpectrumBrush::OnConnected() -{ - m_isConnected = true; - UpdateSpectrumBrush(); -} - -void SpectrumBrush::OnDisconnected() -{ - m_isConnected = false; - - if (m_brush) - { - m_brush.Close(); - m_brush = nullptr; - CompositionBrush(nullptr); - } -} - -void SpectrumBrush::OnPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - winrt::IDependencyProperty property = args.Property(); - winrt::Compositor compositor = winrt::Window::Current().Compositor(); - - if (property == s_MinSurfaceProperty) - { - m_minSurfaceBrush = compositor.CreateSurfaceBrush(MinSurface()); - UpdateSpectrumBrush(); - } - else if (property == s_MaxSurfaceProperty) - { - m_maxSurfaceBrush = compositor.CreateSurfaceBrush(MaxSurface()); - UpdateSpectrumBrush(); - } - else if (property == s_MaxSurfaceOpacityProperty) - { - if (m_brushEffect) - { - m_brushEffect->Weight(static_cast(MaxSurfaceOpacity())); - } - } -} - -void SpectrumBrush::CreateSpectrumBrush() -{ - winrt::Compositor compositor = winrt::Window::Current().Compositor(); - - m_brushEffect = winrt::make_self(); - m_brushEffect->Source1(winrt::CompositionEffectSourceParameter{ L"MinSurface" }); - m_brushEffect->Source2(winrt::CompositionEffectSourceParameter{ L"MaxSurface" }); - m_brushEffect->Weight(static_cast(MaxSurfaceOpacity())); - - winrt::CompositionEffectFactory effectFactory = compositor.CreateEffectFactory(*m_brushEffect); - m_brush = effectFactory.CreateBrush(); - - CompositionBrush(m_brush); -} - -void SpectrumBrush::UpdateSpectrumBrush() -{ - if (m_isConnected) - { - if (!m_brush) - { - CreateSpectrumBrush(); - } - - m_brush.SetSourceParameter(L"MinSurface", m_minSurfaceBrush); - m_brush.SetSourceParameter(L"MaxSurface", m_maxSurfaceBrush); - } -} diff --git a/dev/ColorPicker/SpectrumBrush.h b/dev/ColorPicker/SpectrumBrush.h deleted file mode 100644 index e51e050e6c..0000000000 --- a/dev/ColorPicker/SpectrumBrush.h +++ /dev/null @@ -1,41 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "MaterialHelper.h" - -#include "SpectrumBrush.g.h" -#include "SpectrumBrush.properties.h" - -#pragma warning(push) -#pragma warning(disable: 6101) // Returning uninitialized memory ''. A successful path through the function does not set the named _Out_ parameter. -#include -#pragma warning(pop) - - -class SpectrumBrush : - public ReferenceTracker, - public SpectrumBrushProperties -{ -public: - // IXamlCompositionBrushOverrides - void OnConnected(); - void OnDisconnected(); - - // Property changed handler - void OnPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); - -private: - - void CreateSpectrumBrush(); - void UpdateSpectrumBrush(); - - bool m_isConnected{ false }; - - winrt::CompositionSurfaceBrush m_minSurfaceBrush{ nullptr }; - winrt::CompositionSurfaceBrush m_maxSurfaceBrush{ nullptr }; - - com_ptr m_brushEffect{ nullptr }; - winrt::CompositionEffectBrush m_brush{ nullptr }; -}; diff --git a/dev/ColorPicker/SpectrumBrush.idl b/dev/ColorPicker/SpectrumBrush.idl deleted file mode 100644 index 5b17b8cb71..0000000000 --- a/dev/ColorPicker/SpectrumBrush.idl +++ /dev/null @@ -1,22 +0,0 @@ -namespace MU_PRIVATE_CONTROLS_NAMESPACE -{ - -[MUX_INTERNAL] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -runtimeclass SpectrumBrush : Windows.UI.Xaml.Media.XamlCompositionBrushBase -{ - SpectrumBrush(); - - Windows.UI.Xaml.Media.LoadedImageSurface MinSurface { get; set; }; - Windows.UI.Xaml.Media.LoadedImageSurface MaxSurface { get; set; }; - [MUX_DEFAULT_VALUE("1.0")] - Double MaxSurfaceOpacity { get; set; }; - - static Windows.UI.Xaml.DependencyProperty MinSurfaceProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MaxSurfaceProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MaxSurfaceOpacityProperty { get; }; -} - -} \ No newline at end of file diff --git a/dev/ColorPicker/Strings/af-ZA/Resources.resw b/dev/ColorPicker/Strings/af-ZA/Resources.resw deleted file mode 100644 index b37fe89c2e..0000000000 --- a/dev/ColorPicker/Strings/af-ZA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ondeursigtigheid - The label for the text box to edit the opacity. - - - Ondeursigtigheid - The automation name for the opacity slider. - - - Ondeursigtigheid - The automation name for the text box to edit the opacity. - - - Tint - The automation name for the third-dimension slider when it's controlling hue. - - - Versadiging - The automation name for the third-dimension slider when it's controlling saturation. - - - Waarde (helderheid) - The automation name for the third-dimension slider when it's controlling value. - - - Blou - The label for the text box to edit the blue component of the current RGB color. - - - Blou - The automation name for the text box to edit the blue component of the current RGB color. - - - Kleurmodel - The automation name for the color model selection combo box. - - - Kleurkieser - The automation name for the ColorSpectrum control. - - - Groen - The label for the text box to edit the green component of the current RGB color. - - - Groen - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-navigasie met pyltjiesleutels - The help text associated with ColorSpectrum. - - - RGB-hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Tint - The label for the text box to edit the hue component of the current HSV color. - - - Tint - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-glyer - The string to provide as the localized control type of the ColorSpectrum. - - - Rooi - The label for the text box to edit the red component of the current RGB color. - - - Rooi - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Versadiging - The label for the text box to edit the saturation component of the current HSV color. - - - Versadiging - The automation name for the text box to edit the saturation component of the current HSV color. - - - Waarde - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Tint %2!u!, Versadiging %3!u!, Waarde %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Tint %1!u!, Versadiging %2!u!, Waarde %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Waarde (helderheid) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ondeursigtigheid - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Tint %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Tint %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Versadiging %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Versadiging %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Waarde %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Waarde %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Meer - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Minder - The string to provide as the UIA value of the "more" button when it's expanded. - - - Roep om die teksinskrywingsvelde te wys of te versteek. - The help text associated with the "more" button. - - - Meer - The string to display in the "more" button when it's collapsed. - - - Minder - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/am-ET/Resources.resw b/dev/ColorPicker/Strings/am-ET/Resources.resw deleted file mode 100644 index 07db4f609a..0000000000 --- a/dev/ColorPicker/Strings/am-ET/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ታይነት - The label for the text box to edit the opacity. - - - ታይነት - The automation name for the opacity slider. - - - ታይነት - The automation name for the text box to edit the opacity. - - - መሰረታዊ ቀለም - The automation name for the third-dimension slider when it's controlling hue. - - - የቀለም እምቀት - The automation name for the third-dimension slider when it's controlling saturation. - - - እሴት (ብሩህነት) - The automation name for the third-dimension slider when it's controlling value. - - - ሰማያዊ - The label for the text box to edit the blue component of the current RGB color. - - - ሰማያዊ - The automation name for the text box to edit the blue component of the current RGB color. - - - የቀለም ሞዴል - The automation name for the color model selection combo box. - - - ቀለም መራጭ - The automation name for the ColorSpectrum control. - - - አረንጓዴ - The label for the text box to edit the green component of the current RGB color. - - - አረንጓዴ - The automation name for the text box to edit the green component of the current RGB color. - - - 2D ዳሰሳ ከቀስት ቁልፎች ጋር - The help text associated with ColorSpectrum. - - - RGB ስድስትዮሽ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - መሰረታዊ ቀለም - The label for the text box to edit the hue component of the current HSV color. - - - መሰረታዊ ቀለም - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D አንሸራታች - The string to provide as the localized control type of the ColorSpectrum. - - - ቀይ - The label for the text box to edit the red component of the current RGB color. - - - ቀይ - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - የቀለም እምቀት - The label for the text box to edit the saturation component of the current HSV color. - - - የቀለም እምቀት - The automation name for the text box to edit the saturation component of the current HSV color. - - - እሴት - The label for the text box to edit the value component of the current HSV color. - - - %1!s!፣ መሰረታዊ ቀለም %2!u!፣ የቀለም ሙሌት %3!u!, Value %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - መሰረታዊ ቀለም %1!u!፣ የቀለም ሙሌት %2!u!፣ እሴት %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!፣ %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!፣ %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!፣ %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - እሴት (ብሩህነት) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ታይነት - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - መሰረታዊ ቀለም %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - መሰረታዊ ቀለም %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - የቀለም እምቀት %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - የቀለም እምቀት %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - እሴት %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - እሴት %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - ተጨማሪ - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ያነሰ - The string to provide as the UIA value of the "more" button when it's expanded. - - - የጽሑፍ ግቤት መስኮችን ለማሳየት ወይም ለመደበቅ ይጥሩ። - The help text associated with the "more" button. - - - ተጨማሪ - The string to display in the "more" button when it's collapsed. - - - ያነሰ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ar-SA/Resources.resw b/dev/ColorPicker/Strings/ar-SA/Resources.resw deleted file mode 100644 index 2874f04cc6..0000000000 --- a/dev/ColorPicker/Strings/ar-SA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - معدل الشفافية - The label for the text box to edit the opacity. - - - معدل الشفافية - The automation name for the opacity slider. - - - معدل الشفافية - The automation name for the text box to edit the opacity. - - - تدرج اللون - The automation name for the third-dimension slider when it's controlling hue. - - - التشبع - The automation name for the third-dimension slider when it's controlling saturation. - - - القيمة (السطوع) - The automation name for the third-dimension slider when it's controlling value. - - - أزرق - The label for the text box to edit the blue component of the current RGB color. - - - أزرق - The automation name for the text box to edit the blue component of the current RGB color. - - - نموذج الألوان - The automation name for the color model selection combo box. - - - منتقي الألوان - The automation name for the ColorSpectrum control. - - - أخضر - The label for the text box to edit the green component of the current RGB color. - - - أخضر - The automation name for the text box to edit the green component of the current RGB color. - - - التنقل ثنائي الأبعاد باستخدام مفاتيح الأسهم - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - تدرج اللون - The label for the text box to edit the hue component of the current HSV color. - - - تدرج اللون - The automation name for the text box to edit the hue component of the current HSV color. - - - شريط التمرير ثنائي الأبعاد - The string to provide as the localized control type of the ColorSpectrum. - - - أحمر - The label for the text box to edit the red component of the current RGB color. - - - أحمر - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - التشبع - The label for the text box to edit the saturation component of the current HSV color. - - - التشبع - The automation name for the text box to edit the saturation component of the current HSV color. - - - القيمة - The label for the text box to edit the value component of the current HSV color. - - - %1!s!، تدرج اللون %2!u!، التشبع %3!u!، القيمة %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - تدرج اللون %1!u!، التشبع %2!u!، القيمة %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!، %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - القيمة (السطوع) - The automation name for the text box to edit the value component of the current HSV color. - - - معدل الشفافية %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - تدرج اللون %1!u! (‏%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - تدرج اللون %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - التشبع %1!u! (‏%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - التشبع %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - القيمة %1!u! (‏%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - القيمة %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - المزيد - The string to provide as the UIA value of the "more" button when it's collapsed. - - - أقل - The string to provide as the UIA value of the "more" button when it's expanded. - - - قم بالاستدعاء لإظهار حقول إدخال النص أو إخفائها. - The help text associated with the "more" button. - - - المزيد - The string to display in the "more" button when it's collapsed. - - - أقل - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/as-IN/Resources.resw b/dev/ColorPicker/Strings/as-IN/Resources.resw deleted file mode 100644 index 34a7910062..0000000000 --- a/dev/ColorPicker/Strings/as-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - অস্পষ্টতা - The label for the text box to edit the opacity. - - - অস্পষ্টতা - The automation name for the opacity slider. - - - অস্পষ্টতা - The automation name for the text box to edit the opacity. - - - বৰণ - The automation name for the third-dimension slider when it's controlling hue. - - - সংপৃক্ততা - The automation name for the third-dimension slider when it's controlling saturation. - - - মান (উজ্জ্বলতা) - The automation name for the third-dimension slider when it's controlling value. - - - নীলা - The label for the text box to edit the blue component of the current RGB color. - - - নীলা - The automation name for the text box to edit the blue component of the current RGB color. - - - ৰঙৰ মডেল - The automation name for the color model selection combo box. - - - ৰং নিৰ্বাচক - The automation name for the ColorSpectrum control. - - - সেউজীয়া - The label for the text box to edit the green component of the current RGB color. - - - সেউজীয়া - The automation name for the text box to edit the green component of the current RGB color. - - - কাঁড় কীসমূহৰ সৈতে 2D নেভিগেশ্বন - The help text associated with ColorSpectrum. - - - RGB হেক্স - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - বৰণ - The label for the text box to edit the hue component of the current HSV color. - - - বৰণ - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D শ্লাইডাৰ - The string to provide as the localized control type of the ColorSpectrum. - - - ৰঙা - The label for the text box to edit the red component of the current RGB color. - - - ৰঙা - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - সংপৃক্ততা - The label for the text box to edit the saturation component of the current HSV color. - - - সংপৃক্ততা - The automation name for the text box to edit the saturation component of the current HSV color. - - - মান - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, বৰণ %2!u!, সংপৃক্ততা %3!u!, মান %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - বৰণ %1!u!, সংপৃক্ততা %2!u!, মান %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - মান (উজ্জ্বলতা) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% অস্পষ্টতা - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - বৰণ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - বৰণ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - সংপৃক্ততা %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - সংপৃক্ততা %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - মান %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - মান %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - অধিক - The string to provide as the UIA value of the "more" button when it's collapsed. - - - কম - The string to provide as the UIA value of the "more" button when it's expanded. - - - পাঠ প্ৰবিষ্টি ক্ষেত্ৰ দেখুৱাবলৈ বা লুকুৱাবলৈ আহ্বান কৰক৷ - The help text associated with the "more" button. - - - অধিক - The string to display in the "more" button when it's collapsed. - - - কম - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/az-Latn-AZ/Resources.resw b/dev/ColorPicker/Strings/az-Latn-AZ/Resources.resw deleted file mode 100644 index 997177d049..0000000000 --- a/dev/ColorPicker/Strings/az-Latn-AZ/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Tutqunluq - The label for the text box to edit the opacity. - - - Tutqunluq - The automation name for the opacity slider. - - - Tutqunluq - The automation name for the text box to edit the opacity. - - - Çalar - The automation name for the third-dimension slider when it's controlling hue. - - - Dolğunluq - The automation name for the third-dimension slider when it's controlling saturation. - - - Qiymət (Parlaqlıq) - The automation name for the third-dimension slider when it's controlling value. - - - Mavi - The label for the text box to edit the blue component of the current RGB color. - - - Mavi - The automation name for the text box to edit the blue component of the current RGB color. - - - Rəng modeli - The automation name for the color model selection combo box. - - - Rəng seçici - The automation name for the ColorSpectrum control. - - - Yaşıl - The label for the text box to edit the green component of the current RGB color. - - - Yaşıl - The automation name for the text box to edit the green component of the current RGB color. - - - Ox düymələri ilə 2D naviqasiyası - The help text associated with ColorSpectrum. - - - RGB onaltılıq - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Çalar - The label for the text box to edit the hue component of the current HSV color. - - - Çalar - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D sürüngəci - The string to provide as the localized control type of the ColorSpectrum. - - - Qırmızı - The label for the text box to edit the red component of the current RGB color. - - - Qırmızı - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Dolğunluq - The label for the text box to edit the saturation component of the current HSV color. - - - Dolğunluq - The automation name for the text box to edit the saturation component of the current HSV color. - - - Qiymət - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Çalar %2!u!, Dolğunluq %3!u!, Qiymət %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Çalar %1!u!, Dolğunluq %2!u!, Qiymət %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Qiymət (Parlaqlıq) - The automation name for the text box to edit the value component of the current HSV color. - - - Tutqunluq %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Çalar %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Çalar %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Dolğunluq %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Dolğunluq %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Qiymət %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Qiymət %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Davamı - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Daha az - The string to provide as the UIA value of the "more" button when it's expanded. - - - Mətn daxiletməsi sahələrini göstərmək və ya gizlətmək üçün cəlb edin. - The help text associated with the "more" button. - - - Davamı - The string to display in the "more" button when it's collapsed. - - - Daha az - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/bg-BG/Resources.resw b/dev/ColorPicker/Strings/bg-BG/Resources.resw deleted file mode 100644 index 8f7163142c..0000000000 --- a/dev/ColorPicker/Strings/bg-BG/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Непрозрачност - The label for the text box to edit the opacity. - - - Непрозрачност - The automation name for the opacity slider. - - - Непрозрачност - The automation name for the text box to edit the opacity. - - - Оттенък - The automation name for the third-dimension slider when it's controlling hue. - - - Наситеност - The automation name for the third-dimension slider when it's controlling saturation. - - - Стойност (яркост) - The automation name for the third-dimension slider when it's controlling value. - - - Синьо - The label for the text box to edit the blue component of the current RGB color. - - - Синьо - The automation name for the text box to edit the blue component of the current RGB color. - - - Цветен модел - The automation name for the color model selection combo box. - - - Функция за избиране на цвят - The automation name for the ColorSpectrum control. - - - Зелено - The label for the text box to edit the green component of the current RGB color. - - - Зелено - The automation name for the text box to edit the green component of the current RGB color. - - - Навигация в 2D с клавиши със стрелки - The help text associated with ColorSpectrum. - - - Стойност по шестнайсетична бройна система на RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Оттенък - The label for the text box to edit the hue component of the current HSV color. - - - Оттенък - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D плъзгач - The string to provide as the localized control type of the ColorSpectrum. - - - Червено - The label for the text box to edit the red component of the current RGB color. - - - Червено - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Наситеност - The label for the text box to edit the saturation component of the current HSV color. - - - Наситеност - The automation name for the text box to edit the saturation component of the current HSV color. - - - Стойност - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Оттенък %2!u!, Наситеност %3!u!, Стойност %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Оттенък %1!u!, Наситеност %2!u!, Стойност %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u! %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u! %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u! %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Стойност (яркост) - The automation name for the text box to edit the value component of the current HSV color. - - - Непрозрачност: %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Оттенък: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Оттенък: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Наситеност: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Наситеност: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Стойност: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Стойност: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Още - The string to provide as the UIA value of the "more" button when it's collapsed. - - - По-малко - The string to provide as the UIA value of the "more" button when it's expanded. - - - Извикайте за показване или скриване на полетата за въвеждане на текст. - The help text associated with the "more" button. - - - Още - The string to display in the "more" button when it's collapsed. - - - По-малко - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/bn-IN/Resources.resw b/dev/ColorPicker/Strings/bn-IN/Resources.resw deleted file mode 100644 index e206227523..0000000000 --- a/dev/ColorPicker/Strings/bn-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - অস্বচ্ছতা - The label for the text box to edit the opacity. - - - অস্বচ্ছতা - The automation name for the opacity slider. - - - অস্বচ্ছতা - The automation name for the text box to edit the opacity. - - - আভা - The automation name for the third-dimension slider when it's controlling hue. - - - রঙের নির্দিষ্ট মাত্রা - The automation name for the third-dimension slider when it's controlling saturation. - - - মান (উজ্জ্বলতা) - The automation name for the third-dimension slider when it's controlling value. - - - নীল - The label for the text box to edit the blue component of the current RGB color. - - - নীল - The automation name for the text box to edit the blue component of the current RGB color. - - - রঙের মডেল - The automation name for the color model selection combo box. - - - রঙ বাছাইকারী - The automation name for the ColorSpectrum control. - - - সবুজ - The label for the text box to edit the green component of the current RGB color. - - - সবুজ - The automation name for the text box to edit the green component of the current RGB color. - - - তীর কীগুলি সহ 2D নেভিগেশন - The help text associated with ColorSpectrum. - - - RGB হেক্স - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - আভা - The label for the text box to edit the hue component of the current HSV color. - - - আভা - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D স্লাইডার - The string to provide as the localized control type of the ColorSpectrum. - - - লাল - The label for the text box to edit the red component of the current RGB color. - - - লাল - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - রঙের নির্দিষ্ট মাত্রা - The label for the text box to edit the saturation component of the current HSV color. - - - রঙের নির্দিষ্ট মাত্রা - The automation name for the text box to edit the saturation component of the current HSV color. - - - মান - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, আভা %2!u!, রঙের নির্দিষ্ট মাত্রা %3!u!, মান %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - আভা %1!u!, রঙের নির্দিষ্ট মাত্রা %2!u!, মান %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - মান (উজ্জ্বলতা) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% অস্বচ্ছতা - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - আভা %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - আভা %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - রঙের নির্দিষ্ট মাত্রা %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - রঙের নির্দিষ্ট মাত্রা %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - মান %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - মান %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - আরও - The string to provide as the UIA value of the "more" button when it's collapsed. - - - কম - The string to provide as the UIA value of the "more" button when it's expanded. - - - পাঠ্য লেখার ফিল্ড দেখাতে অথবা লুকাতে আনুন। - The help text associated with the "more" button. - - - আরও - The string to display in the "more" button when it's collapsed. - - - কম - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/bs-Latn-BA/Resources.resw b/dev/ColorPicker/Strings/bs-Latn-BA/Resources.resw deleted file mode 100644 index 007afeca88..0000000000 --- a/dev/ColorPicker/Strings/bs-Latn-BA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Neprozirnost - The label for the text box to edit the opacity. - - - Neprozirnost - The automation name for the opacity slider. - - - Neprozirnost - The automation name for the text box to edit the opacity. - - - Nijansa - The automation name for the third-dimension slider when it's controlling hue. - - - Zasićenje - The automation name for the third-dimension slider when it's controlling saturation. - - - Vrijednost (osvjetljenje) - The automation name for the third-dimension slider when it's controlling value. - - - Plava - The label for the text box to edit the blue component of the current RGB color. - - - Plava - The automation name for the text box to edit the blue component of the current RGB color. - - - Model boja - The automation name for the color model selection combo box. - - - Alat za odabir boja - The automation name for the ColorSpectrum control. - - - Zelena - The label for the text box to edit the green component of the current RGB color. - - - Zelena - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigacija s tipkama strelica - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nijansa - The label for the text box to edit the hue component of the current HSV color. - - - Nijansa - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D klizač - The string to provide as the localized control type of the ColorSpectrum. - - - Crvena - The label for the text box to edit the red component of the current RGB color. - - - Crvena - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Zasićenje - The label for the text box to edit the saturation component of the current HSV color. - - - Zasićenje - The automation name for the text box to edit the saturation component of the current HSV color. - - - Vrijednost - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, nijansa %2!u!, zasićenje %3!u!, vrijednost %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nijansa %1!u!, zasićenje %2!u!, vrijednost %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Vrijednost (osvjetljenje) - The automation name for the text box to edit the value component of the current HSV color. - - - Neprozirnost %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nijansa %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nijansa %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Zasićenje %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Zasićenje %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Vrijednost %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Vrijednost %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Više - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Manje - The string to provide as the UIA value of the "more" button when it's expanded. - - - Aktivirajte da prikažete ili sakrijete polja za unos tekst. - The help text associated with the "more" button. - - - Više - The string to display in the "more" button when it's collapsed. - - - Manje - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ca-ES/Resources.resw b/dev/ColorPicker/Strings/ca-ES/Resources.resw deleted file mode 100644 index 57c8e46cd4..0000000000 --- a/dev/ColorPicker/Strings/ca-ES/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacitat - The label for the text box to edit the opacity. - - - Opacitat - The automation name for the opacity slider. - - - Opacitat - The automation name for the text box to edit the opacity. - - - To - The automation name for the third-dimension slider when it's controlling hue. - - - Saturació - The automation name for the third-dimension slider when it's controlling saturation. - - - Valor (brillantor) - The automation name for the third-dimension slider when it's controlling value. - - - Blau - The label for the text box to edit the blue component of the current RGB color. - - - Blau - The automation name for the text box to edit the blue component of the current RGB color. - - - Model de color - The automation name for the color model selection combo box. - - - Selector de colors - The automation name for the ColorSpectrum control. - - - Verd - The label for the text box to edit the green component of the current RGB color. - - - Verd - The automation name for the text box to edit the green component of the current RGB color. - - - Navegació 2D amb tecles de fletxa - The help text associated with ColorSpectrum. - - - RGB hexadecimal - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - To - The label for the text box to edit the hue component of the current HSV color. - - - To - The automation name for the text box to edit the hue component of the current HSV color. - - - Control lliscant 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Vermell - The label for the text box to edit the red component of the current RGB color. - - - Vermell - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturació - The label for the text box to edit the saturation component of the current HSV color. - - - Saturació - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valor - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, to %2!u!, saturació %3!u!, valor %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - To %1!u!, saturació %2!u!, valor %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valor (brillantor) - The automation name for the text box to edit the value component of the current HSV color. - - - Opacitat %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - To %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - To %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturació %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturació %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valor %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valor %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Més - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menys - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoca-ho per mostrar o amagar els camps d'entrada de text. - The help text associated with the "more" button. - - - Més - The string to display in the "more" button when it's collapsed. - - - Menys - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ca-Es-VALENCIA/Resources.resw b/dev/ColorPicker/Strings/ca-Es-VALENCIA/Resources.resw deleted file mode 100644 index ee2784f31a..0000000000 --- a/dev/ColorPicker/Strings/ca-Es-VALENCIA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacitat - The label for the text box to edit the opacity. - - - Opacitat - The automation name for the opacity slider. - - - Opacitat - The automation name for the text box to edit the opacity. - - - To - The automation name for the third-dimension slider when it's controlling hue. - - - Saturació - The automation name for the third-dimension slider when it's controlling saturation. - - - Valor (lluminositat) - The automation name for the third-dimension slider when it's controlling value. - - - Blau - The label for the text box to edit the blue component of the current RGB color. - - - Blau - The automation name for the text box to edit the blue component of the current RGB color. - - - Model de color - The automation name for the color model selection combo box. - - - Selector de color - The automation name for the ColorSpectrum control. - - - Verd - The label for the text box to edit the green component of the current RGB color. - - - Verd - The automation name for the text box to edit the green component of the current RGB color. - - - Navegació 2D amb tecles de fletxa - The help text associated with ColorSpectrum. - - - RGB hexadecimal - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - To - The label for the text box to edit the hue component of the current HSV color. - - - To - The automation name for the text box to edit the hue component of the current HSV color. - - - Control lliscant 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Roig - The label for the text box to edit the red component of the current RGB color. - - - Roig - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturació - The label for the text box to edit the saturation component of the current HSV color. - - - Saturació - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valor - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, to %2!u!, saturació %3!u!, valor %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - To %1!u!; saturació %2!u!; valor %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valor (lluminositat) - The automation name for the text box to edit the value component of the current HSV color. - - - Opacitat: %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - To %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - To %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturació %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturació %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valor %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valor %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Més - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menys - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoca per mostrar o amagar els camps d'entrada de text. - The help text associated with the "more" button. - - - Més - The string to display in the "more" button when it's collapsed. - - - Menys - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/cs-CZ/Resources.resw b/dev/ColorPicker/Strings/cs-CZ/Resources.resw deleted file mode 100644 index 56994e9090..0000000000 --- a/dev/ColorPicker/Strings/cs-CZ/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Neprůhlednost - The label for the text box to edit the opacity. - - - Neprůhlednost - The automation name for the opacity slider. - - - Neprůhlednost - The automation name for the text box to edit the opacity. - - - Odstín - The automation name for the third-dimension slider when it's controlling hue. - - - Sytost - The automation name for the third-dimension slider when it's controlling saturation. - - - Hodnota (jas) - The automation name for the third-dimension slider when it's controlling value. - - - Modrá - The label for the text box to edit the blue component of the current RGB color. - - - Modrá - The automation name for the text box to edit the blue component of the current RGB color. - - - Barevný model - The automation name for the color model selection combo box. - - - Výběr barvy - The automation name for the ColorSpectrum control. - - - Zelená - The label for the text box to edit the green component of the current RGB color. - - - Zelená - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigace pomocí kláves se šipkami - The help text associated with ColorSpectrum. - - - RGB, šestnáctkové - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Odstín - The label for the text box to edit the hue component of the current HSV color. - - - Odstín - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D posuvník - The string to provide as the localized control type of the ColorSpectrum. - - - Červená - The label for the text box to edit the red component of the current RGB color. - - - Červená - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Sytost - The label for the text box to edit the saturation component of the current HSV color. - - - Sytost - The automation name for the text box to edit the saturation component of the current HSV color. - - - Hodnota - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, odstín %2!u!, sytost %3!u!, hodnota %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Odstín %1!u!, sytost %2!u!, hodnota %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Hodnota (jas) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% neprůhlednost - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Odstín %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Odstín %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Sytost %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Sytost %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Hodnota %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Hodnota %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Více - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Méně - The string to provide as the UIA value of the "more" button when it's expanded. - - - Vyvoláním zobrazíte nebo skryjete textová pole. - The help text associated with the "more" button. - - - Více - The string to display in the "more" button when it's collapsed. - - - Méně - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/cy-GB/Resources.resw b/dev/ColorPicker/Strings/cy-GB/Resources.resw deleted file mode 100644 index 386dcc7a16..0000000000 --- a/dev/ColorPicker/Strings/cy-GB/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Afloywder - The label for the text box to edit the opacity. - - - Afloywder - The automation name for the opacity slider. - - - Afloywder - The automation name for the text box to edit the opacity. - - - Arlliw - The automation name for the third-dimension slider when it's controlling hue. - - - Dirlawnder - The automation name for the third-dimension slider when it's controlling saturation. - - - Gwerth (Disgleirdeb) - The automation name for the third-dimension slider when it's controlling value. - - - Glas - The label for the text box to edit the blue component of the current RGB color. - - - Glas - The automation name for the text box to edit the blue component of the current RGB color. - - - Model lliw - The automation name for the color model selection combo box. - - - Dewisydd lliwiau - The automation name for the ColorSpectrum control. - - - Gwyrdd - The label for the text box to edit the green component of the current RGB color. - - - Gwyrdd - The automation name for the text box to edit the green component of the current RGB color. - - - Llywio 2D gydag allweddi saeth - The help text associated with ColorSpectrum. - - - Hecs RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Arlliw - The label for the text box to edit the hue component of the current HSV color. - - - Arlliw - The automation name for the text box to edit the hue component of the current HSV color. - - - Llithrydd 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Coch - The label for the text box to edit the red component of the current RGB color. - - - Coch - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Dirlawnder - The label for the text box to edit the saturation component of the current HSV color. - - - Dirlawnder - The automation name for the text box to edit the saturation component of the current HSV color. - - - Gwerth - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Arlliw %2!u!, Dirlawnder %3!u!, Gwerth %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Arlliw %1!u!, Dirlawnder %2!u!, Gwerth %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Gwerth (Disgleirdeb) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% afloywder - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Arlliw %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Arlliw %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Dirlawnder %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Dirlawnder %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Gwerth %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Gwerth %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mwy - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Llai - The string to provide as the UIA value of the "more" button when it's expanded. - - - Galw i ddangos neu guddio'r meysydd cofnodi testun. - The help text associated with the "more" button. - - - Mwy - The string to display in the "more" button when it's collapsed. - - - Llai - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/da-DK/Resources.resw b/dev/ColorPicker/Strings/da-DK/Resources.resw deleted file mode 100644 index 6f7a77fd18..0000000000 --- a/dev/ColorPicker/Strings/da-DK/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Uigennemsigtighed - The label for the text box to edit the opacity. - - - Uigennemsigtighed - The automation name for the opacity slider. - - - Uigennemsigtighed - The automation name for the text box to edit the opacity. - - - Nuance - The automation name for the third-dimension slider when it's controlling hue. - - - Mætning - The automation name for the third-dimension slider when it's controlling saturation. - - - Værdi (lysstyrke) - The automation name for the third-dimension slider when it's controlling value. - - - Blå - The label for the text box to edit the blue component of the current RGB color. - - - Blå - The automation name for the text box to edit the blue component of the current RGB color. - - - Farvemodel - The automation name for the color model selection combo box. - - - Farvevælger - The automation name for the ColorSpectrum control. - - - Grøn - The label for the text box to edit the green component of the current RGB color. - - - Grøn - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-navigation med piletaster - The help text associated with ColorSpectrum. - - - RGB-hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nuance - The label for the text box to edit the hue component of the current HSV color. - - - Nuance - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-skyder - The string to provide as the localized control type of the ColorSpectrum. - - - Rød - The label for the text box to edit the red component of the current RGB color. - - - Rød - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Mætning - The label for the text box to edit the saturation component of the current HSV color. - - - Mætning - The automation name for the text box to edit the saturation component of the current HSV color. - - - Værdi - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, nuance %2!u!, mætning %3!u!, værdi %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nuance %1!u!, mætning %2!u!, værdi %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Værdi (lysstyrke) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% uigennemsigtighed - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nuance %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nuance %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Mætning %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Mætning %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Værdi %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Værdi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mere - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mindre - The string to provide as the UIA value of the "more" button when it's expanded. - - - Aktivér for at vise eller skjule felterne til tekstindtastning. - The help text associated with the "more" button. - - - Mere - The string to display in the "more" button when it's collapsed. - - - Mindre - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/de-DE/Resources.resw b/dev/ColorPicker/Strings/de-DE/Resources.resw deleted file mode 100644 index c9191aab0a..0000000000 --- a/dev/ColorPicker/Strings/de-DE/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Deckkraft - The label for the text box to edit the opacity. - - - Deckkraft - The automation name for the opacity slider. - - - Deckkraft - The automation name for the text box to edit the opacity. - - - Farbton - The automation name for the third-dimension slider when it's controlling hue. - - - Sättigung - The automation name for the third-dimension slider when it's controlling saturation. - - - Wert (Helligkeit) - The automation name for the third-dimension slider when it's controlling value. - - - Blau - The label for the text box to edit the blue component of the current RGB color. - - - Blau - The automation name for the text box to edit the blue component of the current RGB color. - - - Farbmodell - The automation name for the color model selection combo box. - - - Farbwähler - The automation name for the ColorSpectrum control. - - - Grün - The label for the text box to edit the green component of the current RGB color. - - - Grün - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-Navigation mit Pfeiltasten - The help text associated with ColorSpectrum. - - - RGB-Hex-Wert - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Farbton - The label for the text box to edit the hue component of the current HSV color. - - - Farbton - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-Schieberegler - The string to provide as the localized control type of the ColorSpectrum. - - - Rot - The label for the text box to edit the red component of the current RGB color. - - - Rot - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Sättigung - The label for the text box to edit the saturation component of the current HSV color. - - - Sättigung - The automation name for the text box to edit the saturation component of the current HSV color. - - - Wert - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Farbton: %2!u!, Sättigung: %3!u!, Wert: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Farbton: %1!u!, Sättigung: %2!u!, Wert: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Wert (Helligkeit) - The automation name for the text box to edit the value component of the current HSV color. - - - Deckkraft: %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Farbton: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Farbton: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Sättigung: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Sättigung: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Wert %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Wert %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mehr - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Weniger - The string to provide as the UIA value of the "more" button when it's expanded. - - - Aufrufen, um Texteingabefelder ein- oder auszublenden. - The help text associated with the "more" button. - - - Mehr - The string to display in the "more" button when it's collapsed. - - - Weniger - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/el-GR/Resources.resw b/dev/ColorPicker/Strings/el-GR/Resources.resw deleted file mode 100644 index 4bb1ce7e25..0000000000 --- a/dev/ColorPicker/Strings/el-GR/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Αδιαφάνεια - The label for the text box to edit the opacity. - - - Αδιαφάνεια - The automation name for the opacity slider. - - - Αδιαφάνεια - The automation name for the text box to edit the opacity. - - - Απόχρωση - The automation name for the third-dimension slider when it's controlling hue. - - - Κορεσμός - The automation name for the third-dimension slider when it's controlling saturation. - - - Τιμή (Φωτεινότητα) - The automation name for the third-dimension slider when it's controlling value. - - - Μπλε - The label for the text box to edit the blue component of the current RGB color. - - - Μπλε - The automation name for the text box to edit the blue component of the current RGB color. - - - Μοντέλο χρώματος - The automation name for the color model selection combo box. - - - Επιλογέας χρώματος - The automation name for the ColorSpectrum control. - - - Πράσινο - The label for the text box to edit the green component of the current RGB color. - - - Πράσινο - The automation name for the text box to edit the green component of the current RGB color. - - - Περιήγηση 2Δ με τα πλήκτρα βέλους - The help text associated with ColorSpectrum. - - - Δεκαεξαδικό RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Απόχρωση - The label for the text box to edit the hue component of the current HSV color. - - - Απόχρωση - The automation name for the text box to edit the hue component of the current HSV color. - - - Ρυθμιστικό 2Δ - The string to provide as the localized control type of the ColorSpectrum. - - - Κόκκινο - The label for the text box to edit the red component of the current RGB color. - - - Κόκκινο - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Κορεσμός - The label for the text box to edit the saturation component of the current HSV color. - - - Κορεσμός - The automation name for the text box to edit the saturation component of the current HSV color. - - - Τιμή - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Απόχρωση %2!u!, Κορεσμός %3!u!, Τιμή %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Απόχρωση %1!u!, Κορεσμός %2!u!, Τιμή %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Τιμή (Φωτεινότητα) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% αδιαφάνεια - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Απόχρωση %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Απόχρωση %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Κορεσμός %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Κορεσμός %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Τιμή %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Τιμή %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Περισσότερα - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Λιγότερα - The string to provide as the UIA value of the "more" button when it's expanded. - - - Ενεργοποίηση για εμφάνιση ή απόκρυψη των πεδίων εισαγωγής κειμένου. - The help text associated with the "more" button. - - - Περισσότερα - The string to display in the "more" button when it's collapsed. - - - Λιγότερα - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/en-GB/Resources.resw b/dev/ColorPicker/Strings/en-GB/Resources.resw deleted file mode 100644 index c6a35c07b6..0000000000 --- a/dev/ColorPicker/Strings/en-GB/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacity - The label for the text box to edit the opacity. - - - Opacity - The automation name for the opacity slider. - - - Opacity - The automation name for the text box to edit the opacity. - - - Hue - The automation name for the third-dimension slider when it's controlling hue. - - - Saturation - The automation name for the third-dimension slider when it's controlling saturation. - - - Value (Brightness) - The automation name for the third-dimension slider when it's controlling value. - - - Blue - The label for the text box to edit the blue component of the current RGB color. - - - Blue - The automation name for the text box to edit the blue component of the current RGB color. - - - Colour model - The automation name for the color model selection combo box. - - - Colour picker - The automation name for the ColorSpectrum control. - - - Green - The label for the text box to edit the green component of the current RGB color. - - - Green - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigation with arrow keys - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Hue - The label for the text box to edit the hue component of the current HSV color. - - - Hue - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D slider - The string to provide as the localized control type of the ColorSpectrum. - - - Red - The label for the text box to edit the red component of the current RGB color. - - - Red - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturation - The label for the text box to edit the saturation component of the current HSV color. - - - Saturation - The automation name for the text box to edit the saturation component of the current HSV color. - - - Value - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Hue %2!u!, Saturation %3!u!, Value %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Hue %1!u!, Saturation %2!u!, Value %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Value (Brightness) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opacity - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Hue %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Hue %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturation %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturation %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Value %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Value %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - More - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Less - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoke to show or hide the text entry fields. - The help text associated with the "more" button. - - - More - The string to display in the "more" button when it's collapsed. - - - Less - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/en-us/Resources.resw b/dev/ColorPicker/Strings/en-us/Resources.resw deleted file mode 100644 index 1685f9fd63..0000000000 --- a/dev/ColorPicker/Strings/en-us/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacity - The label for the text box to edit the opacity. - - - Opacity - The automation name for the opacity slider. - - - Opacity - The automation name for the text box to edit the opacity. - - - Hue - The automation name for the third-dimension slider when it's controlling hue. - - - Saturation - The automation name for the third-dimension slider when it's controlling saturation. - - - Value (Brightness) - The automation name for the third-dimension slider when it's controlling value. - - - Blue - The label for the text box to edit the blue component of the current RGB color. - - - Blue - The automation name for the text box to edit the blue component of the current RGB color. - - - Color model - The automation name for the color model selection combo box. - - - Color picker - The automation name for the ColorSpectrum control. - - - Green - The label for the text box to edit the green component of the current RGB color. - - - Green - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigation with arrow keys - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Hue - The label for the text box to edit the hue component of the current HSV color. - - - Hue - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D slider - The string to provide as the localized control type of the ColorSpectrum. - - - Red - The label for the text box to edit the red component of the current RGB color. - - - Red - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturation - The label for the text box to edit the saturation component of the current HSV color. - - - Saturation - The automation name for the text box to edit the saturation component of the current HSV color. - - - Value - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Hue %2!u!, Saturation %3!u!, Value %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Hue %1!u!, Saturation %2!u!, Value %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Value (Brightness) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opacity - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Hue %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Hue %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturation %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturation %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Value %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Value %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - More - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Less - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoke to show or hide the text entry fields. - The help text associated with the "more" button. - - - More - The string to display in the "more" button when it's collapsed. - - - Less - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/es-ES/Resources.resw b/dev/ColorPicker/Strings/es-ES/Resources.resw deleted file mode 100644 index 7e7278b585..0000000000 --- a/dev/ColorPicker/Strings/es-ES/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacidad - The label for the text box to edit the opacity. - - - Opacidad - The automation name for the opacity slider. - - - Opacidad - The automation name for the text box to edit the opacity. - - - Matiz - The automation name for the third-dimension slider when it's controlling hue. - - - Saturación - The automation name for the third-dimension slider when it's controlling saturation. - - - Valor (brillo) - The automation name for the third-dimension slider when it's controlling value. - - - Azul - The label for the text box to edit the blue component of the current RGB color. - - - Azul - The automation name for the text box to edit the blue component of the current RGB color. - - - Modelo de color - The automation name for the color model selection combo box. - - - Selector de colores - The automation name for the ColorSpectrum control. - - - Verde - The label for the text box to edit the green component of the current RGB color. - - - Verde - The automation name for the text box to edit the green component of the current RGB color. - - - Navegación en 2D con las flechas de dirección - The help text associated with ColorSpectrum. - - - RGB hexa - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Matiz - The label for the text box to edit the hue component of the current HSV color. - - - Matiz - The automation name for the text box to edit the hue component of the current HSV color. - - - Control deslizante 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Rojo - The label for the text box to edit the red component of the current RGB color. - - - Rojo - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturación - The label for the text box to edit the saturation component of the current HSV color. - - - Saturación - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valor - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Matiz %2!u!, Saturación %3!u!, Valor %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Matiz %1!u!, Saturación %2!u!, Valor %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valor (brillo) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opacidad - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Matiz %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Matiz %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturación %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturación %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valor %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valor %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Más - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menos - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoca para mostrar u ocultar los campos de entrada de texto. - The help text associated with the "more" button. - - - Más - The string to display in the "more" button when it's collapsed. - - - Menos - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/es-MX/Resources.resw b/dev/ColorPicker/Strings/es-MX/Resources.resw deleted file mode 100644 index 7505eebed6..0000000000 --- a/dev/ColorPicker/Strings/es-MX/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacidad - The label for the text box to edit the opacity. - - - Opacidad - The automation name for the opacity slider. - - - Opacidad - The automation name for the text box to edit the opacity. - - - Matiz - The automation name for the third-dimension slider when it's controlling hue. - - - Saturación - The automation name for the third-dimension slider when it's controlling saturation. - - - Valor (brillo) - The automation name for the third-dimension slider when it's controlling value. - - - Azul - The label for the text box to edit the blue component of the current RGB color. - - - Azul - The automation name for the text box to edit the blue component of the current RGB color. - - - Modelo de color - The automation name for the color model selection combo box. - - - Selector de colores - The automation name for the ColorSpectrum control. - - - Verde - The label for the text box to edit the green component of the current RGB color. - - - Verde - The automation name for the text box to edit the green component of the current RGB color. - - - Navegación 2D con teclas de flecha - The help text associated with ColorSpectrum. - - - RGB hexa - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Matiz - The label for the text box to edit the hue component of the current HSV color. - - - Matiz - The automation name for the text box to edit the hue component of the current HSV color. - - - Control deslizante 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Rojo - The label for the text box to edit the red component of the current RGB color. - - - Rojo - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturación - The label for the text box to edit the saturation component of the current HSV color. - - - Saturación - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valor - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Matiz: %2!u!, Saturación: %3!u!, Valor: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Matiz: %1!u!, Saturación: %2!u!, Valor: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valor (brillo) - The automation name for the text box to edit the value component of the current HSV color. - - - Opacidad: %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Matiz: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Matiz: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturación: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturación: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valor %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valor %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Más - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menos - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoca para mostrar u ocultar los campos de entrada de texto. - The help text associated with the "more" button. - - - Más - The string to display in the "more" button when it's collapsed. - - - Menos - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/et-EE/Resources.resw b/dev/ColorPicker/Strings/et-EE/Resources.resw deleted file mode 100644 index 983f95d747..0000000000 --- a/dev/ColorPicker/Strings/et-EE/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Läbipaistmatus - The label for the text box to edit the opacity. - - - Läbipaistmatus - The automation name for the opacity slider. - - - Läbipaistmatus - The automation name for the text box to edit the opacity. - - - Värvitoon - The automation name for the third-dimension slider when it's controlling hue. - - - Küllastus - The automation name for the third-dimension slider when it's controlling saturation. - - - Väärtus (heledus) - The automation name for the third-dimension slider when it's controlling value. - - - Sinine - The label for the text box to edit the blue component of the current RGB color. - - - Sinine - The automation name for the text box to edit the blue component of the current RGB color. - - - Värvimudel - The automation name for the color model selection combo box. - - - Värvivalija - The automation name for the ColorSpectrum control. - - - Roheline - The label for the text box to edit the green component of the current RGB color. - - - Roheline - The automation name for the text box to edit the green component of the current RGB color. - - - Tasapinnaline navigeerimine nooleklahvidega - The help text associated with ColorSpectrum. - - - RGB kuueteistkümnendväärtus - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Värvitoon - The label for the text box to edit the hue component of the current HSV color. - - - Värvitoon - The automation name for the text box to edit the hue component of the current HSV color. - - - Tasapinnaline liugur - The string to provide as the localized control type of the ColorSpectrum. - - - Punane - The label for the text box to edit the red component of the current RGB color. - - - Punane - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Küllastus - The label for the text box to edit the saturation component of the current HSV color. - - - Küllastus - The automation name for the text box to edit the saturation component of the current HSV color. - - - Väärtus - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, värvitoon %2!u!, küllastus %3!u!, väärtus %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Värvitoon %1!u!, küllastus %2!u!, väärtus %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Väärtus (heledus) - The automation name for the text box to edit the value component of the current HSV color. - - - Läbipaistmatus %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Värvitoon %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Värvitoon %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Küllastus %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Küllastus %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Väärtus %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Väärtus %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Rohkem - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Vähem - The string to provide as the UIA value of the "more" button when it's expanded. - - - Selle nupu abil saate tekstisisestusväljad kuvada või peita. - The help text associated with the "more" button. - - - Rohkem - The string to display in the "more" button when it's collapsed. - - - Vähem - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/eu-ES/Resources.resw b/dev/ColorPicker/Strings/eu-ES/Resources.resw deleted file mode 100644 index 344c5f8f2e..0000000000 --- a/dev/ColorPicker/Strings/eu-ES/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opakutasuna - The label for the text box to edit the opacity. - - - Opakutasuna - The automation name for the opacity slider. - - - Opakutasuna - The automation name for the text box to edit the opacity. - - - Tonua - The automation name for the third-dimension slider when it's controlling hue. - - - Saturazioa - The automation name for the third-dimension slider when it's controlling saturation. - - - Balioa (Distira) - The automation name for the third-dimension slider when it's controlling value. - - - Urdina - The label for the text box to edit the blue component of the current RGB color. - - - Urdina - The automation name for the text box to edit the blue component of the current RGB color. - - - Kolore-modeloa - The automation name for the color model selection combo box. - - - Kolore-hautatzailea - The automation name for the ColorSpectrum control. - - - Berdea - The label for the text box to edit the green component of the current RGB color. - - - Berdea - The automation name for the text box to edit the green component of the current RGB color. - - - 2D nabigazioa geziekin - The help text associated with ColorSpectrum. - - - GBU hamaseitarra - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Tonua - The label for the text box to edit the hue component of the current HSV color. - - - Tonua - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D graduatzailea - The string to provide as the localized control type of the ColorSpectrum. - - - Gorria - The label for the text box to edit the red component of the current RGB color. - - - Gorria - The automation name for the text box to edit the red component of the current RGB color. - - - GBU - The combo box item content for selecting RGB as the color model to use. - - - Saturazioa - The label for the text box to edit the saturation component of the current HSV color. - - - Saturazioa - The automation name for the text box to edit the saturation component of the current HSV color. - - - Balioa - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Tonua: %2!u!, Saturazioa: %3!u!., Balioa: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Tonua: %1!u!. Saturazioa: %2!u!. Balioa: %3!u!. - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Balioa (Distira) - The automation name for the text box to edit the value component of the current HSV color. - - - Opakutasuna: %% %1!u! - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Tonua: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Tonua: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturazioa: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturazioa: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Balioa: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Balioa: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Gehiago - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Gutxiago - The string to provide as the UIA value of the "more" button when it's expanded. - - - Deitu testu-sarreraren eremuak erakusteko edo ezkutatzeko. - The help text associated with the "more" button. - - - Gehiago - The string to display in the "more" button when it's collapsed. - - - Gutxiago - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/fa-IR/Resources.resw b/dev/ColorPicker/Strings/fa-IR/Resources.resw deleted file mode 100644 index 0156477eb2..0000000000 --- a/dev/ColorPicker/Strings/fa-IR/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - تیره‌گی - The label for the text box to edit the opacity. - - - تیره‌گی - The automation name for the opacity slider. - - - تیره‌گی - The automation name for the text box to edit the opacity. - - - رنگمایه - The automation name for the third-dimension slider when it's controlling hue. - - - اشباع رنگ - The automation name for the third-dimension slider when it's controlling saturation. - - - مقدار (روشنایی) - The automation name for the third-dimension slider when it's controlling value. - - - آبی - The label for the text box to edit the blue component of the current RGB color. - - - آبی - The automation name for the text box to edit the blue component of the current RGB color. - - - مدل رنگ - The automation name for the color model selection combo box. - - - انتخاب رنگ - The automation name for the ColorSpectrum control. - - - سبز - The label for the text box to edit the green component of the current RGB color. - - - سبز - The automation name for the text box to edit the green component of the current RGB color. - - - پیمایش ۲ بعدی با کلیدهای پیکان - The help text associated with ColorSpectrum. - - - هگزا RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - رنگمایه - The label for the text box to edit the hue component of the current HSV color. - - - رنگمایه - The automation name for the text box to edit the hue component of the current HSV color. - - - لغزنده ۲ بعدی - The string to provide as the localized control type of the ColorSpectrum. - - - قرمز - The label for the text box to edit the red component of the current RGB color. - - - قرمز - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - اشباع رنگ - The label for the text box to edit the saturation component of the current HSV color. - - - اشباع رنگ - The automation name for the text box to edit the saturation component of the current HSV color. - - - مقدار - The label for the text box to edit the value component of the current HSV color. - - - %1!s!، رنگمایه %2!u!، اشباع رنگ %3!u!، مقدار %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - رنگمایه %1!u!، اشباع رنگ %2!u!، روشنایی %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - مقدار (روشنایی) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% تیره‌گی - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - رنگمایه %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - رنگمایه %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - اشباع رنگ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - اشباع رنگ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - مقدار %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - مقدار%1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - بیشتر - The string to provide as the UIA value of the "more" button when it's collapsed. - - - کمتر - The string to provide as the UIA value of the "more" button when it's expanded. - - - برای نمایش یا مخفی کردن فیلدهای ورودی متن، فراخوانی کنید. - The help text associated with the "more" button. - - - بیشتر - The string to display in the "more" button when it's collapsed. - - - کمتر - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/fi-FI/Resources.resw b/dev/ColorPicker/Strings/fi-FI/Resources.resw deleted file mode 100644 index 7b8ac99312..0000000000 --- a/dev/ColorPicker/Strings/fi-FI/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Peittävyys - The label for the text box to edit the opacity. - - - Peittävyys - The automation name for the opacity slider. - - - Peittävyys - The automation name for the text box to edit the opacity. - - - Värisävy - The automation name for the third-dimension slider when it's controlling hue. - - - Kylläisyys - The automation name for the third-dimension slider when it's controlling saturation. - - - Arvo (kirkkaus) - The automation name for the third-dimension slider when it's controlling value. - - - Sininen - The label for the text box to edit the blue component of the current RGB color. - - - Sininen - The automation name for the text box to edit the blue component of the current RGB color. - - - Värimalli - The automation name for the color model selection combo box. - - - Värinvalitsin - The automation name for the ColorSpectrum control. - - - Vihreä - The label for the text box to edit the green component of the current RGB color. - - - Vihreä - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-siirtyminen nuolinäppäimillä - The help text associated with ColorSpectrum. - - - RGB-heksa - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV (hue-saturation-value) - The combo box item content for selecting HSV as the color model to use. - - - Värisävy - The label for the text box to edit the hue component of the current HSV color. - - - Värisävy - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-liukusäädin - The string to provide as the localized control type of the ColorSpectrum. - - - Punainen - The label for the text box to edit the red component of the current RGB color. - - - Punainen - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Kylläisyys - The label for the text box to edit the saturation component of the current HSV color. - - - Kylläisyys - The automation name for the text box to edit the saturation component of the current HSV color. - - - Arvo - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, värisävy %2!u!, kylläisyys %3!u!, arvo %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Värisävy %1!u!, kylläisyys %2!u!, arvo %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Arvo (kirkkaus) - The automation name for the text box to edit the value component of the current HSV color. - - - Peittävyys %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Värisävy %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Värisävy %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Kylläisyys %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Kylläisyys %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Arvo %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Arvo %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Enemmän - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Vähemmän - The string to provide as the UIA value of the "more" button when it's expanded. - - - Valitsemalla tämän voit näyttää tai piilottaa tekstinsyöttökenttiä. - The help text associated with the "more" button. - - - Enemmän - The string to display in the "more" button when it's collapsed. - - - Vähemmän - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/fil-PH/Resources.resw b/dev/ColorPicker/Strings/fil-PH/Resources.resw deleted file mode 100644 index 459af5112a..0000000000 --- a/dev/ColorPicker/Strings/fil-PH/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacity - The label for the text box to edit the opacity. - - - Opacity - The automation name for the opacity slider. - - - Opacity - The automation name for the text box to edit the opacity. - - - Hue - The automation name for the third-dimension slider when it's controlling hue. - - - Saturation - The automation name for the third-dimension slider when it's controlling saturation. - - - Value (Brightness) - The automation name for the third-dimension slider when it's controlling value. - - - Asul - The label for the text box to edit the blue component of the current RGB color. - - - Asul - The automation name for the text box to edit the blue component of the current RGB color. - - - Modelo ng kulay - The automation name for the color model selection combo box. - - - Tagapili ng kulay - The automation name for the ColorSpectrum control. - - - Berde - The label for the text box to edit the green component of the current RGB color. - - - Berde - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigation gamit ang mga arrow key - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Hue - The label for the text box to edit the hue component of the current HSV color. - - - Hue - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D na slider - The string to provide as the localized control type of the ColorSpectrum. - - - Pula - The label for the text box to edit the red component of the current RGB color. - - - Pula - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturation - The label for the text box to edit the saturation component of the current HSV color. - - - Saturation - The automation name for the text box to edit the saturation component of the current HSV color. - - - Value - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Hue %2!u!, Saturation %3!u!, Value %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Hue %1!u!, Saturation %2!u!, Value %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Value (Brightness) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opacity - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Hue %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Hue %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturation %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturation %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Value %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Value %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Marami pa - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mas kaunti - The string to provide as the UIA value of the "more" button when it's expanded. - - - I-invoke para ipakita o itago ang mga field na paglalagyan ng teksto. - The help text associated with the "more" button. - - - Marami pa - The string to display in the "more" button when it's collapsed. - - - Mas kaunti - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/fr-CA/Resources.resw b/dev/ColorPicker/Strings/fr-CA/Resources.resw deleted file mode 100644 index 42f81e9ad2..0000000000 --- a/dev/ColorPicker/Strings/fr-CA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacité - The label for the text box to edit the opacity. - - - Opacité - The automation name for the opacity slider. - - - Opacité - The automation name for the text box to edit the opacity. - - - Teinte - The automation name for the third-dimension slider when it's controlling hue. - - - Saturation - The automation name for the third-dimension slider when it's controlling saturation. - - - Valeur (luminosité) - The automation name for the third-dimension slider when it's controlling value. - - - Bleu - The label for the text box to edit the blue component of the current RGB color. - - - Bleu - The automation name for the text box to edit the blue component of the current RGB color. - - - Modèle de couleur - The automation name for the color model selection combo box. - - - Sélecteur de couleurs - The automation name for the ColorSpectrum control. - - - Vert - The label for the text box to edit the green component of the current RGB color. - - - Vert - The automation name for the text box to edit the green component of the current RGB color. - - - Navigation en 2D avec les touches de direction - The help text associated with ColorSpectrum. - - - Valeur RVB hexadécimale - The automation name for the text box to edit the current RGB color as a hex value. - - - TSV - The combo box item content for selecting HSV as the color model to use. - - - Teinte - The label for the text box to edit the hue component of the current HSV color. - - - Teinte - The automation name for the text box to edit the hue component of the current HSV color. - - - Curseur 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Rouge - The label for the text box to edit the red component of the current RGB color. - - - Rouge - The automation name for the text box to edit the red component of the current RGB color. - - - RVB - The combo box item content for selecting RGB as the color model to use. - - - Saturation - The label for the text box to edit the saturation component of the current HSV color. - - - Saturation - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valeur - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Teinte %2!u!, Saturation %3!u!, Valeur %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Teinte %1!u!, Saturation %2!u!, Valeur %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valeur (luminosité) - The automation name for the text box to edit the value component of the current HSV color. - - - Opacité : %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Teinte : %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Teinte : %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturation : %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturation : %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valeur : %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valeur : %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Plus - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Moins - The string to provide as the UIA value of the "more" button when it's expanded. - - - Pour afficher ou masquer des champs d'entrée de texte. - The help text associated with the "more" button. - - - Plus - The string to display in the "more" button when it's collapsed. - - - Moins - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/fr-FR/Resources.resw b/dev/ColorPicker/Strings/fr-FR/Resources.resw deleted file mode 100644 index 07507ee0d4..0000000000 --- a/dev/ColorPicker/Strings/fr-FR/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacité - The label for the text box to edit the opacity. - - - Opacité - The automation name for the opacity slider. - - - Opacité - The automation name for the text box to edit the opacity. - - - Teinte - The automation name for the third-dimension slider when it's controlling hue. - - - Saturation - The automation name for the third-dimension slider when it's controlling saturation. - - - Valeur (luminosité) - The automation name for the third-dimension slider when it's controlling value. - - - Bleu - The label for the text box to edit the blue component of the current RGB color. - - - Bleu - The automation name for the text box to edit the blue component of the current RGB color. - - - Modèle de couleur - The automation name for the color model selection combo box. - - - Sélecteur de couleur - The automation name for the ColorSpectrum control. - - - Vert - The label for the text box to edit the green component of the current RGB color. - - - Vert - The automation name for the text box to edit the green component of the current RGB color. - - - Navigation 2D avec les touches de direction - The help text associated with ColorSpectrum. - - - Hexadécimal RVB - The automation name for the text box to edit the current RGB color as a hex value. - - - TSV - The combo box item content for selecting HSV as the color model to use. - - - Teinte - The label for the text box to edit the hue component of the current HSV color. - - - Teinte - The automation name for the text box to edit the hue component of the current HSV color. - - - Curseur 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Rouge - The label for the text box to edit the red component of the current RGB color. - - - Rouge - The automation name for the text box to edit the red component of the current RGB color. - - - RVB - The combo box item content for selecting RGB as the color model to use. - - - Saturation - The label for the text box to edit the saturation component of the current HSV color. - - - Saturation - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valeur - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Teinte %2!u!, Saturation %3!u!, Valeur %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Teinte %1!u!, Saturation %2!u!, Valeur %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valeur (luminosité) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opacité - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Teinte %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Teinte %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturation %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturation %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valeur %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valeur %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Plus - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Moins - The string to provide as the UIA value of the "more" button when it's expanded. - - - Appelez pour afficher ou masquer les champs d’entrée de texte. - The help text associated with the "more" button. - - - Plus - The string to display in the "more" button when it's collapsed. - - - Moins - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ga-IE/Resources.resw b/dev/ColorPicker/Strings/ga-IE/Resources.resw deleted file mode 100644 index b0bb650562..0000000000 --- a/dev/ColorPicker/Strings/ga-IE/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Teimhneacht - The label for the text box to edit the opacity. - - - Teimhneacht - The automation name for the opacity slider. - - - Teimhneacht - The automation name for the text box to edit the opacity. - - - - The automation name for the third-dimension slider when it's controlling hue. - - - Sáithiú - The automation name for the third-dimension slider when it's controlling saturation. - - - Luach (Gile) - The automation name for the third-dimension slider when it's controlling value. - - - Gorm - The label for the text box to edit the blue component of the current RGB color. - - - Gorm - The automation name for the text box to edit the blue component of the current RGB color. - - - Samhail datha - The automation name for the color model selection combo box. - - - Roghnóir datha - The automation name for the ColorSpectrum control. - - - Glas - The label for the text box to edit the green component of the current RGB color. - - - Glas - The automation name for the text box to edit the green component of the current RGB color. - - - Nascleanúint 2T le saigheadeochracha - The help text associated with ColorSpectrum. - - - Heics RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - - The label for the text box to edit the hue component of the current HSV color. - - - - The automation name for the text box to edit the hue component of the current HSV color. - - - Barra sleamhnáin 2T - The string to provide as the localized control type of the ColorSpectrum. - - - Dearg - The label for the text box to edit the red component of the current RGB color. - - - Dearg - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Sáithiú - The label for the text box to edit the saturation component of the current HSV color. - - - Sáithiú - The automation name for the text box to edit the saturation component of the current HSV color. - - - Luach - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Lí %2!u!, Sáithiú %3!u!, Luach %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Lí %1!u!, Sáithiú %2!u!, Gile %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Luach (Gile) - The automation name for the text box to edit the value component of the current HSV color. - - - Teimhneacht %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Lí %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Lí %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Sáithiú %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Sáithiú %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Luach %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Luach %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Tuilleadh - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Níos lú - The string to provide as the UIA value of the "more" button when it's expanded. - - - Úsáid chun na réimsí iontrála téacs a thaispeáint nó a fholú. - The help text associated with the "more" button. - - - Tuilleadh - The string to display in the "more" button when it's collapsed. - - - Níos lú - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/gd-gb/Resources.resw b/dev/ColorPicker/Strings/gd-gb/Resources.resw deleted file mode 100644 index c17d255442..0000000000 --- a/dev/ColorPicker/Strings/gd-gb/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Trìd-dhoilleireachd - The label for the text box to edit the opacity. - - - Trìd-dhoilleireachd - The automation name for the opacity slider. - - - Trìd-dhoilleireachd - The automation name for the text box to edit the opacity. - - - Tuar - The automation name for the third-dimension slider when it's controlling hue. - - - Sàthachd - The automation name for the third-dimension slider when it's controlling saturation. - - - Luach (Soilleireachd) - The automation name for the third-dimension slider when it's controlling value. - - - Gorm - The label for the text box to edit the blue component of the current RGB color. - - - Gorm - The automation name for the text box to edit the blue component of the current RGB color. - - - Modail nan dath - The automation name for the color model selection combo box. - - - Roghnaichear nan dathan - The automation name for the ColorSpectrum control. - - - Uaine - The label for the text box to edit the green component of the current RGB color. - - - Uaine - The automation name for the text box to edit the green component of the current RGB color. - - - Seòladaireachd 2D leis na h-iuchraichean saighde - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Tuar - The label for the text box to edit the hue component of the current HSV color. - - - Tuar - The automation name for the text box to edit the hue component of the current HSV color. - - - Sleamhnaiche 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Dearg - The label for the text box to edit the red component of the current RGB color. - - - Dearg - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Sàthachd - The label for the text box to edit the saturation component of the current HSV color. - - - Sàthachd - The automation name for the text box to edit the saturation component of the current HSV color. - - - Luach - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, tuar %2!u!, sàthachd %3!u!, luach %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Tuar %1!u!, sàthachd %2!u!, luach %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Luach (Soilleireachd) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% de thrìd-dhoilleireachd - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Tuar de %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Tuar de %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Sàthachd de %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Sàthachd de %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Luach %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Luach %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Barrachd - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Nas lugha - The string to provide as the UIA value of the "more" button when it's expanded. - - - Gairm seo gus raointean ion-chur teacsa a shealltainn no fhalach. - The help text associated with the "more" button. - - - Barrachd - The string to display in the "more" button when it's collapsed. - - - Nas lugha - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/gl-ES/Resources.resw b/dev/ColorPicker/Strings/gl-ES/Resources.resw deleted file mode 100644 index 1037fa9a9f..0000000000 --- a/dev/ColorPicker/Strings/gl-ES/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacidade - The label for the text box to edit the opacity. - - - Opacidade - The automation name for the opacity slider. - - - Opacidade - The automation name for the text box to edit the opacity. - - - Matiz - The automation name for the third-dimension slider when it's controlling hue. - - - Saturación - The automation name for the third-dimension slider when it's controlling saturation. - - - Valor (Luminosidade) - The automation name for the third-dimension slider when it's controlling value. - - - Azul - The label for the text box to edit the blue component of the current RGB color. - - - Azul - The automation name for the text box to edit the blue component of the current RGB color. - - - Modelo de cor - The automation name for the color model selection combo box. - - - Selector de cor - The automation name for the ColorSpectrum control. - - - Verde - The label for the text box to edit the green component of the current RGB color. - - - Verde - The automation name for the text box to edit the green component of the current RGB color. - - - Navegación 2D con teclas de frecha - The help text associated with ColorSpectrum. - - - RGB hexadecimal - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Matiz - The label for the text box to edit the hue component of the current HSV color. - - - Matiz - The automation name for the text box to edit the hue component of the current HSV color. - - - Cursor da barra de desprazamento 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Vermello - The label for the text box to edit the red component of the current RGB color. - - - Vermello - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturación - The label for the text box to edit the saturation component of the current HSV color. - - - Saturación - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valor - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, matiz %2!u!, saturación %3!u!, valor %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Matiz %1!u!, saturación %2!u!, valor %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valor (Luminosidade) - The automation name for the text box to edit the value component of the current HSV color. - - - Opacidade %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Matiz %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Matiz %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturación %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturación %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valor %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valor %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Máis - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menos - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoca para mostrar ou ocultar os campos de entrada de texto. - The help text associated with the "more" button. - - - Máis - The string to display in the "more" button when it's collapsed. - - - Menos - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/gu-IN/Resources.resw b/dev/ColorPicker/Strings/gu-IN/Resources.resw deleted file mode 100644 index 87795f2400..0000000000 --- a/dev/ColorPicker/Strings/gu-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - અપારદર્શકતા - The label for the text box to edit the opacity. - - - અપારદર્શકતા - The automation name for the opacity slider. - - - અપારદર્શકતા - The automation name for the text box to edit the opacity. - - - ઝાંય - The automation name for the third-dimension slider when it's controlling hue. - - - સંતૃપ્તિ - The automation name for the third-dimension slider when it's controlling saturation. - - - મૂલ્ય (તેજ) - The automation name for the third-dimension slider when it's controlling value. - - - વાદળી - The label for the text box to edit the blue component of the current RGB color. - - - વાદળી - The automation name for the text box to edit the blue component of the current RGB color. - - - રંગ મૉડલ - The automation name for the color model selection combo box. - - - રંગ પસંદ કરનાર - The automation name for the ColorSpectrum control. - - - લીલો - The label for the text box to edit the green component of the current RGB color. - - - લીલો - The automation name for the text box to edit the green component of the current RGB color. - - - તીર કી વડે 2D નેવિગેશન - The help text associated with ColorSpectrum. - - - RGB હેક્સ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ઝાંય - The label for the text box to edit the hue component of the current HSV color. - - - ઝાંય - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D સ્લાઇડર - The string to provide as the localized control type of the ColorSpectrum. - - - લાલ - The label for the text box to edit the red component of the current RGB color. - - - લાલ - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - સંતૃપ્તિ - The label for the text box to edit the saturation component of the current HSV color. - - - સંતૃપ્તિ - The automation name for the text box to edit the saturation component of the current HSV color. - - - મૂલ્ય - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ઝાંય %2!u!, સંતૃપ્તિ %3!u!, મૂલ્ય %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ઝાંય %1!u!, સંતૃપ્તિ %2!u!, મૂલ્ય %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - મૂલ્ય (તેજ) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% અપારદર્શકતા - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ઝાંય %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ઝાંય %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - સંતૃપ્તિ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - સંતૃપ્તિ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - મૂલ્ય %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - મૂલ્ય %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - વધુ - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ઓછું - The string to provide as the UIA value of the "more" button when it's expanded. - - - ટેક્સ્ટ પ્રવિષ્ટિ ફીલ્ડ્સ બતાવવાની કે છુપાવવાની વિનંતી કરો. - The help text associated with the "more" button. - - - વધુ - The string to display in the "more" button when it's collapsed. - - - ઓછું - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/he-IL/Resources.resw b/dev/ColorPicker/Strings/he-IL/Resources.resw deleted file mode 100644 index e0f50f2724..0000000000 --- a/dev/ColorPicker/Strings/he-IL/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - אטימות - The label for the text box to edit the opacity. - - - אטימות - The automation name for the opacity slider. - - - אטימות - The automation name for the text box to edit the opacity. - - - גוון - The automation name for the third-dimension slider when it's controlling hue. - - - רוויה - The automation name for the third-dimension slider when it's controlling saturation. - - - ערך (בהירות) - The automation name for the third-dimension slider when it's controlling value. - - - כחול - The label for the text box to edit the blue component of the current RGB color. - - - כחול - The automation name for the text box to edit the blue component of the current RGB color. - - - מודל צבע - The automation name for the color model selection combo box. - - - בורר הצבעים - The automation name for the ColorSpectrum control. - - - ירוק - The label for the text box to edit the green component of the current RGB color. - - - ירוק - The automation name for the text box to edit the green component of the current RGB color. - - - ניווט דו-ממדי עם מקשי חצים - The help text associated with ColorSpectrum. - - - ערך הקסדצימאלי של RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - גוון - The label for the text box to edit the hue component of the current HSV color. - - - גוון - The automation name for the text box to edit the hue component of the current HSV color. - - - מחוון דו-ממדי - The string to provide as the localized control type of the ColorSpectrum. - - - אדום - The label for the text box to edit the red component of the current RGB color. - - - אדום - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - רוויה - The label for the text box to edit the saturation component of the current HSV color. - - - רוויה - The automation name for the text box to edit the saturation component of the current HSV color. - - - ערך - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, גוון %2!u!, רוויה %3!u!, ערך %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - גוון %1!u!, רוויה %2!u!, ערך %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - ערך (בהירות) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% אטימות - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - גוון %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - גוון %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - רוויה %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - רוויה %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - ערך %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - ערך %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - עוד - The string to provide as the UIA value of the "more" button when it's collapsed. - - - פחות - The string to provide as the UIA value of the "more" button when it's expanded. - - - הפעל כדי להציג או להסתיר את שדות הזנת הטקסט. - The help text associated with the "more" button. - - - עוד - The string to display in the "more" button when it's collapsed. - - - פחות - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/hi-IN/Resources.resw b/dev/ColorPicker/Strings/hi-IN/Resources.resw deleted file mode 100644 index 08730aff52..0000000000 --- a/dev/ColorPicker/Strings/hi-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - अपारदर्शिता - The label for the text box to edit the opacity. - - - अपारदर्शिता - The automation name for the opacity slider. - - - अपारदर्शिता - The automation name for the text box to edit the opacity. - - - ह्यू - The automation name for the third-dimension slider when it's controlling hue. - - - परिपूर्णता - The automation name for the third-dimension slider when it's controlling saturation. - - - मान (चमक) - The automation name for the third-dimension slider when it's controlling value. - - - नीला - The label for the text box to edit the blue component of the current RGB color. - - - नीला - The automation name for the text box to edit the blue component of the current RGB color. - - - रंग मॉडल - The automation name for the color model selection combo box. - - - कलर पिकर - The automation name for the ColorSpectrum control. - - - हरा - The label for the text box to edit the green component of the current RGB color. - - - हरा - The automation name for the text box to edit the green component of the current RGB color. - - - तीर कुंजियों के साथ 2D नेविगेशन - The help text associated with ColorSpectrum. - - - RGB हेक्स - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ह्यू - The label for the text box to edit the hue component of the current HSV color. - - - ह्यू - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D स्लाइडर - The string to provide as the localized control type of the ColorSpectrum. - - - लाल - The label for the text box to edit the red component of the current RGB color. - - - लाल - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - परिपूर्णता - The label for the text box to edit the saturation component of the current HSV color. - - - परिपूर्णता - The automation name for the text box to edit the saturation component of the current HSV color. - - - मान - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, छटा %2!u!, परिपूर्णता %3!u!, मान %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - छटा %1!u!, परिपूर्णता %2!u!, मान %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - मान (चमक) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% अपारदर्शिता - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ह्यू %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ह्यू %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - परिपूर्णता %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - परिपूर्णता %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - मान %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - मान %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - अधिक - The string to provide as the UIA value of the "more" button when it's collapsed. - - - कम - The string to provide as the UIA value of the "more" button when it's expanded. - - - पाठ प्रविष्टि फ़ील्ड दिखाने या छुपाने के लिए इनवोक करें. - The help text associated with the "more" button. - - - अधिक - The string to display in the "more" button when it's collapsed. - - - कम - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/hr-HR/Resources.resw b/dev/ColorPicker/Strings/hr-HR/Resources.resw deleted file mode 100644 index 4cedc268b2..0000000000 --- a/dev/ColorPicker/Strings/hr-HR/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Neprozirnost - The label for the text box to edit the opacity. - - - Neprozirnost - The automation name for the opacity slider. - - - Neprozirnost - The automation name for the text box to edit the opacity. - - - Nijansa - The automation name for the third-dimension slider when it's controlling hue. - - - Zasićenje - The automation name for the third-dimension slider when it's controlling saturation. - - - Vrijednost (svjetlina) - The automation name for the third-dimension slider when it's controlling value. - - - Plava - The label for the text box to edit the blue component of the current RGB color. - - - Plava - The automation name for the text box to edit the blue component of the current RGB color. - - - Model boje - The automation name for the color model selection combo box. - - - Birač boje - The automation name for the ColorSpectrum control. - - - Zelena - The label for the text box to edit the green component of the current RGB color. - - - Zelena - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigacija pomoću tipki sa strelicama - The help text associated with ColorSpectrum. - - - RGB heksadekadski - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nijansa - The label for the text box to edit the hue component of the current HSV color. - - - Nijansa - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D klizač - The string to provide as the localized control type of the ColorSpectrum. - - - crvena - The label for the text box to edit the red component of the current RGB color. - - - crvena - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Zasićenje - The label for the text box to edit the saturation component of the current HSV color. - - - Zasićenje - The automation name for the text box to edit the saturation component of the current HSV color. - - - Vrijednost - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, nijansa %2!u!, zasićenje %3!u!, vrijednost %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nijansa: %1!u!, zasićenje: %2!u!, vrijednost: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Vrijednost (svjetlina) - The automation name for the text box to edit the value component of the current HSV color. - - - Neprozirnost: %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nijansa: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nijansa: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Zasićenje: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Zasićenje: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Vrijednost: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Vrijednost: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Više - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Manje - The string to provide as the UIA value of the "more" button when it's expanded. - - - Pozovite da biste pokazali ili sakrili polja za unos teksta. - The help text associated with the "more" button. - - - Više - The string to display in the "more" button when it's collapsed. - - - Manje - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/hu-HU/Resources.resw b/dev/ColorPicker/Strings/hu-HU/Resources.resw deleted file mode 100644 index ace8e783a9..0000000000 --- a/dev/ColorPicker/Strings/hu-HU/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Átlátszatlanság - The label for the text box to edit the opacity. - - - Átlátszatlanság - The automation name for the opacity slider. - - - Átlátszatlanság - The automation name for the text box to edit the opacity. - - - Árnyalat - The automation name for the third-dimension slider when it's controlling hue. - - - Telítettség - The automation name for the third-dimension slider when it's controlling saturation. - - - Érték (fényerő) - The automation name for the third-dimension slider when it's controlling value. - - - Kék - The label for the text box to edit the blue component of the current RGB color. - - - Kék - The automation name for the text box to edit the blue component of the current RGB color. - - - Színmodell - The automation name for the color model selection combo box. - - - Színválasztó - The automation name for the ColorSpectrum control. - - - Zöld - The label for the text box to edit the green component of the current RGB color. - - - Zöld - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigáció a nyílbillentyűkkel - The help text associated with ColorSpectrum. - - - RGB hexa - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Árnyalat - The label for the text box to edit the hue component of the current HSV color. - - - Árnyalat - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D csúszka - The string to provide as the localized control type of the ColorSpectrum. - - - Piros - The label for the text box to edit the red component of the current RGB color. - - - Piros - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Telítettség - The label for the text box to edit the saturation component of the current HSV color. - - - Telítettség - The automation name for the text box to edit the saturation component of the current HSV color. - - - Érték - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Árnyalat: %2!u!, Telítettség: %3!u!, Érték: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Árnyalat: %1!u!, Telítettség: %2!u!, Érték: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - árnyalatérték: %1!u!, szín: %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - árnyalatérték: %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - telítettségérték: %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - telítettségérték: %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - fényerőérték: %1!u!, szín: %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - fényerőérték: %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Érték (fényerő) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% átlátszatlanság - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Árnyalat %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Árnyalat %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Telítettség %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Telítettség %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Érték %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Érték %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Több - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Kevesebb - The string to provide as the UIA value of the "more" button when it's expanded. - - - A szövegbeviteli mezők megjelenítése vagy elrejtése - The help text associated with the "more" button. - - - Több - The string to display in the "more" button when it's collapsed. - - - Kevesebb - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/hy-AM/Resources.resw b/dev/ColorPicker/Strings/hy-AM/Resources.resw deleted file mode 100644 index a410e6a443..0000000000 --- a/dev/ColorPicker/Strings/hy-AM/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Անթափանցություն - The label for the text box to edit the opacity. - - - Անթափանցություն - The automation name for the opacity slider. - - - Անթափանցություն - The automation name for the text box to edit the opacity. - - - Նրբերանգ - The automation name for the third-dimension slider when it's controlling hue. - - - Հագեցվածություն - The automation name for the third-dimension slider when it's controlling saturation. - - - Արժեք (պայծառություն) - The automation name for the third-dimension slider when it's controlling value. - - - Երկնագույն - The label for the text box to edit the blue component of the current RGB color. - - - Երկնագույն - The automation name for the text box to edit the blue component of the current RGB color. - - - Գունային մոդել - The automation name for the color model selection combo box. - - - Գույն ընտրող - The automation name for the ColorSpectrum control. - - - Կանաչ - The label for the text box to edit the green component of the current RGB color. - - - Կանաչ - The automation name for the text box to edit the green component of the current RGB color. - - - 2D նավարկում սլաքի ստեղներեվ - The help text associated with ColorSpectrum. - - - RGB վեցանկյուն - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Նրբերանգ - The label for the text box to edit the hue component of the current HSV color. - - - Նրբերանգ - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D սահիչ - The string to provide as the localized control type of the ColorSpectrum. - - - Կարմիր - The label for the text box to edit the red component of the current RGB color. - - - Կարմիր - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Հագեցվածություն - The label for the text box to edit the saturation component of the current HSV color. - - - Հագեցվածություն - The automation name for the text box to edit the saturation component of the current HSV color. - - - Արժեք - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Նրբերանգ %2!u!, Հագեցվածություն %3!u!, Արժեք %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Նրբերանգ %1!u!, Հագեցվածություն %2!u!, Արժեք %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Արժեք (պայծառություն) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% անթափանցություն - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Նրբերանգ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Նրբերանգ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Հագեցվածություն %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Հագեցում %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Արժեք %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Արժեք %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Ավելին - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Ավելի քիչ - The string to provide as the UIA value of the "more" button when it's expanded. - - - Կանչել՝ գրվածքի մուտքագրումների դաշտերը ցուցադրելու կամ թաքցնելու համար: - The help text associated with the "more" button. - - - Ավելին - The string to display in the "more" button when it's collapsed. - - - Ավելի քիչ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/id-ID/Resources.resw b/dev/ColorPicker/Strings/id-ID/Resources.resw deleted file mode 100644 index 0db3afc559..0000000000 --- a/dev/ColorPicker/Strings/id-ID/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Tingkat keburaman - The label for the text box to edit the opacity. - - - Tingkat keburaman - The automation name for the opacity slider. - - - Tingkat keburaman - The automation name for the text box to edit the opacity. - - - Rona - The automation name for the third-dimension slider when it's controlling hue. - - - Saturasi - The automation name for the third-dimension slider when it's controlling saturation. - - - Nilai (Kecerahan) - The automation name for the third-dimension slider when it's controlling value. - - - Biru - The label for the text box to edit the blue component of the current RGB color. - - - Biru - The automation name for the text box to edit the blue component of the current RGB color. - - - Model warna - The automation name for the color model selection combo box. - - - Pemilih warna - The automation name for the ColorSpectrum control. - - - Hijau - The label for the text box to edit the green component of the current RGB color. - - - Hijau - The automation name for the text box to edit the green component of the current RGB color. - - - Navigasi 2D dengan tombol panah - The help text associated with ColorSpectrum. - - - Heks RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Rona - The label for the text box to edit the hue component of the current HSV color. - - - Rona - The automation name for the text box to edit the hue component of the current HSV color. - - - Penggeser 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Merah - The label for the text box to edit the red component of the current RGB color. - - - Merah - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturasi - The label for the text box to edit the saturation component of the current HSV color. - - - Saturasi - The automation name for the text box to edit the saturation component of the current HSV color. - - - Nilai - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Rona %2!u!, Saturasi %3!u!, Nilai %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Rona %1!u!, Saturasi %2!u!, Nilai %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Nilai (Kecerahan) - The automation name for the text box to edit the value component of the current HSV color. - - - Tingkat keburaman %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Rona %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Rona %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturasi %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturasi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Nilai %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Nilai %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Selengkapnya - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Kurang - The string to provide as the UIA value of the "more" button when it's expanded. - - - Gunakan untuk menampilkan atau menyembunyikan bidang entri teks. - The help text associated with the "more" button. - - - Selengkapnya - The string to display in the "more" button when it's collapsed. - - - Kurang - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/is-IS/Resources.resw b/dev/ColorPicker/Strings/is-IS/Resources.resw deleted file mode 100644 index df88ec7ace..0000000000 --- a/dev/ColorPicker/Strings/is-IS/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Gagnsæi - The label for the text box to edit the opacity. - - - Gagnsæi - The automation name for the opacity slider. - - - Gagnsæi - The automation name for the text box to edit the opacity. - - - Litblær - The automation name for the third-dimension slider when it's controlling hue. - - - Mettun - The automation name for the third-dimension slider when it's controlling saturation. - - - Gildi (birta) - The automation name for the third-dimension slider when it's controlling value. - - - Blár - The label for the text box to edit the blue component of the current RGB color. - - - Blár - The automation name for the text box to edit the blue component of the current RGB color. - - - Litalíkan - The automation name for the color model selection combo box. - - - Litaval - The automation name for the ColorSpectrum control. - - - Grænn - The label for the text box to edit the green component of the current RGB color. - - - Grænn - The automation name for the text box to edit the green component of the current RGB color. - - - Tvívíddaryfirlit með örvatökkum - The help text associated with ColorSpectrum. - - - RGB-sextándakerfi - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Litblær - The label for the text box to edit the hue component of the current HSV color. - - - Litblær - The automation name for the text box to edit the hue component of the current HSV color. - - - Tvívíddarsleði - The string to provide as the localized control type of the ColorSpectrum. - - - Rauður - The label for the text box to edit the red component of the current RGB color. - - - Rauður - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Mettun - The label for the text box to edit the saturation component of the current HSV color. - - - Mettun - The automation name for the text box to edit the saturation component of the current HSV color. - - - Gildi - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, litblær %2!u!, mettun %3!u!, gildi %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Litblær %1!u!, mettun %2!u!, gildi %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Gildi (birta) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% gagnsæi - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Litblær %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Litblær %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Mettun %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Mettun %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Gildi %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Gildi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Meira - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Minna - The string to provide as the UIA value of the "more" button when it's expanded. - - - Kalla fram til að sýna eða fela innsláttarreiti. - The help text associated with the "more" button. - - - Meira - The string to display in the "more" button when it's collapsed. - - - Minna - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/it-IT/Resources.resw b/dev/ColorPicker/Strings/it-IT/Resources.resw deleted file mode 100644 index 140760c6d8..0000000000 --- a/dev/ColorPicker/Strings/it-IT/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacità - The label for the text box to edit the opacity. - - - Opacità - The automation name for the opacity slider. - - - Opacità - The automation name for the text box to edit the opacity. - - - Tonalità - The automation name for the third-dimension slider when it's controlling hue. - - - Saturazione - The automation name for the third-dimension slider when it's controlling saturation. - - - Valore (luminosità) - The automation name for the third-dimension slider when it's controlling value. - - - Blu - The label for the text box to edit the blue component of the current RGB color. - - - Blu - The automation name for the text box to edit the blue component of the current RGB color. - - - Modello colori - The automation name for the color model selection combo box. - - - Selezione colori - The automation name for the ColorSpectrum control. - - - Verde - The label for the text box to edit the green component of the current RGB color. - - - Verde - The automation name for the text box to edit the green component of the current RGB color. - - - Spostamento 2D con tasti di direzione - The help text associated with ColorSpectrum. - - - Hex RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Tonalità - The label for the text box to edit the hue component of the current HSV color. - - - Tonalità - The automation name for the text box to edit the hue component of the current HSV color. - - - Dispositivo di scorrimento 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Rosso - The label for the text box to edit the red component of the current RGB color. - - - Rosso - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturazione - The label for the text box to edit the saturation component of the current HSV color. - - - Saturazione - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valore - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Tonalità %2!u!, Saturazione %3!u!, Valore %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Tonalità %1!u!, Saturazione %2!u!, Valore %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valore (luminosità) - The automation name for the text box to edit the value component of the current HSV color. - - - Opacità %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Tonalità %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Tonalità %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturazione %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturazione %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valore %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valore %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Espandi - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Comprimi - The string to provide as the UIA value of the "more" button when it's expanded. - - - Mostra o nasconde i campi per l'immissione di testo. - The help text associated with the "more" button. - - - Espandi - The string to display in the "more" button when it's collapsed. - - - Comprimi - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ja-JP/Resources.resw b/dev/ColorPicker/Strings/ja-JP/Resources.resw deleted file mode 100644 index ba49f75593..0000000000 --- a/dev/ColorPicker/Strings/ja-JP/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 不透明度 - The label for the text box to edit the opacity. - - - 不透明度 - The automation name for the opacity slider. - - - 不透明度 - The automation name for the text box to edit the opacity. - - - 色合い - The automation name for the third-dimension slider when it's controlling hue. - - - 彩度 - The automation name for the third-dimension slider when it's controlling saturation. - - - 値 (明るさ) - The automation name for the third-dimension slider when it's controlling value. - - - - The label for the text box to edit the blue component of the current RGB color. - - - - The automation name for the text box to edit the blue component of the current RGB color. - - - カラー モデル - The automation name for the color model selection combo box. - - - カラー ピッカー - The automation name for the ColorSpectrum control. - - - - The label for the text box to edit the green component of the current RGB color. - - - - The automation name for the text box to edit the green component of the current RGB color. - - - 矢印キーを使用した 2D ナビゲーション - The help text associated with ColorSpectrum. - - - RGB 16 進数 - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - 色合い - The label for the text box to edit the hue component of the current HSV color. - - - 色合い - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D スライダー - The string to provide as the localized control type of the ColorSpectrum. - - - - The label for the text box to edit the red component of the current RGB color. - - - - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - 彩度 - The label for the text box to edit the saturation component of the current HSV color. - - - 彩度 - The automation name for the text box to edit the saturation component of the current HSV color. - - - - The label for the text box to edit the value component of the current HSV color. - - - %1!s!、色合い %2!u!、彩度 %3!u!、値 %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - 色合い %1!u!、彩度 %2!u!、値 %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!、%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!、%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!、%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - 値 (明るさ) - The automation name for the text box to edit the value component of the current HSV color. - - - 不透明度 %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - 色合い %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - 色合い %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - 彩度 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - 彩度 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - 値 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - 値 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - さらに表示 - The string to provide as the UIA value of the "more" button when it's collapsed. - - - 表示を減らす - The string to provide as the UIA value of the "more" button when it's expanded. - - - テキスト入力フィールドの表示や非表示を行います。 - The help text associated with the "more" button. - - - さらに表示 - The string to display in the "more" button when it's collapsed. - - - 表示を減らす - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ka-GE/Resources.resw b/dev/ColorPicker/Strings/ka-GE/Resources.resw deleted file mode 100644 index 4132af635e..0000000000 --- a/dev/ColorPicker/Strings/ka-GE/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - გამჭვირვალობა - The label for the text box to edit the opacity. - - - გამჭვირვალობა - The automation name for the opacity slider. - - - გამჭვირვალობა - The automation name for the text box to edit the opacity. - - - ელფერი - The automation name for the third-dimension slider when it's controlling hue. - - - გაჯერება - The automation name for the third-dimension slider when it's controlling saturation. - - - მნიშვნელობა (სიკაშკაშე) - The automation name for the third-dimension slider when it's controlling value. - - - ლურჯი - The label for the text box to edit the blue component of the current RGB color. - - - ლურჯი - The automation name for the text box to edit the blue component of the current RGB color. - - - ფერის მოდელი - The automation name for the color model selection combo box. - - - ფერის ამრჩევი - The automation name for the ColorSpectrum control. - - - მწვანე - The label for the text box to edit the green component of the current RGB color. - - - მწვანე - The automation name for the text box to edit the green component of the current RGB color. - - - 2D ნავიგაცია ისრებით - The help text associated with ColorSpectrum. - - - თექვსმეტობითი RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ელფერი - The label for the text box to edit the hue component of the current HSV color. - - - ელფერი - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D ცოცია - The string to provide as the localized control type of the ColorSpectrum. - - - წითელი - The label for the text box to edit the red component of the current RGB color. - - - წითელი - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - გაჯერება - The label for the text box to edit the saturation component of the current HSV color. - - - გაჯერება - The automation name for the text box to edit the saturation component of the current HSV color. - - - ფასი - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ელფერი %2!u!, გაჯერება %3!u!, მნიშვნელობა %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ელფერი %1!u!, გაჯერება %2!u!, მნიშნველობა %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - მნიშვნელობა (სიკაშკაშე) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% გამჭვირვალობა - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ელფერი %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ელფერი %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - გაჯერება %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - გაჯერება %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - მნიშვნელობა %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - მნიშვნელობა %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - სხვა - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ნაკლები - The string to provide as the UIA value of the "more" button when it's expanded. - - - აირჩიეთ ტესტის შეყვანის ველების გამოჩენა ან დამალვა - The help text associated with the "more" button. - - - სხვა - The string to display in the "more" button when it's collapsed. - - - ნაკლები - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/kk-KZ/Resources.resw b/dev/ColorPicker/Strings/kk-KZ/Resources.resw deleted file mode 100644 index cc760f5734..0000000000 --- a/dev/ColorPicker/Strings/kk-KZ/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Бұлыңғырлық - The label for the text box to edit the opacity. - - - Бұлыңғырлық - The automation name for the opacity slider. - - - Бұлыңғырлық - The automation name for the text box to edit the opacity. - - - Реңк - The automation name for the third-dimension slider when it's controlling hue. - - - Қанықтық - The automation name for the third-dimension slider when it's controlling saturation. - - - Мәні (Жарықтық) - The automation name for the third-dimension slider when it's controlling value. - - - Көк - The label for the text box to edit the blue component of the current RGB color. - - - Көк - The automation name for the text box to edit the blue component of the current RGB color. - - - Түс үлгісі - The automation name for the color model selection combo box. - - - Түс таңдау құралы - The automation name for the ColorSpectrum control. - - - Жасыл - The label for the text box to edit the green component of the current RGB color. - - - Жасыл - The automation name for the text box to edit the green component of the current RGB color. - - - Көрсеткі пернелері бар 2D шарлауы - The help text associated with ColorSpectrum. - - - RGB оналтылық - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Реңк - The label for the text box to edit the hue component of the current HSV color. - - - Реңк - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D жүгірткісі - The string to provide as the localized control type of the ColorSpectrum. - - - Қызыл - The label for the text box to edit the red component of the current RGB color. - - - Қызыл - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Қанықтық - The label for the text box to edit the saturation component of the current HSV color. - - - Қанықтық - The automation name for the text box to edit the saturation component of the current HSV color. - - - Мән - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Реңк: %2!u!, Қанықтық: %3!u!, Мән: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Реңк: %1!u!, Қанықтық: %2!u!, Мән: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Мәні (Жарықтық) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% бұлыңғырлық - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Реңк: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Реңк: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Қанықтық: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Қанықтық: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Мәні: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Мәні: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Көбірек - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Азырақ - The string to provide as the UIA value of the "more" button when it's expanded. - - - Мәтін енгізу жолдарын көрсетуге немесе жасыруға шақыру - The help text associated with the "more" button. - - - Көбірек - The string to display in the "more" button when it's collapsed. - - - Азырақ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/km-KH/Resources.resw b/dev/ColorPicker/Strings/km-KH/Resources.resw deleted file mode 100644 index 1ddf903395..0000000000 --- a/dev/ColorPicker/Strings/km-KH/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - កម្រិត​ឆ្លុះ - The label for the text box to edit the opacity. - - - កម្រិត​ឆ្លុះ - The automation name for the opacity slider. - - - កម្រិត​ឆ្លុះ - The automation name for the text box to edit the opacity. - - - ល្បាយ​ពណ៌ - The automation name for the third-dimension slider when it's controlling hue. - - - តិត្ថិភាព - The automation name for the third-dimension slider when it's controlling saturation. - - - តម្លៃ (ពន្លឺ) - The automation name for the third-dimension slider when it's controlling value. - - - ខៀវ - The label for the text box to edit the blue component of the current RGB color. - - - ខៀវ - The automation name for the text box to edit the blue component of the current RGB color. - - - ម៉ូដែល​ពណ៌ - The automation name for the color model selection combo box. - - - អង្គ​រើស​ពណ៌ - The automation name for the ColorSpectrum control. - - - បៃតង - The label for the text box to edit the green component of the current RGB color. - - - បៃតង - The automation name for the text box to edit the green component of the current RGB color. - - - ការ​ប្រាប់​ទិស 2D ជាមួយ​នឹង​ឃី​សញ្ញា​ព្រួញ - The help text associated with ColorSpectrum. - - - RGB ជា​តម្លៃ​គោល​ដប់​ប្រាំ​មួយ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ល្បាយ​ពណ៌ - The label for the text box to edit the hue component of the current HSV color. - - - ល្បាយ​ពណ៌ - The automation name for the text box to edit the hue component of the current HSV color. - - - របារ​រំកិល​កម្រិត 2D - The string to provide as the localized control type of the ColorSpectrum. - - - ក្រហម - The label for the text box to edit the red component of the current RGB color. - - - ក្រហម - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - តិត្ថិភាព - The label for the text box to edit the saturation component of the current HSV color. - - - តិត្ថិភាព - The automation name for the text box to edit the saturation component of the current HSV color. - - - តម្លៃ - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ស្រមោលពណ៌ %2!u!, បញ្ជោកពណ៌ %3!u!, តម្លៃ %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ស្រមោលពណ៌ %1!u!, បញ្ជោកពណ៌ %2!u!, តម្លៃ %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - តម្លៃ (ពន្លឺ) - The automation name for the text box to edit the value component of the current HSV color. - - - កម្រិត​ឆ្លុះ %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ល្បាយ​ពណ៌ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ល្បាយ​ពណ៌ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - តិត្ថិភាព %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - តិត្ថិភាព %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - តម្លៃ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - តម្លៃ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - ច្រើន​ទៀត - The string to provide as the UIA value of the "more" button when it's collapsed. - - - តិច​ជាង​នេះ - The string to provide as the UIA value of the "more" button when it's expanded. - - - ហៅ​មក​ប្រើ​ដើម្បី​បង្ហាញ ឬ​លាក់​វាល​បញ្ចូល​អត្ថបទ។ - The help text associated with the "more" button. - - - ច្រើន​ទៀត - The string to display in the "more" button when it's collapsed. - - - តិច​ជាង​នេះ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/kn-IN/Resources.resw b/dev/ColorPicker/Strings/kn-IN/Resources.resw deleted file mode 100644 index 520fb2c150..0000000000 --- a/dev/ColorPicker/Strings/kn-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ಅಪಾರದರ್ಶಕತೆ - The label for the text box to edit the opacity. - - - ಅಪಾರದರ್ಶಕತೆ - The automation name for the opacity slider. - - - ಅಪಾರದರ್ಶಕತೆ - The automation name for the text box to edit the opacity. - - - ವರ್ಣ - The automation name for the third-dimension slider when it's controlling hue. - - - ಸ್ಯಾಚುರೇಶನ್ - The automation name for the third-dimension slider when it's controlling saturation. - - - ಮೌಲ್ಯ (ಪ್ರಕಾಶಮಾನತೆ) - The automation name for the third-dimension slider when it's controlling value. - - - ನೀಲಿ - The label for the text box to edit the blue component of the current RGB color. - - - ನೀಲಿ - The automation name for the text box to edit the blue component of the current RGB color. - - - ಬಣ್ಣದ ಮಾದರಿ - The automation name for the color model selection combo box. - - - ಬಣ್ಣದ ಪಿಕ್ಕರ್ - The automation name for the ColorSpectrum control. - - - ಹಸಿರು - The label for the text box to edit the green component of the current RGB color. - - - ಹಸಿರು - The automation name for the text box to edit the green component of the current RGB color. - - - ಬಾಣದ ಕೀಲಿಗಳೊಂದಿಗೆ 2D ನ್ಯಾವಿಗೇಶನ್ - The help text associated with ColorSpectrum. - - - RGB ಹೆಕ್ಸ್ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ವರ್ಣ - The label for the text box to edit the hue component of the current HSV color. - - - ವರ್ಣ - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D ಸ್ಲೈಡರ್ - The string to provide as the localized control type of the ColorSpectrum. - - - ಕೆಂಪು - The label for the text box to edit the red component of the current RGB color. - - - ಕೆಂಪು - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - ಸ್ಯಾಚುರೇಶನ್ - The label for the text box to edit the saturation component of the current HSV color. - - - ಸ್ಯಾಚುರೇಶನ್ - The automation name for the text box to edit the saturation component of the current HSV color. - - - ಮೌಲ್ಯ - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ವರ್ಣ %2!u!, ಶುದ್ಧತ್ವ %3!u!, ಮೌಲ್ಯ %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ವರ್ಣ %1!u!, ಶುದ್ಧತ್ವ %2!u!, ಮೌಲ್ಯ %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - ಮೌಲ್ಯ (ಪ್ರಕಾಶಮಾನತೆ) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ಅಪಾರದರ್ಶಕತೆ - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ವರ್ಣ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ವರ್ಣ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - ಸ್ಯಾಚುರೇಶನ್ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - ಸ್ಯಾಚುರೇಶನ್ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - ಮೌಲ್ಯ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - ಮೌಲ್ಯ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - ಮತ್ತಷ್ಟು - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ಕಡಿಮೆ - The string to provide as the UIA value of the "more" button when it's expanded. - - - ಇಡೀ ಕ್ಷೇತ್ರಗಳ ಪಠ್ಯವನ್ನು ತೋರಿಸಲು ಅಥವಾ ಮರೆಮಾಡಲು ವಿನಂತಿಸಿ. - The help text associated with the "more" button. - - - ಮತ್ತಷ್ಟು - The string to display in the "more" button when it's collapsed. - - - ಕಡಿಮೆ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ko-KR/Resources.resw b/dev/ColorPicker/Strings/ko-KR/Resources.resw deleted file mode 100644 index 248ac8af92..0000000000 --- a/dev/ColorPicker/Strings/ko-KR/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 불투명도 - The label for the text box to edit the opacity. - - - 불투명도 - The automation name for the opacity slider. - - - 불투명도 - The automation name for the text box to edit the opacity. - - - 색상 - The automation name for the third-dimension slider when it's controlling hue. - - - 채도 - The automation name for the third-dimension slider when it's controlling saturation. - - - 값(밝기) - The automation name for the third-dimension slider when it's controlling value. - - - 파랑 - The label for the text box to edit the blue component of the current RGB color. - - - 파랑 - The automation name for the text box to edit the blue component of the current RGB color. - - - 색 모델 - The automation name for the color model selection combo box. - - - 색 선택 - The automation name for the ColorSpectrum control. - - - 녹색 - The label for the text box to edit the green component of the current RGB color. - - - 녹색 - The automation name for the text box to edit the green component of the current RGB color. - - - 화살표 키를 사용하여 2D 탐색 - The help text associated with ColorSpectrum. - - - RGB 16진수 - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - 색상 - The label for the text box to edit the hue component of the current HSV color. - - - 색상 - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D 슬라이더 - The string to provide as the localized control type of the ColorSpectrum. - - - 빨강 - The label for the text box to edit the red component of the current RGB color. - - - 빨강 - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - 채도 - The label for the text box to edit the saturation component of the current HSV color. - - - 채도 - The automation name for the text box to edit the saturation component of the current HSV color. - - - - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, 색상 %2!u!, 채도 %3!u!, 값 %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - 색상 %1!u!, 채도 %2!u!, 값 %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - 값(밝기) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% 불투명도 - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - 색상 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - 색상 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - 채도 %1!u!(%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - 채도 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - 값 %1!u!(%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - 값 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - 자세히 - The string to provide as the UIA value of the "more" button when it's collapsed. - - - 간단히 - The string to provide as the UIA value of the "more" button when it's expanded. - - - 텍스트 입력 필드를 표시하거나 숨기려면 호출합니다. - The help text associated with the "more" button. - - - 자세히 - The string to display in the "more" button when it's collapsed. - - - 간단히 - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/kok-IN/Resources.resw b/dev/ColorPicker/Strings/kok-IN/Resources.resw deleted file mode 100644 index 11c812306c..0000000000 --- a/dev/ColorPicker/Strings/kok-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ऑपॅसिटी - The label for the text box to edit the opacity. - - - ऑपॅसिटी - The automation name for the opacity slider. - - - ऑपॅसिटी - The automation name for the text box to edit the opacity. - - - रंगछटा - The automation name for the third-dimension slider when it's controlling hue. - - - परिपूर्णता - The automation name for the third-dimension slider when it's controlling saturation. - - - मान (उजळसाण) - The automation name for the third-dimension slider when it's controlling value. - - - निळो - The label for the text box to edit the blue component of the current RGB color. - - - निळो - The automation name for the text box to edit the blue component of the current RGB color. - - - रंगाचो मोदेल - The automation name for the color model selection combo box. - - - रंग पिकर - The automation name for the ColorSpectrum control. - - - पाचवो - The label for the text box to edit the green component of the current RGB color. - - - पाचवो - The automation name for the text box to edit the green component of the current RGB color. - - - बाण बटणा वरवीं 2D नॅविगेशन - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - रंगछटा - The label for the text box to edit the hue component of the current HSV color. - - - रंगछटा - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D स्लायडर - The string to provide as the localized control type of the ColorSpectrum. - - - तांबडो - The label for the text box to edit the red component of the current RGB color. - - - तांबडो - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - परिपूर्णता - The label for the text box to edit the saturation component of the current HSV color. - - - परिपूर्णता - The automation name for the text box to edit the saturation component of the current HSV color. - - - मान - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, रंगछटा %2!u!, परिपूर्णता %3!u!, मान %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - रंगछटा %1!u!, परिपूर्णता %2!u!, मान %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - मान (उजळसाण) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ऑपॅसिटी - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - रंगछटा %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - रंगछटा %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - परिपूर्णता %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - परिपूर्णता %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - मान %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - मान %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - चड - The string to provide as the UIA value of the "more" button when it's collapsed. - - - कमी - The string to provide as the UIA value of the "more" button when it's expanded. - - - लिखीत प्रवेश क्षेत्रां दाखोवंक वा लिपोवंक काडचें. - The help text associated with the "more" button. - - - चड - The string to display in the "more" button when it's collapsed. - - - कमी - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/lb-LU/Resources.resw b/dev/ColorPicker/Strings/lb-LU/Resources.resw deleted file mode 100644 index a3fcf4d572..0000000000 --- a/dev/ColorPicker/Strings/lb-LU/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Deckkraaft - The label for the text box to edit the opacity. - - - Deckkraaft - The automation name for the opacity slider. - - - Deckkraaft - The automation name for the text box to edit the opacity. - - - Faarfnuance - The automation name for the third-dimension slider when it's controlling hue. - - - Siedegung - The automation name for the third-dimension slider when it's controlling saturation. - - - Wäert (Hellegkeet) - The automation name for the third-dimension slider when it's controlling value. - - - Blo - The label for the text box to edit the blue component of the current RGB color. - - - Blo - The automation name for the text box to edit the blue component of the current RGB color. - - - Faarfmodell - The automation name for the color model selection combo box. - - - Faarfauswiel - The automation name for the ColorSpectrum control. - - - Gréng - The label for the text box to edit the green component of the current RGB color. - - - Gréng - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-Navigatioun mat Feiltasten - The help text associated with ColorSpectrum. - - - RGB hexadezimal - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Faarfnuance - The label for the text box to edit the hue component of the current HSV color. - - - Faarfnuance - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-Reegler - The string to provide as the localized control type of the ColorSpectrum. - - - Rout - The label for the text box to edit the red component of the current RGB color. - - - Rout - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Siedegung - The label for the text box to edit the saturation component of the current HSV color. - - - Siedegung - The automation name for the text box to edit the saturation component of the current HSV color. - - - Wäert - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Faarfnuance %2!u!, Siedegung %3!u!, Wäert %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Faarfnuance %1!u!, Siedegung %2!u!, Wäert %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Wäert (Hellegkeet) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% Deckkraaft - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Faarfnuance %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Faarfnuance %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Siedegung %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Siedegung %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Wäert %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Wäert %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Méi - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Manner - The string to provide as the UIA value of the "more" button when it's expanded. - - - D'An- oder Ausblende vun de Felder fir d'Texteingab ofruffen. - The help text associated with the "more" button. - - - Méi - The string to display in the "more" button when it's collapsed. - - - Manner - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/lo-LA/Resources.resw b/dev/ColorPicker/Strings/lo-LA/Resources.resw deleted file mode 100644 index b9be8366e7..0000000000 --- a/dev/ColorPicker/Strings/lo-LA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ຄວາມໂປ່ງແສງ - The label for the text box to edit the opacity. - - - ຄວາມໂປ່ງແສງ - The automation name for the opacity slider. - - - ຄວາມໂປ່ງແສງ - The automation name for the text box to edit the opacity. - - - ສີສັນ - The automation name for the third-dimension slider when it's controlling hue. - - - ຄວາມເຂັ້ມ - The automation name for the third-dimension slider when it's controlling saturation. - - - ຄ່າ (ຄວາມສະຫວ່າງ) - The automation name for the third-dimension slider when it's controlling value. - - - ສີຟ້າ - The label for the text box to edit the blue component of the current RGB color. - - - ສີຟ້າ - The automation name for the text box to edit the blue component of the current RGB color. - - - ໂໝດສີ - The automation name for the color model selection combo box. - - - ຕົວເລືອກສີ - The automation name for the ColorSpectrum control. - - - ສີຂຽວ - The label for the text box to edit the green component of the current RGB color. - - - ສີຂຽວ - The automation name for the text box to edit the green component of the current RGB color. - - - ການເລື່ອນໄປມາແບບ 2D ດ້ວຍປຸ່ມລູກສອນ - The help text associated with ColorSpectrum. - - - RGB ຖານສິບຫົກ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ສີສັນ - The label for the text box to edit the hue component of the current HSV color. - - - ສີສັນ - The automation name for the text box to edit the hue component of the current HSV color. - - - ຕົວເລື່ອນ 2D - The string to provide as the localized control type of the ColorSpectrum. - - - ສີແດງ - The label for the text box to edit the red component of the current RGB color. - - - ສີແດງ - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - ຄວາມເຂັ້ມ - The label for the text box to edit the saturation component of the current HSV color. - - - ຄວາມເຂັ້ມ - The automation name for the text box to edit the saturation component of the current HSV color. - - - ຄ່າ - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ສີສັນ %2!u!, ຄວາມເຂັ້ມ %3!u!, ຄ່າ %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ສີສັນ %1!u!, ຄວາມເຂັ້ມ %2!u!, ຄ່າ %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - ຄ່າ (ຄວາມສະຫວ່າງ) - The automation name for the text box to edit the value component of the current HSV color. - - - ຄວາມໂປ່ງແສງ %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ສີສັນ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ສີສັນ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - ຄວາມເຂັ້ມ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - ຄວາມເຂັ້ມ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - ຄ່າ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - ຄ່າ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - ເພີ່ມ​ເຕີມ - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ໜ້ອຍລົງ - The string to provide as the UIA value of the "more" button when it's expanded. - - - ເຮັດໃຫ້ສະແດງ ຫຼື ເຊື່ອງຊ່ອງປ້ອນຂໍ້ຄວາມ. - The help text associated with the "more" button. - - - ເພີ່ມ​ເຕີມ - The string to display in the "more" button when it's collapsed. - - - ໜ້ອຍລົງ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/lt-LT/Resources.resw b/dev/ColorPicker/Strings/lt-LT/Resources.resw deleted file mode 100644 index 8e230cf770..0000000000 --- a/dev/ColorPicker/Strings/lt-LT/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Nepermatomumas - The label for the text box to edit the opacity. - - - Nepermatomumas - The automation name for the opacity slider. - - - Nepermatomumas - The automation name for the text box to edit the opacity. - - - Atspalvis - The automation name for the third-dimension slider when it's controlling hue. - - - Grynis - The automation name for the third-dimension slider when it's controlling saturation. - - - Reikšmė (ryškumas) - The automation name for the third-dimension slider when it's controlling value. - - - Mėlyna - The label for the text box to edit the blue component of the current RGB color. - - - Mėlyna - The automation name for the text box to edit the blue component of the current RGB color. - - - Spalvų modelis - The automation name for the color model selection combo box. - - - Spalvų parinkiklis - The automation name for the ColorSpectrum control. - - - Žalia - The label for the text box to edit the green component of the current RGB color. - - - Žalia - The automation name for the text box to edit the green component of the current RGB color. - - - 2D naršymas naudojant rodyklių klavišus - The help text associated with ColorSpectrum. - - - RGB šešioliktainis - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Atspalvis - The label for the text box to edit the hue component of the current HSV color. - - - Atspalvis - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D slankiklis - The string to provide as the localized control type of the ColorSpectrum. - - - Raudona - The label for the text box to edit the red component of the current RGB color. - - - Raudona - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Grynis - The label for the text box to edit the saturation component of the current HSV color. - - - Grynis - The automation name for the text box to edit the saturation component of the current HSV color. - - - Reikšmė - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, atspalvis %2!u!, grynis %3!u!, reikšmė %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Atspalvis %1!u!, grynis %2!u!, reikšmė %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Reikšmė (ryškumas) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% nepermatomumas - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Atspalvis %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Atspalvis %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Grynis %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Grynis %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Reikšmė %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Reikšmė %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Daugiau - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mažiau - The string to provide as the UIA value of the "more" button when it's expanded. - - - Suaktyvinkite norėdami rodyti arba slėpti teksto įvesties laukus. - The help text associated with the "more" button. - - - Daugiau - The string to display in the "more" button when it's collapsed. - - - Mažiau - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/lv-LV/Resources.resw b/dev/ColorPicker/Strings/lv-LV/Resources.resw deleted file mode 100644 index 77f8df0c71..0000000000 --- a/dev/ColorPicker/Strings/lv-LV/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Necaurspīdīgums - The label for the text box to edit the opacity. - - - Necaurspīdīgums - The automation name for the opacity slider. - - - Necaurspīdīgums - The automation name for the text box to edit the opacity. - - - Nokrāsa - The automation name for the third-dimension slider when it's controlling hue. - - - Piesātinājums - The automation name for the third-dimension slider when it's controlling saturation. - - - Vērtība (spilgtums) - The automation name for the third-dimension slider when it's controlling value. - - - Zila - The label for the text box to edit the blue component of the current RGB color. - - - Zila - The automation name for the text box to edit the blue component of the current RGB color. - - - Krāsu modelis - The automation name for the color model selection combo box. - - - Krāsu atlasītājs - The automation name for the ColorSpectrum control. - - - Zaļa - The label for the text box to edit the green component of the current RGB color. - - - Zaļa - The automation name for the text box to edit the green component of the current RGB color. - - - Navigācija plaknē, izmantojot bulttaustiņus - The help text associated with ColorSpectrum. - - - RGB krāsu modelis (heksadecimāla vērtība) - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV krāsu modelis - The combo box item content for selecting HSV as the color model to use. - - - Nokrāsa - The label for the text box to edit the hue component of the current HSV color. - - - Nokrāsa - The automation name for the text box to edit the hue component of the current HSV color. - - - Plaknes slīdnis - The string to provide as the localized control type of the ColorSpectrum. - - - Sarkana - The label for the text box to edit the red component of the current RGB color. - - - Sarkana - The automation name for the text box to edit the red component of the current RGB color. - - - RGB krāsu modelis - The combo box item content for selecting RGB as the color model to use. - - - Piesātinājums - The label for the text box to edit the saturation component of the current HSV color. - - - Piesātinājums - The automation name for the text box to edit the saturation component of the current HSV color. - - - Vērtība - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, nokrāsa: %2!u!, piesātinājums: %3!u!, vērtība: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nokrāsa: %1!u!, piesātinājums: %2!u!, vērtība: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Vērtība (spilgtums) - The automation name for the text box to edit the value component of the current HSV color. - - - Necaurspīdīgums: %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nokrāsa: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nokrāsa: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Piesātinājums: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Piesātinājums: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Vērtība: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Vērtība: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Vairāk - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mazāk - The string to provide as the UIA value of the "more" button when it's expanded. - - - Izsauciet, lai rādītu vai paslēptu teksta ievades laukus. - The help text associated with the "more" button. - - - Vairāk - The string to display in the "more" button when it's collapsed. - - - Mazāk - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/mi-NZ/Resources.resw b/dev/ColorPicker/Strings/mi-NZ/Resources.resw deleted file mode 100644 index f3294db6cc..0000000000 --- a/dev/ColorPicker/Strings/mi-NZ/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Puatakore - The label for the text box to edit the opacity. - - - Puatakore - The automation name for the opacity slider. - - - Puatakore - The automation name for the text box to edit the opacity. - - - Hākano - The automation name for the third-dimension slider when it's controlling hue. - - - Kohuratanga - The automation name for the third-dimension slider when it's controlling saturation. - - - Uara (Tīahonga) - The automation name for the third-dimension slider when it's controlling value. - - - Kikorangi - The label for the text box to edit the blue component of the current RGB color. - - - Kikorangi - The automation name for the text box to edit the blue component of the current RGB color. - - - Tauira Tae - The automation name for the color model selection combo box. - - - Pūwhiri tae - The automation name for the ColorSpectrum control. - - - Kākāriki - The label for the text box to edit the green component of the current RGB color. - - - Kākāriki - The automation name for the text box to edit the green component of the current RGB color. - - - Whakaterenga Ahu2 me ngā Pātuhi pere - The help text associated with ColorSpectrum. - - - ira-a-ono RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Hākano - The label for the text box to edit the hue component of the current HSV color. - - - Hākano - The automation name for the text box to edit the hue component of the current HSV color. - - - Rēreti Ahu2 - The string to provide as the localized control type of the ColorSpectrum. - - - Whero - The label for the text box to edit the red component of the current RGB color. - - - Whero - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Kohuratanga - The label for the text box to edit the saturation component of the current HSV color. - - - Kohuratanga - The automation name for the text box to edit the saturation component of the current HSV color. - - - Uara - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Hākano %2!u!, Kohuratanga %3!u!, Uara %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Hākano %1!u!, Kohuratanga %2!u!, Uara %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Uara (Tīahonga) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% puatakore - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Hākano %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Hākano %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Kohuratanga %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Kohuratanga %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Uara %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Uara %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Ētahi atu mea - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Iti iho - The string to provide as the UIA value of the "more" button when it's expanded. - - - Whakahāngai hei whakaatu hei huna rānei i ngā āpure tāuru kuputuhi. - The help text associated with the "more" button. - - - Ētahi atu mea - The string to display in the "more" button when it's collapsed. - - - Iti iho - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/mk-MK/Resources.resw b/dev/ColorPicker/Strings/mk-MK/Resources.resw deleted file mode 100644 index 6f51498f06..0000000000 --- a/dev/ColorPicker/Strings/mk-MK/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Непроѕирност - The label for the text box to edit the opacity. - - - Непроѕирност - The automation name for the opacity slider. - - - Непроѕирност - The automation name for the text box to edit the opacity. - - - Нијанса - The automation name for the third-dimension slider when it's controlling hue. - - - Заситеност - The automation name for the third-dimension slider when it's controlling saturation. - - - Вредност (Сјајност) - The automation name for the third-dimension slider when it's controlling value. - - - Сина - The label for the text box to edit the blue component of the current RGB color. - - - Сина - The automation name for the text box to edit the blue component of the current RGB color. - - - Модел на боја - The automation name for the color model selection combo box. - - - Избирач на бои - The automation name for the ColorSpectrum control. - - - Зелена - The label for the text box to edit the green component of the current RGB color. - - - Зелена - The automation name for the text box to edit the green component of the current RGB color. - - - 2Д-навигација со копчињата со стрелки - The help text associated with ColorSpectrum. - - - РГБ хексадецимално - The automation name for the text box to edit the current RGB color as a hex value. - - - ХСВ - The combo box item content for selecting HSV as the color model to use. - - - Нијанса - The label for the text box to edit the hue component of the current HSV color. - - - Нијанса - The automation name for the text box to edit the hue component of the current HSV color. - - - 2Д-лизгач - The string to provide as the localized control type of the ColorSpectrum. - - - Црвена - The label for the text box to edit the red component of the current RGB color. - - - Црвена - The automation name for the text box to edit the red component of the current RGB color. - - - РГБ - The combo box item content for selecting RGB as the color model to use. - - - Заситеност - The label for the text box to edit the saturation component of the current HSV color. - - - Заситеност - The automation name for the text box to edit the saturation component of the current HSV color. - - - Вредност - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, нијанса %2!u!, заситеност %3!u!, вредност %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Нијанса %1!u!, заситеност %2!u!, осветленост %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Вредност (Сјајност) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% непроѕирност - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Нијанса %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Нијанса %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Заситеност %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Заситеност %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Вредност %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Вредност %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Повеќе - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Помалку - The string to provide as the UIA value of the "more" button when it's expanded. - - - Активирајте за прикажување или криење на полињата за внесување текст. - The help text associated with the "more" button. - - - Повеќе - The string to display in the "more" button when it's collapsed. - - - Помалку - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ml-IN/Resources.resw b/dev/ColorPicker/Strings/ml-IN/Resources.resw deleted file mode 100644 index 92385cde76..0000000000 --- a/dev/ColorPicker/Strings/ml-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - അതാര്യത - The label for the text box to edit the opacity. - - - അതാര്യത - The automation name for the opacity slider. - - - അതാര്യത - The automation name for the text box to edit the opacity. - - - ഹ്യൂ - The automation name for the third-dimension slider when it's controlling hue. - - - സാച്ചുറേഷൻ - The automation name for the third-dimension slider when it's controlling saturation. - - - മൂല്യം (തെളിച്ചം) - The automation name for the third-dimension slider when it's controlling value. - - - നീല - The label for the text box to edit the blue component of the current RGB color. - - - നീല - The automation name for the text box to edit the blue component of the current RGB color. - - - വർണ്ണ മോഡൽ - The automation name for the color model selection combo box. - - - വർണ്ണ പിക്കർ - The automation name for the ColorSpectrum control. - - - പച്ച - The label for the text box to edit the green component of the current RGB color. - - - പച്ച - The automation name for the text box to edit the green component of the current RGB color. - - - അമ്പടയാള കീകളുള്ള 2D നാവിഗേഷൻ - The help text associated with ColorSpectrum. - - - RGB ഹെക്‌സ് - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ഹ്യൂ - The label for the text box to edit the hue component of the current HSV color. - - - ഹ്യൂ - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D സ്ലൈഡർ - The string to provide as the localized control type of the ColorSpectrum. - - - ചുവപ്പ് - The label for the text box to edit the red component of the current RGB color. - - - ചുവപ്പ് - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - സാച്ചുറേഷൻ - The label for the text box to edit the saturation component of the current HSV color. - - - സാച്ചുറേഷൻ - The automation name for the text box to edit the saturation component of the current HSV color. - - - മൂല്യം - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, നിറം %2!u!, വ്യാപനം %3!u!, മൂല്യം %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - നിറം %1!u!, വ്യാപനം %2!u!, മൂല്യം %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - മൂല്യം (തെളിച്ചം) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% അതാര്യത - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ഹ്യൂ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ഹ്യൂ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - സാച്ചുറേഷൻ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - സാച്ചുറേഷൻ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - മൂല്യം %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - മൂല്യം %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - കൂടുതൽ - The string to provide as the UIA value of the "more" button when it's collapsed. - - - കുറവ് - The string to provide as the UIA value of the "more" button when it's expanded. - - - ടെക്സ്റ്റ് എൻട്രി ഫീൽഡുകൾ കാണിക്കുന്നതോ മറയ്‌ക്കുന്നതോ അഭ്യർത്ഥിക്കുക. - The help text associated with the "more" button. - - - കൂടുതൽ - The string to display in the "more" button when it's collapsed. - - - കുറവ് - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/mr-IN/Resources.resw b/dev/ColorPicker/Strings/mr-IN/Resources.resw deleted file mode 100644 index 4414b77f13..0000000000 --- a/dev/ColorPicker/Strings/mr-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - अस्पष्टता - The label for the text box to edit the opacity. - - - अस्पष्टता - The automation name for the opacity slider. - - - अस्पष्टता - The automation name for the text box to edit the opacity. - - - छटा - The automation name for the third-dimension slider when it's controlling hue. - - - संपृक्तता - The automation name for the third-dimension slider when it's controlling saturation. - - - मूल्य (प्रखरता) - The automation name for the third-dimension slider when it's controlling value. - - - निळा - The label for the text box to edit the blue component of the current RGB color. - - - निळा - The automation name for the text box to edit the blue component of the current RGB color. - - - रंग मॉडेल - The automation name for the color model selection combo box. - - - रंग निवडक - The automation name for the ColorSpectrum control. - - - हिरवा - The label for the text box to edit the green component of the current RGB color. - - - हिरवा - The automation name for the text box to edit the green component of the current RGB color. - - - बाण कळांसह 2D नेव्हिगेशन - The help text associated with ColorSpectrum. - - - RGB हेक्स - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - छटा - The label for the text box to edit the hue component of the current HSV color. - - - छटा - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D स्लायडर - The string to provide as the localized control type of the ColorSpectrum. - - - लाल - The label for the text box to edit the red component of the current RGB color. - - - लाल - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - संपृक्तता - The label for the text box to edit the saturation component of the current HSV color. - - - संपृक्तता - The automation name for the text box to edit the saturation component of the current HSV color. - - - मूल्य - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, रंगाची छटा %2!u!, Sसंपृक्तता %3!u!, मूल्य %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - रंगाची छटा %1!u!, संपृक्तता %2!u!, प्रखरता %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - मूल्य (प्रखरता) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% अस्पष्टता - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - रंगाची छटा %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - रंगाची छटा %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - संपृक्तता %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - संपृक्तता %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - मूल्य %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - मूल्य %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - अधिक - The string to provide as the UIA value of the "more" button when it's collapsed. - - - कमी - The string to provide as the UIA value of the "more" button when it's expanded. - - - मजकूर प्रविष्टी फील्ड्स दर्शवण्यासाठी किंवा लपवण्यासाठी इनवोक करा. - The help text associated with the "more" button. - - - अधिक - The string to display in the "more" button when it's collapsed. - - - कमी - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ms-MY/Resources.resw b/dev/ColorPicker/Strings/ms-MY/Resources.resw deleted file mode 100644 index 45dab6f202..0000000000 --- a/dev/ColorPicker/Strings/ms-MY/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Kelegapan - The label for the text box to edit the opacity. - - - Kelegapan - The automation name for the opacity slider. - - - Kelegapan - The automation name for the text box to edit the opacity. - - - Rona - The automation name for the third-dimension slider when it's controlling hue. - - - Ketepuan - The automation name for the third-dimension slider when it's controlling saturation. - - - Nilai (Kecerahan) - The automation name for the third-dimension slider when it's controlling value. - - - Biru - The label for the text box to edit the blue component of the current RGB color. - - - Biru - The automation name for the text box to edit the blue component of the current RGB color. - - - Model warna - The automation name for the color model selection combo box. - - - Pemungut warna - The automation name for the ColorSpectrum control. - - - Hijau - The label for the text box to edit the green component of the current RGB color. - - - Hijau - The automation name for the text box to edit the green component of the current RGB color. - - - Navigasi 2D dengan kekunci anak panah - The help text associated with ColorSpectrum. - - - Heks RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Rona - The label for the text box to edit the hue component of the current HSV color. - - - Rona - The automation name for the text box to edit the hue component of the current HSV color. - - - Penggelongsor 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Merah - The label for the text box to edit the red component of the current RGB color. - - - Merah - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Ketepuan - The label for the text box to edit the saturation component of the current HSV color. - - - Ketepuan - The automation name for the text box to edit the saturation component of the current HSV color. - - - Nilai - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Rona %2!u!, Ketepuan %3!u!, Nilai %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Rona %1!u!, Ketepuan %2!u!, Nilai %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Nilai (Kecerahan) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% kelegapan - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Rona %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Rona %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Ketepuan %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Ketepuan %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Nilai %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Nilai %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Selanjutnya - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Kurang - The string to provide as the UIA value of the "more" button when it's expanded. - - - Cetuskan untuk menunjuk atau menyembunyikan medan pemasukan teks. - The help text associated with the "more" button. - - - Selanjutnya - The string to display in the "more" button when it's collapsed. - - - Kurang - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/mt-MT/Resources.resw b/dev/ColorPicker/Strings/mt-MT/Resources.resw deleted file mode 100644 index 1e48291be0..0000000000 --- a/dev/ColorPicker/Strings/mt-MT/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opaċità - The label for the text box to edit the opacity. - - - Opaċità - The automation name for the opacity slider. - - - Opaċità - The automation name for the text box to edit the opacity. - - - Tonalità - The automation name for the third-dimension slider when it's controlling hue. - - - Saturazzjoni - The automation name for the third-dimension slider when it's controlling saturation. - - - Valur (Qawwa tad-dawl) - The automation name for the third-dimension slider when it's controlling value. - - - Blu - The label for the text box to edit the blue component of the current RGB color. - - - Blu - The automation name for the text box to edit the blue component of the current RGB color. - - - Mudell tal-kulur - The automation name for the color model selection combo box. - - - Selettur tal-kuluri - The automation name for the ColorSpectrum control. - - - Aħdar - The label for the text box to edit the green component of the current RGB color. - - - Aħdar - The automation name for the text box to edit the green component of the current RGB color. - - - Navigazzjoni 2D b'tasti tal-vleġeġ - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Tonalità - The label for the text box to edit the hue component of the current HSV color. - - - Tonalità - The automation name for the text box to edit the hue component of the current HSV color. - - - Slajder 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Aħmar - The label for the text box to edit the red component of the current RGB color. - - - Aħmar - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturazzjoni - The label for the text box to edit the saturation component of the current HSV color. - - - Saturazzjoni - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valur - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Tonalità %2!u!, Saturazzjoni %3!u!, Valur %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Tonalità %1!u!, Saturazzjoni %2!u!, Valur %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valur (Qawwa tad-dawl) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opaċità - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Tonalità %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Tonalità %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturazzjoni %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturazzjoni %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valur %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valur %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Aktar - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Inqas - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoka biex turi jew taħbi l-oqsma fejn jiddaħħal it-test. - The help text associated with the "more" button. - - - Aktar - The string to display in the "more" button when it's collapsed. - - - Inqas - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/nb-NO/Resources.resw b/dev/ColorPicker/Strings/nb-NO/Resources.resw deleted file mode 100644 index df033e9590..0000000000 --- a/dev/ColorPicker/Strings/nb-NO/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ugjennomsiktighet - The label for the text box to edit the opacity. - - - Ugjennomsiktighet - The automation name for the opacity slider. - - - Ugjennomsiktighet - The automation name for the text box to edit the opacity. - - - Nyanse - The automation name for the third-dimension slider when it's controlling hue. - - - Metning - The automation name for the third-dimension slider when it's controlling saturation. - - - Verdi (lysstyrke) - The automation name for the third-dimension slider when it's controlling value. - - - Blå - The label for the text box to edit the blue component of the current RGB color. - - - Blå - The automation name for the text box to edit the blue component of the current RGB color. - - - Fargemodell - The automation name for the color model selection combo box. - - - Fargevelger - The automation name for the ColorSpectrum control. - - - Grønn - The label for the text box to edit the green component of the current RGB color. - - - Grønn - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-navigasjon med piltaster - The help text associated with ColorSpectrum. - - - RGB-heks - The automation name for the text box to edit the current RGB color as a hex value. - - - Nyanse-metning-verdi - The combo box item content for selecting HSV as the color model to use. - - - Nyanse - The label for the text box to edit the hue component of the current HSV color. - - - Nyanse - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-glidebryter - The string to provide as the localized control type of the ColorSpectrum. - - - Rød - The label for the text box to edit the red component of the current RGB color. - - - Rød - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Metning - The label for the text box to edit the saturation component of the current HSV color. - - - Metning - The automation name for the text box to edit the saturation component of the current HSV color. - - - Verdi - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, %2!u! nyanse, %3!u! metning, %4!u! lysstyrke - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u! nyanse, %2!u! metning, %3!u! lysstyrke - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Verdi (lysstyrke) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!% % ugjennomsiktighet - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nyanse %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nyanse %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Metning %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Metning %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Verdi %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Verdi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mer - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mindre - The string to provide as the UIA value of the "more" button when it's expanded. - - - Aktiver for å vise eller skjule tekstoppføringsfelt. - The help text associated with the "more" button. - - - Mer - The string to display in the "more" button when it's collapsed. - - - Mindre - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ne-NP/Resources.resw b/dev/ColorPicker/Strings/ne-NP/Resources.resw deleted file mode 100644 index 4b05814379..0000000000 --- a/dev/ColorPicker/Strings/ne-NP/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - अस्पष्टता - The label for the text box to edit the opacity. - - - अस्पष्टता - The automation name for the opacity slider. - - - अस्पष्टता - The automation name for the text box to edit the opacity. - - - ह्यु - The automation name for the third-dimension slider when it's controlling hue. - - - संतृप्ति - The automation name for the third-dimension slider when it's controlling saturation. - - - मान (चमक) - The automation name for the third-dimension slider when it's controlling value. - - - नीलो - The label for the text box to edit the blue component of the current RGB color. - - - नीलो - The automation name for the text box to edit the blue component of the current RGB color. - - - रङ मोडेल - The automation name for the color model selection combo box. - - - रङ चयनकर्ता - The automation name for the ColorSpectrum control. - - - हरियो - The label for the text box to edit the green component of the current RGB color. - - - हरियो - The automation name for the text box to edit the green component of the current RGB color. - - - बाण कुञ्जीहरू सहितको 2D नेभिगेसन - The help text associated with ColorSpectrum. - - - RGB हेक्स - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ह्यु - The label for the text box to edit the hue component of the current HSV color. - - - ह्यु - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D स्लाइडर - The string to provide as the localized control type of the ColorSpectrum. - - - रातो - The label for the text box to edit the red component of the current RGB color. - - - रातो - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - संतृप्ति - The label for the text box to edit the saturation component of the current HSV color. - - - संतृप्ति - The automation name for the text box to edit the saturation component of the current HSV color. - - - मान - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ह्यु %2!u!, संतृप्ति %3!u!, मान %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ह्यु %1!u!, संतृप्ति %2!u!, मान %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - मान (चमक) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% अस्पष्टता - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ह्यु %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ह्यु %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - संतृप्ति %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - संतृप्ति %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - मान %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - मान %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - थप - The string to provide as the UIA value of the "more" button when it's collapsed. - - - कम - The string to provide as the UIA value of the "more" button when it's expanded. - - - पाठ प्रविष्टि फाँटहरू देखाउन वा लुकाउनका लागि आह्वान गर्नुहोस्। - The help text associated with the "more" button. - - - थप - The string to display in the "more" button when it's collapsed. - - - कम - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/nl-NL/Resources.resw b/dev/ColorPicker/Strings/nl-NL/Resources.resw deleted file mode 100644 index fcbc8d2c09..0000000000 --- a/dev/ColorPicker/Strings/nl-NL/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Matheid - The label for the text box to edit the opacity. - - - Matheid - The automation name for the opacity slider. - - - Matheid - The automation name for the text box to edit the opacity. - - - Tint - The automation name for the third-dimension slider when it's controlling hue. - - - Intensiteit - The automation name for the third-dimension slider when it's controlling saturation. - - - Waarde (helderheid) - The automation name for the third-dimension slider when it's controlling value. - - - Blauw - The label for the text box to edit the blue component of the current RGB color. - - - Blauw - The automation name for the text box to edit the blue component of the current RGB color. - - - Kleurenmodel - The automation name for the color model selection combo box. - - - Kleurenkiezer - The automation name for the ColorSpectrum control. - - - Groen - The label for the text box to edit the green component of the current RGB color. - - - Groen - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-navigatie met pijltoetsen - The help text associated with ColorSpectrum. - - - RGB-hexadecimaal - The automation name for the text box to edit the current RGB color as a hex value. - - - KVW - The combo box item content for selecting HSV as the color model to use. - - - Tint - The label for the text box to edit the hue component of the current HSV color. - - - Tint - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-schuifregelaar - The string to provide as the localized control type of the ColorSpectrum. - - - Rood - The label for the text box to edit the red component of the current RGB color. - - - Rood - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Intensiteit - The label for the text box to edit the saturation component of the current HSV color. - - - Intensiteit - The automation name for the text box to edit the saturation component of the current HSV color. - - - Waarde - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, tint %2!u!, intensiteit %3!u!, waarde %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Tint %1!u!, intensiteit %2!u!, waarde %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Waarde (helderheid) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% matheid - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Tint %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Tint %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Intensiteit %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Intensiteit %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Waarde %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Waarde %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Meer - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Minder - The string to provide as the UIA value of the "more" button when it's expanded. - - - Roep aan om de tekstinvoervelden weer te geven of te verbergen. - The help text associated with the "more" button. - - - Meer - The string to display in the "more" button when it's collapsed. - - - Minder - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/nn-NO/Resources.resw b/dev/ColorPicker/Strings/nn-NO/Resources.resw deleted file mode 100644 index 94c035e06a..0000000000 --- a/dev/ColorPicker/Strings/nn-NO/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ugjennomskinlegheit - The label for the text box to edit the opacity. - - - Ugjennomskinlegheit - The automation name for the opacity slider. - - - Ugjennomskinlegheit - The automation name for the text box to edit the opacity. - - - Nyanse - The automation name for the third-dimension slider when it's controlling hue. - - - Metting - The automation name for the third-dimension slider when it's controlling saturation. - - - Verdi (lysstyrke) - The automation name for the third-dimension slider when it's controlling value. - - - Blå - The label for the text box to edit the blue component of the current RGB color. - - - Blå - The automation name for the text box to edit the blue component of the current RGB color. - - - Fargemodell - The automation name for the color model selection combo box. - - - Fargeveljar - The automation name for the ColorSpectrum control. - - - Grøn - The label for the text box to edit the green component of the current RGB color. - - - Grøn - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-navigasjon med piltastar - The help text associated with ColorSpectrum. - - - RGB-heks - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nyanse - The label for the text box to edit the hue component of the current HSV color. - - - Nyanse - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-glidebrytar - The string to provide as the localized control type of the ColorSpectrum. - - - Raud - The label for the text box to edit the red component of the current RGB color. - - - Raud - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Metting - The label for the text box to edit the saturation component of the current HSV color. - - - Metting - The automation name for the text box to edit the saturation component of the current HSV color. - - - Verdi - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, nyanse %2!u!, metting %3!u!, verdi %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nyanse %1!u!, metting %2!u!, verdi %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Verdi (lysstyrke) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ugjennomskinlegheit - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nyanse %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nyanse %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Metting %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Metting %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Verdi %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Verdi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Meir - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mindre - The string to provide as the UIA value of the "more" button when it's expanded. - - - Aktiver for å vise eller skjule felt for tekstoppføring. - The help text associated with the "more" button. - - - Meir - The string to display in the "more" button when it's collapsed. - - - Mindre - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/or-IN/Resources.resw b/dev/ColorPicker/Strings/or-IN/Resources.resw deleted file mode 100644 index ca4f05a966..0000000000 --- a/dev/ColorPicker/Strings/or-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ଓପାସିଟି - The label for the text box to edit the opacity. - - - ଓପାସିଟି - The automation name for the opacity slider. - - - ଓପାସିଟି - The automation name for the text box to edit the opacity. - - - ହୁଏ - The automation name for the third-dimension slider when it's controlling hue. - - - ସାଚୁରେସନ୍ - The automation name for the third-dimension slider when it's controlling saturation. - - - ମୂଲ୍ୟ (ଔଜଲ୍ୟତା) - The automation name for the third-dimension slider when it's controlling value. - - - ନୀଳ - The label for the text box to edit the blue component of the current RGB color. - - - ନୀଳ - The automation name for the text box to edit the blue component of the current RGB color. - - - ରଙ୍ଗ ମଡେଲ - The automation name for the color model selection combo box. - - - ରଙ୍ଗ ପିକର୍ - The automation name for the ColorSpectrum control. - - - ସବୁଜ - The label for the text box to edit the green component of the current RGB color. - - - ସବୁଜ - The automation name for the text box to edit the green component of the current RGB color. - - - 2D ନେଭିଗେସନ ସହିତ ଏରୋ କୀ - The help text associated with ColorSpectrum. - - - RGB ହେକ୍ସ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ହୁଏ - The label for the text box to edit the hue component of the current HSV color. - - - ହୁଏ - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D ସ୍ଲାଇଡର୍ - The string to provide as the localized control type of the ColorSpectrum. - - - ଲାଲ୍ - The label for the text box to edit the red component of the current RGB color. - - - ଲାଲ୍ - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - ସାଚୁରେସନ୍ - The label for the text box to edit the saturation component of the current HSV color. - - - ସାଚୁରେସନ୍ - The automation name for the text box to edit the saturation component of the current HSV color. - - - ମୂଲ୍ୟ - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ହୁଏ %2!u!, ସାଚୁରେସନ୍ %3!u!, ମୂଲ୍ୟ %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ରଙ୍ଗ %1!u!, ସାଚୁରେସନ୍ %2!u!, ଔଜଲ୍ୟତା %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - ମୂଲ୍ୟ (ଔଜଲ୍ୟତା) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ଓପାସିଟି - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ରଙ୍ଗ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ହୁଏ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - ସଂତୃପ୍ତିକରଣ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - ସାଚୁରେସନ୍‍ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - ମୂଲ୍ୟ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - ମୂଲ୍ୟ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - ଅଧିକ - The string to provide as the UIA value of the "more" button when it's collapsed. - - - କମ୍ - The string to provide as the UIA value of the "more" button when it's expanded. - - - ପାଠ୍ୟ ପ୍ରବେଶ ଫିଲ୍ଡଗୁଡିକ ପ୍ରଦର୍ଶିତ କିମ୍ୱା ଲୁକ୍କାୟିତ କରିବା ପାଇଁ ଇନ୍‌ଭୋକ କରନ୍ତୁ. - The help text associated with the "more" button. - - - ଅଧିକ - The string to display in the "more" button when it's collapsed. - - - କମ୍ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/pa-IN/Resources.resw b/dev/ColorPicker/Strings/pa-IN/Resources.resw deleted file mode 100644 index b51a6227db..0000000000 --- a/dev/ColorPicker/Strings/pa-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ਪਾਰਦਰਸ਼ਕਤਾ - The label for the text box to edit the opacity. - - - ਪਾਰਦਰਸ਼ਕਤਾ - The automation name for the opacity slider. - - - ਪਾਰਦਰਸ਼ਕਤਾ - The automation name for the text box to edit the opacity. - - - ਹਿਉ - The automation name for the third-dimension slider when it's controlling hue. - - - ਸੰਤ੍ਰਿਪਤੀ - The automation name for the third-dimension slider when it's controlling saturation. - - - ਮਾਨ (ਚਮਕ) - The automation name for the third-dimension slider when it's controlling value. - - - ਨੀਲਾ - The label for the text box to edit the blue component of the current RGB color. - - - ਨੀਲਾ - The automation name for the text box to edit the blue component of the current RGB color. - - - ਰੰਗ ਮੋਡਲ - The automation name for the color model selection combo box. - - - ਰੰਗ ਚੋਣਕਾਰ - The automation name for the ColorSpectrum control. - - - ਹਰਾ - The label for the text box to edit the green component of the current RGB color. - - - ਹਰਾ - The automation name for the text box to edit the green component of the current RGB color. - - - ਤੀਰ ਕੁੰਜੀਆਂ ਦੇ ਨਾਲ 2D ਨੈਵੀਗੇਸ਼ਨ - The help text associated with ColorSpectrum. - - - RGB ਹੈਕਸ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - ਹਿਉ - The label for the text box to edit the hue component of the current HSV color. - - - ਹਿਉ - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D ਸਲਾਇਡਰ - The string to provide as the localized control type of the ColorSpectrum. - - - ਲਾਲ - The label for the text box to edit the red component of the current RGB color. - - - ਲਾਲ - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - ਸੰਤ੍ਰਿਪਤੀ - The label for the text box to edit the saturation component of the current HSV color. - - - ਸੰਤ੍ਰਿਪਤੀ - The automation name for the text box to edit the saturation component of the current HSV color. - - - ਮਾਨ - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, ਹਿਉ %2!u!, ਸੰਤ੍ਰਿਪਤੀ %3!u!, ਮਾਨ %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - ਹਿਉ %1!u!, ਸੰਤ੍ਰਿਪਤੀ %2!u!, ਮਾਨ %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - ਮਾਨ (ਚਮਕ) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ਪਾਰਦਰਸ਼ਤਾ - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - ਹਿਉ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - ਹਿਉ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - ਸੰਤ੍ਰਿਪਤੀ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - ਸੰਤ੍ਰਿਪਤੀ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - ਮਾਨ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - ਮਾਨ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - ਹੋਰ - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ਘੱਟ - The string to provide as the UIA value of the "more" button when it's expanded. - - - ਟੈਕਸਟ ਦਾਖਲਾ ਖੇਤਰਾਂ ਨੂੰ ਦਿਖਾਉਣ ਜਾਂ ਲੁਕਾਉਣ ਲਈ ਪ੍ਰੇਰਿਤ ਕਰੋ। - The help text associated with the "more" button. - - - ਹੋਰ - The string to display in the "more" button when it's collapsed. - - - ਘੱਟ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/pl-PL/Resources.resw b/dev/ColorPicker/Strings/pl-PL/Resources.resw deleted file mode 100644 index cf0327d2e2..0000000000 --- a/dev/ColorPicker/Strings/pl-PL/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Nieprzezroczystość - The label for the text box to edit the opacity. - - - Nieprzezroczystość - The automation name for the opacity slider. - - - Nieprzezroczystość - The automation name for the text box to edit the opacity. - - - Odcień - The automation name for the third-dimension slider when it's controlling hue. - - - Nasycenie - The automation name for the third-dimension slider when it's controlling saturation. - - - Wartość (jasność) - The automation name for the third-dimension slider when it's controlling value. - - - Niebieski - The label for the text box to edit the blue component of the current RGB color. - - - Niebieski - The automation name for the text box to edit the blue component of the current RGB color. - - - Model kolorów - The automation name for the color model selection combo box. - - - Selektor kolorów - The automation name for the ColorSpectrum control. - - - Zielony - The label for the text box to edit the green component of the current RGB color. - - - Zielony - The automation name for the text box to edit the green component of the current RGB color. - - - Nawigacja 2D klawiszami strzałek - The help text associated with ColorSpectrum. - - - RGB szesnastkowy - The automation name for the text box to edit the current RGB color as a hex value. - - - Model barw HSV - The combo box item content for selecting HSV as the color model to use. - - - Odcień - The label for the text box to edit the hue component of the current HSV color. - - - Odcień - The automation name for the text box to edit the hue component of the current HSV color. - - - Suwak 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Czerwony - The label for the text box to edit the red component of the current RGB color. - - - Czerwony - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Nasycenie - The label for the text box to edit the saturation component of the current HSV color. - - - Nasycenie - The automation name for the text box to edit the saturation component of the current HSV color. - - - Wartość - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Odcień %2!u!, Nasycenie %3!u!, Wartość %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Odcień %1!u!, Nasycenie %2!u!, Wartość %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Wartość (jasność) - The automation name for the text box to edit the value component of the current HSV color. - - - Nieprzezroczystość %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Odcień %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Odcień %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Nasycenie %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Nasycenie %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Wartość %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Wartość %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Więcej - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mniej - The string to provide as the UIA value of the "more" button when it's expanded. - - - Pokazuje lub ukrywa pola wprowadzania tekstu. - The help text associated with the "more" button. - - - Więcej - The string to display in the "more" button when it's collapsed. - - - Mniej - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/pt-BR/Resources.resw b/dev/ColorPicker/Strings/pt-BR/Resources.resw deleted file mode 100644 index f553e88ce9..0000000000 --- a/dev/ColorPicker/Strings/pt-BR/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacidade - The label for the text box to edit the opacity. - - - Opacidade - The automation name for the opacity slider. - - - Opacidade - The automation name for the text box to edit the opacity. - - - Matiz - The automation name for the third-dimension slider when it's controlling hue. - - - Saturação - The automation name for the third-dimension slider when it's controlling saturation. - - - Valor (Brilho) - The automation name for the third-dimension slider when it's controlling value. - - - Azul - The label for the text box to edit the blue component of the current RGB color. - - - Azul - The automation name for the text box to edit the blue component of the current RGB color. - - - Modelo de cor - The automation name for the color model selection combo box. - - - Seletor de cores - The automation name for the ColorSpectrum control. - - - Verde - The label for the text box to edit the green component of the current RGB color. - - - Verde - The automation name for the text box to edit the green component of the current RGB color. - - - Navegação 2D com as teclas de seta - The help text associated with ColorSpectrum. - - - RGB hexa - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Matiz - The label for the text box to edit the hue component of the current HSV color. - - - Matiz - The automation name for the text box to edit the hue component of the current HSV color. - - - Controle deslizante 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Vermelho - The label for the text box to edit the red component of the current RGB color. - - - Vermelho - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturação - The label for the text box to edit the saturation component of the current HSV color. - - - Saturação - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valor - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Matiz %2!u!, Saturação %3!u!, Brilho %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Matiz %1!u!, Saturação %2!u!, Brilho %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valor (Brilho) - The automation name for the text box to edit the value component of the current HSV color. - - - Opacidade %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Matiz %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Matiz %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturação %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturação %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valor %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valor %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mais - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menos - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invoque para mostrar ou ocultar os campos de entrada de texto. - The help text associated with the "more" button. - - - Mais - The string to display in the "more" button when it's collapsed. - - - Menos - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/pt-PT/Resources.resw b/dev/ColorPicker/Strings/pt-PT/Resources.resw deleted file mode 100644 index 0448c687cb..0000000000 --- a/dev/ColorPicker/Strings/pt-PT/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacidade - The label for the text box to edit the opacity. - - - Opacidade - The automation name for the opacity slider. - - - Opacidade - The automation name for the text box to edit the opacity. - - - Matiz - The automation name for the third-dimension slider when it's controlling hue. - - - Saturação - The automation name for the third-dimension slider when it's controlling saturation. - - - Valor (Luminosidade) - The automation name for the third-dimension slider when it's controlling value. - - - Azul - The label for the text box to edit the blue component of the current RGB color. - - - Azul - The automation name for the text box to edit the blue component of the current RGB color. - - - Modelo de cores - The automation name for the color model selection combo box. - - - Seletor de cores - The automation name for the ColorSpectrum control. - - - Verde - The label for the text box to edit the green component of the current RGB color. - - - Verde - The automation name for the text box to edit the green component of the current RGB color. - - - Navegação 2D com teclas de seta - The help text associated with ColorSpectrum. - - - RGB Hexa - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Matiz - The label for the text box to edit the hue component of the current HSV color. - - - Matiz - The automation name for the text box to edit the hue component of the current HSV color. - - - Controlo de deslize 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Vermelho - The label for the text box to edit the red component of the current RGB color. - - - Vermelho - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturação - The label for the text box to edit the saturation component of the current HSV color. - - - Saturação - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valor - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Matiz %2!u!, Saturação %3!u!, Valor %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Matiz %1!u!, Saturação %2!u!, Valor %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valor (Luminosidade) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% de opacidade - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - %1!u! de Matiz (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - %1!u! de Matiz - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u! de Saturação (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - %1!u! de Saturação - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valor de %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valor de %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mais - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menos - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invocar para mostrar ou ocultar os campos de entrada de texto. - The help text associated with the "more" button. - - - Mais - The string to display in the "more" button when it's collapsed. - - - Menos - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/quz-PE/Resources.resw b/dev/ColorPicker/Strings/quz-PE/Resources.resw deleted file mode 100644 index 23f301a291..0000000000 --- a/dev/ColorPicker/Strings/quz-PE/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Llankhulla - The label for the text box to edit the opacity. - - - Llankhulla - The automation name for the opacity slider. - - - Llankhulla - The automation name for the text box to edit the opacity. - - - Rikchakuq - The automation name for the third-dimension slider when it's controlling hue. - - - Huntasqa - The automation name for the third-dimension slider when it's controlling saturation. - - - Chanin (Kanchaynin) - The automation name for the third-dimension slider when it's controlling value. - - - Anqas - The label for the text box to edit the blue component of the current RGB color. - - - Anqas - The automation name for the text box to edit the blue component of the current RGB color. - - - Llinpi modelu - The automation name for the color model selection combo box. - - - Llinpikuna akllaq - The automation name for the ColorSpectrum control. - - - Qumir - The label for the text box to edit the green component of the current RGB color. - - - Qumir - The automation name for the text box to edit the green component of the current RGB color. - - - 2D maskaynin wachi kichanakunawan - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Rikchakuq - The label for the text box to edit the hue component of the current HSV color. - - - Rikchakuq - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D kuyuq ruwana - The string to provide as the localized control type of the ColorSpectrum. - - - Puka - The label for the text box to edit the red component of the current RGB color. - - - Puka - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Huntasqa - The label for the text box to edit the saturation component of the current HSV color. - - - Huntasqa - The automation name for the text box to edit the saturation component of the current HSV color. - - - Chanin - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Llimpi %2!u!, Huntaynin %3!u!, Chanin %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u! Llimpi, %2!u! Huntaynin, %3!u! Chanin - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Chanin (Kanchaynin) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% llankhulla - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Rikchakuq %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Llimpi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Huntasqa %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Huntasqa %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Chanin %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Chanin %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Aswan - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Pisi - The string to provide as the UIA value of the "more" button when it's expanded. - - - Qillqa kampukunap yaykunan qawayta utaq pakayta waqyay. - The help text associated with the "more" button. - - - Aswan - The string to display in the "more" button when it's collapsed. - - - Pisi - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ro-RO/Resources.resw b/dev/ColorPicker/Strings/ro-RO/Resources.resw deleted file mode 100644 index 0479ca5d41..0000000000 --- a/dev/ColorPicker/Strings/ro-RO/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opacitate - The label for the text box to edit the opacity. - - - Opacitate - The automation name for the opacity slider. - - - Opacitate - The automation name for the text box to edit the opacity. - - - Nuanță - The automation name for the third-dimension slider when it's controlling hue. - - - Saturație - The automation name for the third-dimension slider when it's controlling saturation. - - - Valoare (luminozitate) - The automation name for the third-dimension slider when it's controlling value. - - - Albastru - The label for the text box to edit the blue component of the current RGB color. - - - Albastru - The automation name for the text box to edit the blue component of the current RGB color. - - - Model de culoare - The automation name for the color model selection combo box. - - - Selector de culori - The automation name for the ColorSpectrum control. - - - Verde - The label for the text box to edit the green component of the current RGB color. - - - Verde - The automation name for the text box to edit the green component of the current RGB color. - - - Navigare 2D cu tastele săgeți - The help text associated with ColorSpectrum. - - - RGB hexadecimal - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nuanță - The label for the text box to edit the hue component of the current HSV color. - - - Nuanță - The automation name for the text box to edit the hue component of the current HSV color. - - - Glisor 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Roșu - The label for the text box to edit the red component of the current RGB color. - - - Roșu - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Saturație - The label for the text box to edit the saturation component of the current HSV color. - - - Saturație - The automation name for the text box to edit the saturation component of the current HSV color. - - - Valoare - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Nuanță %2!u!, Saturație %3!u!, Valoare %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nuanță %1!u!, Saturație %2!u!, Valoare %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Valoare (luminozitate) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opacitate - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nuanță %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nuanță %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Saturație %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Saturație %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Valoare %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Valoare %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mai mult - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mai puțin - The string to provide as the UIA value of the "more" button when it's expanded. - - - Invocați pentru a afișa sau a ascunde câmpurile cu intrări text. - The help text associated with the "more" button. - - - Mai mult - The string to display in the "more" button when it's collapsed. - - - Mai puțin - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ru-RU/Resources.resw b/dev/ColorPicker/Strings/ru-RU/Resources.resw deleted file mode 100644 index 374f433ecb..0000000000 --- a/dev/ColorPicker/Strings/ru-RU/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Прозрачность - The label for the text box to edit the opacity. - - - Прозрачность - The automation name for the opacity slider. - - - Прозрачность - The automation name for the text box to edit the opacity. - - - Оттенок - The automation name for the third-dimension slider when it's controlling hue. - - - Насыщенность - The automation name for the third-dimension slider when it's controlling saturation. - - - Значение (яркость) - The automation name for the third-dimension slider when it's controlling value. - - - Синий - The label for the text box to edit the blue component of the current RGB color. - - - Синий - The automation name for the text box to edit the blue component of the current RGB color. - - - Цветовая модель - The automation name for the color model selection combo box. - - - Палитра - The automation name for the ColorSpectrum control. - - - Зеленый - The label for the text box to edit the green component of the current RGB color. - - - Зеленый - The automation name for the text box to edit the green component of the current RGB color. - - - Двухмерная навигация с помощью клавиш со стрелками - The help text associated with ColorSpectrum. - - - Шестнадцатеричный формат RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Оттенок - The label for the text box to edit the hue component of the current HSV color. - - - Оттенок - The automation name for the text box to edit the hue component of the current HSV color. - - - Двухмерный ползунок - The string to provide as the localized control type of the ColorSpectrum. - - - Красный - The label for the text box to edit the red component of the current RGB color. - - - Красный - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Насыщенность - The label for the text box to edit the saturation component of the current HSV color. - - - Насыщенность - The automation name for the text box to edit the saturation component of the current HSV color. - - - Значение - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, оттенок %2!u!, насыщенность %3!u!, значение %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Оттенок, %1!u!, насыщенность %2!u!, значение %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Значение (яркость) - The automation name for the text box to edit the value component of the current HSV color. - - - Прозрачность %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Оттенок %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Оттенок %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Насыщенность %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Насыщенность %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Значение %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Значение %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Больше - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Меньше - The string to provide as the UIA value of the "more" button when it's expanded. - - - Нажмите кнопку, чтобы отобразить или скрыть текстовые поля. - The help text associated with the "more" button. - - - Больше - The string to display in the "more" button when it's collapsed. - - - Меньше - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/sk-SK/Resources.resw b/dev/ColorPicker/Strings/sk-SK/Resources.resw deleted file mode 100644 index 931dd5c540..0000000000 --- a/dev/ColorPicker/Strings/sk-SK/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Nepriehľadnosť - The label for the text box to edit the opacity. - - - Nepriehľadnosť - The automation name for the opacity slider. - - - Nepriehľadnosť - The automation name for the text box to edit the opacity. - - - Odtieň - The automation name for the third-dimension slider when it's controlling hue. - - - Sýtosť - The automation name for the third-dimension slider when it's controlling saturation. - - - Hodnota (jas) - The automation name for the third-dimension slider when it's controlling value. - - - Modrá - The label for the text box to edit the blue component of the current RGB color. - - - Modrá - The automation name for the text box to edit the blue component of the current RGB color. - - - Model farieb - The automation name for the color model selection combo box. - - - Výber farby - The automation name for the ColorSpectrum control. - - - Zelená - The label for the text box to edit the green component of the current RGB color. - - - Zelená - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigácia pomocou klávesov so šípkami - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Odtieň - The label for the text box to edit the hue component of the current HSV color. - - - Odtieň - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D jazdec - The string to provide as the localized control type of the ColorSpectrum. - - - Červená - The label for the text box to edit the red component of the current RGB color. - - - Červená - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Sýtosť - The label for the text box to edit the saturation component of the current HSV color. - - - Sýtosť - The automation name for the text box to edit the saturation component of the current HSV color. - - - Hodnota - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, odtieň: %2!u!, sýtosť: %3!u!, hodnota: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Odtieň: %1!u!, sýtosť: %2!u!, hodnota: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Hodnota (jas) - The automation name for the text box to edit the value component of the current HSV color. - - - Nepriehľadnosť: %1!u! %% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Odtieň: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Odtieň: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Sýtosť: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Sýtosť: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Hodnota %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Hodnota %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Viac - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Menej - The string to provide as the UIA value of the "more" button when it's expanded. - - - Túto možnosť použite, ak chcete zobraziť alebo skryť polia textovej položky. - The help text associated with the "more" button. - - - Viac - The string to display in the "more" button when it's collapsed. - - - Menej - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/sl-SI/Resources.resw b/dev/ColorPicker/Strings/sl-SI/Resources.resw deleted file mode 100644 index 1c8a950275..0000000000 --- a/dev/ColorPicker/Strings/sl-SI/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Neprosojnost - The label for the text box to edit the opacity. - - - Neprosojnost - The automation name for the opacity slider. - - - Neprosojnost - The automation name for the text box to edit the opacity. - - - Odtenek - The automation name for the third-dimension slider when it's controlling hue. - - - Nasičenje - The automation name for the third-dimension slider when it's controlling saturation. - - - Vrednost (svetlost) - The automation name for the third-dimension slider when it's controlling value. - - - Modra - The label for the text box to edit the blue component of the current RGB color. - - - Modra - The automation name for the text box to edit the blue component of the current RGB color. - - - Barvni model - The automation name for the color model selection combo box. - - - Izbirnik barve - The automation name for the ColorSpectrum control. - - - Zelena - The label for the text box to edit the green component of the current RGB color. - - - Zelena - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-krmarjenje s puščičnimi tipkami - The help text associated with ColorSpectrum. - - - Šestnajstiška RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Odtenek - The label for the text box to edit the hue component of the current HSV color. - - - Odtenek - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-drsnik - The string to provide as the localized control type of the ColorSpectrum. - - - Rdeča - The label for the text box to edit the red component of the current RGB color. - - - Rdeča - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Nasičenje - The label for the text box to edit the saturation component of the current HSV color. - - - Nasičenje - The automation name for the text box to edit the saturation component of the current HSV color. - - - Vrednost - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, odtenek %2!u!, nasičenje %3!u!, vrednost %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Odtenek %1!u!, nasičenje %2!u!, vrednost %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Vrednost (svetlost) - The automation name for the text box to edit the value component of the current HSV color. - - - Neprosojnost: %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Odtenek: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Odtenek: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Nasičenje: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Nasičenje: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Vrednost: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Vrednost: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Več - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Manj - The string to provide as the UIA value of the "more" button when it's expanded. - - - Prikličite, da prikažete ali skrijete polja za vnos besedila. - The help text associated with the "more" button. - - - Več - The string to display in the "more" button when it's collapsed. - - - Manj - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/sq-AL/Resources.resw b/dev/ColorPicker/Strings/sq-AL/Resources.resw deleted file mode 100644 index fefedde6e9..0000000000 --- a/dev/ColorPicker/Strings/sq-AL/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Patejdukshmëria - The label for the text box to edit the opacity. - - - Patejdukshmëria - The automation name for the opacity slider. - - - Patejdukshmëria - The automation name for the text box to edit the opacity. - - - Nuanca - The automation name for the third-dimension slider when it's controlling hue. - - - Ngopja - The automation name for the third-dimension slider when it's controlling saturation. - - - Vlera (Ndriçimi) - The automation name for the third-dimension slider when it's controlling value. - - - E kaltër - The label for the text box to edit the blue component of the current RGB color. - - - E kaltër - The automation name for the text box to edit the blue component of the current RGB color. - - - Modeli i ngjyrës - The automation name for the color model selection combo box. - - - Zgjedhësi i ngjyrës - The automation name for the ColorSpectrum control. - - - E gjelbër - The label for the text box to edit the green component of the current RGB color. - - - E gjelbër - The automation name for the text box to edit the green component of the current RGB color. - - - Navigimi në 2D me tastet e shigjetave - The help text associated with ColorSpectrum. - - - RGB hekzadecimale - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nuanca - The label for the text box to edit the hue component of the current HSV color. - - - Nuanca - The automation name for the text box to edit the hue component of the current HSV color. - - - Rrëshqitësi 2D - The string to provide as the localized control type of the ColorSpectrum. - - - E kuqe - The label for the text box to edit the red component of the current RGB color. - - - E kuqe - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Ngopja - The label for the text box to edit the saturation component of the current HSV color. - - - Ngopja - The automation name for the text box to edit the saturation component of the current HSV color. - - - Vlera - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, nuanca %2!u!, ngopja %3!u!, vlera %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nuanca %1!u!, ngopja %2!u!, vlera %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Vlera (Ndriçimi) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% patejdukshmëri - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nuanca %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nuanca %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Ngopja %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Ngopja %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Vlera %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Vlera %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Më shumë - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Më pak - The string to provide as the UIA value of the "more" button when it's expanded. - - - Thirre për të shfaqur ose fshehur fushat e futjes së tekstit. - The help text associated with the "more" button. - - - Më shumë - The string to display in the "more" button when it's collapsed. - - - Më pak - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/sr-Cyrl-BA/Resources.resw b/dev/ColorPicker/Strings/sr-Cyrl-BA/Resources.resw deleted file mode 100644 index 83d73ed846..0000000000 --- a/dev/ColorPicker/Strings/sr-Cyrl-BA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Непрозирност - The label for the text box to edit the opacity. - - - Непрозирност - The automation name for the opacity slider. - - - Непрозирност - The automation name for the text box to edit the opacity. - - - Нијанса - The automation name for the third-dimension slider when it's controlling hue. - - - Засићење - The automation name for the third-dimension slider when it's controlling saturation. - - - Вриједност (освјетљење) - The automation name for the third-dimension slider when it's controlling value. - - - Плава - The label for the text box to edit the blue component of the current RGB color. - - - Плава - The automation name for the text box to edit the blue component of the current RGB color. - - - Модел боје - The automation name for the color model selection combo box. - - - Бирач боја - The automation name for the ColorSpectrum control. - - - Зелена - The label for the text box to edit the green component of the current RGB color. - - - Зелена - The automation name for the text box to edit the green component of the current RGB color. - - - 2D навигација помоћу тастера са стрелицама - The help text associated with ColorSpectrum. - - - RGB хексадецимална вриједност - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Нијанса - The label for the text box to edit the hue component of the current HSV color. - - - Нијанса - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D клизач - The string to provide as the localized control type of the ColorSpectrum. - - - Црвена - The label for the text box to edit the red component of the current RGB color. - - - Црвена - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Засићење - The label for the text box to edit the saturation component of the current HSV color. - - - Засићење - The automation name for the text box to edit the saturation component of the current HSV color. - - - Вриједност - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, нијанса %2!u!, засићење %3!u!, вриједност %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Нијанса %1!u!, засићење %2!u!, вриједност %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Вриједност (освјетљење) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% непрозирност - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Нијанса: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Нијанса: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Засићење: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Засићење: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Вриједност: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Вриједност: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Још - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Мање - The string to provide as the UIA value of the "more" button when it's expanded. - - - Позивањем прикажите или сакријте поља за унос текста. - The help text associated with the "more" button. - - - Још - The string to display in the "more" button when it's collapsed. - - - Мање - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/sr-Cyrl-RS/Resources.resw b/dev/ColorPicker/Strings/sr-Cyrl-RS/Resources.resw deleted file mode 100644 index d9844e40db..0000000000 --- a/dev/ColorPicker/Strings/sr-Cyrl-RS/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Непрозирност - The label for the text box to edit the opacity. - - - Непрозирност - The automation name for the opacity slider. - - - Непрозирност - The automation name for the text box to edit the opacity. - - - Нијанса - The automation name for the third-dimension slider when it's controlling hue. - - - Засићење - The automation name for the third-dimension slider when it's controlling saturation. - - - Вредност (осветљеност) - The automation name for the third-dimension slider when it's controlling value. - - - Плава - The label for the text box to edit the blue component of the current RGB color. - - - Плава - The automation name for the text box to edit the blue component of the current RGB color. - - - Модел боје - The automation name for the color model selection combo box. - - - Бирач боја - The automation name for the ColorSpectrum control. - - - Зелена - The label for the text box to edit the green component of the current RGB color. - - - Зелена - The automation name for the text box to edit the green component of the current RGB color. - - - 2D навигација помоћу тастера са стрелицама - The help text associated with ColorSpectrum. - - - RGB хексадецимална вредност - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Нијанса - The label for the text box to edit the hue component of the current HSV color. - - - Нијанса - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D клизач - The string to provide as the localized control type of the ColorSpectrum. - - - црвена - The label for the text box to edit the red component of the current RGB color. - - - црвена - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Засићење - The label for the text box to edit the saturation component of the current HSV color. - - - Засићење - The automation name for the text box to edit the saturation component of the current HSV color. - - - Вредност - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, нијанса: %2!u!, засићење: %3!u!, вредност: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Нијанса: %1!u!, засићење: %2!u!, вредност: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Вредност (осветљеност) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% непрозирности - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Нијанса: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Нијанса: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Засићење: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Засићење: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Вредност: %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Вредност: %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Још - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Мање - The string to provide as the UIA value of the "more" button when it's expanded. - - - Позивањем прикажите или сакријте поља за унос текста. - The help text associated with the "more" button. - - - Још - The string to display in the "more" button when it's collapsed. - - - Мање - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/sr-Latn-RS/Resources.resw b/dev/ColorPicker/Strings/sr-Latn-RS/Resources.resw deleted file mode 100644 index 73590ede8e..0000000000 --- a/dev/ColorPicker/Strings/sr-Latn-RS/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Neprozirnost - The label for the text box to edit the opacity. - - - Neprozirnost - The automation name for the opacity slider. - - - Neprozirnost - The automation name for the text box to edit the opacity. - - - Nijansa - The automation name for the third-dimension slider when it's controlling hue. - - - Zasićenje - The automation name for the third-dimension slider when it's controlling saturation. - - - Vrednost (osvetljenost) - The automation name for the third-dimension slider when it's controlling value. - - - Plava - The label for the text box to edit the blue component of the current RGB color. - - - Plava - The automation name for the text box to edit the blue component of the current RGB color. - - - Model boje - The automation name for the color model selection combo box. - - - Birač boja - The automation name for the ColorSpectrum control. - - - Zelena - The label for the text box to edit the green component of the current RGB color. - - - Zelena - The automation name for the text box to edit the green component of the current RGB color. - - - 2D navigacija pomoću tastera sa strelicama - The help text associated with ColorSpectrum. - - - RGB heksadecimalni - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nijansa - The label for the text box to edit the hue component of the current HSV color. - - - Nijansa - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D klizač - The string to provide as the localized control type of the ColorSpectrum. - - - Crvena - The label for the text box to edit the red component of the current RGB color. - - - Crvena - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Zasićenje - The label for the text box to edit the saturation component of the current HSV color. - - - Zasićenje - The automation name for the text box to edit the saturation component of the current HSV color. - - - Vrednost - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, nijansa: %2!u!, zasićenje: %3!u!, vrednost: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nijansa %1!u!, zasićenje %2!u!, vrednost %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nijansa %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - Nijansa %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Zasićenje %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - Zasićenje %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Svetlina od %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - Svetlina od %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Vrednost (osvetljenost) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% neprozirnosti - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nijansa %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nijansa %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Zasićenje %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Zasićenje %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Vrednost %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Vrednost %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Još - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Manje - The string to provide as the UIA value of the "more" button when it's expanded. - - - Izaberite da biste prikazali ili sakrili polja za unos teksta. - The help text associated with the "more" button. - - - Još - The string to display in the "more" button when it's collapsed. - - - Manje - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/sv-SE/Resources.resw b/dev/ColorPicker/Strings/sv-SE/Resources.resw deleted file mode 100644 index e52a6b6a3b..0000000000 --- a/dev/ColorPicker/Strings/sv-SE/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ogenomskinlighet - The label for the text box to edit the opacity. - - - Ogenomskinlighet - The automation name for the opacity slider. - - - Ogenomskinlighet - The automation name for the text box to edit the opacity. - - - Nyans - The automation name for the third-dimension slider when it's controlling hue. - - - Mättnad - The automation name for the third-dimension slider when it's controlling saturation. - - - Värde (Ljusstyrka) - The automation name for the third-dimension slider when it's controlling value. - - - Blå - The label for the text box to edit the blue component of the current RGB color. - - - Blå - The automation name for the text box to edit the blue component of the current RGB color. - - - Färgmodell - The automation name for the color model selection combo box. - - - Färgväljare - The automation name for the ColorSpectrum control. - - - Grön - The label for the text box to edit the green component of the current RGB color. - - - Grön - The automation name for the text box to edit the green component of the current RGB color. - - - 2D-navigering med piltangenter - The help text associated with ColorSpectrum. - - - RGB-hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Nyans - The label for the text box to edit the hue component of the current HSV color. - - - Nyans - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D-reglage - The string to provide as the localized control type of the ColorSpectrum. - - - Röd - The label for the text box to edit the red component of the current RGB color. - - - Röd - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Mättnad - The label for the text box to edit the saturation component of the current HSV color. - - - Mättnad - The automation name for the text box to edit the saturation component of the current HSV color. - - - Värde - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Nyans %2!u!, Mättnad %3!u!, Värde %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Nyans %1!u!, Mättnad %2!u!, Värde %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Värde (Ljusstyrka) - The automation name for the text box to edit the value component of the current HSV color. - - - Ogenomskinlighet %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Nyans %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Nyans %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Mättnad %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Mättnad %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Värde %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Värde %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Mer - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Mindre - The string to provide as the UIA value of the "more" button when it's expanded. - - - Aktivera för att visa eller dölja textfält. - The help text associated with the "more" button. - - - Mer - The string to display in the "more" button when it's collapsed. - - - Mindre - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ta-IN/Resources.resw b/dev/ColorPicker/Strings/ta-IN/Resources.resw deleted file mode 100644 index ff9b6fbad5..0000000000 --- a/dev/ColorPicker/Strings/ta-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ஒளிர்வைச் - The label for the text box to edit the opacity. - - - ஒளிர்வைச் - The automation name for the opacity slider. - - - ஒளிர்வைச் - The automation name for the text box to edit the opacity. - - - சாயல் - The automation name for the third-dimension slider when it's controlling hue. - - - நிறைவுநிலை - The automation name for the third-dimension slider when it's controlling saturation. - - - மதிப்பு (ஒளிர்வு) - The automation name for the third-dimension slider when it's controlling value. - - - நீலம் - The label for the text box to edit the blue component of the current RGB color. - - - நீலம் - The automation name for the text box to edit the blue component of the current RGB color. - - - வண்ண மாதிரி - The automation name for the color model selection combo box. - - - வண்ணத் தேர்வு - The automation name for the ColorSpectrum control. - - - பச்சை - The label for the text box to edit the green component of the current RGB color. - - - பச்சை - The automation name for the text box to edit the green component of the current RGB color. - - - அம்புவிசைகளுடன் 2D வழிகாட்டல் - The help text associated with ColorSpectrum. - - - RGB ஹெக்ஸ் - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - சாயல் - The label for the text box to edit the hue component of the current HSV color. - - - சாயல் - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D நகர்வுகோல் - The string to provide as the localized control type of the ColorSpectrum. - - - சிவப்பு - The label for the text box to edit the red component of the current RGB color. - - - சிவப்பு - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - நிறைவுநிலை - The label for the text box to edit the saturation component of the current HSV color. - - - நிறைவுநிலை - The automation name for the text box to edit the saturation component of the current HSV color. - - - மதிப்பு - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, வர்ணம் %2!u!, செறிவுநிலை %3!u!, மதிப்பு %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - வர்ணம் %1!u!, செறிவுநிலை %2!u!, மதிப்பு %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - மதிப்பு (ஒளிர்வு) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% ஒளிர்வைச் - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - சாயல் %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - சாயல் %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - நிறைவுநிலை %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - நிறைவுநிலை %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - மதிப்பு %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - மதிப்பு %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - அதிகம் - The string to provide as the UIA value of the "more" button when it's collapsed. - - - குறைவு - The string to provide as the UIA value of the "more" button when it's expanded. - - - உரை உள்ளிடும் தளங்களைக் காட்ட அல்லது மறைக்க எழுப்பவும். - The help text associated with the "more" button. - - - அதிகம் - The string to display in the "more" button when it's collapsed. - - - குறைவு - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/te-IN/Resources.resw b/dev/ColorPicker/Strings/te-IN/Resources.resw deleted file mode 100644 index b59fa37f34..0000000000 --- a/dev/ColorPicker/Strings/te-IN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - అస్పష్టత - The label for the text box to edit the opacity. - - - అస్పష్టత - The automation name for the opacity slider. - - - అస్పష్టత - The automation name for the text box to edit the opacity. - - - వర్ణం - The automation name for the third-dimension slider when it's controlling hue. - - - సంతృప్తత - The automation name for the third-dimension slider when it's controlling saturation. - - - విలువ (ప్రకాశవంతం) - The automation name for the third-dimension slider when it's controlling value. - - - నీలం - The label for the text box to edit the blue component of the current RGB color. - - - నీలం - The automation name for the text box to edit the blue component of the current RGB color. - - - రంగు మోడల్ - The automation name for the color model selection combo box. - - - రంగు ఎంపిక సాధనం - The automation name for the ColorSpectrum control. - - - ఆకుపచ్చ - The label for the text box to edit the green component of the current RGB color. - - - ఆకుపచ్చ - The automation name for the text box to edit the green component of the current RGB color. - - - బాణం కీలతో 2D నావిగేషన్ - The help text associated with ColorSpectrum. - - - RGB హెక్స్ - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - వర్ణం - The label for the text box to edit the hue component of the current HSV color. - - - వర్ణం - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D స్లయిడర్ - The string to provide as the localized control type of the ColorSpectrum. - - - ఎరుపు - The label for the text box to edit the red component of the current RGB color. - - - ఎరుపు - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - సంతృప్తత - The label for the text box to edit the saturation component of the current HSV color. - - - సంతృప్తత - The automation name for the text box to edit the saturation component of the current HSV color. - - - విలువ - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, రంగు %2!u!, సంతృప్తత %3!u!, విలువ %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - రంగు %1!u!, సంతృప్తత %2!u!, విలువ %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - విలువ (ప్రకాశవంతం) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% అస్పష్టత - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - వర్ణం %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - వర్ణం %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - సంతృప్తత %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - సంతృప్తత %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - విలువ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - విలువ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - మరిన్ని - The string to provide as the UIA value of the "more" button when it's collapsed. - - - తక్కువ - The string to provide as the UIA value of the "more" button when it's expanded. - - - వచన నమోదు ఫీల్డ్‌లను చూపడం లేదా దాచడం కోసం ప్రారంభించండి. - The help text associated with the "more" button. - - - మరిన్ని - The string to display in the "more" button when it's collapsed. - - - తక్కువ - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/th-TH/Resources.resw b/dev/ColorPicker/Strings/th-TH/Resources.resw deleted file mode 100644 index 3cd1248756..0000000000 --- a/dev/ColorPicker/Strings/th-TH/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - ความทึบ - The label for the text box to edit the opacity. - - - ความทึบ - The automation name for the opacity slider. - - - ความทึบ - The automation name for the text box to edit the opacity. - - - สีสัน - The automation name for the third-dimension slider when it's controlling hue. - - - ความเข้ม - The automation name for the third-dimension slider when it's controlling saturation. - - - ค่า (ความสว่าง) - The automation name for the third-dimension slider when it's controlling value. - - - น้ำเงิน - The label for the text box to edit the blue component of the current RGB color. - - - น้ำเงิน - The automation name for the text box to edit the blue component of the current RGB color. - - - รูปแบบสี - The automation name for the color model selection combo box. - - - ตัวเลือกสี - The automation name for the ColorSpectrum control. - - - เขียว - The label for the text box to edit the green component of the current RGB color. - - - เขียว - The automation name for the text box to edit the green component of the current RGB color. - - - การนำทาง 2 มิติที่มีปุ่มลูกศร - The help text associated with ColorSpectrum. - - - ฐานสิบหกของ RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - สีสัน - The label for the text box to edit the hue component of the current HSV color. - - - สีสัน - The automation name for the text box to edit the hue component of the current HSV color. - - - แถบเลื่อน 2 มิติ - The string to provide as the localized control type of the ColorSpectrum. - - - แดง - The label for the text box to edit the red component of the current RGB color. - - - แดง - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - ความเข้ม - The label for the text box to edit the saturation component of the current HSV color. - - - ความเข้ม - The automation name for the text box to edit the saturation component of the current HSV color. - - - ค่า - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, สีสัน %2!u!, ความเข้ม %3!u!, ค่า %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - สีสัน %1!u!, ความเข้ม %2!u!, ค่า %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - ค่า (ความสว่าง) - The automation name for the text box to edit the value component of the current HSV color. - - - ความทึบ %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - สีสัน %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - สีสัน %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - ความเข้ม %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - ความเข้ม %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - ค่า %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - ค่า %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - ดูมากขึ้น - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ดูน้อยลง - The string to provide as the UIA value of the "more" button when it's expanded. - - - เรียกใช้เพื่อแสดงหรือซ่อนช่องรายการข้อความ - The help text associated with the "more" button. - - - ดูมากขึ้น - The string to display in the "more" button when it's collapsed. - - - ดูน้อยลง - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/tr-TR/Resources.resw b/dev/ColorPicker/Strings/tr-TR/Resources.resw deleted file mode 100644 index a55a63899c..0000000000 --- a/dev/ColorPicker/Strings/tr-TR/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Opaklık - The label for the text box to edit the opacity. - - - Opaklık - The automation name for the opacity slider. - - - Opaklık - The automation name for the text box to edit the opacity. - - - Ton - The automation name for the third-dimension slider when it's controlling hue. - - - Doygunluk - The automation name for the third-dimension slider when it's controlling saturation. - - - Değer (Parlaklık) - The automation name for the third-dimension slider when it's controlling value. - - - Mavi - The label for the text box to edit the blue component of the current RGB color. - - - Mavi - The automation name for the text box to edit the blue component of the current RGB color. - - - Renk modeli - The automation name for the color model selection combo box. - - - Renk seçici - The automation name for the ColorSpectrum control. - - - Yeşil - The label for the text box to edit the green component of the current RGB color. - - - Yeşil - The automation name for the text box to edit the green component of the current RGB color. - - - Ok tuşlarıyla 2B gezinti - The help text associated with ColorSpectrum. - - - RGB onaltılık - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Ton - The label for the text box to edit the hue component of the current HSV color. - - - Ton - The automation name for the text box to edit the hue component of the current HSV color. - - - 2B kaydırıcı - The string to provide as the localized control type of the ColorSpectrum. - - - Kırmızı - The label for the text box to edit the red component of the current RGB color. - - - Kırmızı - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Doygunluk - The label for the text box to edit the saturation component of the current HSV color. - - - Doygunluk - The automation name for the text box to edit the saturation component of the current HSV color. - - - Değer - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Ton %2!u!, Doygunluk %3!u!, Değer %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Ton %1!u!, Doygunluk %2!u!, Değer %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Değer (Parlaklık) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% opaklık - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Ton %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Ton %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Doygunluk %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Doygunluk %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Değer %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Değer %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Daha fazla - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Daha az - The string to provide as the UIA value of the "more" button when it's expanded. - - - Metin girişi alanlarını göstermek veya gizlemek için çalıştırın. - The help text associated with the "more" button. - - - Daha fazla - The string to display in the "more" button when it's collapsed. - - - Daha az - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/tt-RU/Resources.resw b/dev/ColorPicker/Strings/tt-RU/Resources.resw deleted file mode 100644 index edc5a57228..0000000000 --- a/dev/ColorPicker/Strings/tt-RU/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Үтә күренмәлелек - The label for the text box to edit the opacity. - - - Үтә күренмәлелек - The automation name for the opacity slider. - - - Үтә күренмәлелек - The automation name for the text box to edit the opacity. - - - Төсмер - The automation name for the third-dimension slider when it's controlling hue. - - - Куелык - The automation name for the third-dimension slider when it's controlling saturation. - - - Кыйммәт (яктылык) - The automation name for the third-dimension slider when it's controlling value. - - - Зәңгәр - The label for the text box to edit the blue component of the current RGB color. - - - Зәңгәр - The automation name for the text box to edit the blue component of the current RGB color. - - - Төс моделе - The automation name for the color model selection combo box. - - - Төсләр гаммасы - The automation name for the ColorSpectrum control. - - - Яшел - The label for the text box to edit the green component of the current RGB color. - - - Яшел - The automation name for the text box to edit the green component of the current RGB color. - - - Ук төймәләре белән 2D күчеш гамәлләре - The help text associated with ColorSpectrum. - - - RGB уналтынчы - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Төсмер - The label for the text box to edit the hue component of the current HSV color. - - - Төсмер - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D шудырма - The string to provide as the localized control type of the ColorSpectrum. - - - Кызыл - The label for the text box to edit the red component of the current RGB color. - - - Кызыл - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Куелык - The label for the text box to edit the saturation component of the current HSV color. - - - Куелык - The automation name for the text box to edit the saturation component of the current HSV color. - - - Кыйммәт - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Төсмер %2!u!, Куелык %3!u!, Кыйммәт %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Төсмер %1!u!, Куелык %2!u!, Кыйммәт %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Кыйммәт (яктылык) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% тоныклык - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Төсмер %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Төсмер %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Куелык %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Куелык %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Кыйммәт %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Кыйммәт %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Күбрәк - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Азрак - The string to provide as the UIA value of the "more" button when it's expanded. - - - Текст кертү кырларын күрсәтү яки яшерү өчен чыгарту. - The help text associated with the "more" button. - - - Күбрәк - The string to display in the "more" button when it's collapsed. - - - Азрак - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ug-CN/Resources.resw b/dev/ColorPicker/Strings/ug-CN/Resources.resw deleted file mode 100644 index a7e39acb0a..0000000000 --- a/dev/ColorPicker/Strings/ug-CN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - تۇتۇقلۇق دەرىجىسى - The label for the text box to edit the opacity. - - - تۇتۇقلۇق دەرىجىسى - The automation name for the opacity slider. - - - تۇتۇقلۇق دەرىجىسى - The automation name for the text box to edit the opacity. - - - رەڭ تۈسى - The automation name for the third-dimension slider when it's controlling hue. - - - رەڭ توقلۇق دەرىجىسى - The automation name for the third-dimension slider when it's controlling saturation. - - - قىممەت (يورۇقلۇق) - The automation name for the third-dimension slider when it's controlling value. - - - كۆك - The label for the text box to edit the blue component of the current RGB color. - - - كۆك - The automation name for the text box to edit the blue component of the current RGB color. - - - رەڭلىك ئۈلگە - The automation name for the color model selection combo box. - - - رەڭ تاللىغۇچ - The automation name for the ColorSpectrum control. - - - يېشىل - The label for the text box to edit the green component of the current RGB color. - - - يېشىل - The automation name for the text box to edit the green component of the current RGB color. - - - كۆرسەتكۈچ كۇنۇپكا ئارقىلىق 2D لىق يېتەكلەش - The help text associated with ColorSpectrum. - - - RGB ئون ئالتە خانىلىق - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - رەڭ تۈسى - The label for the text box to edit the hue component of the current HSV color. - - - رەڭ تۈسى - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D سىيرىگۈچ - The string to provide as the localized control type of the ColorSpectrum. - - - قىزىل - The label for the text box to edit the red component of the current RGB color. - - - قىزىل - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - رەڭ توقلۇق دەرىجىسى - The label for the text box to edit the saturation component of the current HSV color. - - - رەڭ توقلۇق دەرىجىسى - The automation name for the text box to edit the saturation component of the current HSV color. - - - قىممەت - The label for the text box to edit the value component of the current HSV color. - - - %1!s!، رەڭ تۈسى %2!u!، رەڭ توقلۇق دەرىجىسى %3!u!، قىممىتى %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - رەڭ تۈسى %1!u!، رەڭ توقلۇق دەرىجىسى %2!u!، قىممىتى %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!، %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!، %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!، %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - قىممەت (يورۇقلۇق) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% تۇتۇقلۇق دەرىجىسى - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - رەڭ تۈسى %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - رەڭ تۈسى %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - رەڭ توقلۇق دەرىجىسى %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - رەڭ توقلۇق دەرىجىسى %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - قىممەت %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - قىممەت %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - كۆپرەك - The string to provide as the UIA value of the "more" button when it's collapsed. - - - ئازراق - The string to provide as the UIA value of the "more" button when it's expanded. - - - تېكىست كۆرسىتىش ياكى يوشۇرۇشنى تەلەپ قىلىڭ. - The help text associated with the "more" button. - - - كۆپرەك - The string to display in the "more" button when it's collapsed. - - - ئازراق - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/uk-UA/Resources.resw b/dev/ColorPicker/Strings/uk-UA/Resources.resw deleted file mode 100644 index 3d6c0246ac..0000000000 --- a/dev/ColorPicker/Strings/uk-UA/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Прозорість - The label for the text box to edit the opacity. - - - Прозорість - The automation name for the opacity slider. - - - Прозорість - The automation name for the text box to edit the opacity. - - - Відтінок - The automation name for the third-dimension slider when it's controlling hue. - - - Насиченість - The automation name for the third-dimension slider when it's controlling saturation. - - - Значення (яскравість) - The automation name for the third-dimension slider when it's controlling value. - - - Темно-блакитний - The label for the text box to edit the blue component of the current RGB color. - - - Темно-блакитний - The automation name for the text box to edit the blue component of the current RGB color. - - - Кольорова модель - The automation name for the color model selection combo box. - - - Вибір кольору - The automation name for the ColorSpectrum control. - - - Зелений - The label for the text box to edit the green component of the current RGB color. - - - Зелений - The automation name for the text box to edit the green component of the current RGB color. - - - Двовимірна навігація за допомогою клавіш зі стрілками - The help text associated with ColorSpectrum. - - - Шістнадцятковий формат RGB - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Відтінок - The label for the text box to edit the hue component of the current HSV color. - - - Відтінок - The automation name for the text box to edit the hue component of the current HSV color. - - - Двовимірний повзунок - The string to provide as the localized control type of the ColorSpectrum. - - - Червоний - The label for the text box to edit the red component of the current RGB color. - - - Червоний - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Насиченість - The label for the text box to edit the saturation component of the current HSV color. - - - Насиченість - The automation name for the text box to edit the saturation component of the current HSV color. - - - Значення - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, відтінок %2!u!, насиченість %3!u!, значення %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Відтінок %1!u!, насиченість %2!u!, яскравість %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Значення (яскравість) - The automation name for the text box to edit the value component of the current HSV color. - - - Прозорість %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Відтінок %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Відтінок %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Насиченість %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Насиченість %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Значення %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Значення %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Докладно - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Стисло - The string to provide as the UIA value of the "more" button when it's expanded. - - - Натисніть кнопку, щоб відобразити або приховати текстові поля. - The help text associated with the "more" button. - - - Докладно - The string to display in the "more" button when it's collapsed. - - - Стисло - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/ur-PK/Resources.resw b/dev/ColorPicker/Strings/ur-PK/Resources.resw deleted file mode 100644 index b979349304..0000000000 --- a/dev/ColorPicker/Strings/ur-PK/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - دھندلا پن - The label for the text box to edit the opacity. - - - دھندلا پن - The automation name for the opacity slider. - - - دھندلا پن - The automation name for the text box to edit the opacity. - - - رنگت - The automation name for the third-dimension slider when it's controlling hue. - - - لبریزی - The automation name for the third-dimension slider when it's controlling saturation. - - - قدر (اجلا پن) - The automation name for the third-dimension slider when it's controlling value. - - - نیلا - The label for the text box to edit the blue component of the current RGB color. - - - نیلا - The automation name for the text box to edit the blue component of the current RGB color. - - - رنگ کا ماڈل - The automation name for the color model selection combo box. - - - رنگ چنندہ - The automation name for the ColorSpectrum control. - - - گرین - The label for the text box to edit the green component of the current RGB color. - - - گرین - The automation name for the text box to edit the green component of the current RGB color. - - - تیر کلیدوں کے ساتھ 2D گشت - The help text associated with ColorSpectrum. - - - RGB hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - رنگت - The label for the text box to edit the hue component of the current HSV color. - - - رنگت - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D سلائیڈر - The string to provide as the localized control type of the ColorSpectrum. - - - سرخ - The label for the text box to edit the red component of the current RGB color. - - - سرخ - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - لبریزی - The label for the text box to edit the saturation component of the current HSV color. - - - لبریزی - The automation name for the text box to edit the saturation component of the current HSV color. - - - قدر - The label for the text box to edit the value component of the current HSV color. - - - %1!s!، رنگت %2!u!، لبریزی %3!u!، قدر %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - رنگت %1!u!، لبریزی %2!u!، قدر %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!، %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!، %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!، %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - قدر (اجلا پن) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% دھندلا پن - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - رنگت %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - رنگت %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - لبریزی %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - لبریزی %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - قدر %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - قدر %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - مزید - The string to provide as the UIA value of the "more" button when it's collapsed. - - - کم - The string to provide as the UIA value of the "more" button when it's expanded. - - - متن اندراج قطعہ جات دکھانے یا چھپانے کے لیے طلب کريں۔ - The help text associated with the "more" button. - - - مزید - The string to display in the "more" button when it's collapsed. - - - کم - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/uz-Latn-UZ/Resources.resw b/dev/ColorPicker/Strings/uz-Latn-UZ/Resources.resw deleted file mode 100644 index ca2b0d5324..0000000000 --- a/dev/ColorPicker/Strings/uz-Latn-UZ/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Shaffoflik - The label for the text box to edit the opacity. - - - Shaffoflik - The automation name for the opacity slider. - - - Shaffoflik - The automation name for the text box to edit the opacity. - - - Rangi - The automation name for the third-dimension slider when it's controlling hue. - - - To‘yinganligi - The automation name for the third-dimension slider when it's controlling saturation. - - - Qiymat (yorqinlik) - The automation name for the third-dimension slider when it's controlling value. - - - Ko‘k - The label for the text box to edit the blue component of the current RGB color. - - - Ko‘k - The automation name for the text box to edit the blue component of the current RGB color. - - - Rangli maket - The automation name for the color model selection combo box. - - - Palitra - The automation name for the ColorSpectrum control. - - - Yashil - The label for the text box to edit the green component of the current RGB color. - - - Yashil - The automation name for the text box to edit the green component of the current RGB color. - - - Mil tugmalari yordamida 2D navigatsiya - The help text associated with ColorSpectrum. - - - RGB oltiburchak - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Rangi - The label for the text box to edit the hue component of the current HSV color. - - - Rangi - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D slayder - The string to provide as the localized control type of the ColorSpectrum. - - - Qizil - The label for the text box to edit the red component of the current RGB color. - - - Qizil - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - To‘yinganligi - The label for the text box to edit the saturation component of the current HSV color. - - - To‘yinganligi - The automation name for the text box to edit the saturation component of the current HSV color. - - - Qiymat - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, rangi: %2!u!, toʻyinganligi: %3!u!, qiymati: %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Rangi: %1!u!, toʻyinganligi: %2!u!, qiymati: %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Qiymat (yorqinlik) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% shaffoflik - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Rangi %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Rangi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - To‘yinganligi %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - To‘yinganligi %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Qiymat %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Qiymat %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Ko‘proq - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Kamroq - The string to provide as the UIA value of the "more" button when it's expanded. - - - Matn kiritish maydonlari ko‘rsatilishi yoki yashirilishini so‘rang. - The help text associated with the "more" button. - - - Ko‘proq - The string to display in the "more" button when it's collapsed. - - - Kamroq - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/vi-VN/Resources.resw b/dev/ColorPicker/Strings/vi-VN/Resources.resw deleted file mode 100644 index fb864a969b..0000000000 --- a/dev/ColorPicker/Strings/vi-VN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Độ chắn sáng - The label for the text box to edit the opacity. - - - Độ chắn sáng - The automation name for the opacity slider. - - - Độ chắn sáng - The automation name for the text box to edit the opacity. - - - Sắc độ - The automation name for the third-dimension slider when it's controlling hue. - - - Độ bão hòa - The automation name for the third-dimension slider when it's controlling saturation. - - - Giá trị (Độ sáng) - The automation name for the third-dimension slider when it's controlling value. - - - Xanh lam - The label for the text box to edit the blue component of the current RGB color. - - - Xanh lam - The automation name for the text box to edit the blue component of the current RGB color. - - - Mẫu màu - The automation name for the color model selection combo box. - - - Bộ chọn màu - The automation name for the ColorSpectrum control. - - - Xanh lục - The label for the text box to edit the green component of the current RGB color. - - - Xanh lục - The automation name for the text box to edit the green component of the current RGB color. - - - Điều hướng 2D bằng phím mũi tên - The help text associated with ColorSpectrum. - - - RGB - số hex - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - Sắc độ - The label for the text box to edit the hue component of the current HSV color. - - - Sắc độ - The automation name for the text box to edit the hue component of the current HSV color. - - - Thanh trượt 2D - The string to provide as the localized control type of the ColorSpectrum. - - - Đỏ - The label for the text box to edit the red component of the current RGB color. - - - Đỏ - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - Độ bão hòa - The label for the text box to edit the saturation component of the current HSV color. - - - Độ bão hòa - The automation name for the text box to edit the saturation component of the current HSV color. - - - Giá trị - The label for the text box to edit the value component of the current HSV color. - - - %1!s!, Sắc độ %2!u!, Độ bão hòa %3!u!, Giá trị %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - Sắc độ %1!u!, Độ bão hòa %2!u!, Giá trị %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!, %2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - Giá trị (Độ sáng) - The automation name for the text box to edit the value component of the current HSV color. - - - Độ chắn sáng %1!u!%% - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - Sắc độ %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - Sắc độ %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - Độ bão hòa %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - Độ bão hòa %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - Giá trị %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - Giá trị %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - Thêm - The string to provide as the UIA value of the "more" button when it's collapsed. - - - Bớt - The string to provide as the UIA value of the "more" button when it's expanded. - - - Gọi ra để hiển thị hoặc ẩn các trường mục nhập văn bản. - The help text associated with the "more" button. - - - Thêm - The string to display in the "more" button when it's collapsed. - - - Bớt - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/zh-CN/Resources.resw b/dev/ColorPicker/Strings/zh-CN/Resources.resw deleted file mode 100644 index 4d277ee568..0000000000 --- a/dev/ColorPicker/Strings/zh-CN/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 不透明度 - The label for the text box to edit the opacity. - - - 不透明度 - The automation name for the opacity slider. - - - 不透明度 - The automation name for the text box to edit the opacity. - - - 色调 - The automation name for the third-dimension slider when it's controlling hue. - - - 饱和度 - The automation name for the third-dimension slider when it's controlling saturation. - - - 值(亮度) - The automation name for the third-dimension slider when it's controlling value. - - - 蓝色 - The label for the text box to edit the blue component of the current RGB color. - - - 蓝色 - The automation name for the text box to edit the blue component of the current RGB color. - - - 颜色模型 - The automation name for the color model selection combo box. - - - 颜色选取器 - The automation name for the ColorSpectrum control. - - - 绿色 - The label for the text box to edit the green component of the current RGB color. - - - 绿色 - The automation name for the text box to edit the green component of the current RGB color. - - - 带有箭头键的 2D 导航 - The help text associated with ColorSpectrum. - - - RGB 十六进制 - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - 色调 - The label for the text box to edit the hue component of the current HSV color. - - - 色调 - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D 滑块 - The string to provide as the localized control type of the ColorSpectrum. - - - 红色 - The label for the text box to edit the red component of the current RGB color. - - - 红色 - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - 饱和度 - The label for the text box to edit the saturation component of the current HSV color. - - - 饱和度 - The automation name for the text box to edit the saturation component of the current HSV color. - - - - The label for the text box to edit the value component of the current HSV color. - - - %1!s!,色调 %2!u!,饱和度 %3!u!,亮度 %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - 色调 %1!u!,饱和度 %2!u!,亮度 %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!,%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!,%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!,%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - 值(亮度) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% 不透明度 - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - 色调 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - 色调 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - 饱和度 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - 饱和度 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - 值 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - 值 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - 更多 - The string to provide as the UIA value of the "more" button when it's collapsed. - - - 更少 - The string to provide as the UIA value of the "more" button when it's expanded. - - - 调用以显示或隐藏文本输入字段。 - The help text associated with the "more" button. - - - 更多 - The string to display in the "more" button when it's collapsed. - - - 更少 - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/Strings/zh-TW/Resources.resw b/dev/ColorPicker/Strings/zh-TW/Resources.resw deleted file mode 100644 index 3fe56c4f90..0000000000 --- a/dev/ColorPicker/Strings/zh-TW/Resources.resw +++ /dev/null @@ -1,300 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 不透明度 - The label for the text box to edit the opacity. - - - 不透明度 - The automation name for the opacity slider. - - - 不透明度 - The automation name for the text box to edit the opacity. - - - 色調 - The automation name for the third-dimension slider when it's controlling hue. - - - 彩度 - The automation name for the third-dimension slider when it's controlling saturation. - - - 值 (亮度) - The automation name for the third-dimension slider when it's controlling value. - - - 藍色 - The label for the text box to edit the blue component of the current RGB color. - - - 藍色 - The automation name for the text box to edit the blue component of the current RGB color. - - - 色彩模型 - The automation name for the color model selection combo box. - - - 色彩選擇器 - The automation name for the ColorSpectrum control. - - - 綠色 - The label for the text box to edit the green component of the current RGB color. - - - 綠色 - The automation name for the text box to edit the green component of the current RGB color. - - - 使用方向鍵進行 2D 瀏覽 - The help text associated with ColorSpectrum. - - - RGB 十六進位 - The automation name for the text box to edit the current RGB color as a hex value. - - - HSV - The combo box item content for selecting HSV as the color model to use. - - - 色調 - The label for the text box to edit the hue component of the current HSV color. - - - 色調 - The automation name for the text box to edit the hue component of the current HSV color. - - - 2D 滑桿 - The string to provide as the localized control type of the ColorSpectrum. - - - 紅色 - The label for the text box to edit the red component of the current RGB color. - - - 紅色 - The automation name for the text box to edit the red component of the current RGB color. - - - RGB - The combo box item content for selecting RGB as the color model to use. - - - 彩度 - The label for the text box to edit the saturation component of the current HSV color. - - - 彩度 - The automation name for the text box to edit the saturation component of the current HSV color. - - - - The label for the text box to edit the value component of the current HSV color. - - - %1!s!,色調 %2!u!,彩度 %3!u!,值 %4!u! - The string to provide as the UIA value of the ColorSpectrum when we're including the friendly color name. %1 is the friendly name of the color; %2, %3, and %4 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - 色調 %1!u!,彩度 %2!u!,值 %3!u! - The string to provide as the UIA value of the ColorSpectrum when we aren't including the friendly color name. %1, %2, and %3 are the HSV values for the color between 0 and 359 (for hue) or 0 and 100 (for saturation or value). - - - %1!u!,%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - %1!u!,%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - %1!u!,%2!s! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the brightness value between 0 and 100; %2 is the friendly color. - - - %1!u! - The string to provide as the UIA value of the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the brightness value between 0 and 100. - - - 值 (亮度) - The automation name for the text box to edit the value component of the current HSV color. - - - %1!u!%% 不透明度 - The string to display in the tool tip for the alpha slider. %1 is the alpha value between 0 and 100. - - - 色調 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're including the friendly color name. %1 is the hue value between 0 and 359; %2 is the friendly color name. - - - 色調 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling hue and we're not including the friendly color name. %1 is the hue value between 0 and 359. - - - 彩度 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're including the friendly color name. %1 is the saturation value between 0 and 100; %2 is the friendly color name. - - - 彩度 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling saturation and we're not including the friendly color name. %1 is the saturation value between 0 and 100. - - - 值 %1!u! (%2!s!) - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're including the friendly color name. %1 is the value value between 0 and 100; %2 is the friendly color name. - - - 值 %1!u! - The string to display in the tool tip for the third-dimension slider when it's controlling value and we're not including the friendly color name. %1 is the value value between 0 and 100. - - - 更多 - The string to provide as the UIA value of the "more" button when it's collapsed. - - - 較少 - The string to provide as the UIA value of the "more" button when it's expanded. - - - 叫用以顯示或隱藏文字輸入欄位。 - The help text associated with the "more" button. - - - 更多 - The string to display in the "more" button when it's collapsed. - - - 較少 - The string to display in the "more" button when it's expanded. - - \ No newline at end of file diff --git a/dev/ColorPicker/TestUI/ColorPickerPage.xaml b/dev/ColorPicker/TestUI/ColorPickerPage.xaml deleted file mode 100644 index e47d2d39cd..0000000000 --- a/dev/ColorPicker/TestUI/ColorPickerPage.xaml +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/CommonStyles.vcxitems b/dev/CommonStyles/CommonStyles.vcxitems deleted file mode 100755 index b42a10f038..0000000000 --- a/dev/CommonStyles/CommonStyles.vcxitems +++ /dev/null @@ -1,431 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {3A07FA59-C5C1-4B46-8B31-043F9CA91226} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - - - - - - - - Version2 - RS1 - ThemeResources - 1 - - - Version1 - RS1 - ThemeResources - 1 - - - Any - RS1 - ThemeResources - 1 - - - Version2 - RS1 - ThemeResources - - - Any - RS1 - ThemeResources - 1 - - - Version2 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - 21H1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version2 - 21H1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Latest - RS1 - ThemeResources - - - V2dot5 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version2 - 21H1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - 2 - Designer - - - Version1 - RS1 - ThemeResources - 2 - Designer - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - Version2 - RS5 - ThemeResources - - - Version1 - RS5 - ThemeResources - - - \ No newline at end of file diff --git a/dev/CommonStyles/Common_themeresources.xaml b/dev/CommonStyles/Common_themeresources.xaml deleted file mode 100644 index 33d67d8fee..0000000000 --- a/dev/CommonStyles/Common_themeresources.xaml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - True - 1 - 1,1,1,2 - 10,5,6,6 - - - - - - - - - - - True - 1 - 1,1,1,2 - 10,5,6,6 - - - - - - - - - - - True - 1 - 2 - 10,5,6,6 - - - - - - - - - 0 - - True - - - - - - diff --git a/dev/CommonStyles/Common_themeresources_any.xaml b/dev/CommonStyles/Common_themeresources_any.xaml deleted file mode 100755 index 5f5583a811..0000000000 --- a/dev/CommonStyles/Common_themeresources_any.xaml +++ /dev/null @@ -1,742 +0,0 @@ - - - - - - - - - #FFFFFF - #C5FFFFFF - #87FFFFFF - #5DFFFFFF - #E4000000 - - #5DFFFFFF - #FFFFFF - #000000 - #80000000 - #87FFFFFF - - #0FFFFFFF - #15FFFFFF - #08FFFFFF - #0BFFFFFF - #00FFFFFF - #B31E1E1E - - #8BFFFFFF - #3FFFFFFF - - #454545 - - #00FFFFFF - #0FFFFFFF - #0AFFFFFF - #00FFFFFF - - #00FFFFFF - #19000000 - #0BFFFFFF - #12FFFFFF - #00FFFFFF - - #B31C1C1C - #1A1A1A - #131313 - #1E1E1E - - #28FFFFFF - - #12FFFFFF - #18FFFFFF - #14FFFFFF - #23000000 - #37000000 - #33000000 - - #6B000000 - - #19000000 - #1C1C1C - - #8BFFFFFF - #28FFFFFF - - #66757575 - #33000000 - #0F000000 - - #15FFFFFF - - #FFFFFF - #B3000000 - - #0DFFFFFF - #08FFFFFF - - #4D000000 - - #4C3A3A3A - #0DFFFFFF - #09FFFFFF - #09FFFFFF - - #733A3A3A - #0FFFFFFF - #2C2C2C - #00FFFFFF - - #202020 - #1C1C1C - #282828 - #2C2C2C - #00202020 - #0A0A0A - - #6CCB5F - #FCE100 - #FF99A4 - #8BFFFFFF - #9D9D9D - #08FFFFFF - #393D1B - #433519 - #442726 - #08FFFFFF - #2E2E2E - #2E2E2E - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #E4000000 - #9E000000 - #72000000 - #5C000000 - #FFFFFF - - #5C000000 - - #FFFFFF - - #FFFFFF - #B3FFFFFF - #FFFFFF - - #B3FFFFFF - #80F9F9F9 - #4DF9F9F9 - #4DF9F9F9 - #00FFFFFF - #FFFFFF - - #72000000 - #51000000 - - #FFFFFF - - #00FFFFFF - #09000000 - #06000000 - #00FFFFFF - - #00FFFFFF - #06000000 - #0F000000 - #18000000 - #00FFFFFF - - #C9FFFFFF - #F3F3F3 - #EBEBEB - #00FFFFFF - - #37000000 - - #0F000000 - #29000000 - #14FFFFFF - #66000000 - #37000000 - #0F000000 - - #59FFFFFF - - #0F000000 - #EBEBEB - - #72000000 - #37000000 - - #66757575 - #0F000000 - #15FFFFFF - - #0F000000 - - #E4000000 - #B3FFFFFF - - #B3FFFFFF - #80F6F6F6 - - #4D000000 - - #80FFFFFF - #FFFFFF - #40FFFFFF - #40FFFFFF - - #B3FFFFFF - #0A000000 - #F9F9F9 - #00000000 - - #F3F3F3 - #EEEEEE - #F9F9F9 - #FFFFFF - #00F3F3F3 - #DADADA - - #0F7B0F - #9D5D00 - #C42B1C - #72000000 - #8A8A8A - #80F6F6F6 - #DFF6DD - #FFF4CE - #FDE7E9 - #06000000 - #F7F7F7 - #F3F3F3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - #FF0000 - - - - - 0,0,0,1 - - 00:00:00.250 - 00:00:00.167 - 00:00:00.168 - 00:00:00.083 - - diff --git a/dev/CommonStyles/Common_themeresources_v1.xaml b/dev/CommonStyles/Common_themeresources_v1.xaml deleted file mode 100644 index e85e54f91b..0000000000 --- a/dev/CommonStyles/Common_themeresources_v1.xaml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - True - 1 - 2 - 10,6,6,5 - - - - - - True - 1 - 2 - 10,6,6,5 - - - - - - True - 1 - 2 - 10,6,6,5 - - - - - 0 - diff --git a/dev/CommonStyles/ContentDialog_themeresources.xaml b/dev/CommonStyles/ContentDialog_themeresources.xaml deleted file mode 100644 index 6b36fe8859..0000000000 --- a/dev/CommonStyles/ContentDialog_themeresources.xaml +++ /dev/null @@ -1,362 +0,0 @@ - - - - - - - - - - - 1 - - 320 - 548 - 184 - 756 - - 8 - 0,0,0,12 - 24 - 0,0,0,1 - - - - - - - - - 2 - - 320 - 548 - 184 - 756 - - 8 - 0,0,0,12 - 24 - 0,0,0,1 - - - - - - - - - 1 - - 320 - 548 - 184 - 756 - - 8 - 0,0,0,12 - 24 - 0,0,0,1 - - - - - - diff --git a/dev/CommonStyles/ContentDialog_themeresources_v1.xaml b/dev/CommonStyles/ContentDialog_themeresources_v1.xaml deleted file mode 100644 index 53be23f779..0000000000 --- a/dev/CommonStyles/ContentDialog_themeresources_v1.xaml +++ /dev/null @@ -1,341 +0,0 @@ - - - - - 320 - 548 - 184 - 756 - 130 - 202 - 32 - 32 - 56 - 1 - 0,0,4,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,12 - 24,18,24,24 - - - - - - - - - - 0,24,0,0 - - - - - - - - 320 - 548 - 184 - 756 - 130 - 202 - 32 - 32 - 56 - 1 - 0,0,4,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,12 - 24,18,24,24 - - - - - 0,24,0,0 - - - 320 - 548 - 184 - 756 - 130 - 202 - 32 - 32 - 56 - 1 - 0,0,4,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,12 - 24,18,24,24 - - - - - - - - - - 0,24,0,0 - - - - - - diff --git a/dev/CommonStyles/CornerRadius_themeresources.xaml b/dev/CommonStyles/CornerRadius_themeresources.xaml deleted file mode 100644 index fedf33d74b..0000000000 --- a/dev/CommonStyles/CornerRadius_themeresources.xaml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - 4,4,4,4 - 8,8,8,8 - - - 4,4,4,4 - 8,8,8,8 - - - 4,4,4,4 - 8,8,8,8 - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/CornerRadius_themeresources_v1.xaml b/dev/CommonStyles/CornerRadius_themeresources_v1.xaml deleted file mode 100644 index 6c57e38567..0000000000 --- a/dev/CommonStyles/CornerRadius_themeresources_v1.xaml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - 2,2,2,2 - 4,4,4,4 - - - 2,2,2,2 - 4,4,4,4 - - - 2,2,2,2 - 4,4,4,4 - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/DatePicker_themeresources.xaml b/dev/CommonStyles/DatePicker_themeresources.xaml deleted file mode 100644 index 485265c58e..0000000000 --- a/dev/CommonStyles/DatePicker_themeresources.xaml +++ /dev/null @@ -1,529 +0,0 @@ - - - - - 80 - 1 - 20 - 20 - 0,0,0,4 - Normal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Transparent - - - - 80 - 1 - 20 - 20 - 0,0,0,4 - Normal - - - 1 - - - - 80 - 1 - 20 - 20 - 0,0,0,4 - 0,0,0,4 - Normal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - 0,0,0,4 - 40 - 40 - 41 - 296 - 456 - - 0,3,0,6 - 9,3,0,6 - - 0,3,0,6 - 9,3,0,6 - - 4,4,2,4 - 2,4,4,4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/DatePicker_themeresources_v1.xaml b/dev/CommonStyles/DatePicker_themeresources_v1.xaml deleted file mode 100644 index c2653db66d..0000000000 --- a/dev/CommonStyles/DatePicker_themeresources_v1.xaml +++ /dev/null @@ -1,449 +0,0 @@ - - - - - 80 - 1 - 20 - 20 - 0,0,0,4 - Normal - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 80 - 1 - 20 - 20 - 0,0,0,4 - Normal - - - 1 - - - 80 - 1 - 20 - 20 - 0,0,0,4 - Normal - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - 0,0,0,4 - 40 - 40 - 41 - 296 - 456 - - 0,3,0,6 - 9,3,0,6 - - 0,3,0,6 - 9,3,0,6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/DateTimePickerFlyout_themeresources.xaml b/dev/CommonStyles/DateTimePickerFlyout_themeresources.xaml deleted file mode 100755 index 8375e35591..0000000000 --- a/dev/CommonStyles/DateTimePickerFlyout_themeresources.xaml +++ /dev/null @@ -1,389 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4,2,4,2 - 0 - 34 - 0.875 - - - - - - - - - - - - diff --git a/dev/CommonStyles/DateTimePickerFlyout_themeresources_v1.xaml b/dev/CommonStyles/DateTimePickerFlyout_themeresources_v1.xaml deleted file mode 100644 index 4f084c7dcc..0000000000 --- a/dev/CommonStyles/DateTimePickerFlyout_themeresources_v1.xaml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/Deprecated_themeresources.xaml b/dev/CommonStyles/Deprecated_themeresources.xaml deleted file mode 100644 index 83dbb644b6..0000000000 --- a/dev/CommonStyles/Deprecated_themeresources.xaml +++ /dev/null @@ -1,409 +0,0 @@ - - - - - - - - - - - 8,5,8,7 - - 0.6 - 4 - - - - - - 1 - 12,11,0,13 - - 0 - - 130 - 202 - 32 - 32 - 56 - 0,0,4,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,0 - - - - - - 0,24,0,0 - - 1 - 0 - - #33FFFFFF - - - - - - - - - - - - - 1 - - - - - - - - 8,5,8,7 - - 0.6 - 4 - - - - - - 1 - 12,11,0,13 - - 0 - - 130 - 202 - 32 - 32 - 56 - 0,0,4,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,0 - - - - - - 0,24,0,0 - - 1 - 0 - - - #29C50500 - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - 8,5,8,7 - - 1 - 4 - - - - - - 1 - 12,11,0,13 - - 0 - - 130 - 202 - 32 - 32 - 56 - 0,0,4,0 - 0,0,0,0 - 0,0,0,0 - 0,0,0,0 - - - - - - 0,24,0,0 - - 1 - 1 - - - - #29C50500 - - - - - - - - - - - - - 2 - - - - - - - - - - diff --git a/dev/CommonStyles/Deprecated_themeresources_any.xaml b/dev/CommonStyles/Deprecated_themeresources_any.xaml deleted file mode 100644 index fd04b440cd..0000000000 --- a/dev/CommonStyles/Deprecated_themeresources_any.xaml +++ /dev/null @@ -1,340 +0,0 @@ - - - - - - - - - - #FFF000 - - - #FFFFFF - #000000 - #80000000 - #87FFFFFF - #8BFFFFFF - #3FFFFFFF - #28FFFFFF - #6B000000 - #8BFFFFFF - #28FFFFFF - - - - - - - - - - - - - - - - - - - - #C50500 - - - #FFFFFF - #FFFFFF - #B3FFFFFF - #FFFFFF - #72000000 - #51000000 - #37000000 - #59FFFFFF - #72000000 - #37000000 - - - - - - - - - - - - - - - - - - #FFF000 - - - #FFFFFF - #000000 - #80000000 - #87FFFFFF - #8BFFFFFF - #3FFFFFFF - #28FFFFFF - #6B000000 - #8BFFFFFF - #28FFFFFF - - - - - - - - - - - - - - - - - - - 40 - - 0,4,0,4 - - 96 - 24 - 8,0,8,1 - 2 - - 14 - 24 - 0,0,0,1 - - - 1 - 1 - - 48 - 16 - 16,0,0,0 - 1,0,1,1 - 1,1,1,0 - - - - - - diff --git a/dev/CommonStyles/FlipViewItem_themeresources.xaml b/dev/CommonStyles/FlipViewItem_themeresources.xaml deleted file mode 100644 index c3ca85987b..0000000000 --- a/dev/CommonStyles/FlipViewItem_themeresources.xaml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/FlipViewItem_themeresources_v1.xaml b/dev/CommonStyles/FlipViewItem_themeresources_v1.xaml deleted file mode 100644 index 9364de9695..0000000000 --- a/dev/CommonStyles/FlipViewItem_themeresources_v1.xaml +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/FlipView_themeresources.xaml b/dev/CommonStyles/FlipView_themeresources.xaml deleted file mode 100755 index eb486e6221..0000000000 --- a/dev/CommonStyles/FlipView_themeresources.xaml +++ /dev/null @@ -1,443 +0,0 @@ - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 8 - 0.875 - - - - diff --git a/dev/CommonStyles/FlipView_themeresources_v1.xaml b/dev/CommonStyles/FlipView_themeresources_v1.xaml deleted file mode 100644 index a775bff2ba..0000000000 --- a/dev/CommonStyles/FlipView_themeresources_v1.xaml +++ /dev/null @@ -1,371 +0,0 @@ - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/FlyoutPresenter_themeresources.xaml b/dev/CommonStyles/FlyoutPresenter_themeresources.xaml deleted file mode 100644 index 06f4136d3d..0000000000 --- a/dev/CommonStyles/FlyoutPresenter_themeresources.xaml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - 1 - - - - - 2 - - - - - 1 - - - - 16,15,16,17 - - - - diff --git a/dev/CommonStyles/FlyoutPresenter_themeresources_v1.xaml b/dev/CommonStyles/FlyoutPresenter_themeresources_v1.xaml deleted file mode 100644 index 202a83c003..0000000000 --- a/dev/CommonStyles/FlyoutPresenter_themeresources_v1.xaml +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - - - - - 1 - 0 - - - - - 1 - 0 - - - - - - - 1 - 0 - - - - - - diff --git a/dev/CommonStyles/GridViewItem_themeresources.xaml b/dev/CommonStyles/GridViewItem_themeresources.xaml deleted file mode 100644 index 8413e40c53..0000000000 --- a/dev/CommonStyles/GridViewItem_themeresources.xaml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/GridViewItem_themeresources_21h1.xaml b/dev/CommonStyles/GridViewItem_themeresources_21h1.xaml deleted file mode 100644 index 1ada3df68d..0000000000 --- a/dev/CommonStyles/GridViewItem_themeresources_21h1.xaml +++ /dev/null @@ -1,204 +0,0 @@ - - - - - 4 - 3 - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - 3 - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4 - 3 - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/GridViewItem_themeresources_v1.xaml b/dev/CommonStyles/GridViewItem_themeresources_v1.xaml deleted file mode 100644 index 7ca4e4b342..0000000000 --- a/dev/CommonStyles/GridViewItem_themeresources_v1.xaml +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/dev/CommonStyles/Hyperlink_themeresources.xaml b/dev/CommonStyles/Hyperlink_themeresources.xaml deleted file mode 100644 index 816ba0ee79..0000000000 --- a/dev/CommonStyles/Hyperlink_themeresources.xaml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - False - diff --git a/dev/CommonStyles/InkToolbar_themeresources.xaml b/dev/CommonStyles/InkToolbar_themeresources.xaml deleted file mode 100644 index b654031939..0000000000 --- a/dev/CommonStyles/InkToolbar_themeresources.xaml +++ /dev/null @@ -1,2307 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - 36 - 36 - 16 - 0,1,0,1 - 12,0,12,0 - 0,0,12,0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/InteractionTests/CommonStylesTests.cs b/dev/CommonStyles/InteractionTests/CommonStylesTests.cs deleted file mode 100644 index 32d0477904..0000000000 --- a/dev/CommonStyles/InteractionTests/CommonStylesTests.cs +++ /dev/null @@ -1,223 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using Common; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -using Microsoft.Windows.Apps.Test.Automation; -using Microsoft.Windows.Apps.Test.Foundation; -using Microsoft.Windows.Apps.Test.Foundation.Controls; -using Microsoft.Windows.Apps.Test.Foundation.Patterns; -using Microsoft.Windows.Apps.Test.Foundation.Waiters; -using System; - -namespace Windows.UI.Xaml.Tests.MUXControls.InteractionTests -{ - [TestClass] - public class CommonStylesTests - { - [ClassInitialize] - [TestProperty("RunAs", "User")] - [TestProperty("Classification", "Integration")] - [TestProperty("TestPass:IncludeOnlyOn", "Desktop")] - public static void ClassInitialize(TestContext testContext) - { - TestEnvironment.Initialize(testContext); - } - - [TestCleanup] - public void TestCleanup() - { - TestCleanupHelper.Cleanup(); - } - - [TestMethod] - public void SliderDensityTest() - { - RunDensityTests("SliderDensityTest"); - } - - [TestMethod] - public void ToggleSwitchDensityTest() - { - RunDensityTests("ToggleSwitchDensityTest"); - } - - [TestMethod] - public void DatePickerDensityTest() - { - RunDensityTests("DatePickerDensityTest"); - } - - [TestMethod] - public void TimePickerDensityTest() - { - RunDensityTests("TimePickerDensityTest"); - } - - [TestMethod] - public void AutoSuggestBoxDensityTest() - { - RunDensityTests("AutoSuggestBoxDensityTest"); - } - - [TestMethod] - public void ListViewItemDensityTest() - { - RunDensityTests("ListViewItemDensityTest"); - } - - [TestMethod] - public void TextBoxDensityTest() - { - RunDensityTests("TextBoxDensityTest"); - } - - [TestMethod] - public void PasswordBoxDensityTest() - { - RunDensityTests("PasswordBoxDensityTest"); - } - - [TestMethod] - public void ComboBoxDensityTest() - { - RunDensityTests("ComboBoxDensityTest"); - } - - [TestMethod] - public void RichEditBoxDensityTest() - { - RunDensityTests("RichEditBoxDensityTest"); - } - - [TestMethod] - public void AppBarToggleButtonDensityTest() - { - RunDensityTests("AppBarToggleButtonDensityTest"); - } - - [TestMethod] - public void AppBarButtonDensityTest() - { - RunDensityTests("AppBarButtonDensityTest"); - } - - private void RunDensityTests(string buttonName) - { - using (var setup = new TestSetupHelper("CommonStyles Tests")) - { - Log.Comment("Click on " + buttonName); - var button = new Button(FindElement.ByName(buttonName)); - button.Invoke(); - Wait.ForIdle(); - - var densityTestResult = new TextBlock(FindElement.ByName("DensityTestResult")).GetText(); - Verify.AreEqual(densityTestResult, "Pass", "We expect density test result is Pass"); - } - } - - [TestMethod] - public void RunCompactTests() - { - using (var setup = new TestSetupHelper("Compact Tests")) - { - Log.Comment("Click on RunTest"); - var button = new Button(FindElement.ByName("RunTest")); - button.Invoke(); - Wait.ForIdle(); - - var testResult = new TextBlock(FindElement.ById("CompactTestResult")).GetText(); - Verify.AreEqual(testResult, "Pass", "We expect compact test result is Pass"); // "Pass" string matches value used by MUXControlsTestApp.SimpleVerify - } - } - - [TestMethod] - public void CornerRadiusTest() - { - using (var setup = new TestSetupHelper("CornerRadius Tests")) - { - var textBlock = FindElement.ByName("CornerRadius"); - Verify.IsNotNull(textBlock, "Verify corner radius page doesn't crash"); - } - } - - [TestMethod] - public void InkToolbarTest() - { - using (var setup = new TestSetupHelper("InkToolbar Tests")) - { - var textBlock = FindElement.ByName("InkToolbar"); - Verify.IsNotNull(textBlock, "Verify InkToolbar page doesn't crash"); - - var verticalInkToolbar = FindElement.ById("VerticalInkToolbar"); - Verify.IsNotNull(textBlock, "Verify verticalInkToolbar doesn't crash"); - - Log.Comment("Click on " + "InkToolbarBallpointPenButton"); - var radioButton = new RadioButton(FindElement.ById("InkToolbarBallpointPenButton")); - radioButton.Select(); - Wait.ForIdle(); - } - } - - [TestMethod] - public void MenuFlyoutItemSizeTest() - { - if (PlatformConfiguration.IsOSVersionLessThan(OSVersion.Redstone5)) - { - Log.Warning("This test relies on touch input, the injection of which is only supported in RS5 and up. Test is disabled."); - return; - } - - using (var setup = new TestSetupHelper("MenuFlyout Tests")) - { - Log.Comment("Mouse click on Button to verify MenuFlyoutItem size."); - - var testMenuFlyoutButton = FindElement.ByName("TestMenuFlyoutButton"); - Verify.IsNotNull(testMenuFlyoutButton, "Verifying that we found a UIElement called TestMenuFlyoutButton"); - - InputHelper.LeftClick(testMenuFlyoutButton); - Wait.ForIdle(); - - var testMenuFlyoutItem = FindElement.ByName("TestMenuFlyoutItem"); - Verify.IsNotNull(testMenuFlyoutItem, "Verifying that we found a UIElement called TestMenuFlyoutItem"); - - InputHelper.LeftClick(testMenuFlyoutItem); - Wait.ForIdle(); - - var testMenuFlyoutItemHeightTextBlock = FindElement.ByName("TestMenuFlyoutItemHeightTextBlock"); - var testMenuFlyoutItemWidthTextBlock = FindElement.ByName("TestMenuFlyoutItemWidthTextBlock"); - - Verify.IsNotNull(testMenuFlyoutItemHeightTextBlock, "Verifying that we found a UIElement called TestMenuFlyoutItemHeightTextBlock"); - Verify.IsNotNull(testMenuFlyoutItemWidthTextBlock, "Verifying that we found a UIElement called TestMenuFlyoutItemWidthTextBlock"); - - var width = Convert.ToDouble(testMenuFlyoutItemWidthTextBlock.GetText()); - - Verify.AreEqual("32", testMenuFlyoutItemHeightTextBlock.GetText(), "Comparing height of MenuFlyoutItem after Flyout was opened with mouse"); - Verify.IsGreaterThan(width, 0.0, "Comparing height of MenuFlyoutItem after Flyout was opened with mouse"); - Verify.IsLessThan(width, 200.0, "Comparing height of MenuFlyoutItem after Flyout was opened with mouse"); - - InputHelper.LeftClick(testMenuFlyoutItemHeightTextBlock); - Wait.ForIdle(); - InputHelper.Tap(testMenuFlyoutButton); - Wait.ForIdle(); - InputHelper.Tap(testMenuFlyoutItem); - Wait.ForIdle(); - - width = Convert.ToDouble(testMenuFlyoutItemWidthTextBlock.GetText()); - Verify.AreEqual("40", testMenuFlyoutItemHeightTextBlock.GetText(), "Comparing height of MenuFlyoutItem after Flyout was opened with touch"); - Verify.IsGreaterThan(width, 200.0, "Comparing width of MenuFlyoutItem after Flyout was opened with touch"); - } - } - } -} diff --git a/dev/CommonStyles/InteractionTests/CommonStyles_InteractionTests.projitems b/dev/CommonStyles/InteractionTests/CommonStyles_InteractionTests.projitems deleted file mode 100644 index adf73100ec..0000000000 --- a/dev/CommonStyles/InteractionTests/CommonStyles_InteractionTests.projitems +++ /dev/null @@ -1,15 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - a25ae312-7c11-4e30-ae35-2e31c744a250 - - - CommonStyles_InteractionTests - - - - - \ No newline at end of file diff --git a/dev/CommonStyles/InteractionTests/CommonStyles_InteractionTests.shproj b/dev/CommonStyles/InteractionTests/CommonStyles_InteractionTests.shproj deleted file mode 100644 index 906cb0b71c..0000000000 --- a/dev/CommonStyles/InteractionTests/CommonStyles_InteractionTests.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - a25ae312-7c11-4e30-ae35-2e31c744a250 - 14.0 - - - - - - - - diff --git a/dev/CommonStyles/ListBox_themeresources.xaml b/dev/CommonStyles/ListBox_themeresources.xaml deleted file mode 100644 index 5cff93495f..0000000000 --- a/dev/CommonStyles/ListBox_themeresources.xaml +++ /dev/null @@ -1,281 +0,0 @@ - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 12,9,12,12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/dev/CommonStyles/ListBox_themeresources_v1.xaml b/dev/CommonStyles/ListBox_themeresources_v1.xaml deleted file mode 100644 index 4859b872f3..0000000000 --- a/dev/CommonStyles/ListBox_themeresources_v1.xaml +++ /dev/null @@ -1,253 +0,0 @@ - - - - - 0 - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - 12,9,12,12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/ListViewItem_themeresources.xaml b/dev/CommonStyles/ListViewItem_themeresources.xaml deleted file mode 100644 index 6a3bffc530..0000000000 --- a/dev/CommonStyles/ListViewItem_themeresources.xaml +++ /dev/null @@ -1,939 +0,0 @@ - - - - - -40.5 - 0.55 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - True - Inline - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - Inline - -40.5 - 0.55 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - -40.5 - 0.55 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - True - Inline - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/ListViewItem_themeresources_21h1.xaml b/dev/CommonStyles/ListViewItem_themeresources_21h1.xaml deleted file mode 100644 index 7833dedab5..0000000000 --- a/dev/CommonStyles/ListViewItem_themeresources_21h1.xaml +++ /dev/null @@ -1,1033 +0,0 @@ - - - - - True - -40.5 - 0.3 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - True - Inline - - - - - - - - - - - - - - - - - - 4 - 3 - 1.5 - - - - - - - - - - - - - - - - - - - - - True - -40.5 - 0.3 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - True - Inline - - - - - - - - - - - - - - - - - - 4 - 3 - 1.5 - - - - - - - - - - - - - - - - - - - - - True - -40.5 - 0.3 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - - - - - - - - True - Inline - - - - - - - - - - - - - - - - - 4 - 3 - 1.5 - - - - - - - - - - - - - - - - - - - - - - True - - - - - - - - - - diff --git a/dev/CommonStyles/ListViewItem_themeresources_v1.xaml b/dev/CommonStyles/ListViewItem_themeresources_v1.xaml deleted file mode 100644 index 5c32283a57..0000000000 --- a/dev/CommonStyles/ListViewItem_themeresources_v1.xaml +++ /dev/null @@ -1,947 +0,0 @@ - - - - - -40.5 - 0.55 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - - True - Inline - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - Inline - -40.5 - 0.55 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - -40.5 - 0.55 - 0.80 - 0.80 - 0.50 - 0.95 - 10.0 - 4 - 88 - 40 - 4 - - - - - - - - - - - - - - - - - - - True - Inline - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/MediaTransportControls_themeresources.xaml b/dev/CommonStyles/MediaTransportControls_themeresources.xaml deleted file mode 100644 index 4b5b57fdf5..0000000000 --- a/dev/CommonStyles/MediaTransportControls_themeresources.xaml +++ /dev/null @@ -1,451 +0,0 @@ - - - - - 48,0,48,27 - - - - - - - 12 - 7,2,7,1 - 12,-1,8,1 - 1 - 40 - 40 - 32 - 190 - 296 - 720 - - - 48,0,48,27 - - - - - - - 12 - 7,2,7,1 - 12,-1,8,1 - 1 - 40 - 40 - 32 - 190 - 296 - 720 - - - 48,0,48,27 - - - - - - - 12 - 7,2,7,1 - 12,-1,8,1 - 1 - 40 - 40 - 32 - 190 - 296 - 720 - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/MediaTransportControls_themeresources_v1.xaml b/dev/CommonStyles/MediaTransportControls_themeresources_v1.xaml deleted file mode 100644 index 0aa9d9ebea..0000000000 --- a/dev/CommonStyles/MediaTransportControls_themeresources_v1.xaml +++ /dev/null @@ -1,890 +0,0 @@ - - - - - 48,0,48,27 - - - - - 48,0,48,27 - - - - - 48,0,48,27 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/MenuFlyout_themeresources.xaml b/dev/CommonStyles/MenuFlyout_themeresources.xaml deleted file mode 100755 index 9260e4b1f6..0000000000 --- a/dev/CommonStyles/MenuFlyout_themeresources.xaml +++ /dev/null @@ -1,1190 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - Clip - 0 - 0 - - 28,0,0,0 - 56,0,0,0 - - - 1 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 - - Clip - 0 - 0 - - 28,0,0,0 - 56,0,0,0 - - - 1 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - Clip - 0 - 0 - - 28,0,0,0 - 56,0,0,0 - - - 1 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 0,2,0,2 - 32 - 24,0,0,-1 - -4,1,-4,1 - 4,2,4,2 - 11,8,11,9 - 11,4,11,5 - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/MenuFlyout_themeresources_v1.xaml b/dev/CommonStyles/MenuFlyout_themeresources_v1.xaml deleted file mode 100644 index f3abfc845a..0000000000 --- a/dev/CommonStyles/MenuFlyout_themeresources_v1.xaml +++ /dev/null @@ -1,1204 +0,0 @@ - - - - - 1 - 32 - 0,0 - 12,11,0,13 - 24,0,0,0 - 28,0,0,0 - 12,4,12,4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 56,0,0,0 - - - - - 11,9,11,10 - 11,4,11,7 - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 32 - 0,0 - 12,11,0,13 - 24,0,0,0 - 28,0,0,0 - 12,4,12,4 - - - - - - - - - 56,0,0,0 - - - - - - - - - 1 - 11,9,11,10 - 11,4,11,7 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 32 - 0,0 - 12,11,0,13 - 24,0,0,0 - 28,0,0,0 - 12,4,12,4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 56,0,0,0 - - - - - 11,9,11,10 - 11,4,11,7 - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0,4,0,4 - 1 - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Visible - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/PasswordBox_themeresources_v1.xaml b/dev/CommonStyles/PasswordBox_themeresources_v1.xaml deleted file mode 100644 index 650392aa55..0000000000 --- a/dev/CommonStyles/PasswordBox_themeresources_v1.xaml +++ /dev/null @@ -1,309 +0,0 @@ - - - - - - - - - - - - 0,0,0,4 - 12 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Visible - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/Pivot_themeresources.xaml b/dev/CommonStyles/Pivot_themeresources.xaml deleted file mode 100644 index fb526e3c60..0000000000 --- a/dev/CommonStyles/Pivot_themeresources.xaml +++ /dev/null @@ -1,650 +0,0 @@ - - - - - - XamlAutoFontFamily - XamlAutoFontFamily - 24 - 40 - 14 - -25 - 12,0,12,0 - 12,0,12,0 - 12,14,0,13 - 0 - 0,6,0,0 - 12,14,0,13 - SemiLight - Bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XamlAutoFontFamily - XamlAutoFontFamily - 24 - 14 - 40 - -25 - 12,0,12,0 - 12,0,12,0 - 12,14,0,13 - 1 - 0,6,0,0 - 12,14,0,13 - SemiLight - Bold - - - - - - - - - - - - - - - - - XamlAutoFontFamily - XamlAutoFontFamily - 24 - 40 - 14 - -25 - 12,0,12,0 - 12,0,12,0 - 12,14,0,13 - 0 - 0,6,0,0 - 12,14,0,13 - SemiLight - Bold - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1.5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - None - Single - Multiple - Extended - - - - - - - - - - - - - - None - Single - Multiple - Extended - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0,0,0,0 - 0,0,0,0 - - - - - - - - - - - 0,0,0,0 - 0,0,0,0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/TestUI/MenuFlyoutPage.xaml.cs b/dev/CommonStyles/TestUI/MenuFlyoutPage.xaml.cs deleted file mode 100644 index bb8ae0dda7..0000000000 --- a/dev/CommonStyles/TestUI/MenuFlyoutPage.xaml.cs +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using Windows.Foundation; -using Windows.Foundation.Metadata; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Input; - -namespace MUXControlsTestApp -{ - - [TopLevelTestPage(Name = "MenuFlyout", Icon = "MenuFlyout.png")] - public sealed partial class MenuFlyoutPage : TestPage - { - private MenuFlyout sharedFlyout; - public MenuFlyoutPage() - { - this.InitializeComponent(); - - sharedFlyout = (MenuFlyout)Resources["SampleContextMenu"]; - } - - private void TestMenuFlyoutItemClick(object sender, object e) - { - TestMenuFlyoutItemHeightTextBlock.Text = $"{TestMenuFlyoutItem.ActualHeight}"; - TestMenuFlyoutItemWidthTextBlock.Text = $"{TestMenuFlyoutItem.ActualWidth}"; - } - - private void Grid_ContextRequested(UIElement sender, ContextRequestedEventArgs args) - { - var requestedElement = sender as FrameworkElement; - - if (args.TryGetPosition(requestedElement, out Point point)) - { - sharedFlyout.ShowAt(requestedElement, point); - } - else - { - sharedFlyout.ShowAt(requestedElement); - } - } - } -} diff --git a/dev/CommonStyles/TestUI/PivotPage.xaml b/dev/CommonStyles/TestUI/PivotPage.xaml deleted file mode 100644 index 3a3a0acbb5..0000000000 --- a/dev/CommonStyles/TestUI/PivotPage.xaml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/TestUI/PivotPage.xaml.cs b/dev/CommonStyles/TestUI/PivotPage.xaml.cs deleted file mode 100644 index a1c1e746ff..0000000000 --- a/dev/CommonStyles/TestUI/PivotPage.xaml.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "Pivot", Icon = "Pivot.png")] - public sealed partial class PivotPage : TestPage - { - public PivotPage() - { - this.InitializeComponent(); - } - } -} diff --git a/dev/CommonStyles/TestUI/ScrollBarPage.xaml b/dev/CommonStyles/TestUI/ScrollBarPage.xaml deleted file mode 100755 index 1c52ddec4e..0000000000 --- a/dev/CommonStyles/TestUI/ScrollBarPage.xaml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/TestUI/ScrollBarPage.xaml.cs b/dev/CommonStyles/TestUI/ScrollBarPage.xaml.cs deleted file mode 100644 index fd45421a41..0000000000 --- a/dev/CommonStyles/TestUI/ScrollBarPage.xaml.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "ScrollBar")] - public sealed partial class ScrollBarPage : TestPage - { - public ScrollBarPage() - { - this.InitializeComponent(); - } - } -} diff --git a/dev/CommonStyles/TestUI/SliderPage.xaml b/dev/CommonStyles/TestUI/SliderPage.xaml deleted file mode 100644 index d4e5f9c2d1..0000000000 --- a/dev/CommonStyles/TestUI/SliderPage.xaml +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/TestUI/SliderPage.xaml.cs b/dev/CommonStyles/TestUI/SliderPage.xaml.cs deleted file mode 100644 index 0960999a62..0000000000 --- a/dev/CommonStyles/TestUI/SliderPage.xaml.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "Slider", Icon = "Slider.png")] - public sealed partial class SliderPage : TestPage - { - public SliderPage() - { - this.InitializeComponent(); - } - } -} diff --git a/dev/CommonStyles/TestUI/TextControlsPage.xaml b/dev/CommonStyles/TestUI/TextControlsPage.xaml deleted file mode 100644 index 112eb9b0ca..0000000000 --- a/dev/CommonStyles/TestUI/TextControlsPage.xaml +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/TestUI/TextControlsPage.xaml.cs b/dev/CommonStyles/TestUI/TextControlsPage.xaml.cs deleted file mode 100644 index 6e16741558..0000000000 --- a/dev/CommonStyles/TestUI/TextControlsPage.xaml.cs +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. -using System.Collections.ObjectModel; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "TextControls")] - public sealed partial class TextControlsPage : TestPage - { - public TextControlsPage() - { - this.InitializeComponent(); - } - - } -} diff --git a/dev/CommonStyles/TestUI/TimePickerPage.xaml b/dev/CommonStyles/TestUI/TimePickerPage.xaml deleted file mode 100644 index 1b8439d983..0000000000 --- a/dev/CommonStyles/TestUI/TimePickerPage.xaml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - diff --git a/dev/CommonStyles/TestUI/TimePickerPage.xaml.cs b/dev/CommonStyles/TestUI/TimePickerPage.xaml.cs deleted file mode 100644 index 07f2ac5324..0000000000 --- a/dev/CommonStyles/TestUI/TimePickerPage.xaml.cs +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "TimePicker", Icon = "TimePicker.png")] - public sealed partial class TimePickerPage : TestPage - { - public TimePickerPage() - { - this.InitializeComponent(); - } - } -} diff --git a/dev/CommonStyles/TestUI/ToolTipPage.xaml b/dev/CommonStyles/TestUI/ToolTipPage.xaml deleted file mode 100644 index faf5a06cab..0000000000 --- a/dev/CommonStyles/TestUI/ToolTipPage.xaml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/TimePicker_themeresources_v1.xaml b/dev/CommonStyles/TimePicker_themeresources_v1.xaml deleted file mode 100644 index fc95f80708..0000000000 --- a/dev/CommonStyles/TimePicker_themeresources_v1.xaml +++ /dev/null @@ -1,446 +0,0 @@ - - - - - 80 - 1 - 1 - 0,0,0,4 - 0,0,20,0 - 20,0,0,0 - Normal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 80 - 0,0,0,4 - 1 - 1 - 0,0,20,0 - 20,0,0,0 - Normal - - - - - 80 - 1 - 1 - 0,0,0,4 - 0,0,20,0 - 20,0,0,0 - Normal - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0,0,0,4 - 40 - 41 - 242 - 456 - 40 - 0,3,0,6 - - 0,3,0,6 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/ToggleButton_themeresources.xaml b/dev/CommonStyles/ToggleButton_themeresources.xaml deleted file mode 100755 index e067bfd955..0000000000 --- a/dev/CommonStyles/ToggleButton_themeresources.xaml +++ /dev/null @@ -1,391 +0,0 @@ - - - - - 1 - OuterBorderEdge - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - OuterBorderEdge - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - OuterBorderEdge - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/ToggleButton_themeresources_v1.xaml b/dev/CommonStyles/ToggleButton_themeresources_v1.xaml deleted file mode 100644 index c6561768d4..0000000000 --- a/dev/CommonStyles/ToggleButton_themeresources_v1.xaml +++ /dev/null @@ -1,381 +0,0 @@ - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/ToggleSwitch_themeresources.xaml b/dev/CommonStyles/ToggleSwitch_themeresources.xaml deleted file mode 100644 index c84676e54b..0000000000 --- a/dev/CommonStyles/ToggleSwitch_themeresources.xaml +++ /dev/null @@ -1,713 +0,0 @@ - - - - - 0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0,0,0,4 - 10 - 10 - - 154 - - - - diff --git a/dev/CommonStyles/ToggleSwitch_themeresources_v1.xaml b/dev/CommonStyles/ToggleSwitch_themeresources_v1.xaml deleted file mode 100644 index 08eb8cb59b..0000000000 --- a/dev/CommonStyles/ToggleSwitch_themeresources_v1.xaml +++ /dev/null @@ -1,584 +0,0 @@ - - - - - 0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0,0,0,0 - 6 - 6 - - 154 - - - - diff --git a/dev/CommonStyles/ToolTip_rs1_themeresources.xaml b/dev/CommonStyles/ToolTip_rs1_themeresources.xaml deleted file mode 100644 index bd6dbe2471..0000000000 --- a/dev/CommonStyles/ToolTip_rs1_themeresources.xaml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - 12 - 1 - - - - - - - - - - - 12 - 1 - - - - - - - - - - 12 - 1 - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/ToolTip_rs1_themeresources_v1.xaml b/dev/CommonStyles/ToolTip_rs1_themeresources_v1.xaml deleted file mode 100644 index d9c0d24699..0000000000 --- a/dev/CommonStyles/ToolTip_rs1_themeresources_v1.xaml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - 12 - 1 - - - - - - - - - - - 12 - 1 - - - - - - - - - - 12 - 1 - - - - - - - - - - - - - - diff --git a/dev/CommonStyles/ToolTip_rs5_themeresources.xaml b/dev/CommonStyles/ToolTip_rs5_themeresources.xaml deleted file mode 100644 index 7dbc475c74..0000000000 --- a/dev/CommonStyles/ToolTip_rs5_themeresources.xaml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 9,6,9,8 - 320 - - - - - diff --git a/dev/CommonStyles/ToolTip_rs5_themeresources_v1.xaml b/dev/CommonStyles/ToolTip_rs5_themeresources_v1.xaml deleted file mode 100644 index 261a41f787..0000000000 --- a/dev/CommonStyles/ToolTip_rs5_themeresources_v1.xaml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - 8,5,8,7 - - - - - 8,5,8,7 - - - - - 8,5,8,7 - - - - - - - diff --git a/dev/DropDownButton/DropDownButton.cpp b/dev/DropDownButton/DropDownButton.cpp deleted file mode 100644 index a8baaecbec..0000000000 --- a/dev/DropDownButton/DropDownButton.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "DropDownButton.h" -#include "DropDownButtonAutomationPeer.h" -#include "RuntimeProfiler.h" -#include "ResourceAccessor.h" - -#include "DropDownButton.properties.cpp" - -DropDownButton::DropDownButton() -{ - __RP_Marker_ClassById(RuntimeProfiler::ProfId_DropDownButton); - - SetDefaultStyleKey(this); -} - -void DropDownButton::OnApplyTemplate() -{ - m_flyoutPropertyChangedRevoker = RegisterPropertyChanged(*this, winrt::Button::FlyoutProperty(), { this, &DropDownButton::OnFlyoutPropertyChanged }); - - RegisterFlyoutEvents(); -} - -void DropDownButton::RegisterFlyoutEvents() -{ - m_flyoutOpenedRevoker.revoke(); - m_flyoutClosedRevoker.revoke(); - - if (Flyout()) - { - m_flyoutOpenedRevoker = Flyout().Opened(winrt::auto_revoke, { this, &DropDownButton::OnFlyoutOpened }); - m_flyoutClosedRevoker = Flyout().Closed(winrt::auto_revoke, { this, &DropDownButton::OnFlyoutClosed }); - } -} - -bool DropDownButton::IsFlyoutOpen() -{ - return m_isFlyoutOpen; -}; - -void DropDownButton::OpenFlyout() -{ - if (auto flyout = Flyout()) - { - flyout.ShowAt(*this); - } -} - -void DropDownButton::CloseFlyout() -{ - if (auto flyout = Flyout()) - { - flyout.Hide(); - } -} - -void DropDownButton::OnFlyoutPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args) -{ - RegisterFlyoutEvents(); -} - -void DropDownButton::OnFlyoutOpened(const winrt::IInspectable& sender, const winrt::IInspectable& args) -{ - m_isFlyoutOpen = true; - SharedHelpers::RaiseAutomationPropertyChangedEvent(*this, winrt::ExpandCollapseState::Collapsed, winrt::ExpandCollapseState::Expanded); -} - -void DropDownButton::OnFlyoutClosed(const winrt::IInspectable& sender, const winrt::IInspectable& args) -{ - m_isFlyoutOpen = false; - SharedHelpers::RaiseAutomationPropertyChangedEvent(*this, winrt::ExpandCollapseState::Expanded, winrt::ExpandCollapseState::Collapsed); -} - -winrt::AutomationPeer DropDownButton::OnCreateAutomationPeer() -{ - return winrt::make(*this); -} diff --git a/dev/DropDownButton/DropDownButton.h b/dev/DropDownButton/DropDownButton.h deleted file mode 100644 index 3aff2d3c64..0000000000 --- a/dev/DropDownButton/DropDownButton.h +++ /dev/null @@ -1,42 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "pch.h" -#include "common.h" - -#include "DropDownButton.g.h" - -class DropDownButton : - public ReferenceTracker -{ - -public: - DropDownButton(); - - // IFrameworkElement - void OnApplyTemplate(); - - // IUIElement - winrt::AutomationPeer OnCreateAutomationPeer(); - - // Internal -- for DropDownButtonAutomationPeer. - bool IsFlyoutOpen(); - void OpenFlyout(); - void CloseFlyout(); - -private: - void RegisterFlyoutEvents(); - - void OnFlyoutPropertyChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args); - void OnFlyoutOpened(const winrt::IInspectable& sender, const winrt::IInspectable& args); - void OnFlyoutClosed(const winrt::IInspectable& sender, const winrt::IInspectable& args); - - bool m_isFlyoutOpen{ false }; - - PropertyChanged_revoker m_flyoutPropertyChangedRevoker{}; - winrt::FlyoutBase::Opened_revoker m_flyoutOpenedRevoker{}; - winrt::FlyoutBase::Closed_revoker m_flyoutClosedRevoker{}; -}; - diff --git a/dev/DropDownButton/DropDownButton.idl b/dev/DropDownButton/DropDownButton.idl deleted file mode 100644 index e49fe9a303..0000000000 --- a/dev/DropDownButton/DropDownButton.idl +++ /dev/null @@ -1,11 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass DropDownButton : Windows.UI.Xaml.Controls.Button -{ - DropDownButton(); -} - -} \ No newline at end of file diff --git a/dev/DropDownButton/DropDownButton.vcxitems b/dev/DropDownButton/DropDownButton.vcxitems deleted file mode 100644 index 9cbf473249..0000000000 --- a/dev/DropDownButton/DropDownButton.vcxitems +++ /dev/null @@ -1,55 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {8613ED91-ADE3-4C5C-A09A-041187841EB3} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - - - - - - - - - - - - - - - - Version2 - RS1 - DefaultStyle - - - Version1 - RS1 - DefaultStyle - - - Version2 - RS2 - DefaultStyle - - - Version1 - RS2 - DefaultStyle - - - Version2 - RS1 - ThemeResources - - - - - - - \ No newline at end of file diff --git a/dev/DropDownButton/DropDownButton.xaml b/dev/DropDownButton/DropDownButton.xaml deleted file mode 100644 index 177150cb8e..0000000000 --- a/dev/DropDownButton/DropDownButton.xaml +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - diff --git a/dev/Expander/ExpanderAutomationPeer.cpp b/dev/Expander/ExpanderAutomationPeer.cpp deleted file mode 100644 index 8139ff0443..0000000000 --- a/dev/Expander/ExpanderAutomationPeer.cpp +++ /dev/null @@ -1,178 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "ExpanderAutomationPeer.h" -#include "Utils.h" -#include "ResourceAccessor.h" -#include - -#include "ExpanderAutomationPeer.properties.cpp" - -// WPF ExpanderAutomationPeer: -// https://github.com/dotnet/wpf/blob/main/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Automation/Peers/ExpanderAutomationPeer.cs - -ExpanderAutomationPeer::ExpanderAutomationPeer(winrt::Expander const& owner) - : ReferenceTracker(owner) -{ -} - -// IAutomationPeerOverrides - -winrt::IInspectable ExpanderAutomationPeer::GetPatternCore(winrt::PatternInterface const& patternInterface) -{ - if (patternInterface == winrt::PatternInterface::ExpandCollapse) - { - return *this; - } - - return __super::GetPatternCore(patternInterface); -} - -hstring ExpanderAutomationPeer::GetClassNameCore() -{ - // WPF uses "Expander" as its class name - return winrt::hstring_name_of(); -} - -hstring ExpanderAutomationPeer::GetNameCore() -{ - return __super::GetNameCore(); -} - -winrt::AutomationControlType ExpanderAutomationPeer::GetAutomationControlTypeCore() -{ - // WPF uses "Group" as its control type core - return winrt::AutomationControlType::Group; -} - -bool ExpanderAutomationPeer::HasKeyboardFocusCore() -{ - // We are not going to call the overriden one because that one doesn't have the toggle button. - auto childrenPeers = GetInner().as().GetChildrenCore(); - - for (auto peer : childrenPeers) - { - if (peer.GetAutomationId() == L"ExpanderToggleButton") - { - // Since the EventsSource of the toggle button - // is the same as the expander's, we need to - // redirect the focus of the expander and base it on the toggle button's. - return peer.HasKeyboardFocus(); - } - } - - // If the toggle button doesn't have the current focus, then - // the expander's not focused. - return false; -} - -// This function gets called when there's narrator and the user is trying to touch the expander -// If this happens, we will return the toggle button's peer and focus it programmatically, -// to synchronize this touch focus with the keyboard one. -winrt::AutomationPeer ExpanderAutomationPeer::GetPeerFromPointCore(winrt::Point point) -{ - auto childrenPeers = GetInner().as().GetChildrenCore(); - - for (auto peer : childrenPeers) - { - if (peer.GetAutomationId() == L"ExpanderToggleButton") - { - auto frameworkElementPeer = peer.as(); - auto toggleButton = frameworkElementPeer.Owner().as(); - toggleButton.Focus(winrt::FocusState::Programmatic); - return peer; - } - } - - return __super::GetPeerFromPointCore(point); -} - -// We are going to take out the toggle button off the children, because we are setting -// the toggle button's event source to this automation peer. This removes any cyclical -// dependency. -winrt::IVector ExpanderAutomationPeer::GetChildrenCore() -{ - auto childrenPeers = GetInner().as().GetChildrenCore(); - auto peers = winrt::make()>>( - static_cast(childrenPeers.Size() - 1) /* capacity */); - for (auto peer : childrenPeers) - { - if (peer.GetAutomationId() != L"ExpanderToggleButton") - { - peers.Append(peer); - } - else - { - // If it is ExpanderToggleButton, we want to exclude it but add its children into the peer - auto expanderToggleButtonChildrenPeers = peer.GetChildrenCore(); - for (auto expanderHeaderPeer : expanderToggleButtonChildrenPeers) - { - peers.Append(expanderHeaderPeer); - } - } - } - - return peers; -} - -// IExpandCollapseProvider - -winrt::ExpandCollapseState ExpanderAutomationPeer::ExpandCollapseState() -{ - auto state = winrt::ExpandCollapseState::Collapsed; - if (auto const expander = Owner().try_as()) - { - state = expander.IsExpanded() ? - winrt::ExpandCollapseState::Expanded : - winrt::ExpandCollapseState::Collapsed; - } - - return state; -} - -void ExpanderAutomationPeer::Expand() -{ - if (auto const expander = Owner().try_as()) - { - expander.IsExpanded(true); - RaiseExpandCollapseAutomationEvent(winrt::ExpandCollapseState::Expanded); - } -} - -void ExpanderAutomationPeer::Collapse() -{ - if (auto const expander = Owner().try_as()) - { - expander.IsExpanded(false); - RaiseExpandCollapseAutomationEvent(winrt::ExpandCollapseState::Collapsed); - } -} - -void ExpanderAutomationPeer::RaiseExpandCollapseAutomationEvent(winrt::ExpandCollapseState newState) -{ - if (winrt::AutomationPeer::ListenerExists(winrt::AutomationEvents::PropertyChanged)) - { - const winrt::ExpandCollapseState oldState = (newState == winrt::ExpandCollapseState::Expanded) ? - winrt::ExpandCollapseState::Collapsed : - winrt::ExpandCollapseState::Expanded; - - // if box_value(oldState) doesn't work here, use ReferenceWithABIRuntimeClassName to make Narrator unbox it. - RaisePropertyChangedEvent(winrt::ExpandCollapsePatternIdentifiers::ExpandCollapseStateProperty(), - box_value(oldState), - box_value(newState)); - } -} - -com_ptr ExpanderAutomationPeer::GetImpl() -{ - com_ptr impl = nullptr; - - if (auto expander = Owner().try_as()) - { - impl = winrt::get_self(expander)->get_strong(); - } - - return impl; -} diff --git a/dev/Expander/ExpanderAutomationPeer.h b/dev/Expander/ExpanderAutomationPeer.h deleted file mode 100644 index 8051949ece..0000000000 --- a/dev/Expander/ExpanderAutomationPeer.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "Expander.h" -#include "ExpanderAutomationPeer.g.h" - -class ExpanderAutomationPeer : - public ReferenceTracker -{ - -public: - ExpanderAutomationPeer(winrt::Expander const& owner); - - // IAutomationPeerOverrides - winrt::IInspectable GetPatternCore(winrt::PatternInterface const& patternInterface); - hstring GetClassNameCore(); - hstring GetNameCore(); - winrt::AutomationControlType GetAutomationControlTypeCore(); - bool HasKeyboardFocusCore(); - winrt::AutomationPeer GetPeerFromPointCore(winrt::Point point); - winrt::IVector GetChildrenCore(); - - // IExpandCollapseProvider - winrt::ExpandCollapseState ExpandCollapseState(); - void Collapse(); - void Expand(); - void RaiseExpandCollapseAutomationEvent(winrt::ExpandCollapseState newState); - - -private: - com_ptr GetImpl(); -}; - diff --git a/dev/Expander/ExpanderAutomationPeer.idl b/dev/Expander/ExpanderAutomationPeer.idl deleted file mode 100644 index d9288a5b6c..0000000000 --- a/dev/Expander/ExpanderAutomationPeer.idl +++ /dev/null @@ -1,12 +0,0 @@ -namespace MU_XAP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass ExpanderAutomationPeer : Windows.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer, -Windows.UI.Xaml.Automation.Provider.IExpandCollapseProvider -{ - ExpanderAutomationPeer(MU_XC_NAMESPACE.Expander owner); -} - -} diff --git a/dev/Expander/ExpanderTemplateSettings.cpp b/dev/Expander/ExpanderTemplateSettings.cpp deleted file mode 100644 index e95a1184fb..0000000000 --- a/dev/Expander/ExpanderTemplateSettings.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "ExpanderTemplateSettings.h" - -ExpanderTemplateSettings::ExpanderTemplateSettings() -{ - EnsureProperties(); -} diff --git a/dev/Expander/ExpanderTemplateSettings.h b/dev/Expander/ExpanderTemplateSettings.h deleted file mode 100644 index 20c6914f2b..0000000000 --- a/dev/Expander/ExpanderTemplateSettings.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "ExpanderTemplateSettings.g.h" -#include "ExpanderTemplateSettings.properties.h" - -class ExpanderTemplateSettings : - public winrt::implementation::ExpanderTemplateSettingsT, - public ExpanderTemplateSettingsProperties -{ -public: - ExpanderTemplateSettings(); -}; diff --git a/dev/Expander/Expander_themeresources.xaml b/dev/Expander/Expander_themeresources.xaml deleted file mode 100644 index fd382ba37e..0000000000 --- a/dev/Expander/Expander_themeresources.xaml +++ /dev/null @@ -1,664 +0,0 @@ - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - - 2 - - - - - - - - - - - 2 - - - - - - - - - - 48 - - - Stretch - Center - 16,0,0,0 - 20,0,8,0 - - - 32 - 12 - - - 16 - 1,0,1,1 - 1,1,1,0 - - - - - diff --git a/dev/Expander/InteractionTests/ExpanderTests.cs b/dev/Expander/InteractionTests/ExpanderTests.cs deleted file mode 100644 index 164639ff92..0000000000 --- a/dev/Expander/InteractionTests/ExpanderTests.cs +++ /dev/null @@ -1,200 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Common; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common; -using System.Collections.Generic; -using Windows.Foundation.Metadata; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -using Microsoft.Windows.Apps.Test.Automation; -using Microsoft.Windows.Apps.Test.Foundation; -using Microsoft.Windows.Apps.Test.Foundation.Controls; -using Microsoft.Windows.Apps.Test.Foundation.Patterns; -using Microsoft.Windows.Apps.Test.Foundation.Waiters; -using MUXTestInfra.Shared.Infra; - -namespace Windows.UI.Xaml.Tests.MUXControls.InteractionTests -{ - public class Expander : UIObject, IExpandCollapse - { - public Expander(UIObject uiObject) - : base(uiObject) - { - this.Initialize(); - } - - private void Initialize() - { - _expandCollapsePattern = new ExpandCollapseImplementation(this); - } - - public void ExpandAndWait() - { - using (var waiter = GetExpandedWaiter()) - { - Expand(); - waiter.Wait(); - } - - Wait.ForIdle(); - } - - public void CollapseAndWait() - { - using (var waiter = GetCollapsedWaiter()) - { - Collapse(); - waiter.Wait(); - } - - Wait.ForIdle(); - } - - public void Expand() - { - _expandCollapsePattern.Expand(); - } - - public void Collapse() - { - _expandCollapsePattern.Collapse(); - } - - public UIEventWaiter GetExpandedWaiter() - { - return _expandCollapsePattern.GetExpandedWaiter(); - } - - public UIEventWaiter GetCollapsedWaiter() - { - return _expandCollapsePattern.GetCollapsedWaiter(); - } - - public ExpandCollapseState ExpandCollapseState - { - get { return _expandCollapsePattern.ExpandCollapseState; } - } - - new public static IFactory Factory - { - get - { - if (null == Expander._factory) - { - Expander._factory = new ExpanderFactory(); - } - return Expander._factory; - } - } - - private IExpandCollapse _expandCollapsePattern; - private static IFactory _factory = null; - private class ExpanderFactory : IFactory - { - public Expander Create(UIObject element) - { - return new Expander(element); - } - } - } - - [TestClass] - public class ExpanderTests - { - [ClassInitialize] - [TestProperty("RunAs", "User")] - [TestProperty("Classification", "Integration")] - [TestProperty("Platform", "Any")] - [TestProperty("MUXControlsTestSuite", "SuiteB")] - public static void ClassInitialize(TestContext testContext) - { - TestEnvironment.Initialize(testContext); - } - - public void TestCleanup() - { - TestCleanupHelper.Cleanup(); - } - - [TestMethod] - public void VerifyAxeScanPasses() - { - using (var setup = new TestSetupHelper("Expander-Axe")) - { - AxeTestHelper.TestForAxeIssues(); - } - } - - [TestMethod] - public void ExpandCollapseAutomationTests() - { - using (var setup = new TestSetupHelper("Expander Tests")) - { - Expander expander = FindElement.ByName("ExpandedExpander"); - expander.SetFocus(); - Wait.ForIdle(); - - Log.Comment("Collapse using keyboard space key."); - KeyboardHelper.PressKey(Key.Space); - Verify.AreEqual(expander.ExpandCollapseState, ExpandCollapseState.Collapsed); - - Log.Comment("Expand using keyboard space key."); - KeyboardHelper.PressKey(Key.Space); - Verify.AreEqual(expander.ExpandCollapseState, ExpandCollapseState.Expanded); - - Log.Comment("Collapse by clicking."); - expander.Click(); - Verify.AreEqual(expander.ExpandCollapseState, ExpandCollapseState.Collapsed); - - Log.Comment("Expand by clicking."); - expander.Click(); - Verify.AreEqual(expander.ExpandCollapseState, ExpandCollapseState.Expanded); - - Log.Comment("Collapse using UIA ExpandCollapse pattern"); - expander.CollapseAndWait(); - Verify.AreEqual(expander.ExpandCollapseState, ExpandCollapseState.Collapsed); - - Log.Comment("Expand using UIA ExpandCollapse pattern"); - expander.ExpandAndWait(); - Verify.AreEqual(expander.ExpandCollapseState, ExpandCollapseState.Expanded); - } - } - - [TestMethod] - public void AutomationPeerTest() - { - using (var setup = new TestSetupHelper("Expander Tests")) - { - Expander expander = FindElement.ByName("ExpanderWithToggleSwitch"); - expander.SetFocus(); - Wait.ForIdle(); - - // Verify ExpandedExpander header content AutomationProperties.Name properties are set - VerifyElement.Found("This expander with ToggleSwitch is expanded by default.", FindBy.Name); - VerifyElement.Found("This is the second line of text.", FindBy.Name); - VerifyElement.Found("SettingsToggleSwitch", FindBy.Name); - - // Verify ExpandedExpander content AutomationProperties.Name property is set - VerifyElement.Found("ExpanderWithToggleSwitch Content", FindBy.Name); - - Log.Comment("Collapse using keyboard space key."); - KeyboardHelper.PressKey(Key.Space); - Verify.AreEqual(expander.ExpandCollapseState, ExpandCollapseState.Collapsed); - - // Verify ExpandedExpander content AutomationProperties.Name property is not visible once collapsed - VerifyElement.NotFound("ExpanderWithToggleSwitch Content", FindBy.Name); - } - } - } -} diff --git a/dev/Expander/InteractionTests/Expander_InteractionTests.projitems b/dev/Expander/InteractionTests/Expander_InteractionTests.projitems deleted file mode 100644 index 15b0759ec7..0000000000 --- a/dev/Expander/InteractionTests/Expander_InteractionTests.projitems +++ /dev/null @@ -1,15 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - A1553559-5786-4B44-AB9E-94AB95C86D4D - - - Expander_InteractionTests - - - - - diff --git a/dev/Expander/InteractionTests/Expander_InteractionTests.shproj b/dev/Expander/InteractionTests/Expander_InteractionTests.shproj deleted file mode 100644 index 188a2ba007..0000000000 --- a/dev/Expander/InteractionTests/Expander_InteractionTests.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - {D6DF4AB9-FACC-4E51-8C57-6B1F96919365} - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/Expander/TestUI/ExpanderPage.xaml b/dev/Expander/TestUI/ExpanderPage.xaml deleted file mode 100644 index 2bde482dd8..0000000000 --- a/dev/Expander/TestUI/ExpanderPage.xaml +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This is a Togglebutton in the header - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This expander stretches along with its content - - - Header and Content is right aligned - - - - - - This expander sets a fixed height - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec id lacinia tellus. Integer eu mollis leo, ornare ultricies neque. Sed diam lectus, varius sed justo vel, malesuada condimentum lorem. Proin porttitor quis enim a facilisis. Suspendisse vehicula imperdiet egestas. Suspendisse imperdiet, ipsum in commodo cursus, mi nisl volutpat nulla, in interdum mi nulla a nulla. Cras feugiat odio ac eros ullamcorper suscipit. Praesent ultricies ligula eget efficitur tristique. Donec imperdiet ultrices dolor sollicitudin bibendum. In hac habitasse platea dictumst. Fusce vel lacinia purus. Sed tempor est sed suscipit luctus. Aenean laoreet tellus vitae efficitur scelerisque. Sed suscipit risus ac nisl rhoncus hendrerit. - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/Expander/TestUI/ExpanderPage.xaml.cs b/dev/Expander/TestUI/ExpanderPage.xaml.cs deleted file mode 100644 index bb00be1526..0000000000 --- a/dev/Expander/TestUI/ExpanderPage.xaml.cs +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Markup; -using Windows.UI; -using System.Windows.Input; - -using Expander = Microsoft.UI.Xaml.Controls.Expander; -using Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests.Common; -using Windows.UI.Xaml.Automation.Peers; - -namespace MUXControlsTestApp -{ - // We are going to test setting the events source of an expander to the customcontrol's - public sealed class TestControl : ContentControl - { - protected override AutomationPeer OnCreateAutomationPeer() - { - return new TestControlAutomationPeer(this); - } - - } - - public sealed class TestControlAutomationPeer : FrameworkElementAutomationPeer - { - public TestControlAutomationPeer(TestControl owner) : base(owner){} - protected override AutomationControlType GetAutomationControlTypeCore() - { - return AutomationControlType.Custom; - } - - protected override string GetLocalizedControlTypeCore() - { - return "TestControl"; - } - } - - [TopLevelTestPage(Name = "Expander")] - [AxeScanTestPage(Name = "Expander-Axe")] - public sealed partial class ExpanderPage : TestPage - { - public ExpanderPage() - { - this.InitializeComponent(); - var customControlPeer = FrameworkElementAutomationPeer.FromElement(CustomControl); - var expanderPeer = FrameworkElementAutomationPeer.FromElement(ExpanderWithCustomEventsSource); - - // Commenting because of MuxTestInfra bug: - // https://github.com/microsoft/microsoft-ui-xaml/issues/3491 - //expanderPeer.EventsSource = customControlPeer; - } - } -} diff --git a/dev/Expander/TestUI/Expander_TestUI.projitems b/dev/Expander/TestUI/Expander_TestUI.projitems deleted file mode 100644 index 618754c281..0000000000 --- a/dev/Expander/TestUI/Expander_TestUI.projitems +++ /dev/null @@ -1,23 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - 280C91F4-96B5-4BDE-9E02-E573E1DEF583 - - - Expander_TestUI - - - - Designer - MSBuild:Compile - - - - - ExpanderPage.xaml - - - diff --git a/dev/Expander/TestUI/Expander_TestUI.shproj b/dev/Expander/TestUI/Expander_TestUI.shproj deleted file mode 100644 index ebd793be42..0000000000 --- a/dev/Expander/TestUI/Expander_TestUI.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - {50C1F1D3-20AA-49A8-9E4C-CF4E5811A1D8} - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/Generated/AcrylicBrush.properties.cpp b/dev/Generated/AcrylicBrush.properties.cpp deleted file mode 100644 index abb3f3e41c..0000000000 --- a/dev/Generated/AcrylicBrush.properties.cpp +++ /dev/null @@ -1,249 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AcrylicBrush.h" - -GlobalDependencyProperty AcrylicBrushProperties::s_AlwaysUseFallbackProperty{ nullptr }; -GlobalDependencyProperty AcrylicBrushProperties::s_BackgroundSourceProperty{ nullptr }; -GlobalDependencyProperty AcrylicBrushProperties::s_TintColorProperty{ nullptr }; -GlobalDependencyProperty AcrylicBrushProperties::s_TintLuminosityOpacityProperty{ nullptr }; -GlobalDependencyProperty AcrylicBrushProperties::s_TintOpacityProperty{ nullptr }; -GlobalDependencyProperty AcrylicBrushProperties::s_TintTransitionDurationProperty{ nullptr }; - -AcrylicBrushProperties::AcrylicBrushProperties() -{ - EnsureProperties(); -} - -void AcrylicBrushProperties::EnsureProperties() -{ - if (!s_AlwaysUseFallbackProperty) - { - s_AlwaysUseFallbackProperty = - InitializeDependencyProperty( - L"AlwaysUseFallback", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnAlwaysUseFallbackPropertyChanged)); - } - if (!s_BackgroundSourceProperty) - { - s_BackgroundSourceProperty = - InitializeDependencyProperty( - L"BackgroundSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::AcrylicBackgroundSource::Backdrop), - winrt::PropertyChangedCallback(&OnBackgroundSourcePropertyChanged)); - } - if (!s_TintColorProperty) - { - s_TintColorProperty = - InitializeDependencyProperty( - L"TintColor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(AcrylicBrush::sc_defaultTintColor), - winrt::PropertyChangedCallback(&OnTintColorPropertyChanged)); - } - if (!s_TintLuminosityOpacityProperty) - { - s_TintLuminosityOpacityProperty = - InitializeDependencyProperty( - L"TintLuminosityOpacity", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTintLuminosityOpacityPropertyChanged)); - } - if (!s_TintOpacityProperty) - { - s_TintOpacityProperty = - InitializeDependencyProperty( - L"TintOpacity", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(AcrylicBrush::sc_defaultTintOpacity), - winrt::PropertyChangedCallback(&OnTintOpacityPropertyChanged)); - } - if (!s_TintTransitionDurationProperty) - { - s_TintTransitionDurationProperty = - InitializeDependencyProperty( - L"TintTransitionDuration", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(AcrylicBrush::sc_defaultTintTransitionDuration), - winrt::PropertyChangedCallback(&OnTintTransitionDurationPropertyChanged)); - } -} - -void AcrylicBrushProperties::ClearProperties() -{ - s_AlwaysUseFallbackProperty = nullptr; - s_BackgroundSourceProperty = nullptr; - s_TintColorProperty = nullptr; - s_TintLuminosityOpacityProperty = nullptr; - s_TintOpacityProperty = nullptr; - s_TintTransitionDurationProperty = nullptr; -} - -void AcrylicBrushProperties::OnAlwaysUseFallbackPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AcrylicBrushProperties::OnBackgroundSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AcrylicBrushProperties::OnTintColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AcrylicBrushProperties::OnTintLuminosityOpacityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value>(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->CoerceToZeroOneRange_Nullable(coercedValue); - if (value != coercedValue) - { - sender.SetValue(args.Property(), winrt::box_value>(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AcrylicBrushProperties::OnTintOpacityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->CoerceToZeroOneRange(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AcrylicBrushProperties::OnTintTransitionDurationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AcrylicBrushProperties::AlwaysUseFallback(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AlwaysUseFallbackProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool AcrylicBrushProperties::AlwaysUseFallback() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AlwaysUseFallbackProperty)); -} - -void AcrylicBrushProperties::BackgroundSource(winrt::AcrylicBackgroundSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BackgroundSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::AcrylicBackgroundSource AcrylicBrushProperties::BackgroundSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BackgroundSourceProperty)); -} - -void AcrylicBrushProperties::TintColor(winrt::Color const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TintColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Color AcrylicBrushProperties::TintColor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TintColorProperty)); -} - -void AcrylicBrushProperties::TintLuminosityOpacity(winrt::IReference const& value) -{ - [[gsl::suppress(con)]] - { - winrt::IReference coercedValue = value; - static_cast(this)->CoerceToZeroOneRange_Nullable(coercedValue); - static_cast(this)->SetValue(s_TintLuminosityOpacityProperty, ValueHelper>::BoxValueIfNecessary(coercedValue)); - } -} - -winrt::IReference AcrylicBrushProperties::TintLuminosityOpacity() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_TintLuminosityOpacityProperty)); -} - -void AcrylicBrushProperties::TintOpacity(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->CoerceToZeroOneRange(coercedValue); - static_cast(this)->SetValue(s_TintOpacityProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double AcrylicBrushProperties::TintOpacity() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TintOpacityProperty)); -} - -void AcrylicBrushProperties::TintTransitionDuration(winrt::TimeSpan const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TintTransitionDurationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TimeSpan AcrylicBrushProperties::TintTransitionDuration() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TintTransitionDurationProperty)); -} diff --git a/dev/Generated/AcrylicBrush.properties.h b/dev/Generated/AcrylicBrush.properties.h deleted file mode 100644 index 33e6e201a7..0000000000 --- a/dev/Generated/AcrylicBrush.properties.h +++ /dev/null @@ -1,70 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class AcrylicBrushProperties -{ -public: - AcrylicBrushProperties(); - - void AlwaysUseFallback(bool value); - bool AlwaysUseFallback(); - - void BackgroundSource(winrt::AcrylicBackgroundSource const& value); - winrt::AcrylicBackgroundSource BackgroundSource(); - - void TintColor(winrt::Color const& value); - winrt::Color TintColor(); - - void TintLuminosityOpacity(winrt::IReference const& value); - winrt::IReference TintLuminosityOpacity(); - - void TintOpacity(double value); - double TintOpacity(); - - void TintTransitionDuration(winrt::TimeSpan const& value); - winrt::TimeSpan TintTransitionDuration(); - - static winrt::DependencyProperty AlwaysUseFallbackProperty() { return s_AlwaysUseFallbackProperty; } - static winrt::DependencyProperty BackgroundSourceProperty() { return s_BackgroundSourceProperty; } - static winrt::DependencyProperty TintColorProperty() { return s_TintColorProperty; } - static winrt::DependencyProperty TintLuminosityOpacityProperty() { return s_TintLuminosityOpacityProperty; } - static winrt::DependencyProperty TintOpacityProperty() { return s_TintOpacityProperty; } - static winrt::DependencyProperty TintTransitionDurationProperty() { return s_TintTransitionDurationProperty; } - - static GlobalDependencyProperty s_AlwaysUseFallbackProperty; - static GlobalDependencyProperty s_BackgroundSourceProperty; - static GlobalDependencyProperty s_TintColorProperty; - static GlobalDependencyProperty s_TintLuminosityOpacityProperty; - static GlobalDependencyProperty s_TintOpacityProperty; - static GlobalDependencyProperty s_TintTransitionDurationProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnAlwaysUseFallbackPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnBackgroundSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTintColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTintLuminosityOpacityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTintOpacityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTintTransitionDurationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/AcrylicTestApi.properties.cpp b/dev/Generated/AcrylicTestApi.properties.cpp deleted file mode 100644 index d9e178f9ba..0000000000 --- a/dev/Generated/AcrylicTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AcrylicTestApi.h" - -namespace winrt::Microsoft::UI::Private::Media -{ - CppWinRTActivatableClassWithBasicFactory(AcrylicTestApi) -} - -#include "AcrylicTestApi.g.cpp" - - diff --git a/dev/Generated/AnimatedAcceptVisualSource.properties.cpp b/dev/Generated/AnimatedAcceptVisualSource.properties.cpp deleted file mode 100644 index cb061fefa6..0000000000 --- a/dev/Generated/AnimatedAcceptVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedAcceptVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedAcceptVisualSource) -} - -#include "AnimatedAcceptVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedBackVisualSource.properties.cpp b/dev/Generated/AnimatedBackVisualSource.properties.cpp deleted file mode 100644 index 7e08e74571..0000000000 --- a/dev/Generated/AnimatedBackVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedBackVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedBackVisualSource) -} - -#include "AnimatedBackVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedChevronDownSmallVisualSource.properties.cpp b/dev/Generated/AnimatedChevronDownSmallVisualSource.properties.cpp deleted file mode 100644 index 43face0071..0000000000 --- a/dev/Generated/AnimatedChevronDownSmallVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedChevronDownSmallVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedChevronDownSmallVisualSource) -} - -#include "AnimatedChevronDownSmallVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedChevronRightDownSmallVisualSource.properties.cpp b/dev/Generated/AnimatedChevronRightDownSmallVisualSource.properties.cpp deleted file mode 100644 index 0e8ef8b291..0000000000 --- a/dev/Generated/AnimatedChevronRightDownSmallVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedChevronRightDownSmallVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedChevronRightDownSmallVisualSource) -} - -#include "AnimatedChevronRightDownSmallVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedChevronUpDownSmallVisualSource.properties.cpp b/dev/Generated/AnimatedChevronUpDownSmallVisualSource.properties.cpp deleted file mode 100644 index 5b294ef484..0000000000 --- a/dev/Generated/AnimatedChevronUpDownSmallVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedChevronUpDownSmallVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedChevronUpDownSmallVisualSource) -} - -#include "AnimatedChevronUpDownSmallVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedFindVisualSource.properties.cpp b/dev/Generated/AnimatedFindVisualSource.properties.cpp deleted file mode 100644 index 054b2b9e13..0000000000 --- a/dev/Generated/AnimatedFindVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedFindVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedFindVisualSource) -} - -#include "AnimatedFindVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedGlobalNavigationButtonVisualSource.properties.cpp b/dev/Generated/AnimatedGlobalNavigationButtonVisualSource.properties.cpp deleted file mode 100644 index 73253cce7c..0000000000 --- a/dev/Generated/AnimatedGlobalNavigationButtonVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedGlobalNavigationButtonVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedGlobalNavigationButtonVisualSource) -} - -#include "AnimatedGlobalNavigationButtonVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedIcon.properties.cpp b/dev/Generated/AnimatedIcon.properties.cpp deleted file mode 100644 index 4b53b1b82b..0000000000 --- a/dev/Generated/AnimatedIcon.properties.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedIcon.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(AnimatedIcon) -} - -#include "AnimatedIcon.g.cpp" - -GlobalDependencyProperty AnimatedIconProperties::s_FallbackIconSourceProperty{ nullptr }; -GlobalDependencyProperty AnimatedIconProperties::s_MirroredWhenRightToLeftProperty{ nullptr }; -GlobalDependencyProperty AnimatedIconProperties::s_SourceProperty{ nullptr }; -GlobalDependencyProperty AnimatedIconProperties::s_StateProperty{ nullptr }; - -AnimatedIconProperties::AnimatedIconProperties() -{ - EnsureProperties(); -} - -void AnimatedIconProperties::EnsureProperties() -{ - if (!s_FallbackIconSourceProperty) - { - s_FallbackIconSourceProperty = - InitializeDependencyProperty( - L"FallbackIconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFallbackIconSourcePropertyChanged)); - } - if (!s_MirroredWhenRightToLeftProperty) - { - s_MirroredWhenRightToLeftProperty = - InitializeDependencyProperty( - L"MirroredWhenRightToLeft", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMirroredWhenRightToLeftPropertyChanged)); - } - if (!s_SourceProperty) - { - s_SourceProperty = - InitializeDependencyProperty( - L"Source", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSourcePropertyChanged)); - } - if (!s_StateProperty) - { - s_StateProperty = - InitializeDependencyProperty( - L"State", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - &AnimatedIcon::OnAnimatedIconStatePropertyChanged); - } -} - -void AnimatedIconProperties::ClearProperties() -{ - s_FallbackIconSourceProperty = nullptr; - s_MirroredWhenRightToLeftProperty = nullptr; - s_SourceProperty = nullptr; - s_StateProperty = nullptr; -} - -void AnimatedIconProperties::OnFallbackIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnFallbackIconSourcePropertyChanged(args); -} - -void AnimatedIconProperties::OnMirroredWhenRightToLeftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMirroredWhenRightToLeftPropertyChanged(args); -} - -void AnimatedIconProperties::OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSourcePropertyChanged(args); -} - -void AnimatedIconProperties::FallbackIconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FallbackIconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource AnimatedIconProperties::FallbackIconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FallbackIconSourceProperty)); -} - -void AnimatedIconProperties::MirroredWhenRightToLeft(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MirroredWhenRightToLeftProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool AnimatedIconProperties::MirroredWhenRightToLeft() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MirroredWhenRightToLeftProperty)); -} - -void AnimatedIconProperties::Source(winrt::IAnimatedVisualSource2 const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IAnimatedVisualSource2 AnimatedIconProperties::Source() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SourceProperty)); -} - - -void AnimatedIconProperties::SetState(winrt::DependencyObject const& target, winrt::hstring const& value) -{ - target.SetValue(s_StateProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -winrt::hstring AnimatedIconProperties::GetState(winrt::DependencyObject const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_StateProperty)); -} diff --git a/dev/Generated/AnimatedIcon.properties.h b/dev/Generated/AnimatedIcon.properties.h deleted file mode 100644 index 741b4611c7..0000000000 --- a/dev/Generated/AnimatedIcon.properties.h +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class AnimatedIconProperties -{ -public: - AnimatedIconProperties(); - - void FallbackIconSource(winrt::IconSource const& value); - winrt::IconSource FallbackIconSource(); - - void MirroredWhenRightToLeft(bool value); - bool MirroredWhenRightToLeft(); - - void Source(winrt::IAnimatedVisualSource2 const& value); - winrt::IAnimatedVisualSource2 Source(); - - static void SetState(winrt::DependencyObject const& target, winrt::hstring const& value); - static winrt::hstring GetState(winrt::DependencyObject const& target); - - static winrt::DependencyProperty FallbackIconSourceProperty() { return s_FallbackIconSourceProperty; } - static winrt::DependencyProperty MirroredWhenRightToLeftProperty() { return s_MirroredWhenRightToLeftProperty; } - static winrt::DependencyProperty SourceProperty() { return s_SourceProperty; } - static winrt::DependencyProperty StateProperty() { return s_StateProperty; } - - static GlobalDependencyProperty s_FallbackIconSourceProperty; - static GlobalDependencyProperty s_MirroredWhenRightToLeftProperty; - static GlobalDependencyProperty s_SourceProperty; - static GlobalDependencyProperty s_StateProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnFallbackIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMirroredWhenRightToLeftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/AnimatedIconSource.properties.cpp b/dev/Generated/AnimatedIconSource.properties.cpp deleted file mode 100644 index f9ec53d3a2..0000000000 --- a/dev/Generated/AnimatedIconSource.properties.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedIconSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(AnimatedIconSource) -} - -#include "AnimatedIconSource.g.cpp" - -GlobalDependencyProperty AnimatedIconSourceProperties::s_FallbackIconSourceProperty{ nullptr }; -GlobalDependencyProperty AnimatedIconSourceProperties::s_MirroredWhenRightToLeftProperty{ nullptr }; -GlobalDependencyProperty AnimatedIconSourceProperties::s_SourceProperty{ nullptr }; - -AnimatedIconSourceProperties::AnimatedIconSourceProperties() -{ - EnsureProperties(); -} - -void AnimatedIconSourceProperties::EnsureProperties() -{ - IconSource::EnsureProperties(); - if (!s_FallbackIconSourceProperty) - { - s_FallbackIconSourceProperty = - InitializeDependencyProperty( - L"FallbackIconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFallbackIconSourcePropertyChanged)); - } - if (!s_MirroredWhenRightToLeftProperty) - { - s_MirroredWhenRightToLeftProperty = - InitializeDependencyProperty( - L"MirroredWhenRightToLeft", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMirroredWhenRightToLeftPropertyChanged)); - } - if (!s_SourceProperty) - { - s_SourceProperty = - InitializeDependencyProperty( - L"Source", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSourcePropertyChanged)); - } -} - -void AnimatedIconSourceProperties::ClearProperties() -{ - s_FallbackIconSourceProperty = nullptr; - s_MirroredWhenRightToLeftProperty = nullptr; - s_SourceProperty = nullptr; - IconSource::ClearProperties(); -} - -void AnimatedIconSourceProperties::OnFallbackIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AnimatedIconSourceProperties::OnMirroredWhenRightToLeftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AnimatedIconSourceProperties::OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void AnimatedIconSourceProperties::FallbackIconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FallbackIconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource AnimatedIconSourceProperties::FallbackIconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FallbackIconSourceProperty)); -} - -void AnimatedIconSourceProperties::MirroredWhenRightToLeft(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MirroredWhenRightToLeftProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool AnimatedIconSourceProperties::MirroredWhenRightToLeft() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MirroredWhenRightToLeftProperty)); -} - -void AnimatedIconSourceProperties::Source(winrt::IAnimatedVisualSource2 const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IAnimatedVisualSource2 AnimatedIconSourceProperties::Source() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SourceProperty)); -} diff --git a/dev/Generated/AnimatedIconSource.properties.h b/dev/Generated/AnimatedIconSource.properties.h deleted file mode 100644 index e1c08bef74..0000000000 --- a/dev/Generated/AnimatedIconSource.properties.h +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class AnimatedIconSourceProperties -{ -public: - AnimatedIconSourceProperties(); - - void FallbackIconSource(winrt::IconSource const& value); - winrt::IconSource FallbackIconSource(); - - void MirroredWhenRightToLeft(bool value); - bool MirroredWhenRightToLeft(); - - void Source(winrt::IAnimatedVisualSource2 const& value); - winrt::IAnimatedVisualSource2 Source(); - - static winrt::DependencyProperty FallbackIconSourceProperty() { return s_FallbackIconSourceProperty; } - static winrt::DependencyProperty MirroredWhenRightToLeftProperty() { return s_MirroredWhenRightToLeftProperty; } - static winrt::DependencyProperty SourceProperty() { return s_SourceProperty; } - - static GlobalDependencyProperty s_FallbackIconSourceProperty; - static GlobalDependencyProperty s_MirroredWhenRightToLeftProperty; - static GlobalDependencyProperty s_SourceProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnFallbackIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMirroredWhenRightToLeftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/AnimatedIconTestHooks.properties.cpp b/dev/Generated/AnimatedIconTestHooks.properties.cpp deleted file mode 100644 index e6aafe5345..0000000000 --- a/dev/Generated/AnimatedIconTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedIconTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedIconTestHooks) -} - -#include "AnimatedIconTestHooks.g.cpp" - - diff --git a/dev/Generated/AnimatedSettingsVisualSource.properties.cpp b/dev/Generated/AnimatedSettingsVisualSource.properties.cpp deleted file mode 100644 index 9176c3869a..0000000000 --- a/dev/Generated/AnimatedSettingsVisualSource.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedSettingsVisualSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::AnimatedVisuals -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedSettingsVisualSource) -} - -#include "AnimatedSettingsVisualSource.g.cpp" - - diff --git a/dev/Generated/AnimatedVisualPlayer.properties.cpp b/dev/Generated/AnimatedVisualPlayer.properties.cpp deleted file mode 100644 index f1045954df..0000000000 --- a/dev/Generated/AnimatedVisualPlayer.properties.cpp +++ /dev/null @@ -1,336 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedVisualPlayer.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(AnimatedVisualPlayer) -} - -#include "AnimatedVisualPlayer.g.cpp" - -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_AnimationOptimizationProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_AutoPlayProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_DiagnosticsProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_DurationProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_FallbackContentProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_IsAnimatedVisualLoadedProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_IsPlayingProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_PlaybackRateProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_SourceProperty{ nullptr }; -GlobalDependencyProperty AnimatedVisualPlayerProperties::s_StretchProperty{ nullptr }; - -AnimatedVisualPlayerProperties::AnimatedVisualPlayerProperties() -{ - EnsureProperties(); -} - -void AnimatedVisualPlayerProperties::EnsureProperties() -{ - if (!s_AnimationOptimizationProperty) - { - s_AnimationOptimizationProperty = - InitializeDependencyProperty( - L"AnimationOptimization", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::PlayerAnimationOptimization::Latency), - winrt::PropertyChangedCallback(&OnAnimationOptimizationPropertyChanged)); - } - if (!s_AutoPlayProperty) - { - s_AutoPlayProperty = - InitializeDependencyProperty( - L"AutoPlay", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnAutoPlayPropertyChanged)); - } - if (!s_DiagnosticsProperty) - { - s_DiagnosticsProperty = - InitializeDependencyProperty( - L"Diagnostics", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_DurationProperty) - { - s_DurationProperty = - InitializeDependencyProperty( - L"Duration", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_FallbackContentProperty) - { - s_FallbackContentProperty = - InitializeDependencyProperty( - L"FallbackContent", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFallbackContentPropertyChanged)); - } - if (!s_IsAnimatedVisualLoadedProperty) - { - s_IsAnimatedVisualLoadedProperty = - InitializeDependencyProperty( - L"IsAnimatedVisualLoaded", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_IsPlayingProperty) - { - s_IsPlayingProperty = - InitializeDependencyProperty( - L"IsPlaying", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PlaybackRateProperty) - { - s_PlaybackRateProperty = - InitializeDependencyProperty( - L"PlaybackRate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1), - winrt::PropertyChangedCallback(&OnPlaybackRatePropertyChanged)); - } - if (!s_SourceProperty) - { - s_SourceProperty = - InitializeDependencyProperty( - L"Source", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSourcePropertyChanged)); - } - if (!s_StretchProperty) - { - s_StretchProperty = - InitializeDependencyProperty( - L"Stretch", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Stretch::Uniform), - winrt::PropertyChangedCallback(&OnStretchPropertyChanged)); - } -} - -void AnimatedVisualPlayerProperties::ClearProperties() -{ - s_AnimationOptimizationProperty = nullptr; - s_AutoPlayProperty = nullptr; - s_DiagnosticsProperty = nullptr; - s_DurationProperty = nullptr; - s_FallbackContentProperty = nullptr; - s_IsAnimatedVisualLoadedProperty = nullptr; - s_IsPlayingProperty = nullptr; - s_PlaybackRateProperty = nullptr; - s_SourceProperty = nullptr; - s_StretchProperty = nullptr; -} - -void AnimatedVisualPlayerProperties::OnAnimationOptimizationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnAnimationOptimizationPropertyChanged(args); -} - -void AnimatedVisualPlayerProperties::OnAutoPlayPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnAutoPlayPropertyChanged(args); -} - -void AnimatedVisualPlayerProperties::OnFallbackContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnFallbackContentPropertyChanged(args); -} - -void AnimatedVisualPlayerProperties::OnPlaybackRatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPlaybackRatePropertyChanged(args); -} - -void AnimatedVisualPlayerProperties::OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSourcePropertyChanged(args); -} - -void AnimatedVisualPlayerProperties::OnStretchPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnStretchPropertyChanged(args); -} - -void AnimatedVisualPlayerProperties::AnimationOptimization(winrt::PlayerAnimationOptimization const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AnimationOptimizationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PlayerAnimationOptimization AnimatedVisualPlayerProperties::AnimationOptimization() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AnimationOptimizationProperty)); -} - -void AnimatedVisualPlayerProperties::AutoPlay(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AutoPlayProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool AnimatedVisualPlayerProperties::AutoPlay() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AutoPlayProperty)); -} - -void AnimatedVisualPlayerProperties::Diagnostics(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DiagnosticsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable AnimatedVisualPlayerProperties::Diagnostics() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DiagnosticsProperty)); -} - -void AnimatedVisualPlayerProperties::Duration(winrt::TimeSpan const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DurationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TimeSpan AnimatedVisualPlayerProperties::Duration() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DurationProperty)); -} - -void AnimatedVisualPlayerProperties::FallbackContent(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FallbackContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate AnimatedVisualPlayerProperties::FallbackContent() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FallbackContentProperty)); -} - -void AnimatedVisualPlayerProperties::IsAnimatedVisualLoaded(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsAnimatedVisualLoadedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool AnimatedVisualPlayerProperties::IsAnimatedVisualLoaded() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsAnimatedVisualLoadedProperty)); -} - -void AnimatedVisualPlayerProperties::IsPlaying(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsPlayingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool AnimatedVisualPlayerProperties::IsPlaying() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsPlayingProperty)); -} - -void AnimatedVisualPlayerProperties::PlaybackRate(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PlaybackRateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double AnimatedVisualPlayerProperties::PlaybackRate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PlaybackRateProperty)); -} - -void AnimatedVisualPlayerProperties::Source(winrt::IAnimatedVisualSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IAnimatedVisualSource AnimatedVisualPlayerProperties::Source() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SourceProperty)); -} - -void AnimatedVisualPlayerProperties::Stretch(winrt::Stretch const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_StretchProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Stretch AnimatedVisualPlayerProperties::Stretch() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_StretchProperty)); -} diff --git a/dev/Generated/AnimatedVisualPlayer.properties.h b/dev/Generated/AnimatedVisualPlayer.properties.h deleted file mode 100644 index f29301c793..0000000000 --- a/dev/Generated/AnimatedVisualPlayer.properties.h +++ /dev/null @@ -1,90 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class AnimatedVisualPlayerProperties -{ -public: - AnimatedVisualPlayerProperties(); - - void AnimationOptimization(winrt::PlayerAnimationOptimization const& value); - winrt::PlayerAnimationOptimization AnimationOptimization(); - - void AutoPlay(bool value); - bool AutoPlay(); - - void Diagnostics(winrt::IInspectable const& value); - winrt::IInspectable Diagnostics(); - - void Duration(winrt::TimeSpan const& value); - winrt::TimeSpan Duration(); - - void FallbackContent(winrt::DataTemplate const& value); - winrt::DataTemplate FallbackContent(); - - void IsAnimatedVisualLoaded(bool value); - bool IsAnimatedVisualLoaded(); - - void IsPlaying(bool value); - bool IsPlaying(); - - void PlaybackRate(double value); - double PlaybackRate(); - - void Source(winrt::IAnimatedVisualSource const& value); - winrt::IAnimatedVisualSource Source(); - - void Stretch(winrt::Stretch const& value); - winrt::Stretch Stretch(); - - static winrt::DependencyProperty AnimationOptimizationProperty() { return s_AnimationOptimizationProperty; } - static winrt::DependencyProperty AutoPlayProperty() { return s_AutoPlayProperty; } - static winrt::DependencyProperty DiagnosticsProperty() { return s_DiagnosticsProperty; } - static winrt::DependencyProperty DurationProperty() { return s_DurationProperty; } - static winrt::DependencyProperty FallbackContentProperty() { return s_FallbackContentProperty; } - static winrt::DependencyProperty IsAnimatedVisualLoadedProperty() { return s_IsAnimatedVisualLoadedProperty; } - static winrt::DependencyProperty IsPlayingProperty() { return s_IsPlayingProperty; } - static winrt::DependencyProperty PlaybackRateProperty() { return s_PlaybackRateProperty; } - static winrt::DependencyProperty SourceProperty() { return s_SourceProperty; } - static winrt::DependencyProperty StretchProperty() { return s_StretchProperty; } - - static GlobalDependencyProperty s_AnimationOptimizationProperty; - static GlobalDependencyProperty s_AutoPlayProperty; - static GlobalDependencyProperty s_DiagnosticsProperty; - static GlobalDependencyProperty s_DurationProperty; - static GlobalDependencyProperty s_FallbackContentProperty; - static GlobalDependencyProperty s_IsAnimatedVisualLoadedProperty; - static GlobalDependencyProperty s_IsPlayingProperty; - static GlobalDependencyProperty s_PlaybackRateProperty; - static GlobalDependencyProperty s_SourceProperty; - static GlobalDependencyProperty s_StretchProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnAnimationOptimizationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnAutoPlayPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFallbackContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPlaybackRatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnStretchPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/AnimatedVisualPlayerAutomationPeer.properties.cpp b/dev/Generated/AnimatedVisualPlayerAutomationPeer.properties.cpp deleted file mode 100644 index 77878696af..0000000000 --- a/dev/Generated/AnimatedVisualPlayerAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AnimatedVisualPlayerAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(AnimatedVisualPlayerAutomationPeer) -} - -#include "AnimatedVisualPlayerAutomationPeer.g.cpp" - - diff --git a/dev/Generated/AutoSuggestBoxHelper.properties.cpp b/dev/Generated/AutoSuggestBoxHelper.properties.cpp deleted file mode 100644 index 8620837c66..0000000000 --- a/dev/Generated/AutoSuggestBoxHelper.properties.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "AutoSuggestBoxHelper.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(AutoSuggestBoxHelper) -} - -#include "AutoSuggestBoxHelper.g.cpp" - -GlobalDependencyProperty AutoSuggestBoxHelperProperties::s_KeepInteriorCornersSquareProperty{ nullptr }; - -AutoSuggestBoxHelperProperties::AutoSuggestBoxHelperProperties() -{ - EnsureProperties(); -} - -void AutoSuggestBoxHelperProperties::EnsureProperties() -{ - if (!s_KeepInteriorCornersSquareProperty) - { - s_KeepInteriorCornersSquareProperty = - InitializeDependencyProperty( - L"KeepInteriorCornersSquare", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - &AutoSuggestBoxHelper::OnKeepInteriorCornersSquarePropertyChanged); - } -} - -void AutoSuggestBoxHelperProperties::ClearProperties() -{ - s_KeepInteriorCornersSquareProperty = nullptr; -} - - -void AutoSuggestBoxHelperProperties::SetKeepInteriorCornersSquare(winrt::AutoSuggestBox const& target, bool value) -{ - target.SetValue(s_KeepInteriorCornersSquareProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -bool AutoSuggestBoxHelperProperties::GetKeepInteriorCornersSquare(winrt::AutoSuggestBox const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_KeepInteriorCornersSquareProperty)); -} diff --git a/dev/Generated/AutoSuggestBoxHelper.properties.h b/dev/Generated/AutoSuggestBoxHelper.properties.h deleted file mode 100644 index 476808a64f..0000000000 --- a/dev/Generated/AutoSuggestBoxHelper.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class AutoSuggestBoxHelperProperties -{ -public: - AutoSuggestBoxHelperProperties(); - - static void SetKeepInteriorCornersSquare(winrt::AutoSuggestBox const& target, bool value); - static bool GetKeepInteriorCornersSquare(winrt::AutoSuggestBox const& target); - - static winrt::DependencyProperty KeepInteriorCornersSquareProperty() { return s_KeepInteriorCornersSquareProperty; } - - static GlobalDependencyProperty s_KeepInteriorCornersSquareProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/BackdropMaterial.properties.cpp b/dev/Generated/BackdropMaterial.properties.cpp deleted file mode 100644 index d6b8a1302b..0000000000 --- a/dev/Generated/BackdropMaterial.properties.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "BackdropMaterial.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(BackdropMaterial) -} - -#include "BackdropMaterial.g.cpp" - -GlobalDependencyProperty BackdropMaterialProperties::s_ApplyToRootOrPageBackgroundProperty{ nullptr }; - -BackdropMaterialProperties::BackdropMaterialProperties() -{ - EnsureProperties(); -} - -void BackdropMaterialProperties::EnsureProperties() -{ - if (!s_ApplyToRootOrPageBackgroundProperty) - { - s_ApplyToRootOrPageBackgroundProperty = - InitializeDependencyProperty( - L"ApplyToRootOrPageBackground", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - &BackdropMaterial::OnApplyToRootOrPageBackgroundChanged); - } -} - -void BackdropMaterialProperties::ClearProperties() -{ - s_ApplyToRootOrPageBackgroundProperty = nullptr; -} - - -void BackdropMaterialProperties::SetApplyToRootOrPageBackground(winrt::Control const& target, bool value) -{ - target.SetValue(s_ApplyToRootOrPageBackgroundProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -bool BackdropMaterialProperties::GetApplyToRootOrPageBackground(winrt::Control const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_ApplyToRootOrPageBackgroundProperty)); -} diff --git a/dev/Generated/BackdropMaterial.properties.h b/dev/Generated/BackdropMaterial.properties.h deleted file mode 100644 index 25c1aaeb01..0000000000 --- a/dev/Generated/BackdropMaterial.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class BackdropMaterialProperties -{ -public: - BackdropMaterialProperties(); - - static void SetApplyToRootOrPageBackground(winrt::Control const& target, bool value); - static bool GetApplyToRootOrPageBackground(winrt::Control const& target); - - static winrt::DependencyProperty ApplyToRootOrPageBackgroundProperty() { return s_ApplyToRootOrPageBackgroundProperty; } - - static GlobalDependencyProperty s_ApplyToRootOrPageBackgroundProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/BackdropMaterialTestApi.properties.cpp b/dev/Generated/BackdropMaterialTestApi.properties.cpp deleted file mode 100644 index 99b57fe566..0000000000 --- a/dev/Generated/BackdropMaterialTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "BackdropMaterialTestApi.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(BackdropMaterialTestApi) -} - -#include "BackdropMaterialTestApi.g.cpp" - - diff --git a/dev/Generated/BitmapIconSource.properties.cpp b/dev/Generated/BitmapIconSource.properties.cpp deleted file mode 100644 index 4fc573f298..0000000000 --- a/dev/Generated/BitmapIconSource.properties.cpp +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "BitmapIconSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(BitmapIconSource) -} - -#include "BitmapIconSource.g.cpp" - -GlobalDependencyProperty BitmapIconSourceProperties::s_ShowAsMonochromeProperty{ nullptr }; -GlobalDependencyProperty BitmapIconSourceProperties::s_UriSourceProperty{ nullptr }; - -BitmapIconSourceProperties::BitmapIconSourceProperties() -{ - EnsureProperties(); -} - -void BitmapIconSourceProperties::EnsureProperties() -{ - IconSource::EnsureProperties(); - if (!s_ShowAsMonochromeProperty) - { - s_ShowAsMonochromeProperty = - InitializeDependencyProperty( - L"ShowAsMonochrome", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnShowAsMonochromePropertyChanged)); - } - if (!s_UriSourceProperty) - { - s_UriSourceProperty = - InitializeDependencyProperty( - L"UriSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnUriSourcePropertyChanged)); - } -} - -void BitmapIconSourceProperties::ClearProperties() -{ - s_ShowAsMonochromeProperty = nullptr; - s_UriSourceProperty = nullptr; - IconSource::ClearProperties(); -} - -void BitmapIconSourceProperties::OnShowAsMonochromePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void BitmapIconSourceProperties::OnUriSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void BitmapIconSourceProperties::ShowAsMonochrome(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ShowAsMonochromeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool BitmapIconSourceProperties::ShowAsMonochrome() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ShowAsMonochromeProperty)); -} - -void BitmapIconSourceProperties::UriSource(winrt::Uri const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_UriSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Uri BitmapIconSourceProperties::UriSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_UriSourceProperty)); -} diff --git a/dev/Generated/BitmapIconSource.properties.h b/dev/Generated/BitmapIconSource.properties.h deleted file mode 100644 index d0abf6a57c..0000000000 --- a/dev/Generated/BitmapIconSource.properties.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class BitmapIconSourceProperties -{ -public: - BitmapIconSourceProperties(); - - void ShowAsMonochrome(bool value); - bool ShowAsMonochrome(); - - void UriSource(winrt::Uri const& value); - winrt::Uri UriSource(); - - static winrt::DependencyProperty ShowAsMonochromeProperty() { return s_ShowAsMonochromeProperty; } - static winrt::DependencyProperty UriSourceProperty() { return s_UriSourceProperty; } - - static GlobalDependencyProperty s_ShowAsMonochromeProperty; - static GlobalDependencyProperty s_UriSourceProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnShowAsMonochromePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnUriSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/BreadcrumbBar.properties.cpp b/dev/Generated/BreadcrumbBar.properties.cpp deleted file mode 100644 index 294649ae32..0000000000 --- a/dev/Generated/BreadcrumbBar.properties.cpp +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "BreadcrumbBar.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(BreadcrumbBar) -} - -#include "BreadcrumbBar.g.cpp" - -GlobalDependencyProperty BreadcrumbBarProperties::s_ItemsSourceProperty{ nullptr }; -GlobalDependencyProperty BreadcrumbBarProperties::s_ItemTemplateProperty{ nullptr }; - -BreadcrumbBarProperties::BreadcrumbBarProperties() - : m_itemClickedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void BreadcrumbBarProperties::EnsureProperties() -{ - if (!s_ItemsSourceProperty) - { - s_ItemsSourceProperty = - InitializeDependencyProperty( - L"ItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemsSourcePropertyChanged)); - } - if (!s_ItemTemplateProperty) - { - s_ItemTemplateProperty = - InitializeDependencyProperty( - L"ItemTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemTemplatePropertyChanged)); - } -} - -void BreadcrumbBarProperties::ClearProperties() -{ - s_ItemsSourceProperty = nullptr; - s_ItemTemplateProperty = nullptr; -} - -void BreadcrumbBarProperties::OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void BreadcrumbBarProperties::OnItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void BreadcrumbBarProperties::ItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable BreadcrumbBarProperties::ItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemsSourceProperty)); -} - -void BreadcrumbBarProperties::ItemTemplate(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable BreadcrumbBarProperties::ItemTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemTemplateProperty)); -} - -winrt::event_token BreadcrumbBarProperties::ItemClicked(winrt::TypedEventHandler const& value) -{ - return m_itemClickedEventSource.add(value); -} - -void BreadcrumbBarProperties::ItemClicked(winrt::event_token const& token) -{ - m_itemClickedEventSource.remove(token); -} diff --git a/dev/Generated/BreadcrumbBar.properties.h b/dev/Generated/BreadcrumbBar.properties.h deleted file mode 100644 index d9f35e0900..0000000000 --- a/dev/Generated/BreadcrumbBar.properties.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class BreadcrumbBarProperties -{ -public: - BreadcrumbBarProperties(); - - void ItemsSource(winrt::IInspectable const& value); - winrt::IInspectable ItemsSource(); - - void ItemTemplate(winrt::IInspectable const& value); - winrt::IInspectable ItemTemplate(); - - static winrt::DependencyProperty ItemsSourceProperty() { return s_ItemsSourceProperty; } - static winrt::DependencyProperty ItemTemplateProperty() { return s_ItemTemplateProperty; } - - static GlobalDependencyProperty s_ItemsSourceProperty; - static GlobalDependencyProperty s_ItemTemplateProperty; - - winrt::event_token ItemClicked(winrt::TypedEventHandler const& value); - void ItemClicked(winrt::event_token const& token); - - event_source> m_itemClickedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/BreadcrumbBarItem.properties.cpp b/dev/Generated/BreadcrumbBarItem.properties.cpp deleted file mode 100644 index f5d9ebb599..0000000000 --- a/dev/Generated/BreadcrumbBarItem.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "BreadcrumbBarItem.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(BreadcrumbBarItem) -} - -#include "BreadcrumbBarItem.g.cpp" - - diff --git a/dev/Generated/BreadcrumbBarItemAutomationPeer.properties.cpp b/dev/Generated/BreadcrumbBarItemAutomationPeer.properties.cpp deleted file mode 100644 index 47b9087d1a..0000000000 --- a/dev/Generated/BreadcrumbBarItemAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "BreadcrumbBarItemAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(BreadcrumbBarItemAutomationPeer) -} - -#include "BreadcrumbBarItemAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ButtonInteraction.properties.cpp b/dev/Generated/ButtonInteraction.properties.cpp deleted file mode 100644 index 19fb4a0de7..0000000000 --- a/dev/Generated/ButtonInteraction.properties.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ButtonInteraction.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ButtonInteraction) -} - -#include "ButtonInteraction.g.cpp" - - -ButtonInteractionProperties::ButtonInteractionProperties() - : m_invokedEventSource{static_cast(this)} -{ -} - -void ButtonInteractionProperties::EnsureProperties() -{ -} - -void ButtonInteractionProperties::ClearProperties() -{ -} - -winrt::event_token ButtonInteractionProperties::Invoked(winrt::TypedEventHandler const& value) -{ - return m_invokedEventSource.add(value); -} - -void ButtonInteractionProperties::Invoked(winrt::event_token const& token) -{ - m_invokedEventSource.remove(token); -} diff --git a/dev/Generated/ButtonInteraction.properties.h b/dev/Generated/ButtonInteraction.properties.h deleted file mode 100644 index 15c20b4ad8..0000000000 --- a/dev/Generated/ButtonInteraction.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ButtonInteractionProperties -{ -public: - ButtonInteractionProperties(); - - - - winrt::event_token Invoked(winrt::TypedEventHandler const& value); - void Invoked(winrt::event_token const& token); - - event_source> m_invokedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/ColorPicker.properties.cpp b/dev/Generated/ColorPicker.properties.cpp deleted file mode 100644 index 0456d77762..0000000000 --- a/dev/Generated/ColorPicker.properties.cpp +++ /dev/null @@ -1,719 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ColorPicker.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ColorPicker) -} - -#include "ColorPicker.g.cpp" - -GlobalDependencyProperty ColorPickerProperties::s_ColorProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_ColorSpectrumComponentsProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_ColorSpectrumShapeProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsAlphaEnabledProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsAlphaSliderVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsAlphaTextInputVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsColorChannelTextInputVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsColorPreviewVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsColorSliderVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsColorSpectrumVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsHexInputVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_IsMoreButtonVisibleProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_MaxHueProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_MaxSaturationProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_MaxValueProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_MinHueProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_MinSaturationProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_MinValueProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_OrientationProperty{ nullptr }; -GlobalDependencyProperty ColorPickerProperties::s_PreviousColorProperty{ nullptr }; - -ColorPickerProperties::ColorPickerProperties() - : m_colorChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void ColorPickerProperties::EnsureProperties() -{ - if (!s_ColorProperty) - { - s_ColorProperty = - InitializeDependencyProperty( - L"Color", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary({ 255, 255, 255, 255 }), - winrt::PropertyChangedCallback(&OnColorPropertyChanged)); - } - if (!s_ColorSpectrumComponentsProperty) - { - s_ColorSpectrumComponentsProperty = - InitializeDependencyProperty( - L"ColorSpectrumComponents", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ColorSpectrumComponents::HueSaturation), - winrt::PropertyChangedCallback(&OnColorSpectrumComponentsPropertyChanged)); - } - if (!s_ColorSpectrumShapeProperty) - { - s_ColorSpectrumShapeProperty = - InitializeDependencyProperty( - L"ColorSpectrumShape", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ColorSpectrumShape::Box), - winrt::PropertyChangedCallback(&OnColorSpectrumShapePropertyChanged)); - } - if (!s_IsAlphaEnabledProperty) - { - s_IsAlphaEnabledProperty = - InitializeDependencyProperty( - L"IsAlphaEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsAlphaEnabledPropertyChanged)); - } - if (!s_IsAlphaSliderVisibleProperty) - { - s_IsAlphaSliderVisibleProperty = - InitializeDependencyProperty( - L"IsAlphaSliderVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsAlphaSliderVisiblePropertyChanged)); - } - if (!s_IsAlphaTextInputVisibleProperty) - { - s_IsAlphaTextInputVisibleProperty = - InitializeDependencyProperty( - L"IsAlphaTextInputVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsAlphaTextInputVisiblePropertyChanged)); - } - if (!s_IsColorChannelTextInputVisibleProperty) - { - s_IsColorChannelTextInputVisibleProperty = - InitializeDependencyProperty( - L"IsColorChannelTextInputVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsColorChannelTextInputVisiblePropertyChanged)); - } - if (!s_IsColorPreviewVisibleProperty) - { - s_IsColorPreviewVisibleProperty = - InitializeDependencyProperty( - L"IsColorPreviewVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsColorPreviewVisiblePropertyChanged)); - } - if (!s_IsColorSliderVisibleProperty) - { - s_IsColorSliderVisibleProperty = - InitializeDependencyProperty( - L"IsColorSliderVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsColorSliderVisiblePropertyChanged)); - } - if (!s_IsColorSpectrumVisibleProperty) - { - s_IsColorSpectrumVisibleProperty = - InitializeDependencyProperty( - L"IsColorSpectrumVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsColorSpectrumVisiblePropertyChanged)); - } - if (!s_IsHexInputVisibleProperty) - { - s_IsHexInputVisibleProperty = - InitializeDependencyProperty( - L"IsHexInputVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsHexInputVisiblePropertyChanged)); - } - if (!s_IsMoreButtonVisibleProperty) - { - s_IsMoreButtonVisibleProperty = - InitializeDependencyProperty( - L"IsMoreButtonVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsMoreButtonVisiblePropertyChanged)); - } - if (!s_MaxHueProperty) - { - s_MaxHueProperty = - InitializeDependencyProperty( - L"MaxHue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(359), - winrt::PropertyChangedCallback(&OnMaxHuePropertyChanged)); - } - if (!s_MaxSaturationProperty) - { - s_MaxSaturationProperty = - InitializeDependencyProperty( - L"MaxSaturation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(100), - winrt::PropertyChangedCallback(&OnMaxSaturationPropertyChanged)); - } - if (!s_MaxValueProperty) - { - s_MaxValueProperty = - InitializeDependencyProperty( - L"MaxValue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(100), - winrt::PropertyChangedCallback(&OnMaxValuePropertyChanged)); - } - if (!s_MinHueProperty) - { - s_MinHueProperty = - InitializeDependencyProperty( - L"MinHue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnMinHuePropertyChanged)); - } - if (!s_MinSaturationProperty) - { - s_MinSaturationProperty = - InitializeDependencyProperty( - L"MinSaturation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnMinSaturationPropertyChanged)); - } - if (!s_MinValueProperty) - { - s_MinValueProperty = - InitializeDependencyProperty( - L"MinValue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnMinValuePropertyChanged)); - } - if (!s_OrientationProperty) - { - s_OrientationProperty = - InitializeDependencyProperty( - L"Orientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Orientation::Vertical), - winrt::PropertyChangedCallback(&OnOrientationPropertyChanged)); - } - if (!s_PreviousColorProperty) - { - s_PreviousColorProperty = - InitializeDependencyProperty( - L"PreviousColor", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPreviousColorPropertyChanged)); - } -} - -void ColorPickerProperties::ClearProperties() -{ - s_ColorProperty = nullptr; - s_ColorSpectrumComponentsProperty = nullptr; - s_ColorSpectrumShapeProperty = nullptr; - s_IsAlphaEnabledProperty = nullptr; - s_IsAlphaSliderVisibleProperty = nullptr; - s_IsAlphaTextInputVisibleProperty = nullptr; - s_IsColorChannelTextInputVisibleProperty = nullptr; - s_IsColorPreviewVisibleProperty = nullptr; - s_IsColorSliderVisibleProperty = nullptr; - s_IsColorSpectrumVisibleProperty = nullptr; - s_IsHexInputVisibleProperty = nullptr; - s_IsMoreButtonVisibleProperty = nullptr; - s_MaxHueProperty = nullptr; - s_MaxSaturationProperty = nullptr; - s_MaxValueProperty = nullptr; - s_MinHueProperty = nullptr; - s_MinSaturationProperty = nullptr; - s_MinValueProperty = nullptr; - s_OrientationProperty = nullptr; - s_PreviousColorProperty = nullptr; -} - -void ColorPickerProperties::OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnColorSpectrumComponentsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnColorSpectrumShapePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsAlphaEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsAlphaSliderVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsAlphaTextInputVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsColorChannelTextInputVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsColorPreviewVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsColorSliderVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsColorSpectrumVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsHexInputVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnIsMoreButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnMaxHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnMaxSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnMaxValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnMinHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnMinSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnMinValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::OnPreviousColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorPickerProperties::Color(winrt::Color const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Color ColorPickerProperties::Color() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColorProperty)); -} - -void ColorPickerProperties::ColorSpectrumComponents(winrt::ColorSpectrumComponents const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColorSpectrumComponentsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ColorSpectrumComponents ColorPickerProperties::ColorSpectrumComponents() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColorSpectrumComponentsProperty)); -} - -void ColorPickerProperties::ColorSpectrumShape(winrt::ColorSpectrumShape const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColorSpectrumShapeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ColorSpectrumShape ColorPickerProperties::ColorSpectrumShape() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColorSpectrumShapeProperty)); -} - -void ColorPickerProperties::IsAlphaEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsAlphaEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsAlphaEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsAlphaEnabledProperty)); -} - -void ColorPickerProperties::IsAlphaSliderVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsAlphaSliderVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsAlphaSliderVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsAlphaSliderVisibleProperty)); -} - -void ColorPickerProperties::IsAlphaTextInputVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsAlphaTextInputVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsAlphaTextInputVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsAlphaTextInputVisibleProperty)); -} - -void ColorPickerProperties::IsColorChannelTextInputVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsColorChannelTextInputVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsColorChannelTextInputVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsColorChannelTextInputVisibleProperty)); -} - -void ColorPickerProperties::IsColorPreviewVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsColorPreviewVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsColorPreviewVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsColorPreviewVisibleProperty)); -} - -void ColorPickerProperties::IsColorSliderVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsColorSliderVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsColorSliderVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsColorSliderVisibleProperty)); -} - -void ColorPickerProperties::IsColorSpectrumVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsColorSpectrumVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsColorSpectrumVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsColorSpectrumVisibleProperty)); -} - -void ColorPickerProperties::IsHexInputVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsHexInputVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsHexInputVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsHexInputVisibleProperty)); -} - -void ColorPickerProperties::IsMoreButtonVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsMoreButtonVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ColorPickerProperties::IsMoreButtonVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsMoreButtonVisibleProperty)); -} - -void ColorPickerProperties::MaxHue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxHueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorPickerProperties::MaxHue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxHueProperty)); -} - -void ColorPickerProperties::MaxSaturation(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxSaturationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorPickerProperties::MaxSaturation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxSaturationProperty)); -} - -void ColorPickerProperties::MaxValue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorPickerProperties::MaxValue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxValueProperty)); -} - -void ColorPickerProperties::MinHue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinHueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorPickerProperties::MinHue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinHueProperty)); -} - -void ColorPickerProperties::MinSaturation(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinSaturationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorPickerProperties::MinSaturation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinSaturationProperty)); -} - -void ColorPickerProperties::MinValue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorPickerProperties::MinValue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinValueProperty)); -} - -void ColorPickerProperties::Orientation(winrt::Orientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Orientation ColorPickerProperties::Orientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OrientationProperty)); -} - -void ColorPickerProperties::PreviousColor(winrt::IReference const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreviousColorProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IReference ColorPickerProperties::PreviousColor() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_PreviousColorProperty)); -} - -winrt::event_token ColorPickerProperties::ColorChanged(winrt::TypedEventHandler const& value) -{ - return m_colorChangedEventSource.add(value); -} - -void ColorPickerProperties::ColorChanged(winrt::event_token const& token) -{ - m_colorChangedEventSource.remove(token); -} diff --git a/dev/Generated/ColorPicker.properties.h b/dev/Generated/ColorPicker.properties.h deleted file mode 100644 index 5bb0162f82..0000000000 --- a/dev/Generated/ColorPicker.properties.h +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ColorPickerProperties -{ -public: - ColorPickerProperties(); - - void Color(winrt::Color const& value); - winrt::Color Color(); - - void ColorSpectrumComponents(winrt::ColorSpectrumComponents const& value); - winrt::ColorSpectrumComponents ColorSpectrumComponents(); - - void ColorSpectrumShape(winrt::ColorSpectrumShape const& value); - winrt::ColorSpectrumShape ColorSpectrumShape(); - - void IsAlphaEnabled(bool value); - bool IsAlphaEnabled(); - - void IsAlphaSliderVisible(bool value); - bool IsAlphaSliderVisible(); - - void IsAlphaTextInputVisible(bool value); - bool IsAlphaTextInputVisible(); - - void IsColorChannelTextInputVisible(bool value); - bool IsColorChannelTextInputVisible(); - - void IsColorPreviewVisible(bool value); - bool IsColorPreviewVisible(); - - void IsColorSliderVisible(bool value); - bool IsColorSliderVisible(); - - void IsColorSpectrumVisible(bool value); - bool IsColorSpectrumVisible(); - - void IsHexInputVisible(bool value); - bool IsHexInputVisible(); - - void IsMoreButtonVisible(bool value); - bool IsMoreButtonVisible(); - - void MaxHue(int value); - int MaxHue(); - - void MaxSaturation(int value); - int MaxSaturation(); - - void MaxValue(int value); - int MaxValue(); - - void MinHue(int value); - int MinHue(); - - void MinSaturation(int value); - int MinSaturation(); - - void MinValue(int value); - int MinValue(); - - void Orientation(winrt::Orientation const& value); - winrt::Orientation Orientation(); - - void PreviousColor(winrt::IReference const& value); - winrt::IReference PreviousColor(); - - static winrt::DependencyProperty ColorProperty() { return s_ColorProperty; } - static winrt::DependencyProperty ColorSpectrumComponentsProperty() { return s_ColorSpectrumComponentsProperty; } - static winrt::DependencyProperty ColorSpectrumShapeProperty() { return s_ColorSpectrumShapeProperty; } - static winrt::DependencyProperty IsAlphaEnabledProperty() { return s_IsAlphaEnabledProperty; } - static winrt::DependencyProperty IsAlphaSliderVisibleProperty() { return s_IsAlphaSliderVisibleProperty; } - static winrt::DependencyProperty IsAlphaTextInputVisibleProperty() { return s_IsAlphaTextInputVisibleProperty; } - static winrt::DependencyProperty IsColorChannelTextInputVisibleProperty() { return s_IsColorChannelTextInputVisibleProperty; } - static winrt::DependencyProperty IsColorPreviewVisibleProperty() { return s_IsColorPreviewVisibleProperty; } - static winrt::DependencyProperty IsColorSliderVisibleProperty() { return s_IsColorSliderVisibleProperty; } - static winrt::DependencyProperty IsColorSpectrumVisibleProperty() { return s_IsColorSpectrumVisibleProperty; } - static winrt::DependencyProperty IsHexInputVisibleProperty() { return s_IsHexInputVisibleProperty; } - static winrt::DependencyProperty IsMoreButtonVisibleProperty() { return s_IsMoreButtonVisibleProperty; } - static winrt::DependencyProperty MaxHueProperty() { return s_MaxHueProperty; } - static winrt::DependencyProperty MaxSaturationProperty() { return s_MaxSaturationProperty; } - static winrt::DependencyProperty MaxValueProperty() { return s_MaxValueProperty; } - static winrt::DependencyProperty MinHueProperty() { return s_MinHueProperty; } - static winrt::DependencyProperty MinSaturationProperty() { return s_MinSaturationProperty; } - static winrt::DependencyProperty MinValueProperty() { return s_MinValueProperty; } - static winrt::DependencyProperty OrientationProperty() { return s_OrientationProperty; } - static winrt::DependencyProperty PreviousColorProperty() { return s_PreviousColorProperty; } - - static GlobalDependencyProperty s_ColorProperty; - static GlobalDependencyProperty s_ColorSpectrumComponentsProperty; - static GlobalDependencyProperty s_ColorSpectrumShapeProperty; - static GlobalDependencyProperty s_IsAlphaEnabledProperty; - static GlobalDependencyProperty s_IsAlphaSliderVisibleProperty; - static GlobalDependencyProperty s_IsAlphaTextInputVisibleProperty; - static GlobalDependencyProperty s_IsColorChannelTextInputVisibleProperty; - static GlobalDependencyProperty s_IsColorPreviewVisibleProperty; - static GlobalDependencyProperty s_IsColorSliderVisibleProperty; - static GlobalDependencyProperty s_IsColorSpectrumVisibleProperty; - static GlobalDependencyProperty s_IsHexInputVisibleProperty; - static GlobalDependencyProperty s_IsMoreButtonVisibleProperty; - static GlobalDependencyProperty s_MaxHueProperty; - static GlobalDependencyProperty s_MaxSaturationProperty; - static GlobalDependencyProperty s_MaxValueProperty; - static GlobalDependencyProperty s_MinHueProperty; - static GlobalDependencyProperty s_MinSaturationProperty; - static GlobalDependencyProperty s_MinValueProperty; - static GlobalDependencyProperty s_OrientationProperty; - static GlobalDependencyProperty s_PreviousColorProperty; - - winrt::event_token ColorChanged(winrt::TypedEventHandler const& value); - void ColorChanged(winrt::event_token const& token); - - event_source> m_colorChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnColorSpectrumComponentsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnColorSpectrumShapePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsAlphaEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsAlphaSliderVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsAlphaTextInputVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsColorChannelTextInputVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsColorPreviewVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsColorSliderVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsColorSpectrumVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsHexInputVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsMoreButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreviousColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ColorPickerSlider.properties.cpp b/dev/Generated/ColorPickerSlider.properties.cpp deleted file mode 100644 index db1a732dc7..0000000000 --- a/dev/Generated/ColorPickerSlider.properties.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ColorPickerSlider.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(ColorPickerSlider) -} - -#include "ColorPickerSlider.g.cpp" - -GlobalDependencyProperty ColorPickerSliderProperties::s_ColorChannelProperty{ nullptr }; - -ColorPickerSliderProperties::ColorPickerSliderProperties() -{ - EnsureProperties(); -} - -void ColorPickerSliderProperties::EnsureProperties() -{ - if (!s_ColorChannelProperty) - { - s_ColorChannelProperty = - InitializeDependencyProperty( - L"ColorChannel", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ColorPickerHsvChannel::Value), - nullptr); - } -} - -void ColorPickerSliderProperties::ClearProperties() -{ - s_ColorChannelProperty = nullptr; -} - -void ColorPickerSliderProperties::ColorChannel(winrt::ColorPickerHsvChannel const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColorChannelProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ColorPickerHsvChannel ColorPickerSliderProperties::ColorChannel() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColorChannelProperty)); -} diff --git a/dev/Generated/ColorPickerSlider.properties.h b/dev/Generated/ColorPickerSlider.properties.h deleted file mode 100644 index f7b4f6d53b..0000000000 --- a/dev/Generated/ColorPickerSlider.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ColorPickerSliderProperties -{ -public: - ColorPickerSliderProperties(); - - void ColorChannel(winrt::ColorPickerHsvChannel const& value); - winrt::ColorPickerHsvChannel ColorChannel(); - - static winrt::DependencyProperty ColorChannelProperty() { return s_ColorChannelProperty; } - - static GlobalDependencyProperty s_ColorChannelProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/ColorPickerSliderAutomationPeer.properties.cpp b/dev/Generated/ColorPickerSliderAutomationPeer.properties.cpp deleted file mode 100644 index bfa03646d1..0000000000 --- a/dev/Generated/ColorPickerSliderAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ColorPickerSliderAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(ColorPickerSliderAutomationPeer) -} - -#include "ColorPickerSliderAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ColorSpectrum.properties.cpp b/dev/Generated/ColorSpectrum.properties.cpp deleted file mode 100644 index c29c953a29..0000000000 --- a/dev/Generated/ColorSpectrum.properties.cpp +++ /dev/null @@ -1,379 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ColorSpectrum.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(ColorSpectrum) -} - -#include "ColorSpectrum.g.cpp" - -GlobalDependencyProperty ColorSpectrumProperties::s_ColorProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_ComponentsProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_HsvColorProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_MaxHueProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_MaxSaturationProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_MaxValueProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_MinHueProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_MinSaturationProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_MinValueProperty{ nullptr }; -GlobalDependencyProperty ColorSpectrumProperties::s_ShapeProperty{ nullptr }; - -ColorSpectrumProperties::ColorSpectrumProperties() - : m_colorChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void ColorSpectrumProperties::EnsureProperties() -{ - if (!s_ColorProperty) - { - s_ColorProperty = - InitializeDependencyProperty( - L"Color", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary({ 255, 255, 255, 255 }), - winrt::PropertyChangedCallback(&OnColorPropertyChanged)); - } - if (!s_ComponentsProperty) - { - s_ComponentsProperty = - InitializeDependencyProperty( - L"Components", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ColorSpectrumComponents::HueSaturation), - winrt::PropertyChangedCallback(&OnComponentsPropertyChanged)); - } - if (!s_HsvColorProperty) - { - s_HsvColorProperty = - InitializeDependencyProperty( - L"HsvColor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary({ 0, 0, 1, 1 }), - winrt::PropertyChangedCallback(&OnHsvColorPropertyChanged)); - } - if (!s_MaxHueProperty) - { - s_MaxHueProperty = - InitializeDependencyProperty( - L"MaxHue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(359), - winrt::PropertyChangedCallback(&OnMaxHuePropertyChanged)); - } - if (!s_MaxSaturationProperty) - { - s_MaxSaturationProperty = - InitializeDependencyProperty( - L"MaxSaturation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(100), - winrt::PropertyChangedCallback(&OnMaxSaturationPropertyChanged)); - } - if (!s_MaxValueProperty) - { - s_MaxValueProperty = - InitializeDependencyProperty( - L"MaxValue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(100), - winrt::PropertyChangedCallback(&OnMaxValuePropertyChanged)); - } - if (!s_MinHueProperty) - { - s_MinHueProperty = - InitializeDependencyProperty( - L"MinHue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnMinHuePropertyChanged)); - } - if (!s_MinSaturationProperty) - { - s_MinSaturationProperty = - InitializeDependencyProperty( - L"MinSaturation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnMinSaturationPropertyChanged)); - } - if (!s_MinValueProperty) - { - s_MinValueProperty = - InitializeDependencyProperty( - L"MinValue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnMinValuePropertyChanged)); - } - if (!s_ShapeProperty) - { - s_ShapeProperty = - InitializeDependencyProperty( - L"Shape", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ColorSpectrumShape::Box), - winrt::PropertyChangedCallback(&OnShapePropertyChanged)); - } -} - -void ColorSpectrumProperties::ClearProperties() -{ - s_ColorProperty = nullptr; - s_ComponentsProperty = nullptr; - s_HsvColorProperty = nullptr; - s_MaxHueProperty = nullptr; - s_MaxSaturationProperty = nullptr; - s_MaxValueProperty = nullptr; - s_MinHueProperty = nullptr; - s_MinSaturationProperty = nullptr; - s_MinValueProperty = nullptr; - s_ShapeProperty = nullptr; -} - -void ColorSpectrumProperties::OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnComponentsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnHsvColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnMaxHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnMaxSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnMaxValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnMinHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnMinSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnMinValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::OnShapePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ColorSpectrumProperties::Color(winrt::Color const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Color ColorSpectrumProperties::Color() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColorProperty)); -} - -void ColorSpectrumProperties::Components(winrt::ColorSpectrumComponents const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ComponentsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ColorSpectrumComponents ColorSpectrumProperties::Components() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ComponentsProperty)); -} - -void ColorSpectrumProperties::HsvColor(winrt::float4 const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HsvColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::float4 ColorSpectrumProperties::HsvColor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HsvColorProperty)); -} - -void ColorSpectrumProperties::MaxHue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxHueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorSpectrumProperties::MaxHue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxHueProperty)); -} - -void ColorSpectrumProperties::MaxSaturation(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxSaturationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorSpectrumProperties::MaxSaturation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxSaturationProperty)); -} - -void ColorSpectrumProperties::MaxValue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorSpectrumProperties::MaxValue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxValueProperty)); -} - -void ColorSpectrumProperties::MinHue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinHueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorSpectrumProperties::MinHue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinHueProperty)); -} - -void ColorSpectrumProperties::MinSaturation(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinSaturationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorSpectrumProperties::MinSaturation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinSaturationProperty)); -} - -void ColorSpectrumProperties::MinValue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int ColorSpectrumProperties::MinValue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinValueProperty)); -} - -void ColorSpectrumProperties::Shape(winrt::ColorSpectrumShape const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ShapeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ColorSpectrumShape ColorSpectrumProperties::Shape() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ShapeProperty)); -} - -winrt::event_token ColorSpectrumProperties::ColorChanged(winrt::TypedEventHandler const& value) -{ - return m_colorChangedEventSource.add(value); -} - -void ColorSpectrumProperties::ColorChanged(winrt::event_token const& token) -{ - m_colorChangedEventSource.remove(token); -} diff --git a/dev/Generated/ColorSpectrum.properties.h b/dev/Generated/ColorSpectrum.properties.h deleted file mode 100644 index 811f6b92c3..0000000000 --- a/dev/Generated/ColorSpectrum.properties.h +++ /dev/null @@ -1,111 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ColorSpectrumProperties -{ -public: - ColorSpectrumProperties(); - - void Color(winrt::Color const& value); - winrt::Color Color(); - - void Components(winrt::ColorSpectrumComponents const& value); - winrt::ColorSpectrumComponents Components(); - - void HsvColor(winrt::float4 const& value); - winrt::float4 HsvColor(); - - void MaxHue(int value); - int MaxHue(); - - void MaxSaturation(int value); - int MaxSaturation(); - - void MaxValue(int value); - int MaxValue(); - - void MinHue(int value); - int MinHue(); - - void MinSaturation(int value); - int MinSaturation(); - - void MinValue(int value); - int MinValue(); - - void Shape(winrt::ColorSpectrumShape const& value); - winrt::ColorSpectrumShape Shape(); - - static winrt::DependencyProperty ColorProperty() { return s_ColorProperty; } - static winrt::DependencyProperty ComponentsProperty() { return s_ComponentsProperty; } - static winrt::DependencyProperty HsvColorProperty() { return s_HsvColorProperty; } - static winrt::DependencyProperty MaxHueProperty() { return s_MaxHueProperty; } - static winrt::DependencyProperty MaxSaturationProperty() { return s_MaxSaturationProperty; } - static winrt::DependencyProperty MaxValueProperty() { return s_MaxValueProperty; } - static winrt::DependencyProperty MinHueProperty() { return s_MinHueProperty; } - static winrt::DependencyProperty MinSaturationProperty() { return s_MinSaturationProperty; } - static winrt::DependencyProperty MinValueProperty() { return s_MinValueProperty; } - static winrt::DependencyProperty ShapeProperty() { return s_ShapeProperty; } - - static GlobalDependencyProperty s_ColorProperty; - static GlobalDependencyProperty s_ComponentsProperty; - static GlobalDependencyProperty s_HsvColorProperty; - static GlobalDependencyProperty s_MaxHueProperty; - static GlobalDependencyProperty s_MaxSaturationProperty; - static GlobalDependencyProperty s_MaxValueProperty; - static GlobalDependencyProperty s_MinHueProperty; - static GlobalDependencyProperty s_MinSaturationProperty; - static GlobalDependencyProperty s_MinValueProperty; - static GlobalDependencyProperty s_ShapeProperty; - - winrt::event_token ColorChanged(winrt::TypedEventHandler const& value); - void ColorChanged(winrt::event_token const& token); - - event_source> m_colorChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnComponentsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHsvColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinHuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinSaturationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnShapePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ColorSpectrumAutomationPeer.properties.cpp b/dev/Generated/ColorSpectrumAutomationPeer.properties.cpp deleted file mode 100644 index b976a7517d..0000000000 --- a/dev/Generated/ColorSpectrumAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ColorSpectrumAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(ColorSpectrumAutomationPeer) -} - -#include "ColorSpectrumAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ColumnMajorUniformToLargestGridLayout.properties.cpp b/dev/Generated/ColumnMajorUniformToLargestGridLayout.properties.cpp deleted file mode 100644 index af6cffc542..0000000000 --- a/dev/Generated/ColumnMajorUniformToLargestGridLayout.properties.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ColumnMajorUniformToLargestGridLayout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(ColumnMajorUniformToLargestGridLayout) -} - -#include "ColumnMajorUniformToLargestGridLayout.g.cpp" - -GlobalDependencyProperty ColumnMajorUniformToLargestGridLayoutProperties::s_ColumnSpacingProperty{ nullptr }; -GlobalDependencyProperty ColumnMajorUniformToLargestGridLayoutProperties::s_MaxColumnsProperty{ nullptr }; -GlobalDependencyProperty ColumnMajorUniformToLargestGridLayoutProperties::s_RowSpacingProperty{ nullptr }; - -ColumnMajorUniformToLargestGridLayoutProperties::ColumnMajorUniformToLargestGridLayoutProperties() -{ - EnsureProperties(); -} - -void ColumnMajorUniformToLargestGridLayoutProperties::EnsureProperties() -{ - if (!s_ColumnSpacingProperty) - { - s_ColumnSpacingProperty = - InitializeDependencyProperty( - L"ColumnSpacing", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnColumnSpacingPropertyChanged)); - } - if (!s_MaxColumnsProperty) - { - s_MaxColumnsProperty = - InitializeDependencyProperty( - L"MaxColumns", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMaxColumnsPropertyChanged)); - } - if (!s_RowSpacingProperty) - { - s_RowSpacingProperty = - InitializeDependencyProperty( - L"RowSpacing", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnRowSpacingPropertyChanged)); - } -} - -void ColumnMajorUniformToLargestGridLayoutProperties::ClearProperties() -{ - s_ColumnSpacingProperty = nullptr; - s_MaxColumnsProperty = nullptr; - s_RowSpacingProperty = nullptr; -} - -void ColumnMajorUniformToLargestGridLayoutProperties::OnColumnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnColumnSpacingPropertyChanged(args); -} - -void ColumnMajorUniformToLargestGridLayoutProperties::OnMaxColumnsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateGreaterThanZero(coercedValue); - if (value != coercedValue) - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnMaxColumnsPropertyChanged(args); -} - -void ColumnMajorUniformToLargestGridLayoutProperties::OnRowSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnRowSpacingPropertyChanged(args); -} - -void ColumnMajorUniformToLargestGridLayoutProperties::ColumnSpacing(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColumnSpacingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ColumnMajorUniformToLargestGridLayoutProperties::ColumnSpacing() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColumnSpacingProperty)); -} - -void ColumnMajorUniformToLargestGridLayoutProperties::MaxColumns(int value) -{ - [[gsl::suppress(con)]] - { - int coercedValue = value; - static_cast(this)->ValidateGreaterThanZero(coercedValue); - static_cast(this)->SetValue(s_MaxColumnsProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -int ColumnMajorUniformToLargestGridLayoutProperties::MaxColumns() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxColumnsProperty)); -} - -void ColumnMajorUniformToLargestGridLayoutProperties::RowSpacing(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_RowSpacingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ColumnMajorUniformToLargestGridLayoutProperties::RowSpacing() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_RowSpacingProperty)); -} diff --git a/dev/Generated/ColumnMajorUniformToLargestGridLayout.properties.h b/dev/Generated/ColumnMajorUniformToLargestGridLayout.properties.h deleted file mode 100644 index c6eb89cb05..0000000000 --- a/dev/Generated/ColumnMajorUniformToLargestGridLayout.properties.h +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ColumnMajorUniformToLargestGridLayoutProperties -{ -public: - ColumnMajorUniformToLargestGridLayoutProperties(); - - void ColumnSpacing(double value); - double ColumnSpacing(); - - void MaxColumns(int value); - int MaxColumns(); - - void RowSpacing(double value); - double RowSpacing(); - - static winrt::DependencyProperty ColumnSpacingProperty() { return s_ColumnSpacingProperty; } - static winrt::DependencyProperty MaxColumnsProperty() { return s_MaxColumnsProperty; } - static winrt::DependencyProperty RowSpacingProperty() { return s_RowSpacingProperty; } - - static GlobalDependencyProperty s_ColumnSpacingProperty; - static GlobalDependencyProperty s_MaxColumnsProperty; - static GlobalDependencyProperty s_RowSpacingProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnColumnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxColumnsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnRowSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ComboBoxHelper.properties.cpp b/dev/Generated/ComboBoxHelper.properties.cpp deleted file mode 100644 index 7e3b9bea72..0000000000 --- a/dev/Generated/ComboBoxHelper.properties.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ComboBoxHelper.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(ComboBoxHelper) -} - -#include "ComboBoxHelper.g.cpp" - -GlobalDependencyProperty ComboBoxHelperProperties::s_KeepInteriorCornersSquareProperty{ nullptr }; - -ComboBoxHelperProperties::ComboBoxHelperProperties() -{ - EnsureProperties(); -} - -void ComboBoxHelperProperties::EnsureProperties() -{ - if (!s_KeepInteriorCornersSquareProperty) - { - s_KeepInteriorCornersSquareProperty = - InitializeDependencyProperty( - L"KeepInteriorCornersSquare", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - &ComboBoxHelper::OnKeepInteriorCornersSquarePropertyChanged); - } -} - -void ComboBoxHelperProperties::ClearProperties() -{ - s_KeepInteriorCornersSquareProperty = nullptr; -} - - -void ComboBoxHelperProperties::SetKeepInteriorCornersSquare(winrt::ComboBox const& target, bool value) -{ - target.SetValue(s_KeepInteriorCornersSquareProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -bool ComboBoxHelperProperties::GetKeepInteriorCornersSquare(winrt::ComboBox const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_KeepInteriorCornersSquareProperty)); -} diff --git a/dev/Generated/ComboBoxHelper.properties.h b/dev/Generated/ComboBoxHelper.properties.h deleted file mode 100644 index 872b61605e..0000000000 --- a/dev/Generated/ComboBoxHelper.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ComboBoxHelperProperties -{ -public: - ComboBoxHelperProperties(); - - static void SetKeepInteriorCornersSquare(winrt::ComboBox const& target, bool value); - static bool GetKeepInteriorCornersSquare(winrt::ComboBox const& target); - - static winrt::DependencyProperty KeepInteriorCornersSquareProperty() { return s_KeepInteriorCornersSquareProperty; } - - static GlobalDependencyProperty s_KeepInteriorCornersSquareProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/CommandBarFlyout.properties.cpp b/dev/Generated/CommandBarFlyout.properties.cpp deleted file mode 100644 index d1cd5d4944..0000000000 --- a/dev/Generated/CommandBarFlyout.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "CommandBarFlyout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(CommandBarFlyout) -} - -#include "CommandBarFlyout.g.cpp" - - diff --git a/dev/Generated/CommandBarFlyoutCommandBar.properties.cpp b/dev/Generated/CommandBarFlyoutCommandBar.properties.cpp deleted file mode 100644 index 4f4706e575..0000000000 --- a/dev/Generated/CommandBarFlyoutCommandBar.properties.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "CommandBarFlyoutCommandBar.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(CommandBarFlyoutCommandBar) -} - -#include "CommandBarFlyoutCommandBar.g.cpp" - -GlobalDependencyProperty CommandBarFlyoutCommandBarProperties::s_FlyoutTemplateSettingsProperty{ nullptr }; - -CommandBarFlyoutCommandBarProperties::CommandBarFlyoutCommandBarProperties() -{ - EnsureProperties(); -} - -void CommandBarFlyoutCommandBarProperties::EnsureProperties() -{ - if (!s_FlyoutTemplateSettingsProperty) - { - s_FlyoutTemplateSettingsProperty = - InitializeDependencyProperty( - L"FlyoutTemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void CommandBarFlyoutCommandBarProperties::ClearProperties() -{ - s_FlyoutTemplateSettingsProperty = nullptr; -} - -void CommandBarFlyoutCommandBarProperties::FlyoutTemplateSettings(winrt::CommandBarFlyoutCommandBarTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FlyoutTemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CommandBarFlyoutCommandBarTemplateSettings CommandBarFlyoutCommandBarProperties::FlyoutTemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FlyoutTemplateSettingsProperty)); -} diff --git a/dev/Generated/CommandBarFlyoutCommandBar.properties.h b/dev/Generated/CommandBarFlyoutCommandBar.properties.h deleted file mode 100644 index baa3446328..0000000000 --- a/dev/Generated/CommandBarFlyoutCommandBar.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class CommandBarFlyoutCommandBarProperties -{ -public: - CommandBarFlyoutCommandBarProperties(); - - void FlyoutTemplateSettings(winrt::CommandBarFlyoutCommandBarTemplateSettings const& value); - winrt::CommandBarFlyoutCommandBarTemplateSettings FlyoutTemplateSettings(); - - static winrt::DependencyProperty FlyoutTemplateSettingsProperty() { return s_FlyoutTemplateSettingsProperty; } - - static GlobalDependencyProperty s_FlyoutTemplateSettingsProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/CommandBarFlyoutCommandBarAutomationProperties.properties.cpp b/dev/Generated/CommandBarFlyoutCommandBarAutomationProperties.properties.cpp deleted file mode 100644 index ae84d8f981..0000000000 --- a/dev/Generated/CommandBarFlyoutCommandBarAutomationProperties.properties.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "CommandBarFlyoutCommandBarAutomationProperties.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(CommandBarFlyoutCommandBarAutomationProperties) -} - -#include "CommandBarFlyoutCommandBarAutomationProperties.g.cpp" - -GlobalDependencyProperty CommandBarFlyoutCommandBarAutomationPropertiesProperties::s_ControlTypeProperty{ nullptr }; - -CommandBarFlyoutCommandBarAutomationPropertiesProperties::CommandBarFlyoutCommandBarAutomationPropertiesProperties() -{ - EnsureProperties(); -} - -void CommandBarFlyoutCommandBarAutomationPropertiesProperties::EnsureProperties() -{ - if (!s_ControlTypeProperty) - { - s_ControlTypeProperty = - InitializeDependencyProperty( - L"ControlType", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::AutomationControlType::Custom), - &CommandBarFlyoutCommandBarAutomationProperties::OnControlTypePropertyChanged); - } -} - -void CommandBarFlyoutCommandBarAutomationPropertiesProperties::ClearProperties() -{ - s_ControlTypeProperty = nullptr; -} - - -void CommandBarFlyoutCommandBarAutomationPropertiesProperties::SetControlType(winrt::UIElement const& target, winrt::AutomationControlType const& value) -{ - target.SetValue(s_ControlTypeProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -winrt::AutomationControlType CommandBarFlyoutCommandBarAutomationPropertiesProperties::GetControlType(winrt::UIElement const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_ControlTypeProperty)); -} diff --git a/dev/Generated/CommandBarFlyoutCommandBarAutomationProperties.properties.h b/dev/Generated/CommandBarFlyoutCommandBarAutomationProperties.properties.h deleted file mode 100644 index d6ff524c53..0000000000 --- a/dev/Generated/CommandBarFlyoutCommandBarAutomationProperties.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class CommandBarFlyoutCommandBarAutomationPropertiesProperties -{ -public: - CommandBarFlyoutCommandBarAutomationPropertiesProperties(); - - static void SetControlType(winrt::UIElement const& target, winrt::AutomationControlType const& value); - static winrt::AutomationControlType GetControlType(winrt::UIElement const& target); - - static winrt::DependencyProperty ControlTypeProperty() { return s_ControlTypeProperty; } - - static GlobalDependencyProperty s_ControlTypeProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/CommandBarFlyoutCommandBarTemplateSettings.properties.cpp b/dev/Generated/CommandBarFlyoutCommandBarTemplateSettings.properties.cpp deleted file mode 100644 index 86d0ab9be2..0000000000 --- a/dev/Generated/CommandBarFlyoutCommandBarTemplateSettings.properties.cpp +++ /dev/null @@ -1,567 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "CommandBarFlyoutCommandBarTemplateSettings.h" - -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_CloseAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ContentClipRectProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_CurrentWidthProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_DispatcherProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandDownAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandDownAnimationHoldPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandDownAnimationStartPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandDownOverflowVerticalPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandedWidthProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandUpAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandUpAnimationHoldPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandUpAnimationStartPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_ExpandUpOverflowVerticalPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_OpenAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_OpenAnimationStartPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_OverflowContentClipRectProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_WidthExpansionAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_WidthExpansionAnimationStartPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_WidthExpansionDeltaProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_WidthExpansionMoreButtonAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty CommandBarFlyoutCommandBarTemplateSettingsProperties::s_WidthExpansionMoreButtonAnimationStartPositionProperty{ nullptr }; - -CommandBarFlyoutCommandBarTemplateSettingsProperties::CommandBarFlyoutCommandBarTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::EnsureProperties() -{ - if (!s_CloseAnimationEndPositionProperty) - { - s_CloseAnimationEndPositionProperty = - InitializeDependencyProperty( - L"CloseAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ContentClipRectProperty) - { - s_ContentClipRectProperty = - InitializeDependencyProperty( - L"ContentClipRect", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_CurrentWidthProperty) - { - s_CurrentWidthProperty = - InitializeDependencyProperty( - L"CurrentWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_DispatcherProperty) - { - s_DispatcherProperty = - InitializeDependencyProperty( - L"Dispatcher", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandDownAnimationEndPositionProperty) - { - s_ExpandDownAnimationEndPositionProperty = - InitializeDependencyProperty( - L"ExpandDownAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandDownAnimationHoldPositionProperty) - { - s_ExpandDownAnimationHoldPositionProperty = - InitializeDependencyProperty( - L"ExpandDownAnimationHoldPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandDownAnimationStartPositionProperty) - { - s_ExpandDownAnimationStartPositionProperty = - InitializeDependencyProperty( - L"ExpandDownAnimationStartPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandDownOverflowVerticalPositionProperty) - { - s_ExpandDownOverflowVerticalPositionProperty = - InitializeDependencyProperty( - L"ExpandDownOverflowVerticalPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandedWidthProperty) - { - s_ExpandedWidthProperty = - InitializeDependencyProperty( - L"ExpandedWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandUpAnimationEndPositionProperty) - { - s_ExpandUpAnimationEndPositionProperty = - InitializeDependencyProperty( - L"ExpandUpAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandUpAnimationHoldPositionProperty) - { - s_ExpandUpAnimationHoldPositionProperty = - InitializeDependencyProperty( - L"ExpandUpAnimationHoldPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandUpAnimationStartPositionProperty) - { - s_ExpandUpAnimationStartPositionProperty = - InitializeDependencyProperty( - L"ExpandUpAnimationStartPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandUpOverflowVerticalPositionProperty) - { - s_ExpandUpOverflowVerticalPositionProperty = - InitializeDependencyProperty( - L"ExpandUpOverflowVerticalPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_OpenAnimationEndPositionProperty) - { - s_OpenAnimationEndPositionProperty = - InitializeDependencyProperty( - L"OpenAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_OpenAnimationStartPositionProperty) - { - s_OpenAnimationStartPositionProperty = - InitializeDependencyProperty( - L"OpenAnimationStartPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_OverflowContentClipRectProperty) - { - s_OverflowContentClipRectProperty = - InitializeDependencyProperty( - L"OverflowContentClipRect", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_WidthExpansionAnimationEndPositionProperty) - { - s_WidthExpansionAnimationEndPositionProperty = - InitializeDependencyProperty( - L"WidthExpansionAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_WidthExpansionAnimationStartPositionProperty) - { - s_WidthExpansionAnimationStartPositionProperty = - InitializeDependencyProperty( - L"WidthExpansionAnimationStartPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_WidthExpansionDeltaProperty) - { - s_WidthExpansionDeltaProperty = - InitializeDependencyProperty( - L"WidthExpansionDelta", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_WidthExpansionMoreButtonAnimationEndPositionProperty) - { - s_WidthExpansionMoreButtonAnimationEndPositionProperty = - InitializeDependencyProperty( - L"WidthExpansionMoreButtonAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_WidthExpansionMoreButtonAnimationStartPositionProperty) - { - s_WidthExpansionMoreButtonAnimationStartPositionProperty = - InitializeDependencyProperty( - L"WidthExpansionMoreButtonAnimationStartPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ClearProperties() -{ - s_CloseAnimationEndPositionProperty = nullptr; - s_ContentClipRectProperty = nullptr; - s_CurrentWidthProperty = nullptr; - s_DispatcherProperty = nullptr; - s_ExpandDownAnimationEndPositionProperty = nullptr; - s_ExpandDownAnimationHoldPositionProperty = nullptr; - s_ExpandDownAnimationStartPositionProperty = nullptr; - s_ExpandDownOverflowVerticalPositionProperty = nullptr; - s_ExpandedWidthProperty = nullptr; - s_ExpandUpAnimationEndPositionProperty = nullptr; - s_ExpandUpAnimationHoldPositionProperty = nullptr; - s_ExpandUpAnimationStartPositionProperty = nullptr; - s_ExpandUpOverflowVerticalPositionProperty = nullptr; - s_OpenAnimationEndPositionProperty = nullptr; - s_OpenAnimationStartPositionProperty = nullptr; - s_OverflowContentClipRectProperty = nullptr; - s_WidthExpansionAnimationEndPositionProperty = nullptr; - s_WidthExpansionAnimationStartPositionProperty = nullptr; - s_WidthExpansionDeltaProperty = nullptr; - s_WidthExpansionMoreButtonAnimationEndPositionProperty = nullptr; - s_WidthExpansionMoreButtonAnimationStartPositionProperty = nullptr; -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::CloseAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::CloseAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseAnimationEndPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ContentClipRect(winrt::Rect const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentClipRectProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Rect CommandBarFlyoutCommandBarTemplateSettingsProperties::ContentClipRect() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentClipRectProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::CurrentWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CurrentWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::CurrentWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CurrentWidthProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::Dispatcher(winrt::CoreDispatcher const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DispatcherProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CoreDispatcher CommandBarFlyoutCommandBarTemplateSettingsProperties::Dispatcher() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DispatcherProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandDownAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandDownAnimationEndPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownAnimationHoldPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandDownAnimationHoldPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownAnimationHoldPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandDownAnimationHoldPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownAnimationStartPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandDownAnimationStartPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownAnimationStartPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandDownAnimationStartPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownOverflowVerticalPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandDownOverflowVerticalPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandDownOverflowVerticalPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandDownOverflowVerticalPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandedWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandedWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandedWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandedWidthProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandUpAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandUpAnimationEndPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpAnimationHoldPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandUpAnimationHoldPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpAnimationHoldPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandUpAnimationHoldPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpAnimationStartPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandUpAnimationStartPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpAnimationStartPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandUpAnimationStartPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpOverflowVerticalPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandUpOverflowVerticalPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::ExpandUpOverflowVerticalPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandUpOverflowVerticalPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::OpenAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OpenAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::OpenAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OpenAnimationEndPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::OpenAnimationStartPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OpenAnimationStartPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::OpenAnimationStartPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OpenAnimationStartPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::OverflowContentClipRect(winrt::Rect const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OverflowContentClipRectProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Rect CommandBarFlyoutCommandBarTemplateSettingsProperties::OverflowContentClipRect() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OverflowContentClipRectProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_WidthExpansionAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_WidthExpansionAnimationEndPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionAnimationStartPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_WidthExpansionAnimationStartPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionAnimationStartPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_WidthExpansionAnimationStartPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionDelta(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_WidthExpansionDeltaProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionDelta() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_WidthExpansionDeltaProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionMoreButtonAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_WidthExpansionMoreButtonAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionMoreButtonAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_WidthExpansionMoreButtonAnimationEndPositionProperty)); -} - -void CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionMoreButtonAnimationStartPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_WidthExpansionMoreButtonAnimationStartPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CommandBarFlyoutCommandBarTemplateSettingsProperties::WidthExpansionMoreButtonAnimationStartPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_WidthExpansionMoreButtonAnimationStartPositionProperty)); -} diff --git a/dev/Generated/CommandBarFlyoutCommandBarTemplateSettings.properties.h b/dev/Generated/CommandBarFlyoutCommandBarTemplateSettings.properties.h deleted file mode 100644 index e1d7a656f5..0000000000 --- a/dev/Generated/CommandBarFlyoutCommandBarTemplateSettings.properties.h +++ /dev/null @@ -1,121 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class CommandBarFlyoutCommandBarTemplateSettingsProperties -{ -public: - CommandBarFlyoutCommandBarTemplateSettingsProperties(); - - void CloseAnimationEndPosition(double value); - double CloseAnimationEndPosition(); - - void ContentClipRect(winrt::Rect const& value); - winrt::Rect ContentClipRect(); - - void CurrentWidth(double value); - double CurrentWidth(); - - void Dispatcher(winrt::CoreDispatcher const& value); - winrt::CoreDispatcher Dispatcher(); - - void ExpandDownAnimationEndPosition(double value); - double ExpandDownAnimationEndPosition(); - - void ExpandDownAnimationHoldPosition(double value); - double ExpandDownAnimationHoldPosition(); - - void ExpandDownAnimationStartPosition(double value); - double ExpandDownAnimationStartPosition(); - - void ExpandDownOverflowVerticalPosition(double value); - double ExpandDownOverflowVerticalPosition(); - - void ExpandedWidth(double value); - double ExpandedWidth(); - - void ExpandUpAnimationEndPosition(double value); - double ExpandUpAnimationEndPosition(); - - void ExpandUpAnimationHoldPosition(double value); - double ExpandUpAnimationHoldPosition(); - - void ExpandUpAnimationStartPosition(double value); - double ExpandUpAnimationStartPosition(); - - void ExpandUpOverflowVerticalPosition(double value); - double ExpandUpOverflowVerticalPosition(); - - void OpenAnimationEndPosition(double value); - double OpenAnimationEndPosition(); - - void OpenAnimationStartPosition(double value); - double OpenAnimationStartPosition(); - - void OverflowContentClipRect(winrt::Rect const& value); - winrt::Rect OverflowContentClipRect(); - - void WidthExpansionAnimationEndPosition(double value); - double WidthExpansionAnimationEndPosition(); - - void WidthExpansionAnimationStartPosition(double value); - double WidthExpansionAnimationStartPosition(); - - void WidthExpansionDelta(double value); - double WidthExpansionDelta(); - - void WidthExpansionMoreButtonAnimationEndPosition(double value); - double WidthExpansionMoreButtonAnimationEndPosition(); - - void WidthExpansionMoreButtonAnimationStartPosition(double value); - double WidthExpansionMoreButtonAnimationStartPosition(); - - static winrt::DependencyProperty CloseAnimationEndPositionProperty() { return s_CloseAnimationEndPositionProperty; } - static winrt::DependencyProperty ContentClipRectProperty() { return s_ContentClipRectProperty; } - static winrt::DependencyProperty CurrentWidthProperty() { return s_CurrentWidthProperty; } - static winrt::DependencyProperty DispatcherProperty() { return s_DispatcherProperty; } - static winrt::DependencyProperty ExpandDownAnimationEndPositionProperty() { return s_ExpandDownAnimationEndPositionProperty; } - static winrt::DependencyProperty ExpandDownAnimationHoldPositionProperty() { return s_ExpandDownAnimationHoldPositionProperty; } - static winrt::DependencyProperty ExpandDownAnimationStartPositionProperty() { return s_ExpandDownAnimationStartPositionProperty; } - static winrt::DependencyProperty ExpandDownOverflowVerticalPositionProperty() { return s_ExpandDownOverflowVerticalPositionProperty; } - static winrt::DependencyProperty ExpandedWidthProperty() { return s_ExpandedWidthProperty; } - static winrt::DependencyProperty ExpandUpAnimationEndPositionProperty() { return s_ExpandUpAnimationEndPositionProperty; } - static winrt::DependencyProperty ExpandUpAnimationHoldPositionProperty() { return s_ExpandUpAnimationHoldPositionProperty; } - static winrt::DependencyProperty ExpandUpAnimationStartPositionProperty() { return s_ExpandUpAnimationStartPositionProperty; } - static winrt::DependencyProperty ExpandUpOverflowVerticalPositionProperty() { return s_ExpandUpOverflowVerticalPositionProperty; } - static winrt::DependencyProperty OpenAnimationEndPositionProperty() { return s_OpenAnimationEndPositionProperty; } - static winrt::DependencyProperty OpenAnimationStartPositionProperty() { return s_OpenAnimationStartPositionProperty; } - static winrt::DependencyProperty OverflowContentClipRectProperty() { return s_OverflowContentClipRectProperty; } - static winrt::DependencyProperty WidthExpansionAnimationEndPositionProperty() { return s_WidthExpansionAnimationEndPositionProperty; } - static winrt::DependencyProperty WidthExpansionAnimationStartPositionProperty() { return s_WidthExpansionAnimationStartPositionProperty; } - static winrt::DependencyProperty WidthExpansionDeltaProperty() { return s_WidthExpansionDeltaProperty; } - static winrt::DependencyProperty WidthExpansionMoreButtonAnimationEndPositionProperty() { return s_WidthExpansionMoreButtonAnimationEndPositionProperty; } - static winrt::DependencyProperty WidthExpansionMoreButtonAnimationStartPositionProperty() { return s_WidthExpansionMoreButtonAnimationStartPositionProperty; } - - static GlobalDependencyProperty s_CloseAnimationEndPositionProperty; - static GlobalDependencyProperty s_ContentClipRectProperty; - static GlobalDependencyProperty s_CurrentWidthProperty; - static GlobalDependencyProperty s_DispatcherProperty; - static GlobalDependencyProperty s_ExpandDownAnimationEndPositionProperty; - static GlobalDependencyProperty s_ExpandDownAnimationHoldPositionProperty; - static GlobalDependencyProperty s_ExpandDownAnimationStartPositionProperty; - static GlobalDependencyProperty s_ExpandDownOverflowVerticalPositionProperty; - static GlobalDependencyProperty s_ExpandedWidthProperty; - static GlobalDependencyProperty s_ExpandUpAnimationEndPositionProperty; - static GlobalDependencyProperty s_ExpandUpAnimationHoldPositionProperty; - static GlobalDependencyProperty s_ExpandUpAnimationStartPositionProperty; - static GlobalDependencyProperty s_ExpandUpOverflowVerticalPositionProperty; - static GlobalDependencyProperty s_OpenAnimationEndPositionProperty; - static GlobalDependencyProperty s_OpenAnimationStartPositionProperty; - static GlobalDependencyProperty s_OverflowContentClipRectProperty; - static GlobalDependencyProperty s_WidthExpansionAnimationEndPositionProperty; - static GlobalDependencyProperty s_WidthExpansionAnimationStartPositionProperty; - static GlobalDependencyProperty s_WidthExpansionDeltaProperty; - static GlobalDependencyProperty s_WidthExpansionMoreButtonAnimationEndPositionProperty; - static GlobalDependencyProperty s_WidthExpansionMoreButtonAnimationStartPositionProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/CornerRadiusFilterConverter.properties.cpp b/dev/Generated/CornerRadiusFilterConverter.properties.cpp deleted file mode 100644 index 9caefbd071..0000000000 --- a/dev/Generated/CornerRadiusFilterConverter.properties.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "CornerRadiusFilterConverter.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(CornerRadiusFilterConverter) -} - -#include "CornerRadiusFilterConverter.g.cpp" - -GlobalDependencyProperty CornerRadiusFilterConverterProperties::s_FilterProperty{ nullptr }; -GlobalDependencyProperty CornerRadiusFilterConverterProperties::s_ScaleProperty{ nullptr }; - -CornerRadiusFilterConverterProperties::CornerRadiusFilterConverterProperties() -{ - EnsureProperties(); -} - -void CornerRadiusFilterConverterProperties::EnsureProperties() -{ - if (!s_FilterProperty) - { - s_FilterProperty = - InitializeDependencyProperty( - L"Filter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::CornerRadiusFilterKind::None), - nullptr); - } - if (!s_ScaleProperty) - { - s_ScaleProperty = - InitializeDependencyProperty( - L"Scale", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1.0), - nullptr); - } -} - -void CornerRadiusFilterConverterProperties::ClearProperties() -{ - s_FilterProperty = nullptr; - s_ScaleProperty = nullptr; -} - -void CornerRadiusFilterConverterProperties::Filter(winrt::CornerRadiusFilterKind const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FilterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CornerRadiusFilterKind CornerRadiusFilterConverterProperties::Filter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FilterProperty)); -} - -void CornerRadiusFilterConverterProperties::Scale(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ScaleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CornerRadiusFilterConverterProperties::Scale() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ScaleProperty)); -} diff --git a/dev/Generated/CornerRadiusFilterConverter.properties.h b/dev/Generated/CornerRadiusFilterConverter.properties.h deleted file mode 100644 index da69ede170..0000000000 --- a/dev/Generated/CornerRadiusFilterConverter.properties.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class CornerRadiusFilterConverterProperties -{ -public: - CornerRadiusFilterConverterProperties(); - - void Filter(winrt::CornerRadiusFilterKind const& value); - winrt::CornerRadiusFilterKind Filter(); - - void Scale(double value); - double Scale(); - - static winrt::DependencyProperty FilterProperty() { return s_FilterProperty; } - static winrt::DependencyProperty ScaleProperty() { return s_ScaleProperty; } - - static GlobalDependencyProperty s_FilterProperty; - static GlobalDependencyProperty s_ScaleProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/CornerRadiusToThicknessConverter.properties.cpp b/dev/Generated/CornerRadiusToThicknessConverter.properties.cpp deleted file mode 100644 index 4016fce311..0000000000 --- a/dev/Generated/CornerRadiusToThicknessConverter.properties.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "CornerRadiusToThicknessConverter.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(CornerRadiusToThicknessConverter) -} - -#include "CornerRadiusToThicknessConverter.g.cpp" - -GlobalDependencyProperty CornerRadiusToThicknessConverterProperties::s_ConversionKindProperty{ nullptr }; -GlobalDependencyProperty CornerRadiusToThicknessConverterProperties::s_MultiplierProperty{ nullptr }; - -CornerRadiusToThicknessConverterProperties::CornerRadiusToThicknessConverterProperties() -{ - EnsureProperties(); -} - -void CornerRadiusToThicknessConverterProperties::EnsureProperties() -{ - if (!s_ConversionKindProperty) - { - s_ConversionKindProperty = - InitializeDependencyProperty( - L"ConversionKind", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::CornerRadiusToThicknessConverterKind::FilterLeftAndRightFromTop), - nullptr); - } - if (!s_MultiplierProperty) - { - s_MultiplierProperty = - InitializeDependencyProperty( - L"Multiplier", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1.0f), - nullptr); - } -} - -void CornerRadiusToThicknessConverterProperties::ClearProperties() -{ - s_ConversionKindProperty = nullptr; - s_MultiplierProperty = nullptr; -} - -void CornerRadiusToThicknessConverterProperties::ConversionKind(winrt::CornerRadiusToThicknessConverterKind const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ConversionKindProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CornerRadiusToThicknessConverterKind CornerRadiusToThicknessConverterProperties::ConversionKind() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ConversionKindProperty)); -} - -void CornerRadiusToThicknessConverterProperties::Multiplier(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MultiplierProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double CornerRadiusToThicknessConverterProperties::Multiplier() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MultiplierProperty)); -} diff --git a/dev/Generated/CornerRadiusToThicknessConverter.properties.h b/dev/Generated/CornerRadiusToThicknessConverter.properties.h deleted file mode 100644 index 951e6804b3..0000000000 --- a/dev/Generated/CornerRadiusToThicknessConverter.properties.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class CornerRadiusToThicknessConverterProperties -{ -public: - CornerRadiusToThicknessConverterProperties(); - - void ConversionKind(winrt::CornerRadiusToThicknessConverterKind const& value); - winrt::CornerRadiusToThicknessConverterKind ConversionKind(); - - void Multiplier(double value); - double Multiplier(); - - static winrt::DependencyProperty ConversionKindProperty() { return s_ConversionKindProperty; } - static winrt::DependencyProperty MultiplierProperty() { return s_MultiplierProperty; } - - static GlobalDependencyProperty s_ConversionKindProperty; - static GlobalDependencyProperty s_MultiplierProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/DisplayRegionHelperTestApi.properties.cpp b/dev/Generated/DisplayRegionHelperTestApi.properties.cpp deleted file mode 100644 index 2a1ac5b6bc..0000000000 --- a/dev/Generated/DisplayRegionHelperTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "DisplayRegionHelperTestApi.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(DisplayRegionHelperTestApi) -} - -#include "DisplayRegionHelperTestApi.g.cpp" - - diff --git a/dev/Generated/DropDownButton.properties.cpp b/dev/Generated/DropDownButton.properties.cpp deleted file mode 100644 index d55c73e92a..0000000000 --- a/dev/Generated/DropDownButton.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "DropDownButton.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(DropDownButton) -} - -#include "DropDownButton.g.cpp" - - diff --git a/dev/Generated/DropDownButtonAutomationPeer.properties.cpp b/dev/Generated/DropDownButtonAutomationPeer.properties.cpp deleted file mode 100644 index 7559c26317..0000000000 --- a/dev/Generated/DropDownButtonAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "DropDownButtonAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(DropDownButtonAutomationPeer) -} - -#include "DropDownButtonAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ElementAnimator.properties.cpp b/dev/Generated/ElementAnimator.properties.cpp deleted file mode 100644 index ed350c0988..0000000000 --- a/dev/Generated/ElementAnimator.properties.cpp +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ElementAnimator.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ElementAnimator) -} - -#include "ElementAnimator.g.cpp" - - -ElementAnimatorProperties::ElementAnimatorProperties() - : m_boundsChangeAnimationCompletedEventSource{static_cast(this)} - , m_hideAnimationCompletedEventSource{static_cast(this)} - , m_showAnimationCompletedEventSource{static_cast(this)} -{ -} - -void ElementAnimatorProperties::EnsureProperties() -{ -} - -void ElementAnimatorProperties::ClearProperties() -{ -} - -winrt::event_token ElementAnimatorProperties::BoundsChangeAnimationCompleted(winrt::ElementAnimationCompleted const& value) -{ - return m_boundsChangeAnimationCompletedEventSource.add(value); -} - -void ElementAnimatorProperties::BoundsChangeAnimationCompleted(winrt::event_token const& token) -{ - m_boundsChangeAnimationCompletedEventSource.remove(token); -} - -winrt::event_token ElementAnimatorProperties::HideAnimationCompleted(winrt::ElementAnimationCompleted const& value) -{ - return m_hideAnimationCompletedEventSource.add(value); -} - -void ElementAnimatorProperties::HideAnimationCompleted(winrt::event_token const& token) -{ - m_hideAnimationCompletedEventSource.remove(token); -} - -winrt::event_token ElementAnimatorProperties::ShowAnimationCompleted(winrt::ElementAnimationCompleted const& value) -{ - return m_showAnimationCompletedEventSource.add(value); -} - -void ElementAnimatorProperties::ShowAnimationCompleted(winrt::event_token const& token) -{ - m_showAnimationCompletedEventSource.remove(token); -} diff --git a/dev/Generated/ElementAnimator.properties.h b/dev/Generated/ElementAnimator.properties.h deleted file mode 100644 index 87b17d3916..0000000000 --- a/dev/Generated/ElementAnimator.properties.h +++ /dev/null @@ -1,27 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ElementAnimatorProperties -{ -public: - ElementAnimatorProperties(); - - - - winrt::event_token BoundsChangeAnimationCompleted(winrt::ElementAnimationCompleted const& value); - void BoundsChangeAnimationCompleted(winrt::event_token const& token); - winrt::event_token HideAnimationCompleted(winrt::ElementAnimationCompleted const& value); - void HideAnimationCompleted(winrt::event_token const& token); - winrt::event_token ShowAnimationCompleted(winrt::ElementAnimationCompleted const& value); - void ShowAnimationCompleted(winrt::event_token const& token); - - event_source m_boundsChangeAnimationCompletedEventSource; - event_source m_hideAnimationCompletedEventSource; - event_source m_showAnimationCompletedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/ElementFactory.properties.cpp b/dev/Generated/ElementFactory.properties.cpp deleted file mode 100644 index 4bfba18bf1..0000000000 --- a/dev/Generated/ElementFactory.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ElementFactory.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ElementFactory) -} - -#include "ElementFactory.g.cpp" - - diff --git a/dev/Generated/ElementFactoryGetArgs.properties.cpp b/dev/Generated/ElementFactoryGetArgs.properties.cpp deleted file mode 100644 index 26042efb2c..0000000000 --- a/dev/Generated/ElementFactoryGetArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ElementFactoryGetArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ElementFactoryGetArgs) -} - -#include "ElementFactoryGetArgs.g.cpp" - - diff --git a/dev/Generated/ElementFactoryRecycleArgs.properties.cpp b/dev/Generated/ElementFactoryRecycleArgs.properties.cpp deleted file mode 100644 index bb00ecfc6b..0000000000 --- a/dev/Generated/ElementFactoryRecycleArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ElementFactoryRecycleArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ElementFactoryRecycleArgs) -} - -#include "ElementFactoryRecycleArgs.g.cpp" - - diff --git a/dev/Generated/Expander.properties.cpp b/dev/Generated/Expander.properties.cpp deleted file mode 100644 index db76982530..0000000000 --- a/dev/Generated/Expander.properties.cpp +++ /dev/null @@ -1,222 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "Expander.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(Expander) -} - -#include "Expander.g.cpp" - -GlobalDependencyProperty ExpanderProperties::s_ExpandDirectionProperty{ nullptr }; -GlobalDependencyProperty ExpanderProperties::s_HeaderProperty{ nullptr }; -GlobalDependencyProperty ExpanderProperties::s_HeaderTemplateProperty{ nullptr }; -GlobalDependencyProperty ExpanderProperties::s_HeaderTemplateSelectorProperty{ nullptr }; -GlobalDependencyProperty ExpanderProperties::s_IsExpandedProperty{ nullptr }; -GlobalDependencyProperty ExpanderProperties::s_TemplateSettingsProperty{ nullptr }; - -ExpanderProperties::ExpanderProperties() - : m_collapsedEventSource{static_cast(this)} - , m_expandingEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void ExpanderProperties::EnsureProperties() -{ - if (!s_ExpandDirectionProperty) - { - s_ExpandDirectionProperty = - InitializeDependencyProperty( - L"ExpandDirection", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ExpandDirection::Down), - winrt::PropertyChangedCallback(&OnExpandDirectionPropertyChanged)); - } - if (!s_HeaderProperty) - { - s_HeaderProperty = - InitializeDependencyProperty( - L"Header", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_HeaderTemplateProperty) - { - s_HeaderTemplateProperty = - InitializeDependencyProperty( - L"HeaderTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_HeaderTemplateSelectorProperty) - { - s_HeaderTemplateSelectorProperty = - InitializeDependencyProperty( - L"HeaderTemplateSelector", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_IsExpandedProperty) - { - s_IsExpandedProperty = - InitializeDependencyProperty( - L"IsExpanded", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsExpandedPropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void ExpanderProperties::ClearProperties() -{ - s_ExpandDirectionProperty = nullptr; - s_HeaderProperty = nullptr; - s_HeaderTemplateProperty = nullptr; - s_HeaderTemplateSelectorProperty = nullptr; - s_IsExpandedProperty = nullptr; - s_TemplateSettingsProperty = nullptr; -} - -void ExpanderProperties::OnExpandDirectionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnExpandDirectionPropertyChanged(args); -} - -void ExpanderProperties::OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsExpandedPropertyChanged(args); -} - -void ExpanderProperties::ExpandDirection(winrt::ExpandDirection const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandDirectionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ExpandDirection ExpanderProperties::ExpandDirection() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandDirectionProperty)); -} - -void ExpanderProperties::Header(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable ExpanderProperties::Header() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderProperty)); -} - -void ExpanderProperties::HeaderTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate ExpanderProperties::HeaderTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderTemplateProperty)); -} - -void ExpanderProperties::HeaderTemplateSelector(winrt::DataTemplateSelector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderTemplateSelectorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplateSelector ExpanderProperties::HeaderTemplateSelector() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderTemplateSelectorProperty)); -} - -void ExpanderProperties::IsExpanded(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsExpandedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ExpanderProperties::IsExpanded() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsExpandedProperty)); -} - -void ExpanderProperties::TemplateSettings(winrt::ExpanderTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ExpanderTemplateSettings ExpanderProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -winrt::event_token ExpanderProperties::Collapsed(winrt::TypedEventHandler const& value) -{ - return m_collapsedEventSource.add(value); -} - -void ExpanderProperties::Collapsed(winrt::event_token const& token) -{ - m_collapsedEventSource.remove(token); -} - -winrt::event_token ExpanderProperties::Expanding(winrt::TypedEventHandler const& value) -{ - return m_expandingEventSource.add(value); -} - -void ExpanderProperties::Expanding(winrt::event_token const& token) -{ - m_expandingEventSource.remove(token); -} diff --git a/dev/Generated/Expander.properties.h b/dev/Generated/Expander.properties.h deleted file mode 100644 index 70534be0e3..0000000000 --- a/dev/Generated/Expander.properties.h +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ExpanderProperties -{ -public: - ExpanderProperties(); - - void ExpandDirection(winrt::ExpandDirection const& value); - winrt::ExpandDirection ExpandDirection(); - - void Header(winrt::IInspectable const& value); - winrt::IInspectable Header(); - - void HeaderTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate HeaderTemplate(); - - void HeaderTemplateSelector(winrt::DataTemplateSelector const& value); - winrt::DataTemplateSelector HeaderTemplateSelector(); - - void IsExpanded(bool value); - bool IsExpanded(); - - void TemplateSettings(winrt::ExpanderTemplateSettings const& value); - winrt::ExpanderTemplateSettings TemplateSettings(); - - static winrt::DependencyProperty ExpandDirectionProperty() { return s_ExpandDirectionProperty; } - static winrt::DependencyProperty HeaderProperty() { return s_HeaderProperty; } - static winrt::DependencyProperty HeaderTemplateProperty() { return s_HeaderTemplateProperty; } - static winrt::DependencyProperty HeaderTemplateSelectorProperty() { return s_HeaderTemplateSelectorProperty; } - static winrt::DependencyProperty IsExpandedProperty() { return s_IsExpandedProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - - static GlobalDependencyProperty s_ExpandDirectionProperty; - static GlobalDependencyProperty s_HeaderProperty; - static GlobalDependencyProperty s_HeaderTemplateProperty; - static GlobalDependencyProperty s_HeaderTemplateSelectorProperty; - static GlobalDependencyProperty s_IsExpandedProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - - winrt::event_token Collapsed(winrt::TypedEventHandler const& value); - void Collapsed(winrt::event_token const& token); - winrt::event_token Expanding(winrt::TypedEventHandler const& value); - void Expanding(winrt::event_token const& token); - - event_source> m_collapsedEventSource; - event_source> m_expandingEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnExpandDirectionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ExpanderAutomationPeer.properties.cpp b/dev/Generated/ExpanderAutomationPeer.properties.cpp deleted file mode 100644 index e1c9cc4907..0000000000 --- a/dev/Generated/ExpanderAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ExpanderAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(ExpanderAutomationPeer) -} - -#include "ExpanderAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ExpanderTemplateSettings.properties.cpp b/dev/Generated/ExpanderTemplateSettings.properties.cpp deleted file mode 100644 index fee5d1935f..0000000000 --- a/dev/Generated/ExpanderTemplateSettings.properties.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ExpanderTemplateSettings.h" - -GlobalDependencyProperty ExpanderTemplateSettingsProperties::s_ContentHeightProperty{ nullptr }; -GlobalDependencyProperty ExpanderTemplateSettingsProperties::s_DispatcherProperty{ nullptr }; -GlobalDependencyProperty ExpanderTemplateSettingsProperties::s_NegativeContentHeightProperty{ nullptr }; - -ExpanderTemplateSettingsProperties::ExpanderTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void ExpanderTemplateSettingsProperties::EnsureProperties() -{ - if (!s_ContentHeightProperty) - { - s_ContentHeightProperty = - InitializeDependencyProperty( - L"ContentHeight", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_DispatcherProperty) - { - s_DispatcherProperty = - InitializeDependencyProperty( - L"Dispatcher", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_NegativeContentHeightProperty) - { - s_NegativeContentHeightProperty = - InitializeDependencyProperty( - L"NegativeContentHeight", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void ExpanderTemplateSettingsProperties::ClearProperties() -{ - s_ContentHeightProperty = nullptr; - s_DispatcherProperty = nullptr; - s_NegativeContentHeightProperty = nullptr; -} - -void ExpanderTemplateSettingsProperties::ContentHeight(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentHeightProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ExpanderTemplateSettingsProperties::ContentHeight() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentHeightProperty)); -} - -void ExpanderTemplateSettingsProperties::Dispatcher(winrt::CoreDispatcher const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DispatcherProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CoreDispatcher ExpanderTemplateSettingsProperties::Dispatcher() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DispatcherProperty)); -} - -void ExpanderTemplateSettingsProperties::NegativeContentHeight(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NegativeContentHeightProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ExpanderTemplateSettingsProperties::NegativeContentHeight() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NegativeContentHeightProperty)); -} diff --git a/dev/Generated/ExpanderTemplateSettings.properties.h b/dev/Generated/ExpanderTemplateSettings.properties.h deleted file mode 100644 index 0ed0567c8a..0000000000 --- a/dev/Generated/ExpanderTemplateSettings.properties.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ExpanderTemplateSettingsProperties -{ -public: - ExpanderTemplateSettingsProperties(); - - void ContentHeight(double value); - double ContentHeight(); - - void Dispatcher(winrt::CoreDispatcher const& value); - winrt::CoreDispatcher Dispatcher(); - - void NegativeContentHeight(double value); - double NegativeContentHeight(); - - static winrt::DependencyProperty ContentHeightProperty() { return s_ContentHeightProperty; } - static winrt::DependencyProperty DispatcherProperty() { return s_DispatcherProperty; } - static winrt::DependencyProperty NegativeContentHeightProperty() { return s_NegativeContentHeightProperty; } - - static GlobalDependencyProperty s_ContentHeightProperty; - static GlobalDependencyProperty s_DispatcherProperty; - static GlobalDependencyProperty s_NegativeContentHeightProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/FlowLayout.properties.cpp b/dev/Generated/FlowLayout.properties.cpp deleted file mode 100644 index 9e1591672d..0000000000 --- a/dev/Generated/FlowLayout.properties.cpp +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "FlowLayout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(FlowLayout) -} - -#include "FlowLayout.g.cpp" - -GlobalDependencyProperty FlowLayoutProperties::s_LineAlignmentProperty{ nullptr }; -GlobalDependencyProperty FlowLayoutProperties::s_MinColumnSpacingProperty{ nullptr }; -GlobalDependencyProperty FlowLayoutProperties::s_MinRowSpacingProperty{ nullptr }; -GlobalDependencyProperty FlowLayoutProperties::s_OrientationProperty{ nullptr }; - -FlowLayoutProperties::FlowLayoutProperties() -{ - EnsureProperties(); -} - -void FlowLayoutProperties::EnsureProperties() -{ - if (!s_LineAlignmentProperty) - { - s_LineAlignmentProperty = - InitializeDependencyProperty( - L"LineAlignment", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::FlowLayoutLineAlignment::Start), - winrt::PropertyChangedCallback(&OnLineAlignmentPropertyChanged)); - } - if (!s_MinColumnSpacingProperty) - { - s_MinColumnSpacingProperty = - InitializeDependencyProperty( - L"MinColumnSpacing", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnMinColumnSpacingPropertyChanged)); - } - if (!s_MinRowSpacingProperty) - { - s_MinRowSpacingProperty = - InitializeDependencyProperty( - L"MinRowSpacing", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnMinRowSpacingPropertyChanged)); - } - if (!s_OrientationProperty) - { - s_OrientationProperty = - InitializeDependencyProperty( - L"Orientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Orientation::Horizontal), - winrt::PropertyChangedCallback(&OnOrientationPropertyChanged)); - } -} - -void FlowLayoutProperties::ClearProperties() -{ - s_LineAlignmentProperty = nullptr; - s_MinColumnSpacingProperty = nullptr; - s_MinRowSpacingProperty = nullptr; - s_OrientationProperty = nullptr; -} - -void FlowLayoutProperties::OnLineAlignmentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FlowLayoutProperties::OnMinColumnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FlowLayoutProperties::OnMinRowSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FlowLayoutProperties::OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FlowLayoutProperties::LineAlignment(winrt::FlowLayoutLineAlignment const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LineAlignmentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::FlowLayoutLineAlignment FlowLayoutProperties::LineAlignment() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LineAlignmentProperty)); -} - -void FlowLayoutProperties::MinColumnSpacing(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinColumnSpacingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double FlowLayoutProperties::MinColumnSpacing() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinColumnSpacingProperty)); -} - -void FlowLayoutProperties::MinRowSpacing(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinRowSpacingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double FlowLayoutProperties::MinRowSpacing() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinRowSpacingProperty)); -} - -void FlowLayoutProperties::Orientation(winrt::Orientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Orientation FlowLayoutProperties::Orientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OrientationProperty)); -} diff --git a/dev/Generated/FlowLayout.properties.h b/dev/Generated/FlowLayout.properties.h deleted file mode 100644 index fb07ee278e..0000000000 --- a/dev/Generated/FlowLayout.properties.h +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class FlowLayoutProperties -{ -public: - FlowLayoutProperties(); - - void LineAlignment(winrt::FlowLayoutLineAlignment const& value); - winrt::FlowLayoutLineAlignment LineAlignment(); - - void MinColumnSpacing(double value); - double MinColumnSpacing(); - - void MinRowSpacing(double value); - double MinRowSpacing(); - - void Orientation(winrt::Orientation const& value); - winrt::Orientation Orientation(); - - static winrt::DependencyProperty LineAlignmentProperty() { return s_LineAlignmentProperty; } - static winrt::DependencyProperty MinColumnSpacingProperty() { return s_MinColumnSpacingProperty; } - static winrt::DependencyProperty MinRowSpacingProperty() { return s_MinRowSpacingProperty; } - static winrt::DependencyProperty OrientationProperty() { return s_OrientationProperty; } - - static GlobalDependencyProperty s_LineAlignmentProperty; - static GlobalDependencyProperty s_MinColumnSpacingProperty; - static GlobalDependencyProperty s_MinRowSpacingProperty; - static GlobalDependencyProperty s_OrientationProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnLineAlignmentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinColumnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinRowSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/FlowLayoutState.properties.cpp b/dev/Generated/FlowLayoutState.properties.cpp deleted file mode 100644 index 89e7499230..0000000000 --- a/dev/Generated/FlowLayoutState.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "FlowLayoutState.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(FlowLayoutState) -} - -#include "FlowLayoutState.g.cpp" - - diff --git a/dev/Generated/FontIconSource.properties.cpp b/dev/Generated/FontIconSource.properties.cpp deleted file mode 100644 index 0f261514f3..0000000000 --- a/dev/Generated/FontIconSource.properties.cpp +++ /dev/null @@ -1,268 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "FontIconSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(FontIconSource) -} - -#include "FontIconSource.g.cpp" - -GlobalDependencyProperty FontIconSourceProperties::s_FontFamilyProperty{ nullptr }; -GlobalDependencyProperty FontIconSourceProperties::s_FontSizeProperty{ nullptr }; -GlobalDependencyProperty FontIconSourceProperties::s_FontStyleProperty{ nullptr }; -GlobalDependencyProperty FontIconSourceProperties::s_FontWeightProperty{ nullptr }; -GlobalDependencyProperty FontIconSourceProperties::s_GlyphProperty{ nullptr }; -GlobalDependencyProperty FontIconSourceProperties::s_IsTextScaleFactorEnabledProperty{ nullptr }; -GlobalDependencyProperty FontIconSourceProperties::s_MirroredWhenRightToLeftProperty{ nullptr }; - -FontIconSourceProperties::FontIconSourceProperties() -{ - EnsureProperties(); -} - -void FontIconSourceProperties::EnsureProperties() -{ - IconSource::EnsureProperties(); - if (!s_FontFamilyProperty) - { - s_FontFamilyProperty = - InitializeDependencyProperty( - L"FontFamily", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFontFamilyPropertyChanged)); - } - if (!s_FontSizeProperty) - { - s_FontSizeProperty = - InitializeDependencyProperty( - L"FontSize", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(20.0), - winrt::PropertyChangedCallback(&OnFontSizePropertyChanged)); - } - if (!s_FontStyleProperty) - { - s_FontStyleProperty = - InitializeDependencyProperty( - L"FontStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::FontStyle::Normal), - winrt::PropertyChangedCallback(&OnFontStylePropertyChanged)); - } - if (!s_FontWeightProperty) - { - s_FontWeightProperty = - InitializeDependencyProperty( - L"FontWeight", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary({ 400 }), - winrt::PropertyChangedCallback(&OnFontWeightPropertyChanged)); - } - if (!s_GlyphProperty) - { - s_GlyphProperty = - InitializeDependencyProperty( - L"Glyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnGlyphPropertyChanged)); - } - if (!s_IsTextScaleFactorEnabledProperty) - { - s_IsTextScaleFactorEnabledProperty = - InitializeDependencyProperty( - L"IsTextScaleFactorEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsTextScaleFactorEnabledPropertyChanged)); - } - if (!s_MirroredWhenRightToLeftProperty) - { - s_MirroredWhenRightToLeftProperty = - InitializeDependencyProperty( - L"MirroredWhenRightToLeft", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMirroredWhenRightToLeftPropertyChanged)); - } -} - -void FontIconSourceProperties::ClearProperties() -{ - s_FontFamilyProperty = nullptr; - s_FontSizeProperty = nullptr; - s_FontStyleProperty = nullptr; - s_FontWeightProperty = nullptr; - s_GlyphProperty = nullptr; - s_IsTextScaleFactorEnabledProperty = nullptr; - s_MirroredWhenRightToLeftProperty = nullptr; - IconSource::ClearProperties(); -} - -void FontIconSourceProperties::OnFontFamilyPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FontIconSourceProperties::OnFontSizePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FontIconSourceProperties::OnFontStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FontIconSourceProperties::OnFontWeightPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FontIconSourceProperties::OnGlyphPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FontIconSourceProperties::OnIsTextScaleFactorEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FontIconSourceProperties::OnMirroredWhenRightToLeftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void FontIconSourceProperties::FontFamily(winrt::FontFamily const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FontFamilyProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::FontFamily FontIconSourceProperties::FontFamily() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FontFamilyProperty)); -} - -void FontIconSourceProperties::FontSize(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FontSizeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double FontIconSourceProperties::FontSize() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FontSizeProperty)); -} - -void FontIconSourceProperties::FontStyle(winrt::FontStyle const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FontStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::FontStyle FontIconSourceProperties::FontStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FontStyleProperty)); -} - -void FontIconSourceProperties::FontWeight(winrt::FontWeight const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FontWeightProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::FontWeight FontIconSourceProperties::FontWeight() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FontWeightProperty)); -} - -void FontIconSourceProperties::Glyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_GlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring FontIconSourceProperties::Glyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_GlyphProperty)); -} - -void FontIconSourceProperties::IsTextScaleFactorEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsTextScaleFactorEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool FontIconSourceProperties::IsTextScaleFactorEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsTextScaleFactorEnabledProperty)); -} - -void FontIconSourceProperties::MirroredWhenRightToLeft(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MirroredWhenRightToLeftProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool FontIconSourceProperties::MirroredWhenRightToLeft() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MirroredWhenRightToLeftProperty)); -} diff --git a/dev/Generated/FontIconSource.properties.h b/dev/Generated/FontIconSource.properties.h deleted file mode 100644 index 73c153712c..0000000000 --- a/dev/Generated/FontIconSource.properties.h +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class FontIconSourceProperties -{ -public: - FontIconSourceProperties(); - - void FontFamily(winrt::FontFamily const& value); - winrt::FontFamily FontFamily(); - - void FontSize(double value); - double FontSize(); - - void FontStyle(winrt::FontStyle const& value); - winrt::FontStyle FontStyle(); - - void FontWeight(winrt::FontWeight const& value); - winrt::FontWeight FontWeight(); - - void Glyph(winrt::hstring const& value); - winrt::hstring Glyph(); - - void IsTextScaleFactorEnabled(bool value); - bool IsTextScaleFactorEnabled(); - - void MirroredWhenRightToLeft(bool value); - bool MirroredWhenRightToLeft(); - - static winrt::DependencyProperty FontFamilyProperty() { return s_FontFamilyProperty; } - static winrt::DependencyProperty FontSizeProperty() { return s_FontSizeProperty; } - static winrt::DependencyProperty FontStyleProperty() { return s_FontStyleProperty; } - static winrt::DependencyProperty FontWeightProperty() { return s_FontWeightProperty; } - static winrt::DependencyProperty GlyphProperty() { return s_GlyphProperty; } - static winrt::DependencyProperty IsTextScaleFactorEnabledProperty() { return s_IsTextScaleFactorEnabledProperty; } - static winrt::DependencyProperty MirroredWhenRightToLeftProperty() { return s_MirroredWhenRightToLeftProperty; } - - static GlobalDependencyProperty s_FontFamilyProperty; - static GlobalDependencyProperty s_FontSizeProperty; - static GlobalDependencyProperty s_FontStyleProperty; - static GlobalDependencyProperty s_FontWeightProperty; - static GlobalDependencyProperty s_GlyphProperty; - static GlobalDependencyProperty s_IsTextScaleFactorEnabledProperty; - static GlobalDependencyProperty s_MirroredWhenRightToLeftProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnFontFamilyPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFontSizePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFontStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFontWeightPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnGlyphPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsTextScaleFactorEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMirroredWhenRightToLeftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/IconSource.properties.cpp b/dev/Generated/IconSource.properties.cpp deleted file mode 100644 index be5c3933fa..0000000000 --- a/dev/Generated/IconSource.properties.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "IconSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(IconSource) -} - -#include "IconSource.g.cpp" - -GlobalDependencyProperty IconSourceProperties::s_ForegroundProperty{ nullptr }; - -IconSourceProperties::IconSourceProperties() -{ - EnsureProperties(); -} - -void IconSourceProperties::EnsureProperties() -{ - if (!s_ForegroundProperty) - { - s_ForegroundProperty = - InitializeDependencyProperty( - L"Foreground", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnForegroundPropertyChanged)); - } -} - -void IconSourceProperties::ClearProperties() -{ - s_ForegroundProperty = nullptr; -} - -void IconSourceProperties::OnForegroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void IconSourceProperties::Foreground(winrt::Brush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ForegroundProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Brush IconSourceProperties::Foreground() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ForegroundProperty)); -} diff --git a/dev/Generated/IconSource.properties.h b/dev/Generated/IconSource.properties.h deleted file mode 100644 index 2c414363ef..0000000000 --- a/dev/Generated/IconSource.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class IconSourceProperties -{ -public: - IconSourceProperties(); - - void Foreground(winrt::Brush const& value); - winrt::Brush Foreground(); - - static winrt::DependencyProperty ForegroundProperty() { return s_ForegroundProperty; } - - static GlobalDependencyProperty s_ForegroundProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnForegroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ImageIcon.properties.cpp b/dev/Generated/ImageIcon.properties.cpp deleted file mode 100644 index f6bde6d4ac..0000000000 --- a/dev/Generated/ImageIcon.properties.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ImageIcon.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ImageIcon) -} - -#include "ImageIcon.g.cpp" - -GlobalDependencyProperty ImageIconProperties::s_SourceProperty{ nullptr }; - -ImageIconProperties::ImageIconProperties() -{ - EnsureProperties(); -} - -void ImageIconProperties::EnsureProperties() -{ - if (!s_SourceProperty) - { - s_SourceProperty = - InitializeDependencyProperty( - L"Source", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSourcePropertyChanged)); - } -} - -void ImageIconProperties::ClearProperties() -{ - s_SourceProperty = nullptr; -} - -void ImageIconProperties::OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSourcePropertyChanged(args); -} - -void ImageIconProperties::Source(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource ImageIconProperties::Source() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SourceProperty)); -} diff --git a/dev/Generated/ImageIcon.properties.h b/dev/Generated/ImageIcon.properties.h deleted file mode 100644 index 4250123eed..0000000000 --- a/dev/Generated/ImageIcon.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ImageIconProperties -{ -public: - ImageIconProperties(); - - void Source(winrt::ImageSource const& value); - winrt::ImageSource Source(); - - static winrt::DependencyProperty SourceProperty() { return s_SourceProperty; } - - static GlobalDependencyProperty s_SourceProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ImageIconSource.properties.cpp b/dev/Generated/ImageIconSource.properties.cpp deleted file mode 100644 index 67f229768a..0000000000 --- a/dev/Generated/ImageIconSource.properties.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ImageIconSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ImageIconSource) -} - -#include "ImageIconSource.g.cpp" - -GlobalDependencyProperty ImageIconSourceProperties::s_ImageSourceProperty{ nullptr }; - -ImageIconSourceProperties::ImageIconSourceProperties() -{ - EnsureProperties(); -} - -void ImageIconSourceProperties::EnsureProperties() -{ - IconSource::EnsureProperties(); - if (!s_ImageSourceProperty) - { - s_ImageSourceProperty = - InitializeDependencyProperty( - L"ImageSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnImageSourcePropertyChanged)); - } -} - -void ImageIconSourceProperties::ClearProperties() -{ - s_ImageSourceProperty = nullptr; - IconSource::ClearProperties(); -} - -void ImageIconSourceProperties::OnImageSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ImageIconSourceProperties::ImageSource(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ImageSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource ImageIconSourceProperties::ImageSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ImageSourceProperty)); -} diff --git a/dev/Generated/ImageIconSource.properties.h b/dev/Generated/ImageIconSource.properties.h deleted file mode 100644 index 54e6a583f1..0000000000 --- a/dev/Generated/ImageIconSource.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ImageIconSourceProperties -{ -public: - ImageIconSourceProperties(); - - void ImageSource(winrt::ImageSource const& value); - winrt::ImageSource ImageSource(); - - static winrt::DependencyProperty ImageSourceProperty() { return s_ImageSourceProperty; } - - static GlobalDependencyProperty s_ImageSourceProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnImageSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/IndexPath.properties.cpp b/dev/Generated/IndexPath.properties.cpp deleted file mode 100644 index cbdbf73f1f..0000000000 --- a/dev/Generated/IndexPath.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "IndexPath.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(IndexPath) -} - -#include "IndexPath.g.cpp" - - diff --git a/dev/Generated/InfoBadge.properties.cpp b/dev/Generated/InfoBadge.properties.cpp deleted file mode 100644 index a2b399aa8b..0000000000 --- a/dev/Generated/InfoBadge.properties.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBadge.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(InfoBadge) -} - -#include "InfoBadge.g.cpp" - -GlobalDependencyProperty InfoBadgeProperties::s_IconSourceProperty{ nullptr }; -GlobalDependencyProperty InfoBadgeProperties::s_TemplateSettingsProperty{ nullptr }; -GlobalDependencyProperty InfoBadgeProperties::s_ValueProperty{ nullptr }; - -InfoBadgeProperties::InfoBadgeProperties() -{ - EnsureProperties(); -} - -void InfoBadgeProperties::EnsureProperties() -{ - if (!s_IconSourceProperty) - { - s_IconSourceProperty = - InitializeDependencyProperty( - L"IconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIconSourcePropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTemplateSettingsPropertyChanged)); - } - if (!s_ValueProperty) - { - s_ValueProperty = - InitializeDependencyProperty( - L"Value", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-1), - winrt::PropertyChangedCallback(&OnValuePropertyChanged)); - } -} - -void InfoBadgeProperties::ClearProperties() -{ - s_IconSourceProperty = nullptr; - s_TemplateSettingsProperty = nullptr; - s_ValueProperty = nullptr; -} - -void InfoBadgeProperties::OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void InfoBadgeProperties::OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void InfoBadgeProperties::OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void InfoBadgeProperties::IconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource InfoBadgeProperties::IconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconSourceProperty)); -} - -void InfoBadgeProperties::TemplateSettings(winrt::InfoBadgeTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::InfoBadgeTemplateSettings InfoBadgeProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -void InfoBadgeProperties::Value(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int InfoBadgeProperties::Value() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ValueProperty)); -} diff --git a/dev/Generated/InfoBadge.properties.h b/dev/Generated/InfoBadge.properties.h deleted file mode 100644 index 48012d0c21..0000000000 --- a/dev/Generated/InfoBadge.properties.h +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class InfoBadgeProperties -{ -public: - InfoBadgeProperties(); - - void IconSource(winrt::IconSource const& value); - winrt::IconSource IconSource(); - - void TemplateSettings(winrt::InfoBadgeTemplateSettings const& value); - winrt::InfoBadgeTemplateSettings TemplateSettings(); - - void Value(int value); - int Value(); - - static winrt::DependencyProperty IconSourceProperty() { return s_IconSourceProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - static winrt::DependencyProperty ValueProperty() { return s_ValueProperty; } - - static GlobalDependencyProperty s_IconSourceProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - static GlobalDependencyProperty s_ValueProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/InfoBadgeTemplateSettings.properties.cpp b/dev/Generated/InfoBadgeTemplateSettings.properties.cpp deleted file mode 100644 index f13815c389..0000000000 --- a/dev/Generated/InfoBadgeTemplateSettings.properties.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBadgeTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(InfoBadgeTemplateSettings) -} - -#include "InfoBadgeTemplateSettings.g.cpp" - -GlobalDependencyProperty InfoBadgeTemplateSettingsProperties::s_IconElementProperty{ nullptr }; -GlobalDependencyProperty InfoBadgeTemplateSettingsProperties::s_InfoBadgeCornerRadiusProperty{ nullptr }; - -InfoBadgeTemplateSettingsProperties::InfoBadgeTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void InfoBadgeTemplateSettingsProperties::EnsureProperties() -{ - if (!s_IconElementProperty) - { - s_IconElementProperty = - InitializeDependencyProperty( - L"IconElement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_InfoBadgeCornerRadiusProperty) - { - s_InfoBadgeCornerRadiusProperty = - InitializeDependencyProperty( - L"InfoBadgeCornerRadius", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void InfoBadgeTemplateSettingsProperties::ClearProperties() -{ - s_IconElementProperty = nullptr; - s_InfoBadgeCornerRadiusProperty = nullptr; -} - -void InfoBadgeTemplateSettingsProperties::IconElement(winrt::IconElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconElementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconElement InfoBadgeTemplateSettingsProperties::IconElement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconElementProperty)); -} - -void InfoBadgeTemplateSettingsProperties::InfoBadgeCornerRadius(winrt::CornerRadius const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_InfoBadgeCornerRadiusProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CornerRadius InfoBadgeTemplateSettingsProperties::InfoBadgeCornerRadius() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_InfoBadgeCornerRadiusProperty)); -} diff --git a/dev/Generated/InfoBadgeTemplateSettings.properties.h b/dev/Generated/InfoBadgeTemplateSettings.properties.h deleted file mode 100644 index 0a8d5f59f7..0000000000 --- a/dev/Generated/InfoBadgeTemplateSettings.properties.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class InfoBadgeTemplateSettingsProperties -{ -public: - InfoBadgeTemplateSettingsProperties(); - - void IconElement(winrt::IconElement const& value); - winrt::IconElement IconElement(); - - void InfoBadgeCornerRadius(winrt::CornerRadius const& value); - winrt::CornerRadius InfoBadgeCornerRadius(); - - static winrt::DependencyProperty IconElementProperty() { return s_IconElementProperty; } - static winrt::DependencyProperty InfoBadgeCornerRadiusProperty() { return s_InfoBadgeCornerRadiusProperty; } - - static GlobalDependencyProperty s_IconElementProperty; - static GlobalDependencyProperty s_InfoBadgeCornerRadiusProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/InfoBar.properties.cpp b/dev/Generated/InfoBar.properties.cpp deleted file mode 100644 index 2ba3cbf7f5..0000000000 --- a/dev/Generated/InfoBar.properties.cpp +++ /dev/null @@ -1,465 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBar.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(InfoBar) -} - -#include "InfoBar.g.cpp" - -GlobalDependencyProperty InfoBarProperties::s_ActionButtonProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_CloseButtonCommandProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_CloseButtonCommandParameterProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_CloseButtonStyleProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_ContentProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_ContentTemplateProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_IconSourceProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_IsClosableProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_IsIconVisibleProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_IsOpenProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_MessageProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_SeverityProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_TemplateSettingsProperty{ nullptr }; -GlobalDependencyProperty InfoBarProperties::s_TitleProperty{ nullptr }; - -InfoBarProperties::InfoBarProperties() - : m_closeButtonClickEventSource{static_cast(this)} - , m_closedEventSource{static_cast(this)} - , m_closingEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void InfoBarProperties::EnsureProperties() -{ - if (!s_ActionButtonProperty) - { - s_ActionButtonProperty = - InitializeDependencyProperty( - L"ActionButton", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_CloseButtonCommandProperty) - { - s_CloseButtonCommandProperty = - InitializeDependencyProperty( - L"CloseButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_CloseButtonCommandParameterProperty) - { - s_CloseButtonCommandParameterProperty = - InitializeDependencyProperty( - L"CloseButtonCommandParameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_CloseButtonStyleProperty) - { - s_CloseButtonStyleProperty = - InitializeDependencyProperty( - L"CloseButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ContentProperty) - { - s_ContentProperty = - InitializeDependencyProperty( - L"Content", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ContentTemplateProperty) - { - s_ContentTemplateProperty = - InitializeDependencyProperty( - L"ContentTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_IconSourceProperty) - { - s_IconSourceProperty = - InitializeDependencyProperty( - L"IconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIconSourcePropertyChanged)); - } - if (!s_IsClosableProperty) - { - s_IsClosableProperty = - InitializeDependencyProperty( - L"IsClosable", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsClosablePropertyChanged)); - } - if (!s_IsIconVisibleProperty) - { - s_IsIconVisibleProperty = - InitializeDependencyProperty( - L"IsIconVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsIconVisiblePropertyChanged)); - } - if (!s_IsOpenProperty) - { - s_IsOpenProperty = - InitializeDependencyProperty( - L"IsOpen", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - winrt::PropertyChangedCallback(&OnIsOpenPropertyChanged)); - } - if (!s_MessageProperty) - { - s_MessageProperty = - InitializeDependencyProperty( - L"Message", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SeverityProperty) - { - s_SeverityProperty = - InitializeDependencyProperty( - L"Severity", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::InfoBarSeverity::Informational), - winrt::PropertyChangedCallback(&OnSeverityPropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TitleProperty) - { - s_TitleProperty = - InitializeDependencyProperty( - L"Title", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void InfoBarProperties::ClearProperties() -{ - s_ActionButtonProperty = nullptr; - s_CloseButtonCommandProperty = nullptr; - s_CloseButtonCommandParameterProperty = nullptr; - s_CloseButtonStyleProperty = nullptr; - s_ContentProperty = nullptr; - s_ContentTemplateProperty = nullptr; - s_IconSourceProperty = nullptr; - s_IsClosableProperty = nullptr; - s_IsIconVisibleProperty = nullptr; - s_IsOpenProperty = nullptr; - s_MessageProperty = nullptr; - s_SeverityProperty = nullptr; - s_TemplateSettingsProperty = nullptr; - s_TitleProperty = nullptr; -} - -void InfoBarProperties::OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIconSourcePropertyChanged(args); -} - -void InfoBarProperties::OnIsClosablePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsClosablePropertyChanged(args); -} - -void InfoBarProperties::OnIsIconVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsIconVisiblePropertyChanged(args); -} - -void InfoBarProperties::OnIsOpenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsOpenPropertyChanged(args); -} - -void InfoBarProperties::OnSeverityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSeverityPropertyChanged(args); -} - -void InfoBarProperties::ActionButton(winrt::ButtonBase const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ActionButtonProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ButtonBase InfoBarProperties::ActionButton() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ActionButtonProperty)); -} - -void InfoBarProperties::CloseButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand InfoBarProperties::CloseButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonCommandProperty)); -} - -void InfoBarProperties::CloseButtonCommandParameter(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonCommandParameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable InfoBarProperties::CloseButtonCommandParameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonCommandParameterProperty)); -} - -void InfoBarProperties::CloseButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style InfoBarProperties::CloseButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonStyleProperty)); -} - -void InfoBarProperties::Content(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable InfoBarProperties::Content() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentProperty)); -} - -void InfoBarProperties::ContentTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate InfoBarProperties::ContentTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentTemplateProperty)); -} - -void InfoBarProperties::IconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource InfoBarProperties::IconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconSourceProperty)); -} - -void InfoBarProperties::IsClosable(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsClosableProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool InfoBarProperties::IsClosable() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsClosableProperty)); -} - -void InfoBarProperties::IsIconVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsIconVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool InfoBarProperties::IsIconVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsIconVisibleProperty)); -} - -void InfoBarProperties::IsOpen(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsOpenProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool InfoBarProperties::IsOpen() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsOpenProperty)); -} - -void InfoBarProperties::Message(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MessageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring InfoBarProperties::Message() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MessageProperty)); -} - -void InfoBarProperties::Severity(winrt::InfoBarSeverity const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SeverityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::InfoBarSeverity InfoBarProperties::Severity() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SeverityProperty)); -} - -void InfoBarProperties::TemplateSettings(winrt::InfoBarTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::InfoBarTemplateSettings InfoBarProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -void InfoBarProperties::Title(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TitleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring InfoBarProperties::Title() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TitleProperty)); -} - -winrt::event_token InfoBarProperties::CloseButtonClick(winrt::TypedEventHandler const& value) -{ - return m_closeButtonClickEventSource.add(value); -} - -void InfoBarProperties::CloseButtonClick(winrt::event_token const& token) -{ - m_closeButtonClickEventSource.remove(token); -} - -winrt::event_token InfoBarProperties::Closed(winrt::TypedEventHandler const& value) -{ - return m_closedEventSource.add(value); -} - -void InfoBarProperties::Closed(winrt::event_token const& token) -{ - m_closedEventSource.remove(token); -} - -winrt::event_token InfoBarProperties::Closing(winrt::TypedEventHandler const& value) -{ - return m_closingEventSource.add(value); -} - -void InfoBarProperties::Closing(winrt::event_token const& token) -{ - m_closingEventSource.remove(token); -} diff --git a/dev/Generated/InfoBar.properties.h b/dev/Generated/InfoBar.properties.h deleted file mode 100644 index c0350ff35a..0000000000 --- a/dev/Generated/InfoBar.properties.h +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class InfoBarProperties -{ -public: - InfoBarProperties(); - - void ActionButton(winrt::ButtonBase const& value); - winrt::ButtonBase ActionButton(); - - void CloseButtonCommand(winrt::ICommand const& value); - winrt::ICommand CloseButtonCommand(); - - void CloseButtonCommandParameter(winrt::IInspectable const& value); - winrt::IInspectable CloseButtonCommandParameter(); - - void CloseButtonStyle(winrt::Style const& value); - winrt::Style CloseButtonStyle(); - - void Content(winrt::IInspectable const& value); - winrt::IInspectable Content(); - - void ContentTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate ContentTemplate(); - - void IconSource(winrt::IconSource const& value); - winrt::IconSource IconSource(); - - void IsClosable(bool value); - bool IsClosable(); - - void IsIconVisible(bool value); - bool IsIconVisible(); - - void IsOpen(bool value); - bool IsOpen(); - - void Message(winrt::hstring const& value); - winrt::hstring Message(); - - void Severity(winrt::InfoBarSeverity const& value); - winrt::InfoBarSeverity Severity(); - - void TemplateSettings(winrt::InfoBarTemplateSettings const& value); - winrt::InfoBarTemplateSettings TemplateSettings(); - - void Title(winrt::hstring const& value); - winrt::hstring Title(); - - static winrt::DependencyProperty ActionButtonProperty() { return s_ActionButtonProperty; } - static winrt::DependencyProperty CloseButtonCommandProperty() { return s_CloseButtonCommandProperty; } - static winrt::DependencyProperty CloseButtonCommandParameterProperty() { return s_CloseButtonCommandParameterProperty; } - static winrt::DependencyProperty CloseButtonStyleProperty() { return s_CloseButtonStyleProperty; } - static winrt::DependencyProperty ContentProperty() { return s_ContentProperty; } - static winrt::DependencyProperty ContentTemplateProperty() { return s_ContentTemplateProperty; } - static winrt::DependencyProperty IconSourceProperty() { return s_IconSourceProperty; } - static winrt::DependencyProperty IsClosableProperty() { return s_IsClosableProperty; } - static winrt::DependencyProperty IsIconVisibleProperty() { return s_IsIconVisibleProperty; } - static winrt::DependencyProperty IsOpenProperty() { return s_IsOpenProperty; } - static winrt::DependencyProperty MessageProperty() { return s_MessageProperty; } - static winrt::DependencyProperty SeverityProperty() { return s_SeverityProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - static winrt::DependencyProperty TitleProperty() { return s_TitleProperty; } - - static GlobalDependencyProperty s_ActionButtonProperty; - static GlobalDependencyProperty s_CloseButtonCommandProperty; - static GlobalDependencyProperty s_CloseButtonCommandParameterProperty; - static GlobalDependencyProperty s_CloseButtonStyleProperty; - static GlobalDependencyProperty s_ContentProperty; - static GlobalDependencyProperty s_ContentTemplateProperty; - static GlobalDependencyProperty s_IconSourceProperty; - static GlobalDependencyProperty s_IsClosableProperty; - static GlobalDependencyProperty s_IsIconVisibleProperty; - static GlobalDependencyProperty s_IsOpenProperty; - static GlobalDependencyProperty s_MessageProperty; - static GlobalDependencyProperty s_SeverityProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - static GlobalDependencyProperty s_TitleProperty; - - winrt::event_token CloseButtonClick(winrt::TypedEventHandler const& value); - void CloseButtonClick(winrt::event_token const& token); - winrt::event_token Closed(winrt::TypedEventHandler const& value); - void Closed(winrt::event_token const& token); - winrt::event_token Closing(winrt::TypedEventHandler const& value); - void Closing(winrt::event_token const& token); - - event_source> m_closeButtonClickEventSource; - event_source> m_closedEventSource; - event_source> m_closingEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsClosablePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsIconVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsOpenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSeverityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/InfoBarAutomationPeer.properties.cpp b/dev/Generated/InfoBarAutomationPeer.properties.cpp deleted file mode 100644 index 354a5c2f48..0000000000 --- a/dev/Generated/InfoBarAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBarAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(InfoBarAutomationPeer) -} - -#include "InfoBarAutomationPeer.g.cpp" - - diff --git a/dev/Generated/InfoBarClosedEventArgs.properties.cpp b/dev/Generated/InfoBarClosedEventArgs.properties.cpp deleted file mode 100644 index 2a59172059..0000000000 --- a/dev/Generated/InfoBarClosedEventArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBarClosedEventArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(InfoBarClosedEventArgs) -} - -#include "InfoBarClosedEventArgs.g.cpp" - - diff --git a/dev/Generated/InfoBarClosingEventArgs.properties.cpp b/dev/Generated/InfoBarClosingEventArgs.properties.cpp deleted file mode 100644 index b92a9fb4e0..0000000000 --- a/dev/Generated/InfoBarClosingEventArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBarClosingEventArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(InfoBarClosingEventArgs) -} - -#include "InfoBarClosingEventArgs.g.cpp" - - diff --git a/dev/Generated/InfoBarPanel.properties.cpp b/dev/Generated/InfoBarPanel.properties.cpp deleted file mode 100644 index 34571f9b38..0000000000 --- a/dev/Generated/InfoBarPanel.properties.cpp +++ /dev/null @@ -1,128 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBarPanel.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(InfoBarPanel) -} - -#include "InfoBarPanel.g.cpp" - -GlobalDependencyProperty InfoBarPanelProperties::s_HorizontalOrientationMarginProperty{ nullptr }; -GlobalDependencyProperty InfoBarPanelProperties::s_HorizontalOrientationPaddingProperty{ nullptr }; -GlobalDependencyProperty InfoBarPanelProperties::s_VerticalOrientationMarginProperty{ nullptr }; -GlobalDependencyProperty InfoBarPanelProperties::s_VerticalOrientationPaddingProperty{ nullptr }; - -InfoBarPanelProperties::InfoBarPanelProperties() -{ - EnsureProperties(); -} - -void InfoBarPanelProperties::EnsureProperties() -{ - if (!s_HorizontalOrientationMarginProperty) - { - s_HorizontalOrientationMarginProperty = - InitializeDependencyProperty( - L"HorizontalOrientationMargin", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_HorizontalOrientationPaddingProperty) - { - s_HorizontalOrientationPaddingProperty = - InitializeDependencyProperty( - L"HorizontalOrientationPadding", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_VerticalOrientationMarginProperty) - { - s_VerticalOrientationMarginProperty = - InitializeDependencyProperty( - L"VerticalOrientationMargin", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_VerticalOrientationPaddingProperty) - { - s_VerticalOrientationPaddingProperty = - InitializeDependencyProperty( - L"VerticalOrientationPadding", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void InfoBarPanelProperties::ClearProperties() -{ - s_HorizontalOrientationMarginProperty = nullptr; - s_HorizontalOrientationPaddingProperty = nullptr; - s_VerticalOrientationMarginProperty = nullptr; - s_VerticalOrientationPaddingProperty = nullptr; -} - - -void InfoBarPanelProperties::SetHorizontalOrientationMargin(winrt::DependencyObject const& target, winrt::Thickness const& value) -{ - target.SetValue(s_HorizontalOrientationMarginProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -winrt::Thickness InfoBarPanelProperties::GetHorizontalOrientationMargin(winrt::DependencyObject const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_HorizontalOrientationMarginProperty)); -} - -void InfoBarPanelProperties::HorizontalOrientationPadding(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalOrientationPaddingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness InfoBarPanelProperties::HorizontalOrientationPadding() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalOrientationPaddingProperty)); -} - - -void InfoBarPanelProperties::SetVerticalOrientationMargin(winrt::DependencyObject const& target, winrt::Thickness const& value) -{ - target.SetValue(s_VerticalOrientationMarginProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -winrt::Thickness InfoBarPanelProperties::GetVerticalOrientationMargin(winrt::DependencyObject const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_VerticalOrientationMarginProperty)); -} - -void InfoBarPanelProperties::VerticalOrientationPadding(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalOrientationPaddingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness InfoBarPanelProperties::VerticalOrientationPadding() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalOrientationPaddingProperty)); -} diff --git a/dev/Generated/InfoBarPanel.properties.h b/dev/Generated/InfoBarPanel.properties.h deleted file mode 100644 index 0db31d720b..0000000000 --- a/dev/Generated/InfoBarPanel.properties.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class InfoBarPanelProperties -{ -public: - InfoBarPanelProperties(); - - static void SetHorizontalOrientationMargin(winrt::DependencyObject const& target, winrt::Thickness const& value); - static winrt::Thickness GetHorizontalOrientationMargin(winrt::DependencyObject const& target); - - void HorizontalOrientationPadding(winrt::Thickness const& value); - winrt::Thickness HorizontalOrientationPadding(); - - static void SetVerticalOrientationMargin(winrt::DependencyObject const& target, winrt::Thickness const& value); - static winrt::Thickness GetVerticalOrientationMargin(winrt::DependencyObject const& target); - - void VerticalOrientationPadding(winrt::Thickness const& value); - winrt::Thickness VerticalOrientationPadding(); - - static winrt::DependencyProperty HorizontalOrientationMarginProperty() { return s_HorizontalOrientationMarginProperty; } - static winrt::DependencyProperty HorizontalOrientationPaddingProperty() { return s_HorizontalOrientationPaddingProperty; } - static winrt::DependencyProperty VerticalOrientationMarginProperty() { return s_VerticalOrientationMarginProperty; } - static winrt::DependencyProperty VerticalOrientationPaddingProperty() { return s_VerticalOrientationPaddingProperty; } - - static GlobalDependencyProperty s_HorizontalOrientationMarginProperty; - static GlobalDependencyProperty s_HorizontalOrientationPaddingProperty; - static GlobalDependencyProperty s_VerticalOrientationMarginProperty; - static GlobalDependencyProperty s_VerticalOrientationPaddingProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/InfoBarTemplateSettings.properties.cpp b/dev/Generated/InfoBarTemplateSettings.properties.cpp deleted file mode 100644 index b255b262fa..0000000000 --- a/dev/Generated/InfoBarTemplateSettings.properties.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "InfoBarTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(InfoBarTemplateSettings) -} - -#include "InfoBarTemplateSettings.g.cpp" - -GlobalDependencyProperty InfoBarTemplateSettingsProperties::s_IconElementProperty{ nullptr }; - -InfoBarTemplateSettingsProperties::InfoBarTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void InfoBarTemplateSettingsProperties::EnsureProperties() -{ - if (!s_IconElementProperty) - { - s_IconElementProperty = - InitializeDependencyProperty( - L"IconElement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void InfoBarTemplateSettingsProperties::ClearProperties() -{ - s_IconElementProperty = nullptr; -} - -void InfoBarTemplateSettingsProperties::IconElement(winrt::IconElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconElementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconElement InfoBarTemplateSettingsProperties::IconElement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconElementProperty)); -} diff --git a/dev/Generated/InfoBarTemplateSettings.properties.h b/dev/Generated/InfoBarTemplateSettings.properties.h deleted file mode 100644 index 9a584bf6cb..0000000000 --- a/dev/Generated/InfoBarTemplateSettings.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class InfoBarTemplateSettingsProperties -{ -public: - InfoBarTemplateSettingsProperties(); - - void IconElement(winrt::IconElement const& value); - winrt::IconElement IconElement(); - - static winrt::DependencyProperty IconElementProperty() { return s_IconElementProperty; } - - static GlobalDependencyProperty s_IconElementProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/ItemsRepeater.properties.cpp b/dev/Generated/ItemsRepeater.properties.cpp deleted file mode 100644 index d10440285d..0000000000 --- a/dev/Generated/ItemsRepeater.properties.cpp +++ /dev/null @@ -1,291 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ItemsRepeater.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ItemsRepeater) -} - -#include "ItemsRepeater.g.cpp" - -GlobalDependencyProperty ItemsRepeaterProperties::s_AnimatorProperty{ nullptr }; -GlobalDependencyProperty ItemsRepeaterProperties::s_BackgroundProperty{ nullptr }; -GlobalDependencyProperty ItemsRepeaterProperties::s_HorizontalCacheLengthProperty{ nullptr }; -GlobalDependencyProperty ItemsRepeaterProperties::s_ItemsSourceProperty{ nullptr }; -GlobalDependencyProperty ItemsRepeaterProperties::s_ItemTemplateProperty{ nullptr }; -GlobalDependencyProperty ItemsRepeaterProperties::s_LayoutProperty{ nullptr }; -GlobalDependencyProperty ItemsRepeaterProperties::s_VerticalCacheLengthProperty{ nullptr }; - -ItemsRepeaterProperties::ItemsRepeaterProperties() - : m_elementClearingEventSource{static_cast(this)} - , m_elementIndexChangedEventSource{static_cast(this)} - , m_elementPreparedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void ItemsRepeaterProperties::EnsureProperties() -{ - if (!s_AnimatorProperty) - { - s_AnimatorProperty = - InitializeDependencyProperty( - L"Animator", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnAnimatorPropertyChanged)); - } - if (!s_BackgroundProperty) - { - s_BackgroundProperty = - InitializeDependencyProperty( - L"Background", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_HorizontalCacheLengthProperty) - { - s_HorizontalCacheLengthProperty = - InitializeDependencyProperty( - L"HorizontalCacheLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(2.0), - winrt::PropertyChangedCallback(&OnHorizontalCacheLengthPropertyChanged)); - } - if (!s_ItemsSourceProperty) - { - s_ItemsSourceProperty = - InitializeDependencyProperty( - L"ItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemsSourcePropertyChanged)); - } - if (!s_ItemTemplateProperty) - { - s_ItemTemplateProperty = - InitializeDependencyProperty( - L"ItemTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemTemplatePropertyChanged)); - } - if (!s_LayoutProperty) - { - s_LayoutProperty = - InitializeDependencyProperty( - L"Layout", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::StackLayout()), - winrt::PropertyChangedCallback(&OnLayoutPropertyChanged)); - } - if (!s_VerticalCacheLengthProperty) - { - s_VerticalCacheLengthProperty = - InitializeDependencyProperty( - L"VerticalCacheLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(2.0), - winrt::PropertyChangedCallback(&OnVerticalCacheLengthPropertyChanged)); - } -} - -void ItemsRepeaterProperties::ClearProperties() -{ - s_AnimatorProperty = nullptr; - s_BackgroundProperty = nullptr; - s_HorizontalCacheLengthProperty = nullptr; - s_ItemsSourceProperty = nullptr; - s_ItemTemplateProperty = nullptr; - s_LayoutProperty = nullptr; - s_VerticalCacheLengthProperty = nullptr; -} - -void ItemsRepeaterProperties::OnAnimatorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ItemsRepeaterProperties::OnHorizontalCacheLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ItemsRepeaterProperties::OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ItemsRepeaterProperties::OnItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ItemsRepeaterProperties::OnLayoutPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ItemsRepeaterProperties::OnVerticalCacheLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ItemsRepeaterProperties::Animator(winrt::ElementAnimator const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AnimatorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ElementAnimator ItemsRepeaterProperties::Animator() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AnimatorProperty)); -} - -void ItemsRepeaterProperties::Background(winrt::Brush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BackgroundProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Brush ItemsRepeaterProperties::Background() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BackgroundProperty)); -} - -void ItemsRepeaterProperties::HorizontalCacheLength(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalCacheLengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ItemsRepeaterProperties::HorizontalCacheLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalCacheLengthProperty)); -} - -void ItemsRepeaterProperties::ItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable ItemsRepeaterProperties::ItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemsSourceProperty)); -} - -void ItemsRepeaterProperties::ItemTemplate(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable ItemsRepeaterProperties::ItemTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemTemplateProperty)); -} - -void ItemsRepeaterProperties::Layout(winrt::Layout const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LayoutProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Layout ItemsRepeaterProperties::Layout() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LayoutProperty)); -} - -void ItemsRepeaterProperties::VerticalCacheLength(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalCacheLengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ItemsRepeaterProperties::VerticalCacheLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalCacheLengthProperty)); -} - -winrt::event_token ItemsRepeaterProperties::ElementClearing(winrt::TypedEventHandler const& value) -{ - return m_elementClearingEventSource.add(value); -} - -void ItemsRepeaterProperties::ElementClearing(winrt::event_token const& token) -{ - m_elementClearingEventSource.remove(token); -} - -winrt::event_token ItemsRepeaterProperties::ElementIndexChanged(winrt::TypedEventHandler const& value) -{ - return m_elementIndexChangedEventSource.add(value); -} - -void ItemsRepeaterProperties::ElementIndexChanged(winrt::event_token const& token) -{ - m_elementIndexChangedEventSource.remove(token); -} - -winrt::event_token ItemsRepeaterProperties::ElementPrepared(winrt::TypedEventHandler const& value) -{ - return m_elementPreparedEventSource.add(value); -} - -void ItemsRepeaterProperties::ElementPrepared(winrt::event_token const& token) -{ - m_elementPreparedEventSource.remove(token); -} diff --git a/dev/Generated/ItemsRepeater.properties.h b/dev/Generated/ItemsRepeater.properties.h deleted file mode 100644 index ea39cf9ea1..0000000000 --- a/dev/Generated/ItemsRepeater.properties.h +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ItemsRepeaterProperties -{ -public: - ItemsRepeaterProperties(); - - void Animator(winrt::ElementAnimator const& value); - winrt::ElementAnimator Animator(); - - void Background(winrt::Brush const& value); - winrt::Brush Background(); - - void HorizontalCacheLength(double value); - double HorizontalCacheLength(); - - void ItemsSource(winrt::IInspectable const& value); - winrt::IInspectable ItemsSource(); - - void ItemTemplate(winrt::IInspectable const& value); - winrt::IInspectable ItemTemplate(); - - void Layout(winrt::Layout const& value); - winrt::Layout Layout(); - - void VerticalCacheLength(double value); - double VerticalCacheLength(); - - static winrt::DependencyProperty AnimatorProperty() { return s_AnimatorProperty; } - static winrt::DependencyProperty BackgroundProperty() { return s_BackgroundProperty; } - static winrt::DependencyProperty HorizontalCacheLengthProperty() { return s_HorizontalCacheLengthProperty; } - static winrt::DependencyProperty ItemsSourceProperty() { return s_ItemsSourceProperty; } - static winrt::DependencyProperty ItemTemplateProperty() { return s_ItemTemplateProperty; } - static winrt::DependencyProperty LayoutProperty() { return s_LayoutProperty; } - static winrt::DependencyProperty VerticalCacheLengthProperty() { return s_VerticalCacheLengthProperty; } - - static GlobalDependencyProperty s_AnimatorProperty; - static GlobalDependencyProperty s_BackgroundProperty; - static GlobalDependencyProperty s_HorizontalCacheLengthProperty; - static GlobalDependencyProperty s_ItemsSourceProperty; - static GlobalDependencyProperty s_ItemTemplateProperty; - static GlobalDependencyProperty s_LayoutProperty; - static GlobalDependencyProperty s_VerticalCacheLengthProperty; - - winrt::event_token ElementClearing(winrt::TypedEventHandler const& value); - void ElementClearing(winrt::event_token const& token); - winrt::event_token ElementIndexChanged(winrt::TypedEventHandler const& value); - void ElementIndexChanged(winrt::event_token const& token); - winrt::event_token ElementPrepared(winrt::TypedEventHandler const& value); - void ElementPrepared(winrt::event_token const& token); - - event_source> m_elementClearingEventSource; - event_source> m_elementIndexChangedEventSource; - event_source> m_elementPreparedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnAnimatorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalCacheLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnLayoutPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalCacheLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ItemsRepeaterScrollHost.properties.cpp b/dev/Generated/ItemsRepeaterScrollHost.properties.cpp deleted file mode 100644 index f04fdb9b8b..0000000000 --- a/dev/Generated/ItemsRepeaterScrollHost.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ItemsRepeaterScrollHost.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ItemsRepeaterScrollHost) -} - -#include "ItemsRepeaterScrollHost.g.cpp" - - diff --git a/dev/Generated/ItemsSourceView.properties.cpp b/dev/Generated/ItemsSourceView.properties.cpp deleted file mode 100644 index f8173b416d..0000000000 --- a/dev/Generated/ItemsSourceView.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ItemsSourceView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ItemsSourceView) -} - -#include "ItemsSourceView.g.cpp" - - diff --git a/dev/Generated/Layout.properties.cpp b/dev/Generated/Layout.properties.cpp deleted file mode 100644 index c0bd1f84cb..0000000000 --- a/dev/Generated/Layout.properties.cpp +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "Layout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(Layout) -} - -#include "Layout.g.cpp" - - -LayoutProperties::LayoutProperties() - : m_arrangeInvalidatedEventSource{static_cast(this)} - , m_measureInvalidatedEventSource{static_cast(this)} -{ -} - -void LayoutProperties::EnsureProperties() -{ -} - -void LayoutProperties::ClearProperties() -{ -} - -winrt::event_token LayoutProperties::ArrangeInvalidated(winrt::TypedEventHandler const& value) -{ - return m_arrangeInvalidatedEventSource.add(value); -} - -void LayoutProperties::ArrangeInvalidated(winrt::event_token const& token) -{ - m_arrangeInvalidatedEventSource.remove(token); -} - -winrt::event_token LayoutProperties::MeasureInvalidated(winrt::TypedEventHandler const& value) -{ - return m_measureInvalidatedEventSource.add(value); -} - -void LayoutProperties::MeasureInvalidated(winrt::event_token const& token) -{ - m_measureInvalidatedEventSource.remove(token); -} diff --git a/dev/Generated/Layout.properties.h b/dev/Generated/Layout.properties.h deleted file mode 100644 index e17a469f9c..0000000000 --- a/dev/Generated/Layout.properties.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class LayoutProperties -{ -public: - LayoutProperties(); - - - - winrt::event_token ArrangeInvalidated(winrt::TypedEventHandler const& value); - void ArrangeInvalidated(winrt::event_token const& token); - winrt::event_token MeasureInvalidated(winrt::TypedEventHandler const& value); - void MeasureInvalidated(winrt::event_token const& token); - - event_source> m_arrangeInvalidatedEventSource; - event_source> m_measureInvalidatedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/LayoutContext.properties.cpp b/dev/Generated/LayoutContext.properties.cpp deleted file mode 100644 index eefe26eb0e..0000000000 --- a/dev/Generated/LayoutContext.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "LayoutContext.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(LayoutContext) -} - -#include "LayoutContext.g.cpp" - - diff --git a/dev/Generated/LayoutPanel.properties.cpp b/dev/Generated/LayoutPanel.properties.cpp deleted file mode 100644 index a5d2e57024..0000000000 --- a/dev/Generated/LayoutPanel.properties.cpp +++ /dev/null @@ -1,198 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "LayoutPanel.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(LayoutPanel) -} - -#include "LayoutPanel.g.cpp" - -GlobalDependencyProperty LayoutPanelProperties::s_BorderBrushProperty{ nullptr }; -GlobalDependencyProperty LayoutPanelProperties::s_BorderThicknessProperty{ nullptr }; -GlobalDependencyProperty LayoutPanelProperties::s_CornerRadiusProperty{ nullptr }; -GlobalDependencyProperty LayoutPanelProperties::s_LayoutProperty{ nullptr }; -GlobalDependencyProperty LayoutPanelProperties::s_PaddingProperty{ nullptr }; - -LayoutPanelProperties::LayoutPanelProperties() -{ - EnsureProperties(); -} - -void LayoutPanelProperties::EnsureProperties() -{ - if (!s_BorderBrushProperty) - { - s_BorderBrushProperty = - InitializeDependencyProperty( - L"BorderBrush", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBorderBrushPropertyChanged)); - } - if (!s_BorderThicknessProperty) - { - s_BorderThicknessProperty = - InitializeDependencyProperty( - L"BorderThickness", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBorderThicknessPropertyChanged)); - } - if (!s_CornerRadiusProperty) - { - s_CornerRadiusProperty = - InitializeDependencyProperty( - L"CornerRadius", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCornerRadiusPropertyChanged)); - } - if (!s_LayoutProperty) - { - s_LayoutProperty = - InitializeDependencyProperty( - L"Layout", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnLayoutPropertyChanged)); - } - if (!s_PaddingProperty) - { - s_PaddingProperty = - InitializeDependencyProperty( - L"Padding", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPaddingPropertyChanged)); - } -} - -void LayoutPanelProperties::ClearProperties() -{ - s_BorderBrushProperty = nullptr; - s_BorderThicknessProperty = nullptr; - s_CornerRadiusProperty = nullptr; - s_LayoutProperty = nullptr; - s_PaddingProperty = nullptr; -} - -void LayoutPanelProperties::OnBorderBrushPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void LayoutPanelProperties::OnBorderThicknessPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void LayoutPanelProperties::OnCornerRadiusPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void LayoutPanelProperties::OnLayoutPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void LayoutPanelProperties::OnPaddingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void LayoutPanelProperties::BorderBrush(winrt::Brush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BorderBrushProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Brush LayoutPanelProperties::BorderBrush() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BorderBrushProperty)); -} - -void LayoutPanelProperties::BorderThickness(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BorderThicknessProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness LayoutPanelProperties::BorderThickness() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BorderThicknessProperty)); -} - -void LayoutPanelProperties::CornerRadius(winrt::CornerRadius const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CornerRadiusProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CornerRadius LayoutPanelProperties::CornerRadius() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CornerRadiusProperty)); -} - -void LayoutPanelProperties::Layout(winrt::Layout const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LayoutProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Layout LayoutPanelProperties::Layout() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LayoutProperty)); -} - -void LayoutPanelProperties::Padding(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaddingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness LayoutPanelProperties::Padding() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaddingProperty)); -} diff --git a/dev/Generated/LayoutPanel.properties.h b/dev/Generated/LayoutPanel.properties.h deleted file mode 100644 index 859941a11d..0000000000 --- a/dev/Generated/LayoutPanel.properties.h +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class LayoutPanelProperties -{ -public: - LayoutPanelProperties(); - - void BorderBrush(winrt::Brush const& value); - winrt::Brush BorderBrush(); - - void BorderThickness(winrt::Thickness const& value); - winrt::Thickness BorderThickness(); - - void CornerRadius(winrt::CornerRadius const& value); - winrt::CornerRadius CornerRadius(); - - void Layout(winrt::Layout const& value); - winrt::Layout Layout(); - - void Padding(winrt::Thickness const& value); - winrt::Thickness Padding(); - - static winrt::DependencyProperty BorderBrushProperty() { return s_BorderBrushProperty; } - static winrt::DependencyProperty BorderThicknessProperty() { return s_BorderThicknessProperty; } - static winrt::DependencyProperty CornerRadiusProperty() { return s_CornerRadiusProperty; } - static winrt::DependencyProperty LayoutProperty() { return s_LayoutProperty; } - static winrt::DependencyProperty PaddingProperty() { return s_PaddingProperty; } - - static GlobalDependencyProperty s_BorderBrushProperty; - static GlobalDependencyProperty s_BorderThicknessProperty; - static GlobalDependencyProperty s_CornerRadiusProperty; - static GlobalDependencyProperty s_LayoutProperty; - static GlobalDependencyProperty s_PaddingProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnBorderBrushPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnBorderThicknessPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCornerRadiusPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnLayoutPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPaddingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/MUXControlsTestHooks.properties.cpp b/dev/Generated/MUXControlsTestHooks.properties.cpp deleted file mode 100644 index ce803ba865..0000000000 --- a/dev/Generated/MUXControlsTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MUXControlsTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(MUXControlsTestHooks) -} - -#include "MUXControlsTestHooks.g.cpp" - - diff --git a/dev/Generated/MaterialHelperTestApi.properties.cpp b/dev/Generated/MaterialHelperTestApi.properties.cpp deleted file mode 100644 index 715f514dcd..0000000000 --- a/dev/Generated/MaterialHelperTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MaterialHelperTestApi.h" - -namespace winrt::Microsoft::UI::Private::Media -{ - CppWinRTActivatableClassWithBasicFactory(MaterialHelperTestApi) -} - -#include "MaterialHelperTestApi.g.cpp" - - diff --git a/dev/Generated/MenuBar.properties.cpp b/dev/Generated/MenuBar.properties.cpp deleted file mode 100644 index b2423e785e..0000000000 --- a/dev/Generated/MenuBar.properties.cpp +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MenuBar.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(MenuBar) -} - -#include "MenuBar.g.cpp" - -GlobalDependencyProperty MenuBarProperties::s_ItemsProperty{ nullptr }; - -MenuBarProperties::MenuBarProperties() -{ - EnsureProperties(); -} - -void MenuBarProperties::EnsureProperties() -{ - if (!s_ItemsProperty) - { - s_ItemsProperty = - InitializeDependencyProperty( - L"Items", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - nullptr); - } -} - -void MenuBarProperties::ClearProperties() -{ - s_ItemsProperty = nullptr; -} - -void MenuBarProperties::Items(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector MenuBarProperties::Items() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_ItemsProperty)); -} diff --git a/dev/Generated/MenuBar.properties.h b/dev/Generated/MenuBar.properties.h deleted file mode 100644 index 1d7f0861c9..0000000000 --- a/dev/Generated/MenuBar.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class MenuBarProperties -{ -public: - MenuBarProperties(); - - void Items(winrt::IVector const& value); - winrt::IVector Items(); - - static winrt::DependencyProperty ItemsProperty() { return s_ItemsProperty; } - - static GlobalDependencyProperty s_ItemsProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/MenuBarAutomationPeer.properties.cpp b/dev/Generated/MenuBarAutomationPeer.properties.cpp deleted file mode 100644 index 1ccc0ced4b..0000000000 --- a/dev/Generated/MenuBarAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MenuBarAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(MenuBarAutomationPeer) -} - -#include "MenuBarAutomationPeer.g.cpp" - - diff --git a/dev/Generated/MenuBarItem.properties.cpp b/dev/Generated/MenuBarItem.properties.cpp deleted file mode 100644 index 514f1320f1..0000000000 --- a/dev/Generated/MenuBarItem.properties.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MenuBarItem.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(MenuBarItem) -} - -#include "MenuBarItem.g.cpp" - -GlobalDependencyProperty MenuBarItemProperties::s_ItemsProperty{ nullptr }; -GlobalDependencyProperty MenuBarItemProperties::s_TitleProperty{ nullptr }; - -MenuBarItemProperties::MenuBarItemProperties() -{ - EnsureProperties(); -} - -void MenuBarItemProperties::EnsureProperties() -{ - if (!s_ItemsProperty) - { - s_ItemsProperty = - InitializeDependencyProperty( - L"Items", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - nullptr); - } - if (!s_TitleProperty) - { - s_TitleProperty = - InitializeDependencyProperty( - L"Title", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void MenuBarItemProperties::ClearProperties() -{ - s_ItemsProperty = nullptr; - s_TitleProperty = nullptr; -} - -void MenuBarItemProperties::Items(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector MenuBarItemProperties::Items() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_ItemsProperty)); -} - -void MenuBarItemProperties::Title(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TitleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring MenuBarItemProperties::Title() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TitleProperty)); -} diff --git a/dev/Generated/MenuBarItem.properties.h b/dev/Generated/MenuBarItem.properties.h deleted file mode 100644 index cc9c2241d5..0000000000 --- a/dev/Generated/MenuBarItem.properties.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class MenuBarItemProperties -{ -public: - MenuBarItemProperties(); - - void Items(winrt::IVector const& value); - winrt::IVector Items(); - - void Title(winrt::hstring const& value); - winrt::hstring Title(); - - static winrt::DependencyProperty ItemsProperty() { return s_ItemsProperty; } - static winrt::DependencyProperty TitleProperty() { return s_TitleProperty; } - - static GlobalDependencyProperty s_ItemsProperty; - static GlobalDependencyProperty s_TitleProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/MenuBarItemAutomationPeer.properties.cpp b/dev/Generated/MenuBarItemAutomationPeer.properties.cpp deleted file mode 100644 index 82a6758b0b..0000000000 --- a/dev/Generated/MenuBarItemAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MenuBarItemAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(MenuBarItemAutomationPeer) -} - -#include "MenuBarItemAutomationPeer.g.cpp" - - diff --git a/dev/Generated/MenuBarItemFlyout.properties.cpp b/dev/Generated/MenuBarItemFlyout.properties.cpp deleted file mode 100644 index 066825c64a..0000000000 --- a/dev/Generated/MenuBarItemFlyout.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MenuBarItemFlyout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(MenuBarItemFlyout) -} - -#include "MenuBarItemFlyout.g.cpp" - - diff --git a/dev/Generated/MicaController.properties.cpp b/dev/Generated/MicaController.properties.cpp deleted file mode 100644 index 4afb6b0642..0000000000 --- a/dev/Generated/MicaController.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MicaController.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(MicaController) -} - -#include "MicaController.g.cpp" - - diff --git a/dev/Generated/MonochromaticOverlayPresenter.properties.cpp b/dev/Generated/MonochromaticOverlayPresenter.properties.cpp deleted file mode 100644 index f7dc5182c7..0000000000 --- a/dev/Generated/MonochromaticOverlayPresenter.properties.cpp +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "MonochromaticOverlayPresenter.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(MonochromaticOverlayPresenter) -} - -#include "MonochromaticOverlayPresenter.g.cpp" - -GlobalDependencyProperty MonochromaticOverlayPresenterProperties::s_ReplacementColorProperty{ nullptr }; -GlobalDependencyProperty MonochromaticOverlayPresenterProperties::s_SourceElementProperty{ nullptr }; - -MonochromaticOverlayPresenterProperties::MonochromaticOverlayPresenterProperties() -{ - EnsureProperties(); -} - -void MonochromaticOverlayPresenterProperties::EnsureProperties() -{ - if (!s_ReplacementColorProperty) - { - s_ReplacementColorProperty = - InitializeDependencyProperty( - L"ReplacementColor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnReplacementColorPropertyChanged)); - } - if (!s_SourceElementProperty) - { - s_SourceElementProperty = - InitializeDependencyProperty( - L"SourceElement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSourceElementPropertyChanged)); - } -} - -void MonochromaticOverlayPresenterProperties::ClearProperties() -{ - s_ReplacementColorProperty = nullptr; - s_SourceElementProperty = nullptr; -} - -void MonochromaticOverlayPresenterProperties::OnReplacementColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void MonochromaticOverlayPresenterProperties::OnSourceElementPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void MonochromaticOverlayPresenterProperties::ReplacementColor(winrt::Color const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ReplacementColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Color MonochromaticOverlayPresenterProperties::ReplacementColor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ReplacementColorProperty)); -} - -void MonochromaticOverlayPresenterProperties::SourceElement(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SourceElementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement MonochromaticOverlayPresenterProperties::SourceElement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SourceElementProperty)); -} diff --git a/dev/Generated/MonochromaticOverlayPresenter.properties.h b/dev/Generated/MonochromaticOverlayPresenter.properties.h deleted file mode 100644 index 7957ca6e35..0000000000 --- a/dev/Generated/MonochromaticOverlayPresenter.properties.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class MonochromaticOverlayPresenterProperties -{ -public: - MonochromaticOverlayPresenterProperties(); - - void ReplacementColor(winrt::Color const& value); - winrt::Color ReplacementColor(); - - void SourceElement(winrt::UIElement const& value); - winrt::UIElement SourceElement(); - - static winrt::DependencyProperty ReplacementColorProperty() { return s_ReplacementColorProperty; } - static winrt::DependencyProperty SourceElementProperty() { return s_SourceElementProperty; } - - static GlobalDependencyProperty s_ReplacementColorProperty; - static GlobalDependencyProperty s_SourceElementProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnReplacementColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSourceElementPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/NavigationView.properties.cpp b/dev/Generated/NavigationView.properties.cpp deleted file mode 100644 index c222bed2d2..0000000000 --- a/dev/Generated/NavigationView.properties.cpp +++ /dev/null @@ -1,1412 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(NavigationView) -} - -#include "NavigationView.g.cpp" - -GlobalDependencyProperty NavigationViewProperties::s_AlwaysShowHeaderProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_AutoSuggestBoxProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_CompactModeThresholdWidthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_CompactPaneLengthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_ContentOverlayProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_DisplayModeProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_ExpandedModeThresholdWidthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_FooterMenuItemsProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_FooterMenuItemsSourceProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_HeaderProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_HeaderTemplateProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_IsBackButtonVisibleProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_IsBackEnabledProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_IsPaneOpenProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_IsPaneToggleButtonVisibleProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_IsPaneVisibleProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_IsSettingsVisibleProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_IsTitleBarAutoPaddingEnabledProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_MenuItemContainerStyleProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_MenuItemContainerStyleSelectorProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_MenuItemsProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_MenuItemsSourceProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_MenuItemTemplateProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_MenuItemTemplateSelectorProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_OpenPaneLengthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_OverflowLabelModeProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_PaneCustomContentProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_PaneDisplayModeProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_PaneFooterProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_PaneHeaderProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_PaneTitleProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_PaneToggleButtonStyleProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_SelectedItemProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_SelectionFollowsFocusProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_SettingsItemProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_ShoulderNavigationEnabledProperty{ nullptr }; -GlobalDependencyProperty NavigationViewProperties::s_TemplateSettingsProperty{ nullptr }; - -NavigationViewProperties::NavigationViewProperties() - : m_backRequestedEventSource{static_cast(this)} - , m_collapsedEventSource{static_cast(this)} - , m_displayModeChangedEventSource{static_cast(this)} - , m_expandingEventSource{static_cast(this)} - , m_itemInvokedEventSource{static_cast(this)} - , m_paneClosedEventSource{static_cast(this)} - , m_paneClosingEventSource{static_cast(this)} - , m_paneOpenedEventSource{static_cast(this)} - , m_paneOpeningEventSource{static_cast(this)} - , m_selectionChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void NavigationViewProperties::EnsureProperties() -{ - if (!s_AlwaysShowHeaderProperty) - { - s_AlwaysShowHeaderProperty = - InitializeDependencyProperty( - L"AlwaysShowHeader", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnAlwaysShowHeaderPropertyChanged)); - } - if (!s_AutoSuggestBoxProperty) - { - s_AutoSuggestBoxProperty = - InitializeDependencyProperty( - L"AutoSuggestBox", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnAutoSuggestBoxPropertyChanged)); - } - if (!s_CompactModeThresholdWidthProperty) - { - s_CompactModeThresholdWidthProperty = - InitializeDependencyProperty( - L"CompactModeThresholdWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(641.0), - winrt::PropertyChangedCallback(&OnCompactModeThresholdWidthPropertyChanged)); - } - if (!s_CompactPaneLengthProperty) - { - s_CompactPaneLengthProperty = - InitializeDependencyProperty( - L"CompactPaneLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(48.0), - winrt::PropertyChangedCallback(&OnCompactPaneLengthPropertyChanged)); - } - if (!s_ContentOverlayProperty) - { - s_ContentOverlayProperty = - InitializeDependencyProperty( - L"ContentOverlay", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_DisplayModeProperty) - { - s_DisplayModeProperty = - InitializeDependencyProperty( - L"DisplayMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::NavigationViewDisplayMode::Minimal), - winrt::PropertyChangedCallback(&OnDisplayModePropertyChanged)); - } - if (!s_ExpandedModeThresholdWidthProperty) - { - s_ExpandedModeThresholdWidthProperty = - InitializeDependencyProperty( - L"ExpandedModeThresholdWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1008.0), - winrt::PropertyChangedCallback(&OnExpandedModeThresholdWidthPropertyChanged)); - } - if (!s_FooterMenuItemsProperty) - { - s_FooterMenuItemsProperty = - InitializeDependencyProperty( - L"FooterMenuItems", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFooterMenuItemsPropertyChanged)); - } - if (!s_FooterMenuItemsSourceProperty) - { - s_FooterMenuItemsSourceProperty = - InitializeDependencyProperty( - L"FooterMenuItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFooterMenuItemsSourcePropertyChanged)); - } - if (!s_HeaderProperty) - { - s_HeaderProperty = - InitializeDependencyProperty( - L"Header", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeaderPropertyChanged)); - } - if (!s_HeaderTemplateProperty) - { - s_HeaderTemplateProperty = - InitializeDependencyProperty( - L"HeaderTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeaderTemplatePropertyChanged)); - } - if (!s_IsBackButtonVisibleProperty) - { - s_IsBackButtonVisibleProperty = - InitializeDependencyProperty( - L"IsBackButtonVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::NavigationViewBackButtonVisible::Auto), - winrt::PropertyChangedCallback(&OnIsBackButtonVisiblePropertyChanged)); - } - if (!s_IsBackEnabledProperty) - { - s_IsBackEnabledProperty = - InitializeDependencyProperty( - L"IsBackEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsBackEnabledPropertyChanged)); - } - if (!s_IsPaneOpenProperty) - { - s_IsPaneOpenProperty = - InitializeDependencyProperty( - L"IsPaneOpen", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsPaneOpenPropertyChanged)); - } - if (!s_IsPaneToggleButtonVisibleProperty) - { - s_IsPaneToggleButtonVisibleProperty = - InitializeDependencyProperty( - L"IsPaneToggleButtonVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsPaneToggleButtonVisiblePropertyChanged)); - } - if (!s_IsPaneVisibleProperty) - { - s_IsPaneVisibleProperty = - InitializeDependencyProperty( - L"IsPaneVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsPaneVisiblePropertyChanged)); - } - if (!s_IsSettingsVisibleProperty) - { - s_IsSettingsVisibleProperty = - InitializeDependencyProperty( - L"IsSettingsVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsSettingsVisiblePropertyChanged)); - } - if (!s_IsTitleBarAutoPaddingEnabledProperty) - { - s_IsTitleBarAutoPaddingEnabledProperty = - InitializeDependencyProperty( - L"IsTitleBarAutoPaddingEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsTitleBarAutoPaddingEnabledPropertyChanged)); - } - if (!s_MenuItemContainerStyleProperty) - { - s_MenuItemContainerStyleProperty = - InitializeDependencyProperty( - L"MenuItemContainerStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemContainerStylePropertyChanged)); - } - if (!s_MenuItemContainerStyleSelectorProperty) - { - s_MenuItemContainerStyleSelectorProperty = - InitializeDependencyProperty( - L"MenuItemContainerStyleSelector", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemContainerStyleSelectorPropertyChanged)); - } - if (!s_MenuItemsProperty) - { - s_MenuItemsProperty = - InitializeDependencyProperty( - L"MenuItems", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemsPropertyChanged)); - } - if (!s_MenuItemsSourceProperty) - { - s_MenuItemsSourceProperty = - InitializeDependencyProperty( - L"MenuItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemsSourcePropertyChanged)); - } - if (!s_MenuItemTemplateProperty) - { - s_MenuItemTemplateProperty = - InitializeDependencyProperty( - L"MenuItemTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemTemplatePropertyChanged)); - } - if (!s_MenuItemTemplateSelectorProperty) - { - s_MenuItemTemplateSelectorProperty = - InitializeDependencyProperty( - L"MenuItemTemplateSelector", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemTemplateSelectorPropertyChanged)); - } - if (!s_OpenPaneLengthProperty) - { - s_OpenPaneLengthProperty = - InitializeDependencyProperty( - L"OpenPaneLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(320.0), - winrt::PropertyChangedCallback(&OnOpenPaneLengthPropertyChanged)); - } - if (!s_OverflowLabelModeProperty) - { - s_OverflowLabelModeProperty = - InitializeDependencyProperty( - L"OverflowLabelMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::NavigationViewOverflowLabelMode::MoreLabel), - winrt::PropertyChangedCallback(&OnOverflowLabelModePropertyChanged)); - } - if (!s_PaneCustomContentProperty) - { - s_PaneCustomContentProperty = - InitializeDependencyProperty( - L"PaneCustomContent", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PaneDisplayModeProperty) - { - s_PaneDisplayModeProperty = - InitializeDependencyProperty( - L"PaneDisplayMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::NavigationViewPaneDisplayMode::Auto), - winrt::PropertyChangedCallback(&OnPaneDisplayModePropertyChanged)); - } - if (!s_PaneFooterProperty) - { - s_PaneFooterProperty = - InitializeDependencyProperty( - L"PaneFooter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPaneFooterPropertyChanged)); - } - if (!s_PaneHeaderProperty) - { - s_PaneHeaderProperty = - InitializeDependencyProperty( - L"PaneHeader", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PaneTitleProperty) - { - s_PaneTitleProperty = - InitializeDependencyProperty( - L"PaneTitle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPaneTitlePropertyChanged)); - } - if (!s_PaneToggleButtonStyleProperty) - { - s_PaneToggleButtonStyleProperty = - InitializeDependencyProperty( - L"PaneToggleButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPaneToggleButtonStylePropertyChanged)); - } - if (!s_SelectedItemProperty) - { - s_SelectedItemProperty = - InitializeDependencyProperty( - L"SelectedItem", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSelectedItemPropertyChanged)); - } - if (!s_SelectionFollowsFocusProperty) - { - s_SelectionFollowsFocusProperty = - InitializeDependencyProperty( - L"SelectionFollowsFocus", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::NavigationViewSelectionFollowsFocus::Disabled), - winrt::PropertyChangedCallback(&OnSelectionFollowsFocusPropertyChanged)); - } - if (!s_SettingsItemProperty) - { - s_SettingsItemProperty = - InitializeDependencyProperty( - L"SettingsItem", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSettingsItemPropertyChanged)); - } - if (!s_ShoulderNavigationEnabledProperty) - { - s_ShoulderNavigationEnabledProperty = - InitializeDependencyProperty( - L"ShoulderNavigationEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::NavigationViewShoulderNavigationEnabled::Never), - winrt::PropertyChangedCallback(&OnShoulderNavigationEnabledPropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void NavigationViewProperties::ClearProperties() -{ - s_AlwaysShowHeaderProperty = nullptr; - s_AutoSuggestBoxProperty = nullptr; - s_CompactModeThresholdWidthProperty = nullptr; - s_CompactPaneLengthProperty = nullptr; - s_ContentOverlayProperty = nullptr; - s_DisplayModeProperty = nullptr; - s_ExpandedModeThresholdWidthProperty = nullptr; - s_FooterMenuItemsProperty = nullptr; - s_FooterMenuItemsSourceProperty = nullptr; - s_HeaderProperty = nullptr; - s_HeaderTemplateProperty = nullptr; - s_IsBackButtonVisibleProperty = nullptr; - s_IsBackEnabledProperty = nullptr; - s_IsPaneOpenProperty = nullptr; - s_IsPaneToggleButtonVisibleProperty = nullptr; - s_IsPaneVisibleProperty = nullptr; - s_IsSettingsVisibleProperty = nullptr; - s_IsTitleBarAutoPaddingEnabledProperty = nullptr; - s_MenuItemContainerStyleProperty = nullptr; - s_MenuItemContainerStyleSelectorProperty = nullptr; - s_MenuItemsProperty = nullptr; - s_MenuItemsSourceProperty = nullptr; - s_MenuItemTemplateProperty = nullptr; - s_MenuItemTemplateSelectorProperty = nullptr; - s_OpenPaneLengthProperty = nullptr; - s_OverflowLabelModeProperty = nullptr; - s_PaneCustomContentProperty = nullptr; - s_PaneDisplayModeProperty = nullptr; - s_PaneFooterProperty = nullptr; - s_PaneHeaderProperty = nullptr; - s_PaneTitleProperty = nullptr; - s_PaneToggleButtonStyleProperty = nullptr; - s_SelectedItemProperty = nullptr; - s_SelectionFollowsFocusProperty = nullptr; - s_SettingsItemProperty = nullptr; - s_ShoulderNavigationEnabledProperty = nullptr; - s_TemplateSettingsProperty = nullptr; -} - -void NavigationViewProperties::OnAlwaysShowHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnAutoSuggestBoxPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnCompactModeThresholdWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->CoerceToGreaterThanZero(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnCompactPaneLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->CoerceToGreaterThanZero(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnDisplayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnExpandedModeThresholdWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->CoerceToGreaterThanZero(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnFooterMenuItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnFooterMenuItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnHeaderTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnIsBackButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnIsBackEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnIsPaneOpenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnIsPaneToggleButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnIsPaneVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnIsSettingsVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnIsTitleBarAutoPaddingEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnMenuItemContainerStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnMenuItemContainerStyleSelectorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnMenuItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnMenuItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnMenuItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnMenuItemTemplateSelectorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnOpenPaneLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->CoerceToGreaterThanZero(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnOverflowLabelModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnPaneDisplayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnPaneFooterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnPaneTitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnPaneToggleButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnSelectionFollowsFocusPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnSettingsItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::OnShoulderNavigationEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewProperties::AlwaysShowHeader(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AlwaysShowHeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewProperties::AlwaysShowHeader() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AlwaysShowHeaderProperty)); -} - -void NavigationViewProperties::AutoSuggestBox(winrt::AutoSuggestBox const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AutoSuggestBoxProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::AutoSuggestBox NavigationViewProperties::AutoSuggestBox() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AutoSuggestBoxProperty)); -} - -void NavigationViewProperties::CompactModeThresholdWidth(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->CoerceToGreaterThanZero(coercedValue); - static_cast(this)->SetValue(s_CompactModeThresholdWidthProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double NavigationViewProperties::CompactModeThresholdWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CompactModeThresholdWidthProperty)); -} - -void NavigationViewProperties::CompactPaneLength(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->CoerceToGreaterThanZero(coercedValue); - static_cast(this)->SetValue(s_CompactPaneLengthProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double NavigationViewProperties::CompactPaneLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CompactPaneLengthProperty)); -} - -void NavigationViewProperties::ContentOverlay(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentOverlayProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement NavigationViewProperties::ContentOverlay() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentOverlayProperty)); -} - -void NavigationViewProperties::DisplayMode(winrt::NavigationViewDisplayMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DisplayModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewDisplayMode NavigationViewProperties::DisplayMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DisplayModeProperty)); -} - -void NavigationViewProperties::ExpandedModeThresholdWidth(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->CoerceToGreaterThanZero(coercedValue); - static_cast(this)->SetValue(s_ExpandedModeThresholdWidthProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double NavigationViewProperties::ExpandedModeThresholdWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandedModeThresholdWidthProperty)); -} - -void NavigationViewProperties::FooterMenuItems(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FooterMenuItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector NavigationViewProperties::FooterMenuItems() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_FooterMenuItemsProperty)); -} - -void NavigationViewProperties::FooterMenuItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FooterMenuItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NavigationViewProperties::FooterMenuItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FooterMenuItemsSourceProperty)); -} - -void NavigationViewProperties::Header(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NavigationViewProperties::Header() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderProperty)); -} - -void NavigationViewProperties::HeaderTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate NavigationViewProperties::HeaderTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderTemplateProperty)); -} - -void NavigationViewProperties::IsBackButtonVisible(winrt::NavigationViewBackButtonVisible const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsBackButtonVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewBackButtonVisible NavigationViewProperties::IsBackButtonVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsBackButtonVisibleProperty)); -} - -void NavigationViewProperties::IsBackEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsBackEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewProperties::IsBackEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsBackEnabledProperty)); -} - -void NavigationViewProperties::IsPaneOpen(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsPaneOpenProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewProperties::IsPaneOpen() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsPaneOpenProperty)); -} - -void NavigationViewProperties::IsPaneToggleButtonVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsPaneToggleButtonVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewProperties::IsPaneToggleButtonVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsPaneToggleButtonVisibleProperty)); -} - -void NavigationViewProperties::IsPaneVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsPaneVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewProperties::IsPaneVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsPaneVisibleProperty)); -} - -void NavigationViewProperties::IsSettingsVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsSettingsVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewProperties::IsSettingsVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsSettingsVisibleProperty)); -} - -void NavigationViewProperties::IsTitleBarAutoPaddingEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsTitleBarAutoPaddingEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewProperties::IsTitleBarAutoPaddingEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsTitleBarAutoPaddingEnabledProperty)); -} - -void NavigationViewProperties::MenuItemContainerStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemContainerStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style NavigationViewProperties::MenuItemContainerStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemContainerStyleProperty)); -} - -void NavigationViewProperties::MenuItemContainerStyleSelector(winrt::StyleSelector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemContainerStyleSelectorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::StyleSelector NavigationViewProperties::MenuItemContainerStyleSelector() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemContainerStyleSelectorProperty)); -} - -void NavigationViewProperties::MenuItems(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector NavigationViewProperties::MenuItems() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemsProperty)); -} - -void NavigationViewProperties::MenuItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NavigationViewProperties::MenuItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemsSourceProperty)); -} - -void NavigationViewProperties::MenuItemTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate NavigationViewProperties::MenuItemTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemTemplateProperty)); -} - -void NavigationViewProperties::MenuItemTemplateSelector(winrt::DataTemplateSelector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemTemplateSelectorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplateSelector NavigationViewProperties::MenuItemTemplateSelector() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemTemplateSelectorProperty)); -} - -void NavigationViewProperties::OpenPaneLength(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->CoerceToGreaterThanZero(coercedValue); - static_cast(this)->SetValue(s_OpenPaneLengthProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double NavigationViewProperties::OpenPaneLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OpenPaneLengthProperty)); -} - -void NavigationViewProperties::OverflowLabelMode(winrt::NavigationViewOverflowLabelMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OverflowLabelModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewOverflowLabelMode NavigationViewProperties::OverflowLabelMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OverflowLabelModeProperty)); -} - -void NavigationViewProperties::PaneCustomContent(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneCustomContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement NavigationViewProperties::PaneCustomContent() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneCustomContentProperty)); -} - -void NavigationViewProperties::PaneDisplayMode(winrt::NavigationViewPaneDisplayMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneDisplayModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewPaneDisplayMode NavigationViewProperties::PaneDisplayMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneDisplayModeProperty)); -} - -void NavigationViewProperties::PaneFooter(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneFooterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement NavigationViewProperties::PaneFooter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneFooterProperty)); -} - -void NavigationViewProperties::PaneHeader(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneHeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement NavigationViewProperties::PaneHeader() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneHeaderProperty)); -} - -void NavigationViewProperties::PaneTitle(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneTitleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring NavigationViewProperties::PaneTitle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneTitleProperty)); -} - -void NavigationViewProperties::PaneToggleButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneToggleButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style NavigationViewProperties::PaneToggleButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneToggleButtonStyleProperty)); -} - -void NavigationViewProperties::SelectedItem(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedItemProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NavigationViewProperties::SelectedItem() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedItemProperty)); -} - -void NavigationViewProperties::SelectionFollowsFocus(winrt::NavigationViewSelectionFollowsFocus const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectionFollowsFocusProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewSelectionFollowsFocus NavigationViewProperties::SelectionFollowsFocus() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectionFollowsFocusProperty)); -} - -void NavigationViewProperties::SettingsItem(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SettingsItemProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NavigationViewProperties::SettingsItem() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SettingsItemProperty)); -} - -void NavigationViewProperties::ShoulderNavigationEnabled(winrt::NavigationViewShoulderNavigationEnabled const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ShoulderNavigationEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewShoulderNavigationEnabled NavigationViewProperties::ShoulderNavigationEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ShoulderNavigationEnabledProperty)); -} - -void NavigationViewProperties::TemplateSettings(winrt::NavigationViewTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewTemplateSettings NavigationViewProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -winrt::event_token NavigationViewProperties::BackRequested(winrt::TypedEventHandler const& value) -{ - return m_backRequestedEventSource.add(value); -} - -void NavigationViewProperties::BackRequested(winrt::event_token const& token) -{ - m_backRequestedEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::Collapsed(winrt::TypedEventHandler const& value) -{ - return m_collapsedEventSource.add(value); -} - -void NavigationViewProperties::Collapsed(winrt::event_token const& token) -{ - m_collapsedEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::DisplayModeChanged(winrt::TypedEventHandler const& value) -{ - return m_displayModeChangedEventSource.add(value); -} - -void NavigationViewProperties::DisplayModeChanged(winrt::event_token const& token) -{ - m_displayModeChangedEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::Expanding(winrt::TypedEventHandler const& value) -{ - return m_expandingEventSource.add(value); -} - -void NavigationViewProperties::Expanding(winrt::event_token const& token) -{ - m_expandingEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::ItemInvoked(winrt::TypedEventHandler const& value) -{ - return m_itemInvokedEventSource.add(value); -} - -void NavigationViewProperties::ItemInvoked(winrt::event_token const& token) -{ - m_itemInvokedEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::PaneClosed(winrt::TypedEventHandler const& value) -{ - return m_paneClosedEventSource.add(value); -} - -void NavigationViewProperties::PaneClosed(winrt::event_token const& token) -{ - m_paneClosedEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::PaneClosing(winrt::TypedEventHandler const& value) -{ - return m_paneClosingEventSource.add(value); -} - -void NavigationViewProperties::PaneClosing(winrt::event_token const& token) -{ - m_paneClosingEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::PaneOpened(winrt::TypedEventHandler const& value) -{ - return m_paneOpenedEventSource.add(value); -} - -void NavigationViewProperties::PaneOpened(winrt::event_token const& token) -{ - m_paneOpenedEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::PaneOpening(winrt::TypedEventHandler const& value) -{ - return m_paneOpeningEventSource.add(value); -} - -void NavigationViewProperties::PaneOpening(winrt::event_token const& token) -{ - m_paneOpeningEventSource.remove(token); -} - -winrt::event_token NavigationViewProperties::SelectionChanged(winrt::TypedEventHandler const& value) -{ - return m_selectionChangedEventSource.add(value); -} - -void NavigationViewProperties::SelectionChanged(winrt::event_token const& token) -{ - m_selectionChangedEventSource.remove(token); -} diff --git a/dev/Generated/NavigationView.properties.h b/dev/Generated/NavigationView.properties.h deleted file mode 100644 index 47997f9a10..0000000000 --- a/dev/Generated/NavigationView.properties.h +++ /dev/null @@ -1,365 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class NavigationViewProperties -{ -public: - NavigationViewProperties(); - - void AlwaysShowHeader(bool value); - bool AlwaysShowHeader(); - - void AutoSuggestBox(winrt::AutoSuggestBox const& value); - winrt::AutoSuggestBox AutoSuggestBox(); - - void CompactModeThresholdWidth(double value); - double CompactModeThresholdWidth(); - - void CompactPaneLength(double value); - double CompactPaneLength(); - - void ContentOverlay(winrt::UIElement const& value); - winrt::UIElement ContentOverlay(); - - void DisplayMode(winrt::NavigationViewDisplayMode const& value); - winrt::NavigationViewDisplayMode DisplayMode(); - - void ExpandedModeThresholdWidth(double value); - double ExpandedModeThresholdWidth(); - - void FooterMenuItems(winrt::IVector const& value); - winrt::IVector FooterMenuItems(); - - void FooterMenuItemsSource(winrt::IInspectable const& value); - winrt::IInspectable FooterMenuItemsSource(); - - void Header(winrt::IInspectable const& value); - winrt::IInspectable Header(); - - void HeaderTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate HeaderTemplate(); - - void IsBackButtonVisible(winrt::NavigationViewBackButtonVisible const& value); - winrt::NavigationViewBackButtonVisible IsBackButtonVisible(); - - void IsBackEnabled(bool value); - bool IsBackEnabled(); - - void IsPaneOpen(bool value); - bool IsPaneOpen(); - - void IsPaneToggleButtonVisible(bool value); - bool IsPaneToggleButtonVisible(); - - void IsPaneVisible(bool value); - bool IsPaneVisible(); - - void IsSettingsVisible(bool value); - bool IsSettingsVisible(); - - void IsTitleBarAutoPaddingEnabled(bool value); - bool IsTitleBarAutoPaddingEnabled(); - - void MenuItemContainerStyle(winrt::Style const& value); - winrt::Style MenuItemContainerStyle(); - - void MenuItemContainerStyleSelector(winrt::StyleSelector const& value); - winrt::StyleSelector MenuItemContainerStyleSelector(); - - void MenuItems(winrt::IVector const& value); - winrt::IVector MenuItems(); - - void MenuItemsSource(winrt::IInspectable const& value); - winrt::IInspectable MenuItemsSource(); - - void MenuItemTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate MenuItemTemplate(); - - void MenuItemTemplateSelector(winrt::DataTemplateSelector const& value); - winrt::DataTemplateSelector MenuItemTemplateSelector(); - - void OpenPaneLength(double value); - double OpenPaneLength(); - - void OverflowLabelMode(winrt::NavigationViewOverflowLabelMode const& value); - winrt::NavigationViewOverflowLabelMode OverflowLabelMode(); - - void PaneCustomContent(winrt::UIElement const& value); - winrt::UIElement PaneCustomContent(); - - void PaneDisplayMode(winrt::NavigationViewPaneDisplayMode const& value); - winrt::NavigationViewPaneDisplayMode PaneDisplayMode(); - - void PaneFooter(winrt::UIElement const& value); - winrt::UIElement PaneFooter(); - - void PaneHeader(winrt::UIElement const& value); - winrt::UIElement PaneHeader(); - - void PaneTitle(winrt::hstring const& value); - winrt::hstring PaneTitle(); - - void PaneToggleButtonStyle(winrt::Style const& value); - winrt::Style PaneToggleButtonStyle(); - - void SelectedItem(winrt::IInspectable const& value); - winrt::IInspectable SelectedItem(); - - void SelectionFollowsFocus(winrt::NavigationViewSelectionFollowsFocus const& value); - winrt::NavigationViewSelectionFollowsFocus SelectionFollowsFocus(); - - void SettingsItem(winrt::IInspectable const& value); - winrt::IInspectable SettingsItem(); - - void ShoulderNavigationEnabled(winrt::NavigationViewShoulderNavigationEnabled const& value); - winrt::NavigationViewShoulderNavigationEnabled ShoulderNavigationEnabled(); - - void TemplateSettings(winrt::NavigationViewTemplateSettings const& value); - winrt::NavigationViewTemplateSettings TemplateSettings(); - - static winrt::DependencyProperty AlwaysShowHeaderProperty() { return s_AlwaysShowHeaderProperty; } - static winrt::DependencyProperty AutoSuggestBoxProperty() { return s_AutoSuggestBoxProperty; } - static winrt::DependencyProperty CompactModeThresholdWidthProperty() { return s_CompactModeThresholdWidthProperty; } - static winrt::DependencyProperty CompactPaneLengthProperty() { return s_CompactPaneLengthProperty; } - static winrt::DependencyProperty ContentOverlayProperty() { return s_ContentOverlayProperty; } - static winrt::DependencyProperty DisplayModeProperty() { return s_DisplayModeProperty; } - static winrt::DependencyProperty ExpandedModeThresholdWidthProperty() { return s_ExpandedModeThresholdWidthProperty; } - static winrt::DependencyProperty FooterMenuItemsProperty() { return s_FooterMenuItemsProperty; } - static winrt::DependencyProperty FooterMenuItemsSourceProperty() { return s_FooterMenuItemsSourceProperty; } - static winrt::DependencyProperty HeaderProperty() { return s_HeaderProperty; } - static winrt::DependencyProperty HeaderTemplateProperty() { return s_HeaderTemplateProperty; } - static winrt::DependencyProperty IsBackButtonVisibleProperty() { return s_IsBackButtonVisibleProperty; } - static winrt::DependencyProperty IsBackEnabledProperty() { return s_IsBackEnabledProperty; } - static winrt::DependencyProperty IsPaneOpenProperty() { return s_IsPaneOpenProperty; } - static winrt::DependencyProperty IsPaneToggleButtonVisibleProperty() { return s_IsPaneToggleButtonVisibleProperty; } - static winrt::DependencyProperty IsPaneVisibleProperty() { return s_IsPaneVisibleProperty; } - static winrt::DependencyProperty IsSettingsVisibleProperty() { return s_IsSettingsVisibleProperty; } - static winrt::DependencyProperty IsTitleBarAutoPaddingEnabledProperty() { return s_IsTitleBarAutoPaddingEnabledProperty; } - static winrt::DependencyProperty MenuItemContainerStyleProperty() { return s_MenuItemContainerStyleProperty; } - static winrt::DependencyProperty MenuItemContainerStyleSelectorProperty() { return s_MenuItemContainerStyleSelectorProperty; } - static winrt::DependencyProperty MenuItemsProperty() { return s_MenuItemsProperty; } - static winrt::DependencyProperty MenuItemsSourceProperty() { return s_MenuItemsSourceProperty; } - static winrt::DependencyProperty MenuItemTemplateProperty() { return s_MenuItemTemplateProperty; } - static winrt::DependencyProperty MenuItemTemplateSelectorProperty() { return s_MenuItemTemplateSelectorProperty; } - static winrt::DependencyProperty OpenPaneLengthProperty() { return s_OpenPaneLengthProperty; } - static winrt::DependencyProperty OverflowLabelModeProperty() { return s_OverflowLabelModeProperty; } - static winrt::DependencyProperty PaneCustomContentProperty() { return s_PaneCustomContentProperty; } - static winrt::DependencyProperty PaneDisplayModeProperty() { return s_PaneDisplayModeProperty; } - static winrt::DependencyProperty PaneFooterProperty() { return s_PaneFooterProperty; } - static winrt::DependencyProperty PaneHeaderProperty() { return s_PaneHeaderProperty; } - static winrt::DependencyProperty PaneTitleProperty() { return s_PaneTitleProperty; } - static winrt::DependencyProperty PaneToggleButtonStyleProperty() { return s_PaneToggleButtonStyleProperty; } - static winrt::DependencyProperty SelectedItemProperty() { return s_SelectedItemProperty; } - static winrt::DependencyProperty SelectionFollowsFocusProperty() { return s_SelectionFollowsFocusProperty; } - static winrt::DependencyProperty SettingsItemProperty() { return s_SettingsItemProperty; } - static winrt::DependencyProperty ShoulderNavigationEnabledProperty() { return s_ShoulderNavigationEnabledProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - - static GlobalDependencyProperty s_AlwaysShowHeaderProperty; - static GlobalDependencyProperty s_AutoSuggestBoxProperty; - static GlobalDependencyProperty s_CompactModeThresholdWidthProperty; - static GlobalDependencyProperty s_CompactPaneLengthProperty; - static GlobalDependencyProperty s_ContentOverlayProperty; - static GlobalDependencyProperty s_DisplayModeProperty; - static GlobalDependencyProperty s_ExpandedModeThresholdWidthProperty; - static GlobalDependencyProperty s_FooterMenuItemsProperty; - static GlobalDependencyProperty s_FooterMenuItemsSourceProperty; - static GlobalDependencyProperty s_HeaderProperty; - static GlobalDependencyProperty s_HeaderTemplateProperty; - static GlobalDependencyProperty s_IsBackButtonVisibleProperty; - static GlobalDependencyProperty s_IsBackEnabledProperty; - static GlobalDependencyProperty s_IsPaneOpenProperty; - static GlobalDependencyProperty s_IsPaneToggleButtonVisibleProperty; - static GlobalDependencyProperty s_IsPaneVisibleProperty; - static GlobalDependencyProperty s_IsSettingsVisibleProperty; - static GlobalDependencyProperty s_IsTitleBarAutoPaddingEnabledProperty; - static GlobalDependencyProperty s_MenuItemContainerStyleProperty; - static GlobalDependencyProperty s_MenuItemContainerStyleSelectorProperty; - static GlobalDependencyProperty s_MenuItemsProperty; - static GlobalDependencyProperty s_MenuItemsSourceProperty; - static GlobalDependencyProperty s_MenuItemTemplateProperty; - static GlobalDependencyProperty s_MenuItemTemplateSelectorProperty; - static GlobalDependencyProperty s_OpenPaneLengthProperty; - static GlobalDependencyProperty s_OverflowLabelModeProperty; - static GlobalDependencyProperty s_PaneCustomContentProperty; - static GlobalDependencyProperty s_PaneDisplayModeProperty; - static GlobalDependencyProperty s_PaneFooterProperty; - static GlobalDependencyProperty s_PaneHeaderProperty; - static GlobalDependencyProperty s_PaneTitleProperty; - static GlobalDependencyProperty s_PaneToggleButtonStyleProperty; - static GlobalDependencyProperty s_SelectedItemProperty; - static GlobalDependencyProperty s_SelectionFollowsFocusProperty; - static GlobalDependencyProperty s_SettingsItemProperty; - static GlobalDependencyProperty s_ShoulderNavigationEnabledProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - - winrt::event_token BackRequested(winrt::TypedEventHandler const& value); - void BackRequested(winrt::event_token const& token); - winrt::event_token Collapsed(winrt::TypedEventHandler const& value); - void Collapsed(winrt::event_token const& token); - winrt::event_token DisplayModeChanged(winrt::TypedEventHandler const& value); - void DisplayModeChanged(winrt::event_token const& token); - winrt::event_token Expanding(winrt::TypedEventHandler const& value); - void Expanding(winrt::event_token const& token); - winrt::event_token ItemInvoked(winrt::TypedEventHandler const& value); - void ItemInvoked(winrt::event_token const& token); - winrt::event_token PaneClosed(winrt::TypedEventHandler const& value); - void PaneClosed(winrt::event_token const& token); - winrt::event_token PaneClosing(winrt::TypedEventHandler const& value); - void PaneClosing(winrt::event_token const& token); - winrt::event_token PaneOpened(winrt::TypedEventHandler const& value); - void PaneOpened(winrt::event_token const& token); - winrt::event_token PaneOpening(winrt::TypedEventHandler const& value); - void PaneOpening(winrt::event_token const& token); - winrt::event_token SelectionChanged(winrt::TypedEventHandler const& value); - void SelectionChanged(winrt::event_token const& token); - - event_source> m_backRequestedEventSource; - event_source> m_collapsedEventSource; - event_source> m_displayModeChangedEventSource; - event_source> m_expandingEventSource; - event_source> m_itemInvokedEventSource; - event_source> m_paneClosedEventSource; - event_source> m_paneClosingEventSource; - event_source> m_paneOpenedEventSource; - event_source> m_paneOpeningEventSource; - event_source> m_selectionChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnAlwaysShowHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnAutoSuggestBoxPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCompactModeThresholdWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCompactPaneLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnDisplayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnExpandedModeThresholdWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFooterMenuItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFooterMenuItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHeaderTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsBackButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsBackEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsPaneOpenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsPaneToggleButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsPaneVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsSettingsVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsTitleBarAutoPaddingEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemContainerStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemContainerStyleSelectorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemTemplateSelectorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOpenPaneLengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOverflowLabelModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPaneDisplayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPaneFooterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPaneTitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPaneToggleButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectionFollowsFocusPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSettingsItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnShoulderNavigationEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/NavigationViewAutomationPeer.properties.cpp b/dev/Generated/NavigationViewAutomationPeer.properties.cpp deleted file mode 100644 index 215f141ea9..0000000000 --- a/dev/Generated/NavigationViewAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(NavigationViewAutomationPeer) -} - -#include "NavigationViewAutomationPeer.g.cpp" - - diff --git a/dev/Generated/NavigationViewItem.properties.cpp b/dev/Generated/NavigationViewItem.properties.cpp deleted file mode 100644 index a5087de4be..0000000000 --- a/dev/Generated/NavigationViewItem.properties.cpp +++ /dev/null @@ -1,312 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItem.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(NavigationViewItem) -} - -#include "NavigationViewItem.g.cpp" - -GlobalDependencyProperty NavigationViewItemProperties::s_CompactPaneLengthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_HasUnrealizedChildrenProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_IconProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_InfoBadgeProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_IsChildSelectedProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_IsExpandedProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_MenuItemsProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_MenuItemsSourceProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemProperties::s_SelectsOnInvokedProperty{ nullptr }; - -NavigationViewItemProperties::NavigationViewItemProperties() -{ - EnsureProperties(); -} - -void NavigationViewItemProperties::EnsureProperties() -{ - NavigationViewItemBase::EnsureProperties(); - if (!s_CompactPaneLengthProperty) - { - s_CompactPaneLengthProperty = - InitializeDependencyProperty( - L"CompactPaneLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(48.0), - nullptr); - } - if (!s_HasUnrealizedChildrenProperty) - { - s_HasUnrealizedChildrenProperty = - InitializeDependencyProperty( - L"HasUnrealizedChildren", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - winrt::PropertyChangedCallback(&OnHasUnrealizedChildrenPropertyChanged)); - } - if (!s_IconProperty) - { - s_IconProperty = - InitializeDependencyProperty( - L"Icon", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIconPropertyChanged)); - } - if (!s_InfoBadgeProperty) - { - s_InfoBadgeProperty = - InitializeDependencyProperty( - L"InfoBadge", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnInfoBadgePropertyChanged)); - } - if (!s_IsChildSelectedProperty) - { - s_IsChildSelectedProperty = - InitializeDependencyProperty( - L"IsChildSelected", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - nullptr); - } - if (!s_IsExpandedProperty) - { - s_IsExpandedProperty = - InitializeDependencyProperty( - L"IsExpanded", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - winrt::PropertyChangedCallback(&OnIsExpandedPropertyChanged)); - } - if (!s_MenuItemsProperty) - { - s_MenuItemsProperty = - InitializeDependencyProperty( - L"MenuItems", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemsPropertyChanged)); - } - if (!s_MenuItemsSourceProperty) - { - s_MenuItemsSourceProperty = - InitializeDependencyProperty( - L"MenuItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMenuItemsSourcePropertyChanged)); - } - if (!s_SelectsOnInvokedProperty) - { - s_SelectsOnInvokedProperty = - InitializeDependencyProperty( - L"SelectsOnInvoked", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - nullptr); - } -} - -void NavigationViewItemProperties::ClearProperties() -{ - s_CompactPaneLengthProperty = nullptr; - s_HasUnrealizedChildrenProperty = nullptr; - s_IconProperty = nullptr; - s_InfoBadgeProperty = nullptr; - s_IsChildSelectedProperty = nullptr; - s_IsExpandedProperty = nullptr; - s_MenuItemsProperty = nullptr; - s_MenuItemsSourceProperty = nullptr; - s_SelectsOnInvokedProperty = nullptr; - NavigationViewItemBase::ClearProperties(); -} - -void NavigationViewItemProperties::OnHasUnrealizedChildrenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnHasUnrealizedChildrenPropertyChanged(args); -} - -void NavigationViewItemProperties::OnIconPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIconPropertyChanged(args); -} - -void NavigationViewItemProperties::OnInfoBadgePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnInfoBadgePropertyChanged(args); -} - -void NavigationViewItemProperties::OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsExpandedPropertyChanged(args); -} - -void NavigationViewItemProperties::OnMenuItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMenuItemsPropertyChanged(args); -} - -void NavigationViewItemProperties::OnMenuItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMenuItemsSourcePropertyChanged(args); -} - -void NavigationViewItemProperties::CompactPaneLength(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CompactPaneLengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NavigationViewItemProperties::CompactPaneLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CompactPaneLengthProperty)); -} - -void NavigationViewItemProperties::HasUnrealizedChildren(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HasUnrealizedChildrenProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewItemProperties::HasUnrealizedChildren() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HasUnrealizedChildrenProperty)); -} - -void NavigationViewItemProperties::Icon(winrt::IconElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconElement NavigationViewItemProperties::Icon() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconProperty)); -} - -void NavigationViewItemProperties::InfoBadge(winrt::InfoBadge const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_InfoBadgeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::InfoBadge NavigationViewItemProperties::InfoBadge() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_InfoBadgeProperty)); -} - -void NavigationViewItemProperties::IsChildSelected(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsChildSelectedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewItemProperties::IsChildSelected() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsChildSelectedProperty)); -} - -void NavigationViewItemProperties::IsExpanded(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsExpandedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewItemProperties::IsExpanded() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsExpandedProperty)); -} - -void NavigationViewItemProperties::MenuItems(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector NavigationViewItemProperties::MenuItems() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemsProperty)); -} - -void NavigationViewItemProperties::MenuItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MenuItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NavigationViewItemProperties::MenuItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MenuItemsSourceProperty)); -} - -void NavigationViewItemProperties::SelectsOnInvoked(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectsOnInvokedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewItemProperties::SelectsOnInvoked() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectsOnInvokedProperty)); -} diff --git a/dev/Generated/NavigationViewItem.properties.h b/dev/Generated/NavigationViewItem.properties.h deleted file mode 100644 index 666f2ff5af..0000000000 --- a/dev/Generated/NavigationViewItem.properties.h +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class NavigationViewItemProperties -{ -public: - NavigationViewItemProperties(); - - void CompactPaneLength(double value); - double CompactPaneLength(); - - void HasUnrealizedChildren(bool value); - bool HasUnrealizedChildren(); - - void Icon(winrt::IconElement const& value); - winrt::IconElement Icon(); - - void InfoBadge(winrt::InfoBadge const& value); - winrt::InfoBadge InfoBadge(); - - void IsChildSelected(bool value); - bool IsChildSelected(); - - void IsExpanded(bool value); - bool IsExpanded(); - - void MenuItems(winrt::IVector const& value); - winrt::IVector MenuItems(); - - void MenuItemsSource(winrt::IInspectable const& value); - winrt::IInspectable MenuItemsSource(); - - void SelectsOnInvoked(bool value); - bool SelectsOnInvoked(); - - static winrt::DependencyProperty CompactPaneLengthProperty() { return s_CompactPaneLengthProperty; } - static winrt::DependencyProperty HasUnrealizedChildrenProperty() { return s_HasUnrealizedChildrenProperty; } - static winrt::DependencyProperty IconProperty() { return s_IconProperty; } - static winrt::DependencyProperty InfoBadgeProperty() { return s_InfoBadgeProperty; } - static winrt::DependencyProperty IsChildSelectedProperty() { return s_IsChildSelectedProperty; } - static winrt::DependencyProperty IsExpandedProperty() { return s_IsExpandedProperty; } - static winrt::DependencyProperty MenuItemsProperty() { return s_MenuItemsProperty; } - static winrt::DependencyProperty MenuItemsSourceProperty() { return s_MenuItemsSourceProperty; } - static winrt::DependencyProperty SelectsOnInvokedProperty() { return s_SelectsOnInvokedProperty; } - - static GlobalDependencyProperty s_CompactPaneLengthProperty; - static GlobalDependencyProperty s_HasUnrealizedChildrenProperty; - static GlobalDependencyProperty s_IconProperty; - static GlobalDependencyProperty s_InfoBadgeProperty; - static GlobalDependencyProperty s_IsChildSelectedProperty; - static GlobalDependencyProperty s_IsExpandedProperty; - static GlobalDependencyProperty s_MenuItemsProperty; - static GlobalDependencyProperty s_MenuItemsSourceProperty; - static GlobalDependencyProperty s_SelectsOnInvokedProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnHasUnrealizedChildrenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIconPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnInfoBadgePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMenuItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/NavigationViewItemAutomationPeer.properties.cpp b/dev/Generated/NavigationViewItemAutomationPeer.properties.cpp deleted file mode 100644 index 2658c13876..0000000000 --- a/dev/Generated/NavigationViewItemAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItemAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(NavigationViewItemAutomationPeer) -} - -#include "NavigationViewItemAutomationPeer.g.cpp" - - diff --git a/dev/Generated/NavigationViewItemBase.properties.cpp b/dev/Generated/NavigationViewItemBase.properties.cpp deleted file mode 100644 index cf1ff0d595..0000000000 --- a/dev/Generated/NavigationViewItemBase.properties.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItemBase.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(NavigationViewItemBase) -} - -#include "NavigationViewItemBase.g.cpp" - -GlobalDependencyProperty NavigationViewItemBaseProperties::s_IsSelectedProperty{ nullptr }; - -NavigationViewItemBaseProperties::NavigationViewItemBaseProperties() -{ - EnsureProperties(); -} - -void NavigationViewItemBaseProperties::EnsureProperties() -{ - if (!s_IsSelectedProperty) - { - s_IsSelectedProperty = - InitializeDependencyProperty( - L"IsSelected", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsSelectedPropertyChanged)); - } -} - -void NavigationViewItemBaseProperties::ClearProperties() -{ - s_IsSelectedProperty = nullptr; -} - -void NavigationViewItemBaseProperties::OnIsSelectedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void NavigationViewItemBaseProperties::IsSelected(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsSelectedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewItemBaseProperties::IsSelected() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsSelectedProperty)); -} diff --git a/dev/Generated/NavigationViewItemBase.properties.h b/dev/Generated/NavigationViewItemBase.properties.h deleted file mode 100644 index 8e22af3fcc..0000000000 --- a/dev/Generated/NavigationViewItemBase.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class NavigationViewItemBaseProperties -{ -public: - NavigationViewItemBaseProperties(); - - void IsSelected(bool value); - bool IsSelected(); - - static winrt::DependencyProperty IsSelectedProperty() { return s_IsSelectedProperty; } - - static GlobalDependencyProperty s_IsSelectedProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnIsSelectedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/NavigationViewItemHeader.properties.cpp b/dev/Generated/NavigationViewItemHeader.properties.cpp deleted file mode 100644 index 8911b57545..0000000000 --- a/dev/Generated/NavigationViewItemHeader.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItemHeader.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(NavigationViewItemHeader) -} - -#include "NavigationViewItemHeader.g.cpp" - - diff --git a/dev/Generated/NavigationViewItemInvokedEventArgs.properties.cpp b/dev/Generated/NavigationViewItemInvokedEventArgs.properties.cpp deleted file mode 100644 index cdea603a45..0000000000 --- a/dev/Generated/NavigationViewItemInvokedEventArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItemInvokedEventArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(NavigationViewItemInvokedEventArgs) -} - -#include "NavigationViewItemInvokedEventArgs.g.cpp" - - diff --git a/dev/Generated/NavigationViewItemPresenter.properties.cpp b/dev/Generated/NavigationViewItemPresenter.properties.cpp deleted file mode 100644 index 8a865dbeec..0000000000 --- a/dev/Generated/NavigationViewItemPresenter.properties.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItemPresenter.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(NavigationViewItemPresenter) -} - -#include "NavigationViewItemPresenter.g.cpp" - -GlobalDependencyProperty NavigationViewItemPresenterProperties::s_IconProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemPresenterProperties::s_InfoBadgeProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemPresenterProperties::s_TemplateSettingsProperty{ nullptr }; - -NavigationViewItemPresenterProperties::NavigationViewItemPresenterProperties() -{ - EnsureProperties(); -} - -void NavigationViewItemPresenterProperties::EnsureProperties() -{ - if (!s_IconProperty) - { - s_IconProperty = - InitializeDependencyProperty( - L"Icon", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_InfoBadgeProperty) - { - s_InfoBadgeProperty = - InitializeDependencyProperty( - L"InfoBadge", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void NavigationViewItemPresenterProperties::ClearProperties() -{ - s_IconProperty = nullptr; - s_InfoBadgeProperty = nullptr; - s_TemplateSettingsProperty = nullptr; -} - -void NavigationViewItemPresenterProperties::Icon(winrt::IconElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconElement NavigationViewItemPresenterProperties::Icon() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconProperty)); -} - -void NavigationViewItemPresenterProperties::InfoBadge(winrt::InfoBadge const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_InfoBadgeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::InfoBadge NavigationViewItemPresenterProperties::InfoBadge() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_InfoBadgeProperty)); -} - -void NavigationViewItemPresenterProperties::TemplateSettings(winrt::NavigationViewItemPresenterTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NavigationViewItemPresenterTemplateSettings NavigationViewItemPresenterProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} diff --git a/dev/Generated/NavigationViewItemPresenter.properties.h b/dev/Generated/NavigationViewItemPresenter.properties.h deleted file mode 100644 index 777e9058b8..0000000000 --- a/dev/Generated/NavigationViewItemPresenter.properties.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class NavigationViewItemPresenterProperties -{ -public: - NavigationViewItemPresenterProperties(); - - void Icon(winrt::IconElement const& value); - winrt::IconElement Icon(); - - void InfoBadge(winrt::InfoBadge const& value); - winrt::InfoBadge InfoBadge(); - - void TemplateSettings(winrt::NavigationViewItemPresenterTemplateSettings const& value); - winrt::NavigationViewItemPresenterTemplateSettings TemplateSettings(); - - static winrt::DependencyProperty IconProperty() { return s_IconProperty; } - static winrt::DependencyProperty InfoBadgeProperty() { return s_InfoBadgeProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - - static GlobalDependencyProperty s_IconProperty; - static GlobalDependencyProperty s_InfoBadgeProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/NavigationViewItemPresenterTemplateSettings.properties.cpp b/dev/Generated/NavigationViewItemPresenterTemplateSettings.properties.cpp deleted file mode 100644 index b77a839cf5..0000000000 --- a/dev/Generated/NavigationViewItemPresenterTemplateSettings.properties.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItemPresenterTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(NavigationViewItemPresenterTemplateSettings) -} - -#include "NavigationViewItemPresenterTemplateSettings.g.cpp" - -GlobalDependencyProperty NavigationViewItemPresenterTemplateSettingsProperties::s_IconWidthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewItemPresenterTemplateSettingsProperties::s_SmallerIconWidthProperty{ nullptr }; - -NavigationViewItemPresenterTemplateSettingsProperties::NavigationViewItemPresenterTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void NavigationViewItemPresenterTemplateSettingsProperties::EnsureProperties() -{ - if (!s_IconWidthProperty) - { - s_IconWidthProperty = - InitializeDependencyProperty( - L"IconWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SmallerIconWidthProperty) - { - s_SmallerIconWidthProperty = - InitializeDependencyProperty( - L"SmallerIconWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void NavigationViewItemPresenterTemplateSettingsProperties::ClearProperties() -{ - s_IconWidthProperty = nullptr; - s_SmallerIconWidthProperty = nullptr; -} - -void NavigationViewItemPresenterTemplateSettingsProperties::IconWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NavigationViewItemPresenterTemplateSettingsProperties::IconWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconWidthProperty)); -} - -void NavigationViewItemPresenterTemplateSettingsProperties::SmallerIconWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SmallerIconWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NavigationViewItemPresenterTemplateSettingsProperties::SmallerIconWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SmallerIconWidthProperty)); -} diff --git a/dev/Generated/NavigationViewItemPresenterTemplateSettings.properties.h b/dev/Generated/NavigationViewItemPresenterTemplateSettings.properties.h deleted file mode 100644 index 9cda650309..0000000000 --- a/dev/Generated/NavigationViewItemPresenterTemplateSettings.properties.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class NavigationViewItemPresenterTemplateSettingsProperties -{ -public: - NavigationViewItemPresenterTemplateSettingsProperties(); - - void IconWidth(double value); - double IconWidth(); - - void SmallerIconWidth(double value); - double SmallerIconWidth(); - - static winrt::DependencyProperty IconWidthProperty() { return s_IconWidthProperty; } - static winrt::DependencyProperty SmallerIconWidthProperty() { return s_SmallerIconWidthProperty; } - - static GlobalDependencyProperty s_IconWidthProperty; - static GlobalDependencyProperty s_SmallerIconWidthProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/NavigationViewItemSeparator.properties.cpp b/dev/Generated/NavigationViewItemSeparator.properties.cpp deleted file mode 100644 index 25d3933a40..0000000000 --- a/dev/Generated/NavigationViewItemSeparator.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewItemSeparator.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(NavigationViewItemSeparator) -} - -#include "NavigationViewItemSeparator.g.cpp" - - diff --git a/dev/Generated/NavigationViewTemplateSettings.properties.cpp b/dev/Generated/NavigationViewTemplateSettings.properties.cpp deleted file mode 100644 index 695d8602bc..0000000000 --- a/dev/Generated/NavigationViewTemplateSettings.properties.cpp +++ /dev/null @@ -1,288 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NavigationViewTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(NavigationViewTemplateSettings) -} - -#include "NavigationViewTemplateSettings.g.cpp" - -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_BackButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_LeftPaneVisibilityProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_OpenPaneLengthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_OverflowButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_PaneToggleButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_PaneToggleButtonWidthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_SingleSelectionFollowsFocusProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_SmallerPaneToggleButtonWidthProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_TopPaddingProperty{ nullptr }; -GlobalDependencyProperty NavigationViewTemplateSettingsProperties::s_TopPaneVisibilityProperty{ nullptr }; - -NavigationViewTemplateSettingsProperties::NavigationViewTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void NavigationViewTemplateSettingsProperties::EnsureProperties() -{ - if (!s_BackButtonVisibilityProperty) - { - s_BackButtonVisibilityProperty = - InitializeDependencyProperty( - L"BackButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Visibility::Collapsed), - nullptr); - } - if (!s_LeftPaneVisibilityProperty) - { - s_LeftPaneVisibilityProperty = - InitializeDependencyProperty( - L"LeftPaneVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Visibility::Visible), - nullptr); - } - if (!s_OpenPaneLengthProperty) - { - s_OpenPaneLengthProperty = - InitializeDependencyProperty( - L"OpenPaneLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(320.0), - nullptr); - } - if (!s_OverflowButtonVisibilityProperty) - { - s_OverflowButtonVisibilityProperty = - InitializeDependencyProperty( - L"OverflowButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Visibility::Collapsed), - nullptr); - } - if (!s_PaneToggleButtonVisibilityProperty) - { - s_PaneToggleButtonVisibilityProperty = - InitializeDependencyProperty( - L"PaneToggleButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Visibility::Visible), - nullptr); - } - if (!s_PaneToggleButtonWidthProperty) - { - s_PaneToggleButtonWidthProperty = - InitializeDependencyProperty( - L"PaneToggleButtonWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SingleSelectionFollowsFocusProperty) - { - s_SingleSelectionFollowsFocusProperty = - InitializeDependencyProperty( - L"SingleSelectionFollowsFocus", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SmallerPaneToggleButtonWidthProperty) - { - s_SmallerPaneToggleButtonWidthProperty = - InitializeDependencyProperty( - L"SmallerPaneToggleButtonWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TopPaddingProperty) - { - s_TopPaddingProperty = - InitializeDependencyProperty( - L"TopPadding", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - nullptr); - } - if (!s_TopPaneVisibilityProperty) - { - s_TopPaneVisibilityProperty = - InitializeDependencyProperty( - L"TopPaneVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Visibility::Collapsed), - nullptr); - } -} - -void NavigationViewTemplateSettingsProperties::ClearProperties() -{ - s_BackButtonVisibilityProperty = nullptr; - s_LeftPaneVisibilityProperty = nullptr; - s_OpenPaneLengthProperty = nullptr; - s_OverflowButtonVisibilityProperty = nullptr; - s_PaneToggleButtonVisibilityProperty = nullptr; - s_PaneToggleButtonWidthProperty = nullptr; - s_SingleSelectionFollowsFocusProperty = nullptr; - s_SmallerPaneToggleButtonWidthProperty = nullptr; - s_TopPaddingProperty = nullptr; - s_TopPaneVisibilityProperty = nullptr; -} - -void NavigationViewTemplateSettingsProperties::BackButtonVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BackButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility NavigationViewTemplateSettingsProperties::BackButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BackButtonVisibilityProperty)); -} - -void NavigationViewTemplateSettingsProperties::LeftPaneVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LeftPaneVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility NavigationViewTemplateSettingsProperties::LeftPaneVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LeftPaneVisibilityProperty)); -} - -void NavigationViewTemplateSettingsProperties::OpenPaneLength(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OpenPaneLengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NavigationViewTemplateSettingsProperties::OpenPaneLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OpenPaneLengthProperty)); -} - -void NavigationViewTemplateSettingsProperties::OverflowButtonVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OverflowButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility NavigationViewTemplateSettingsProperties::OverflowButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OverflowButtonVisibilityProperty)); -} - -void NavigationViewTemplateSettingsProperties::PaneToggleButtonVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneToggleButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility NavigationViewTemplateSettingsProperties::PaneToggleButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneToggleButtonVisibilityProperty)); -} - -void NavigationViewTemplateSettingsProperties::PaneToggleButtonWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PaneToggleButtonWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NavigationViewTemplateSettingsProperties::PaneToggleButtonWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PaneToggleButtonWidthProperty)); -} - -void NavigationViewTemplateSettingsProperties::SingleSelectionFollowsFocus(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SingleSelectionFollowsFocusProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NavigationViewTemplateSettingsProperties::SingleSelectionFollowsFocus() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SingleSelectionFollowsFocusProperty)); -} - -void NavigationViewTemplateSettingsProperties::SmallerPaneToggleButtonWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SmallerPaneToggleButtonWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NavigationViewTemplateSettingsProperties::SmallerPaneToggleButtonWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SmallerPaneToggleButtonWidthProperty)); -} - -void NavigationViewTemplateSettingsProperties::TopPadding(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TopPaddingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NavigationViewTemplateSettingsProperties::TopPadding() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TopPaddingProperty)); -} - -void NavigationViewTemplateSettingsProperties::TopPaneVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TopPaneVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility NavigationViewTemplateSettingsProperties::TopPaneVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TopPaneVisibilityProperty)); -} diff --git a/dev/Generated/NavigationViewTemplateSettings.properties.h b/dev/Generated/NavigationViewTemplateSettings.properties.h deleted file mode 100644 index 76f16a3cab..0000000000 --- a/dev/Generated/NavigationViewTemplateSettings.properties.h +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class NavigationViewTemplateSettingsProperties -{ -public: - NavigationViewTemplateSettingsProperties(); - - void BackButtonVisibility(winrt::Visibility const& value); - winrt::Visibility BackButtonVisibility(); - - void LeftPaneVisibility(winrt::Visibility const& value); - winrt::Visibility LeftPaneVisibility(); - - void OpenPaneLength(double value); - double OpenPaneLength(); - - void OverflowButtonVisibility(winrt::Visibility const& value); - winrt::Visibility OverflowButtonVisibility(); - - void PaneToggleButtonVisibility(winrt::Visibility const& value); - winrt::Visibility PaneToggleButtonVisibility(); - - void PaneToggleButtonWidth(double value); - double PaneToggleButtonWidth(); - - void SingleSelectionFollowsFocus(bool value); - bool SingleSelectionFollowsFocus(); - - void SmallerPaneToggleButtonWidth(double value); - double SmallerPaneToggleButtonWidth(); - - void TopPadding(double value); - double TopPadding(); - - void TopPaneVisibility(winrt::Visibility const& value); - winrt::Visibility TopPaneVisibility(); - - static winrt::DependencyProperty BackButtonVisibilityProperty() { return s_BackButtonVisibilityProperty; } - static winrt::DependencyProperty LeftPaneVisibilityProperty() { return s_LeftPaneVisibilityProperty; } - static winrt::DependencyProperty OpenPaneLengthProperty() { return s_OpenPaneLengthProperty; } - static winrt::DependencyProperty OverflowButtonVisibilityProperty() { return s_OverflowButtonVisibilityProperty; } - static winrt::DependencyProperty PaneToggleButtonVisibilityProperty() { return s_PaneToggleButtonVisibilityProperty; } - static winrt::DependencyProperty PaneToggleButtonWidthProperty() { return s_PaneToggleButtonWidthProperty; } - static winrt::DependencyProperty SingleSelectionFollowsFocusProperty() { return s_SingleSelectionFollowsFocusProperty; } - static winrt::DependencyProperty SmallerPaneToggleButtonWidthProperty() { return s_SmallerPaneToggleButtonWidthProperty; } - static winrt::DependencyProperty TopPaddingProperty() { return s_TopPaddingProperty; } - static winrt::DependencyProperty TopPaneVisibilityProperty() { return s_TopPaneVisibilityProperty; } - - static GlobalDependencyProperty s_BackButtonVisibilityProperty; - static GlobalDependencyProperty s_LeftPaneVisibilityProperty; - static GlobalDependencyProperty s_OpenPaneLengthProperty; - static GlobalDependencyProperty s_OverflowButtonVisibilityProperty; - static GlobalDependencyProperty s_PaneToggleButtonVisibilityProperty; - static GlobalDependencyProperty s_PaneToggleButtonWidthProperty; - static GlobalDependencyProperty s_SingleSelectionFollowsFocusProperty; - static GlobalDependencyProperty s_SmallerPaneToggleButtonWidthProperty; - static GlobalDependencyProperty s_TopPaddingProperty; - static GlobalDependencyProperty s_TopPaneVisibilityProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/NonVirtualizingLayout.properties.cpp b/dev/Generated/NonVirtualizingLayout.properties.cpp deleted file mode 100644 index a3067adbdf..0000000000 --- a/dev/Generated/NonVirtualizingLayout.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NonVirtualizingLayout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(NonVirtualizingLayout) -} - -#include "NonVirtualizingLayout.g.cpp" - - diff --git a/dev/Generated/NonVirtualizingLayoutContext.properties.cpp b/dev/Generated/NonVirtualizingLayoutContext.properties.cpp deleted file mode 100644 index 26ccaa57c1..0000000000 --- a/dev/Generated/NonVirtualizingLayoutContext.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NonVirtualizingLayoutContext.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(NonVirtualizingLayoutContext) -} - -#include "NonVirtualizingLayoutContext.g.cpp" - - diff --git a/dev/Generated/NumberBox.properties.cpp b/dev/Generated/NumberBox.properties.cpp deleted file mode 100644 index d63f83da31..0000000000 --- a/dev/Generated/NumberBox.properties.cpp +++ /dev/null @@ -1,685 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NumberBox.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(NumberBox) -} - -#include "NumberBox.g.cpp" - -GlobalDependencyProperty NumberBoxProperties::s_AcceptsExpressionProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_DescriptionProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_HeaderProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_HeaderTemplateProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_InputScopeProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_IsWrapEnabledProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_LargeChangeProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_MaximumProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_MinimumProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_NumberFormatterProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_PlaceholderTextProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_PreventKeyboardDisplayOnProgrammaticFocusProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_SelectionFlyoutProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_SelectionHighlightColorProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_SmallChangeProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_SpinButtonPlacementModeProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_TextProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_TextAlignmentProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_TextReadingOrderProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_ValidationModeProperty{ nullptr }; -GlobalDependencyProperty NumberBoxProperties::s_ValueProperty{ nullptr }; - -NumberBoxProperties::NumberBoxProperties() - : m_valueChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void NumberBoxProperties::EnsureProperties() -{ - if (!s_AcceptsExpressionProperty) - { - s_AcceptsExpressionProperty = - InitializeDependencyProperty( - L"AcceptsExpression", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - nullptr); - } - if (!s_DescriptionProperty) - { - s_DescriptionProperty = - InitializeDependencyProperty( - L"Description", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_HeaderProperty) - { - s_HeaderProperty = - InitializeDependencyProperty( - L"Header", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeaderPropertyChanged)); - } - if (!s_HeaderTemplateProperty) - { - s_HeaderTemplateProperty = - InitializeDependencyProperty( - L"HeaderTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeaderTemplatePropertyChanged)); - } - if (!s_InputScopeProperty) - { - s_InputScopeProperty = - InitializeDependencyProperty( - L"InputScope", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_IsWrapEnabledProperty) - { - s_IsWrapEnabledProperty = - InitializeDependencyProperty( - L"IsWrapEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - winrt::PropertyChangedCallback(&OnIsWrapEnabledPropertyChanged)); - } - if (!s_LargeChangeProperty) - { - s_LargeChangeProperty = - InitializeDependencyProperty( - L"LargeChange", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(10), - nullptr); - } - if (!s_MaximumProperty) - { - s_MaximumProperty = - InitializeDependencyProperty( - L"Maximum", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(std::numeric_limits::max()), - winrt::PropertyChangedCallback(&OnMaximumPropertyChanged)); - } - if (!s_MinimumProperty) - { - s_MinimumProperty = - InitializeDependencyProperty( - L"Minimum", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-std::numeric_limits::max()), - winrt::PropertyChangedCallback(&OnMinimumPropertyChanged)); - } - if (!s_NumberFormatterProperty) - { - s_NumberFormatterProperty = - InitializeDependencyProperty( - L"NumberFormatter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnNumberFormatterPropertyChanged)); - } - if (!s_PlaceholderTextProperty) - { - s_PlaceholderTextProperty = - InitializeDependencyProperty( - L"PlaceholderText", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PreventKeyboardDisplayOnProgrammaticFocusProperty) - { - s_PreventKeyboardDisplayOnProgrammaticFocusProperty = - InitializeDependencyProperty( - L"PreventKeyboardDisplayOnProgrammaticFocus", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SelectionFlyoutProperty) - { - s_SelectionFlyoutProperty = - InitializeDependencyProperty( - L"SelectionFlyout", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SelectionHighlightColorProperty) - { - s_SelectionHighlightColorProperty = - InitializeDependencyProperty( - L"SelectionHighlightColor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SmallChangeProperty) - { - s_SmallChangeProperty = - InitializeDependencyProperty( - L"SmallChange", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1), - winrt::PropertyChangedCallback(&OnSmallChangePropertyChanged)); - } - if (!s_SpinButtonPlacementModeProperty) - { - s_SpinButtonPlacementModeProperty = - InitializeDependencyProperty( - L"SpinButtonPlacementMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::NumberBoxSpinButtonPlacementMode::Hidden), - winrt::PropertyChangedCallback(&OnSpinButtonPlacementModePropertyChanged)); - } - if (!s_TextProperty) - { - s_TextProperty = - InitializeDependencyProperty( - L"Text", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTextPropertyChanged)); - } - if (!s_TextAlignmentProperty) - { - s_TextAlignmentProperty = - InitializeDependencyProperty( - L"TextAlignment", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TextAlignment::Left), - nullptr); - } - if (!s_TextReadingOrderProperty) - { - s_TextReadingOrderProperty = - InitializeDependencyProperty( - L"TextReadingOrder", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ValidationModeProperty) - { - s_ValidationModeProperty = - InitializeDependencyProperty( - L"ValidationMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnValidationModePropertyChanged)); - } - if (!s_ValueProperty) - { - s_ValueProperty = - InitializeDependencyProperty( - L"Value", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(std::numeric_limits::quiet_NaN()), - winrt::PropertyChangedCallback(&OnValuePropertyChanged)); - } -} - -void NumberBoxProperties::ClearProperties() -{ - s_AcceptsExpressionProperty = nullptr; - s_DescriptionProperty = nullptr; - s_HeaderProperty = nullptr; - s_HeaderTemplateProperty = nullptr; - s_InputScopeProperty = nullptr; - s_IsWrapEnabledProperty = nullptr; - s_LargeChangeProperty = nullptr; - s_MaximumProperty = nullptr; - s_MinimumProperty = nullptr; - s_NumberFormatterProperty = nullptr; - s_PlaceholderTextProperty = nullptr; - s_PreventKeyboardDisplayOnProgrammaticFocusProperty = nullptr; - s_SelectionFlyoutProperty = nullptr; - s_SelectionHighlightColorProperty = nullptr; - s_SmallChangeProperty = nullptr; - s_SpinButtonPlacementModeProperty = nullptr; - s_TextProperty = nullptr; - s_TextAlignmentProperty = nullptr; - s_TextReadingOrderProperty = nullptr; - s_ValidationModeProperty = nullptr; - s_ValueProperty = nullptr; -} - -void NumberBoxProperties::OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnHeaderPropertyChanged(args); -} - -void NumberBoxProperties::OnHeaderTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnHeaderTemplatePropertyChanged(args); -} - -void NumberBoxProperties::OnIsWrapEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsWrapEnabledPropertyChanged(args); -} - -void NumberBoxProperties::OnMaximumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMaximumPropertyChanged(args); -} - -void NumberBoxProperties::OnMinimumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMinimumPropertyChanged(args); -} - -void NumberBoxProperties::OnNumberFormatterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateNumberFormatter(coercedValue); - if (value != coercedValue) - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnNumberFormatterPropertyChanged(args); -} - -void NumberBoxProperties::OnSmallChangePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSmallChangePropertyChanged(args); -} - -void NumberBoxProperties::OnSpinButtonPlacementModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSpinButtonPlacementModePropertyChanged(args); -} - -void NumberBoxProperties::OnTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnTextPropertyChanged(args); -} - -void NumberBoxProperties::OnValidationModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnValidationModePropertyChanged(args); -} - -void NumberBoxProperties::OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnValuePropertyChanged(args); -} - -void NumberBoxProperties::AcceptsExpression(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AcceptsExpressionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NumberBoxProperties::AcceptsExpression() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AcceptsExpressionProperty)); -} - -void NumberBoxProperties::Description(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DescriptionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NumberBoxProperties::Description() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DescriptionProperty)); -} - -void NumberBoxProperties::Header(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable NumberBoxProperties::Header() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderProperty)); -} - -void NumberBoxProperties::HeaderTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate NumberBoxProperties::HeaderTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderTemplateProperty)); -} - -void NumberBoxProperties::InputScope(winrt::InputScope const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_InputScopeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::InputScope NumberBoxProperties::InputScope() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_InputScopeProperty)); -} - -void NumberBoxProperties::IsWrapEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsWrapEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NumberBoxProperties::IsWrapEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsWrapEnabledProperty)); -} - -void NumberBoxProperties::LargeChange(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LargeChangeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NumberBoxProperties::LargeChange() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LargeChangeProperty)); -} - -void NumberBoxProperties::Maximum(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaximumProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NumberBoxProperties::Maximum() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaximumProperty)); -} - -void NumberBoxProperties::Minimum(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinimumProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NumberBoxProperties::Minimum() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinimumProperty)); -} - -void NumberBoxProperties::NumberFormatter(winrt::INumberFormatter2 const& value) -{ - [[gsl::suppress(con)]] - { - winrt::INumberFormatter2 coercedValue = value; - static_cast(this)->ValidateNumberFormatter(coercedValue); - static_cast(this)->SetValue(s_NumberFormatterProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -winrt::INumberFormatter2 NumberBoxProperties::NumberFormatter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NumberFormatterProperty)); -} - -void NumberBoxProperties::PlaceholderText(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PlaceholderTextProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring NumberBoxProperties::PlaceholderText() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PlaceholderTextProperty)); -} - -void NumberBoxProperties::PreventKeyboardDisplayOnProgrammaticFocus(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreventKeyboardDisplayOnProgrammaticFocusProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool NumberBoxProperties::PreventKeyboardDisplayOnProgrammaticFocus() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreventKeyboardDisplayOnProgrammaticFocusProperty)); -} - -void NumberBoxProperties::SelectionFlyout(winrt::FlyoutBase const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectionFlyoutProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::FlyoutBase NumberBoxProperties::SelectionFlyout() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectionFlyoutProperty)); -} - -void NumberBoxProperties::SelectionHighlightColor(winrt::SolidColorBrush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectionHighlightColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::SolidColorBrush NumberBoxProperties::SelectionHighlightColor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectionHighlightColorProperty)); -} - -void NumberBoxProperties::SmallChange(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SmallChangeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NumberBoxProperties::SmallChange() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SmallChangeProperty)); -} - -void NumberBoxProperties::SpinButtonPlacementMode(winrt::NumberBoxSpinButtonPlacementMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SpinButtonPlacementModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NumberBoxSpinButtonPlacementMode NumberBoxProperties::SpinButtonPlacementMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SpinButtonPlacementModeProperty)); -} - -void NumberBoxProperties::Text(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TextProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring NumberBoxProperties::Text() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TextProperty)); -} - -void NumberBoxProperties::TextAlignment(winrt::TextAlignment const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TextAlignmentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TextAlignment NumberBoxProperties::TextAlignment() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TextAlignmentProperty)); -} - -void NumberBoxProperties::TextReadingOrder(winrt::TextReadingOrder const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TextReadingOrderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TextReadingOrder NumberBoxProperties::TextReadingOrder() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TextReadingOrderProperty)); -} - -void NumberBoxProperties::ValidationMode(winrt::NumberBoxValidationMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ValidationModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::NumberBoxValidationMode NumberBoxProperties::ValidationMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ValidationModeProperty)); -} - -void NumberBoxProperties::Value(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double NumberBoxProperties::Value() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ValueProperty)); -} - -winrt::event_token NumberBoxProperties::ValueChanged(winrt::TypedEventHandler const& value) -{ - return m_valueChangedEventSource.add(value); -} - -void NumberBoxProperties::ValueChanged(winrt::event_token const& token) -{ - m_valueChangedEventSource.remove(token); -} diff --git a/dev/Generated/NumberBox.properties.h b/dev/Generated/NumberBox.properties.h deleted file mode 100644 index faefba4d69..0000000000 --- a/dev/Generated/NumberBox.properties.h +++ /dev/null @@ -1,170 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class NumberBoxProperties -{ -public: - NumberBoxProperties(); - - void AcceptsExpression(bool value); - bool AcceptsExpression(); - - void Description(winrt::IInspectable const& value); - winrt::IInspectable Description(); - - void Header(winrt::IInspectable const& value); - winrt::IInspectable Header(); - - void HeaderTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate HeaderTemplate(); - - void InputScope(winrt::InputScope const& value); - winrt::InputScope InputScope(); - - void IsWrapEnabled(bool value); - bool IsWrapEnabled(); - - void LargeChange(double value); - double LargeChange(); - - void Maximum(double value); - double Maximum(); - - void Minimum(double value); - double Minimum(); - - void NumberFormatter(winrt::INumberFormatter2 const& value); - winrt::INumberFormatter2 NumberFormatter(); - - void PlaceholderText(winrt::hstring const& value); - winrt::hstring PlaceholderText(); - - void PreventKeyboardDisplayOnProgrammaticFocus(bool value); - bool PreventKeyboardDisplayOnProgrammaticFocus(); - - void SelectionFlyout(winrt::FlyoutBase const& value); - winrt::FlyoutBase SelectionFlyout(); - - void SelectionHighlightColor(winrt::SolidColorBrush const& value); - winrt::SolidColorBrush SelectionHighlightColor(); - - void SmallChange(double value); - double SmallChange(); - - void SpinButtonPlacementMode(winrt::NumberBoxSpinButtonPlacementMode const& value); - winrt::NumberBoxSpinButtonPlacementMode SpinButtonPlacementMode(); - - void Text(winrt::hstring const& value); - winrt::hstring Text(); - - void TextAlignment(winrt::TextAlignment const& value); - winrt::TextAlignment TextAlignment(); - - void TextReadingOrder(winrt::TextReadingOrder const& value); - winrt::TextReadingOrder TextReadingOrder(); - - void ValidationMode(winrt::NumberBoxValidationMode const& value); - winrt::NumberBoxValidationMode ValidationMode(); - - void Value(double value); - double Value(); - - static winrt::DependencyProperty AcceptsExpressionProperty() { return s_AcceptsExpressionProperty; } - static winrt::DependencyProperty DescriptionProperty() { return s_DescriptionProperty; } - static winrt::DependencyProperty HeaderProperty() { return s_HeaderProperty; } - static winrt::DependencyProperty HeaderTemplateProperty() { return s_HeaderTemplateProperty; } - static winrt::DependencyProperty InputScopeProperty() { return s_InputScopeProperty; } - static winrt::DependencyProperty IsWrapEnabledProperty() { return s_IsWrapEnabledProperty; } - static winrt::DependencyProperty LargeChangeProperty() { return s_LargeChangeProperty; } - static winrt::DependencyProperty MaximumProperty() { return s_MaximumProperty; } - static winrt::DependencyProperty MinimumProperty() { return s_MinimumProperty; } - static winrt::DependencyProperty NumberFormatterProperty() { return s_NumberFormatterProperty; } - static winrt::DependencyProperty PlaceholderTextProperty() { return s_PlaceholderTextProperty; } - static winrt::DependencyProperty PreventKeyboardDisplayOnProgrammaticFocusProperty() { return s_PreventKeyboardDisplayOnProgrammaticFocusProperty; } - static winrt::DependencyProperty SelectionFlyoutProperty() { return s_SelectionFlyoutProperty; } - static winrt::DependencyProperty SelectionHighlightColorProperty() { return s_SelectionHighlightColorProperty; } - static winrt::DependencyProperty SmallChangeProperty() { return s_SmallChangeProperty; } - static winrt::DependencyProperty SpinButtonPlacementModeProperty() { return s_SpinButtonPlacementModeProperty; } - static winrt::DependencyProperty TextProperty() { return s_TextProperty; } - static winrt::DependencyProperty TextAlignmentProperty() { return s_TextAlignmentProperty; } - static winrt::DependencyProperty TextReadingOrderProperty() { return s_TextReadingOrderProperty; } - static winrt::DependencyProperty ValidationModeProperty() { return s_ValidationModeProperty; } - static winrt::DependencyProperty ValueProperty() { return s_ValueProperty; } - - static GlobalDependencyProperty s_AcceptsExpressionProperty; - static GlobalDependencyProperty s_DescriptionProperty; - static GlobalDependencyProperty s_HeaderProperty; - static GlobalDependencyProperty s_HeaderTemplateProperty; - static GlobalDependencyProperty s_InputScopeProperty; - static GlobalDependencyProperty s_IsWrapEnabledProperty; - static GlobalDependencyProperty s_LargeChangeProperty; - static GlobalDependencyProperty s_MaximumProperty; - static GlobalDependencyProperty s_MinimumProperty; - static GlobalDependencyProperty s_NumberFormatterProperty; - static GlobalDependencyProperty s_PlaceholderTextProperty; - static GlobalDependencyProperty s_PreventKeyboardDisplayOnProgrammaticFocusProperty; - static GlobalDependencyProperty s_SelectionFlyoutProperty; - static GlobalDependencyProperty s_SelectionHighlightColorProperty; - static GlobalDependencyProperty s_SmallChangeProperty; - static GlobalDependencyProperty s_SpinButtonPlacementModeProperty; - static GlobalDependencyProperty s_TextProperty; - static GlobalDependencyProperty s_TextAlignmentProperty; - static GlobalDependencyProperty s_TextReadingOrderProperty; - static GlobalDependencyProperty s_ValidationModeProperty; - static GlobalDependencyProperty s_ValueProperty; - - winrt::event_token ValueChanged(winrt::TypedEventHandler const& value); - void ValueChanged(winrt::event_token const& token); - - event_source> m_valueChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHeaderTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsWrapEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaximumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinimumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNumberFormatterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSmallChangePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSpinButtonPlacementModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnValidationModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/NumberBoxAutomationPeer.properties.cpp b/dev/Generated/NumberBoxAutomationPeer.properties.cpp deleted file mode 100644 index 9189938504..0000000000 --- a/dev/Generated/NumberBoxAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "NumberBoxAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(NumberBoxAutomationPeer) -} - -#include "NumberBoxAutomationPeer.g.cpp" - - diff --git a/dev/Generated/PagerControl.properties.cpp b/dev/Generated/PagerControl.properties.cpp deleted file mode 100644 index e97a52bea5..0000000000 --- a/dev/Generated/PagerControl.properties.cpp +++ /dev/null @@ -1,719 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PagerControl.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(PagerControl) -} - -#include "PagerControl.g.cpp" - -GlobalDependencyProperty PagerControlProperties::s_ButtonPanelAlwaysShowFirstLastPageIndexProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_DisplayModeProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_FirstButtonCommandProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_FirstButtonStyleProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_FirstButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_LastButtonCommandProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_LastButtonStyleProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_LastButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_NextButtonCommandProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_NextButtonStyleProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_NextButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_NumberOfPagesProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_PagerInputCommandProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_PrefixTextProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_PreviousButtonCommandProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_PreviousButtonStyleProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_PreviousButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_SelectedPageIndexProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_SuffixTextProperty{ nullptr }; -GlobalDependencyProperty PagerControlProperties::s_TemplateSettingsProperty{ nullptr }; - -PagerControlProperties::PagerControlProperties() - : m_selectedIndexChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void PagerControlProperties::EnsureProperties() -{ - if (!s_ButtonPanelAlwaysShowFirstLastPageIndexProperty) - { - s_ButtonPanelAlwaysShowFirstLastPageIndexProperty = - InitializeDependencyProperty( - L"ButtonPanelAlwaysShowFirstLastPageIndex", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnButtonPanelAlwaysShowFirstLastPageIndexPropertyChanged)); - } - if (!s_DisplayModeProperty) - { - s_DisplayModeProperty = - InitializeDependencyProperty( - L"DisplayMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnDisplayModePropertyChanged)); - } - if (!s_FirstButtonCommandProperty) - { - s_FirstButtonCommandProperty = - InitializeDependencyProperty( - L"FirstButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFirstButtonCommandPropertyChanged)); - } - if (!s_FirstButtonStyleProperty) - { - s_FirstButtonStyleProperty = - InitializeDependencyProperty( - L"FirstButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFirstButtonStylePropertyChanged)); - } - if (!s_FirstButtonVisibilityProperty) - { - s_FirstButtonVisibilityProperty = - InitializeDependencyProperty( - L"FirstButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFirstButtonVisibilityPropertyChanged)); - } - if (!s_LastButtonCommandProperty) - { - s_LastButtonCommandProperty = - InitializeDependencyProperty( - L"LastButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnLastButtonCommandPropertyChanged)); - } - if (!s_LastButtonStyleProperty) - { - s_LastButtonStyleProperty = - InitializeDependencyProperty( - L"LastButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnLastButtonStylePropertyChanged)); - } - if (!s_LastButtonVisibilityProperty) - { - s_LastButtonVisibilityProperty = - InitializeDependencyProperty( - L"LastButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnLastButtonVisibilityPropertyChanged)); - } - if (!s_NextButtonCommandProperty) - { - s_NextButtonCommandProperty = - InitializeDependencyProperty( - L"NextButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnNextButtonCommandPropertyChanged)); - } - if (!s_NextButtonStyleProperty) - { - s_NextButtonStyleProperty = - InitializeDependencyProperty( - L"NextButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnNextButtonStylePropertyChanged)); - } - if (!s_NextButtonVisibilityProperty) - { - s_NextButtonVisibilityProperty = - InitializeDependencyProperty( - L"NextButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnNextButtonVisibilityPropertyChanged)); - } - if (!s_NumberOfPagesProperty) - { - s_NumberOfPagesProperty = - InitializeDependencyProperty( - L"NumberOfPages", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnNumberOfPagesPropertyChanged)); - } - if (!s_PagerInputCommandProperty) - { - s_PagerInputCommandProperty = - InitializeDependencyProperty( - L"PagerInputCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPagerInputCommandPropertyChanged)); - } - if (!s_PrefixTextProperty) - { - s_PrefixTextProperty = - InitializeDependencyProperty( - L"PrefixText", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPrefixTextPropertyChanged)); - } - if (!s_PreviousButtonCommandProperty) - { - s_PreviousButtonCommandProperty = - InitializeDependencyProperty( - L"PreviousButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPreviousButtonCommandPropertyChanged)); - } - if (!s_PreviousButtonStyleProperty) - { - s_PreviousButtonStyleProperty = - InitializeDependencyProperty( - L"PreviousButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPreviousButtonStylePropertyChanged)); - } - if (!s_PreviousButtonVisibilityProperty) - { - s_PreviousButtonVisibilityProperty = - InitializeDependencyProperty( - L"PreviousButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPreviousButtonVisibilityPropertyChanged)); - } - if (!s_SelectedPageIndexProperty) - { - s_SelectedPageIndexProperty = - InitializeDependencyProperty( - L"SelectedPageIndex", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnSelectedPageIndexPropertyChanged)); - } - if (!s_SuffixTextProperty) - { - s_SuffixTextProperty = - InitializeDependencyProperty( - L"SuffixText", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSuffixTextPropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTemplateSettingsPropertyChanged)); - } -} - -void PagerControlProperties::ClearProperties() -{ - s_ButtonPanelAlwaysShowFirstLastPageIndexProperty = nullptr; - s_DisplayModeProperty = nullptr; - s_FirstButtonCommandProperty = nullptr; - s_FirstButtonStyleProperty = nullptr; - s_FirstButtonVisibilityProperty = nullptr; - s_LastButtonCommandProperty = nullptr; - s_LastButtonStyleProperty = nullptr; - s_LastButtonVisibilityProperty = nullptr; - s_NextButtonCommandProperty = nullptr; - s_NextButtonStyleProperty = nullptr; - s_NextButtonVisibilityProperty = nullptr; - s_NumberOfPagesProperty = nullptr; - s_PagerInputCommandProperty = nullptr; - s_PrefixTextProperty = nullptr; - s_PreviousButtonCommandProperty = nullptr; - s_PreviousButtonStyleProperty = nullptr; - s_PreviousButtonVisibilityProperty = nullptr; - s_SelectedPageIndexProperty = nullptr; - s_SuffixTextProperty = nullptr; - s_TemplateSettingsProperty = nullptr; -} - -void PagerControlProperties::OnButtonPanelAlwaysShowFirstLastPageIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnDisplayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnFirstButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnFirstButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnFirstButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnLastButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnLastButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnLastButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnNextButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnNextButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnNextButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnNumberOfPagesPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnPagerInputCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnPrefixTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnPreviousButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnPreviousButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnPreviousButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnSelectedPageIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnSuffixTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PagerControlProperties::ButtonPanelAlwaysShowFirstLastPageIndex(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ButtonPanelAlwaysShowFirstLastPageIndexProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool PagerControlProperties::ButtonPanelAlwaysShowFirstLastPageIndex() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ButtonPanelAlwaysShowFirstLastPageIndexProperty)); -} - -void PagerControlProperties::DisplayMode(winrt::PagerControlDisplayMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DisplayModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PagerControlDisplayMode PagerControlProperties::DisplayMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DisplayModeProperty)); -} - -void PagerControlProperties::FirstButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FirstButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand PagerControlProperties::FirstButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FirstButtonCommandProperty)); -} - -void PagerControlProperties::FirstButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FirstButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PagerControlProperties::FirstButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FirstButtonStyleProperty)); -} - -void PagerControlProperties::FirstButtonVisibility(winrt::PagerControlButtonVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FirstButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PagerControlButtonVisibility PagerControlProperties::FirstButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FirstButtonVisibilityProperty)); -} - -void PagerControlProperties::LastButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LastButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand PagerControlProperties::LastButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LastButtonCommandProperty)); -} - -void PagerControlProperties::LastButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LastButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PagerControlProperties::LastButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LastButtonStyleProperty)); -} - -void PagerControlProperties::LastButtonVisibility(winrt::PagerControlButtonVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LastButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PagerControlButtonVisibility PagerControlProperties::LastButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LastButtonVisibilityProperty)); -} - -void PagerControlProperties::NextButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NextButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand PagerControlProperties::NextButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NextButtonCommandProperty)); -} - -void PagerControlProperties::NextButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NextButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PagerControlProperties::NextButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NextButtonStyleProperty)); -} - -void PagerControlProperties::NextButtonVisibility(winrt::PagerControlButtonVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NextButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PagerControlButtonVisibility PagerControlProperties::NextButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NextButtonVisibilityProperty)); -} - -void PagerControlProperties::NumberOfPages(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NumberOfPagesProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int PagerControlProperties::NumberOfPages() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NumberOfPagesProperty)); -} - -void PagerControlProperties::PagerInputCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PagerInputCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand PagerControlProperties::PagerInputCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PagerInputCommandProperty)); -} - -void PagerControlProperties::PrefixText(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PrefixTextProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring PagerControlProperties::PrefixText() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PrefixTextProperty)); -} - -void PagerControlProperties::PreviousButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreviousButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand PagerControlProperties::PreviousButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreviousButtonCommandProperty)); -} - -void PagerControlProperties::PreviousButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreviousButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PagerControlProperties::PreviousButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreviousButtonStyleProperty)); -} - -void PagerControlProperties::PreviousButtonVisibility(winrt::PagerControlButtonVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreviousButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PagerControlButtonVisibility PagerControlProperties::PreviousButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreviousButtonVisibilityProperty)); -} - -void PagerControlProperties::SelectedPageIndex(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedPageIndexProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int PagerControlProperties::SelectedPageIndex() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedPageIndexProperty)); -} - -void PagerControlProperties::SuffixText(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SuffixTextProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring PagerControlProperties::SuffixText() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SuffixTextProperty)); -} - -void PagerControlProperties::TemplateSettings(winrt::PagerControlTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PagerControlTemplateSettings PagerControlProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -winrt::event_token PagerControlProperties::SelectedIndexChanged(winrt::TypedEventHandler const& value) -{ - return m_selectedIndexChangedEventSource.add(value); -} - -void PagerControlProperties::SelectedIndexChanged(winrt::event_token const& token) -{ - m_selectedIndexChangedEventSource.remove(token); -} diff --git a/dev/Generated/PagerControl.properties.h b/dev/Generated/PagerControl.properties.h deleted file mode 100644 index 14c8d23059..0000000000 --- a/dev/Generated/PagerControl.properties.h +++ /dev/null @@ -1,201 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class PagerControlProperties -{ -public: - PagerControlProperties(); - - void ButtonPanelAlwaysShowFirstLastPageIndex(bool value); - bool ButtonPanelAlwaysShowFirstLastPageIndex(); - - void DisplayMode(winrt::PagerControlDisplayMode const& value); - winrt::PagerControlDisplayMode DisplayMode(); - - void FirstButtonCommand(winrt::ICommand const& value); - winrt::ICommand FirstButtonCommand(); - - void FirstButtonStyle(winrt::Style const& value); - winrt::Style FirstButtonStyle(); - - void FirstButtonVisibility(winrt::PagerControlButtonVisibility const& value); - winrt::PagerControlButtonVisibility FirstButtonVisibility(); - - void LastButtonCommand(winrt::ICommand const& value); - winrt::ICommand LastButtonCommand(); - - void LastButtonStyle(winrt::Style const& value); - winrt::Style LastButtonStyle(); - - void LastButtonVisibility(winrt::PagerControlButtonVisibility const& value); - winrt::PagerControlButtonVisibility LastButtonVisibility(); - - void NextButtonCommand(winrt::ICommand const& value); - winrt::ICommand NextButtonCommand(); - - void NextButtonStyle(winrt::Style const& value); - winrt::Style NextButtonStyle(); - - void NextButtonVisibility(winrt::PagerControlButtonVisibility const& value); - winrt::PagerControlButtonVisibility NextButtonVisibility(); - - void NumberOfPages(int value); - int NumberOfPages(); - - void PagerInputCommand(winrt::ICommand const& value); - winrt::ICommand PagerInputCommand(); - - void PrefixText(winrt::hstring const& value); - winrt::hstring PrefixText(); - - void PreviousButtonCommand(winrt::ICommand const& value); - winrt::ICommand PreviousButtonCommand(); - - void PreviousButtonStyle(winrt::Style const& value); - winrt::Style PreviousButtonStyle(); - - void PreviousButtonVisibility(winrt::PagerControlButtonVisibility const& value); - winrt::PagerControlButtonVisibility PreviousButtonVisibility(); - - void SelectedPageIndex(int value); - int SelectedPageIndex(); - - void SuffixText(winrt::hstring const& value); - winrt::hstring SuffixText(); - - void TemplateSettings(winrt::PagerControlTemplateSettings const& value); - winrt::PagerControlTemplateSettings TemplateSettings(); - - static winrt::DependencyProperty ButtonPanelAlwaysShowFirstLastPageIndexProperty() { return s_ButtonPanelAlwaysShowFirstLastPageIndexProperty; } - static winrt::DependencyProperty DisplayModeProperty() { return s_DisplayModeProperty; } - static winrt::DependencyProperty FirstButtonCommandProperty() { return s_FirstButtonCommandProperty; } - static winrt::DependencyProperty FirstButtonStyleProperty() { return s_FirstButtonStyleProperty; } - static winrt::DependencyProperty FirstButtonVisibilityProperty() { return s_FirstButtonVisibilityProperty; } - static winrt::DependencyProperty LastButtonCommandProperty() { return s_LastButtonCommandProperty; } - static winrt::DependencyProperty LastButtonStyleProperty() { return s_LastButtonStyleProperty; } - static winrt::DependencyProperty LastButtonVisibilityProperty() { return s_LastButtonVisibilityProperty; } - static winrt::DependencyProperty NextButtonCommandProperty() { return s_NextButtonCommandProperty; } - static winrt::DependencyProperty NextButtonStyleProperty() { return s_NextButtonStyleProperty; } - static winrt::DependencyProperty NextButtonVisibilityProperty() { return s_NextButtonVisibilityProperty; } - static winrt::DependencyProperty NumberOfPagesProperty() { return s_NumberOfPagesProperty; } - static winrt::DependencyProperty PagerInputCommandProperty() { return s_PagerInputCommandProperty; } - static winrt::DependencyProperty PrefixTextProperty() { return s_PrefixTextProperty; } - static winrt::DependencyProperty PreviousButtonCommandProperty() { return s_PreviousButtonCommandProperty; } - static winrt::DependencyProperty PreviousButtonStyleProperty() { return s_PreviousButtonStyleProperty; } - static winrt::DependencyProperty PreviousButtonVisibilityProperty() { return s_PreviousButtonVisibilityProperty; } - static winrt::DependencyProperty SelectedPageIndexProperty() { return s_SelectedPageIndexProperty; } - static winrt::DependencyProperty SuffixTextProperty() { return s_SuffixTextProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - - static GlobalDependencyProperty s_ButtonPanelAlwaysShowFirstLastPageIndexProperty; - static GlobalDependencyProperty s_DisplayModeProperty; - static GlobalDependencyProperty s_FirstButtonCommandProperty; - static GlobalDependencyProperty s_FirstButtonStyleProperty; - static GlobalDependencyProperty s_FirstButtonVisibilityProperty; - static GlobalDependencyProperty s_LastButtonCommandProperty; - static GlobalDependencyProperty s_LastButtonStyleProperty; - static GlobalDependencyProperty s_LastButtonVisibilityProperty; - static GlobalDependencyProperty s_NextButtonCommandProperty; - static GlobalDependencyProperty s_NextButtonStyleProperty; - static GlobalDependencyProperty s_NextButtonVisibilityProperty; - static GlobalDependencyProperty s_NumberOfPagesProperty; - static GlobalDependencyProperty s_PagerInputCommandProperty; - static GlobalDependencyProperty s_PrefixTextProperty; - static GlobalDependencyProperty s_PreviousButtonCommandProperty; - static GlobalDependencyProperty s_PreviousButtonStyleProperty; - static GlobalDependencyProperty s_PreviousButtonVisibilityProperty; - static GlobalDependencyProperty s_SelectedPageIndexProperty; - static GlobalDependencyProperty s_SuffixTextProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - - winrt::event_token SelectedIndexChanged(winrt::TypedEventHandler const& value); - void SelectedIndexChanged(winrt::event_token const& token); - - event_source> m_selectedIndexChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnButtonPanelAlwaysShowFirstLastPageIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnDisplayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFirstButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFirstButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFirstButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnLastButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnLastButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnLastButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNextButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNextButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNextButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNumberOfPagesPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPagerInputCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPrefixTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreviousButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreviousButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreviousButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedPageIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSuffixTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/PagerControlAutomationPeer.properties.cpp b/dev/Generated/PagerControlAutomationPeer.properties.cpp deleted file mode 100644 index eb4e2c6356..0000000000 --- a/dev/Generated/PagerControlAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PagerControlAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(PagerControlAutomationPeer) -} - -#include "PagerControlAutomationPeer.g.cpp" - - diff --git a/dev/Generated/PagerControlTemplateSettings.properties.cpp b/dev/Generated/PagerControlTemplateSettings.properties.cpp deleted file mode 100644 index 361c539553..0000000000 --- a/dev/Generated/PagerControlTemplateSettings.properties.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PagerControlTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(PagerControlTemplateSettings) -} - -#include "PagerControlTemplateSettings.g.cpp" - -GlobalDependencyProperty PagerControlTemplateSettingsProperties::s_DispatcherProperty{ nullptr }; -GlobalDependencyProperty PagerControlTemplateSettingsProperties::s_NumberPanelItemsProperty{ nullptr }; -GlobalDependencyProperty PagerControlTemplateSettingsProperties::s_PagesProperty{ nullptr }; - -PagerControlTemplateSettingsProperties::PagerControlTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void PagerControlTemplateSettingsProperties::EnsureProperties() -{ - if (!s_DispatcherProperty) - { - s_DispatcherProperty = - InitializeDependencyProperty( - L"Dispatcher", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_NumberPanelItemsProperty) - { - s_NumberPanelItemsProperty = - InitializeDependencyProperty( - L"NumberPanelItems", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - nullptr); - } - if (!s_PagesProperty) - { - s_PagesProperty = - InitializeDependencyProperty( - L"Pages", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - nullptr); - } -} - -void PagerControlTemplateSettingsProperties::ClearProperties() -{ - s_DispatcherProperty = nullptr; - s_NumberPanelItemsProperty = nullptr; - s_PagesProperty = nullptr; -} - -void PagerControlTemplateSettingsProperties::Dispatcher(winrt::CoreDispatcher const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DispatcherProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CoreDispatcher PagerControlTemplateSettingsProperties::Dispatcher() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DispatcherProperty)); -} - -void PagerControlTemplateSettingsProperties::NumberPanelItems(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NumberPanelItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector PagerControlTemplateSettingsProperties::NumberPanelItems() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_NumberPanelItemsProperty)); -} - -void PagerControlTemplateSettingsProperties::Pages(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PagesProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector PagerControlTemplateSettingsProperties::Pages() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_PagesProperty)); -} diff --git a/dev/Generated/PagerControlTemplateSettings.properties.h b/dev/Generated/PagerControlTemplateSettings.properties.h deleted file mode 100644 index 7005a4e470..0000000000 --- a/dev/Generated/PagerControlTemplateSettings.properties.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class PagerControlTemplateSettingsProperties -{ -public: - PagerControlTemplateSettingsProperties(); - - void Dispatcher(winrt::CoreDispatcher const& value); - winrt::CoreDispatcher Dispatcher(); - - void NumberPanelItems(winrt::IVector const& value); - winrt::IVector NumberPanelItems(); - - void Pages(winrt::IVector const& value); - winrt::IVector Pages(); - - static winrt::DependencyProperty DispatcherProperty() { return s_DispatcherProperty; } - static winrt::DependencyProperty NumberPanelItemsProperty() { return s_NumberPanelItemsProperty; } - static winrt::DependencyProperty PagesProperty() { return s_PagesProperty; } - - static GlobalDependencyProperty s_DispatcherProperty; - static GlobalDependencyProperty s_NumberPanelItemsProperty; - static GlobalDependencyProperty s_PagesProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/ParallaxView.properties.cpp b/dev/Generated/ParallaxView.properties.cpp deleted file mode 100644 index e0112f566e..0000000000 --- a/dev/Generated/ParallaxView.properties.cpp +++ /dev/null @@ -1,504 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ParallaxView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ParallaxView) -} - -#include "ParallaxView.g.cpp" - -GlobalDependencyProperty ParallaxViewProperties::s_ChildProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_HorizontalShiftProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_HorizontalSourceEndOffsetProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_HorizontalSourceOffsetKindProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_HorizontalSourceStartOffsetProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_IsHorizontalShiftClampedProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_IsVerticalShiftClampedProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_MaxHorizontalShiftRatioProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_MaxVerticalShiftRatioProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_SourceProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_VerticalShiftProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_VerticalSourceEndOffsetProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_VerticalSourceOffsetKindProperty{ nullptr }; -GlobalDependencyProperty ParallaxViewProperties::s_VerticalSourceStartOffsetProperty{ nullptr }; - -ParallaxViewProperties::ParallaxViewProperties() -{ - EnsureProperties(); -} - -void ParallaxViewProperties::EnsureProperties() -{ - if (!s_ChildProperty) - { - s_ChildProperty = - InitializeDependencyProperty( - L"Child", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnChildPropertyChanged)); - } - if (!s_HorizontalShiftProperty) - { - s_HorizontalShiftProperty = - InitializeDependencyProperty( - L"HorizontalShift", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHorizontalShiftPropertyChanged)); - } - if (!s_HorizontalSourceEndOffsetProperty) - { - s_HorizontalSourceEndOffsetProperty = - InitializeDependencyProperty( - L"HorizontalSourceEndOffset", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHorizontalSourceEndOffsetPropertyChanged)); - } - if (!s_HorizontalSourceOffsetKindProperty) - { - s_HorizontalSourceOffsetKindProperty = - InitializeDependencyProperty( - L"HorizontalSourceOffsetKind", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ParallaxSourceOffsetKind::Relative), - winrt::PropertyChangedCallback(&OnHorizontalSourceOffsetKindPropertyChanged)); - } - if (!s_HorizontalSourceStartOffsetProperty) - { - s_HorizontalSourceStartOffsetProperty = - InitializeDependencyProperty( - L"HorizontalSourceStartOffset", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHorizontalSourceStartOffsetPropertyChanged)); - } - if (!s_IsHorizontalShiftClampedProperty) - { - s_IsHorizontalShiftClampedProperty = - InitializeDependencyProperty( - L"IsHorizontalShiftClamped", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsHorizontalShiftClampedPropertyChanged)); - } - if (!s_IsVerticalShiftClampedProperty) - { - s_IsVerticalShiftClampedProperty = - InitializeDependencyProperty( - L"IsVerticalShiftClamped", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsVerticalShiftClampedPropertyChanged)); - } - if (!s_MaxHorizontalShiftRatioProperty) - { - s_MaxHorizontalShiftRatioProperty = - InitializeDependencyProperty( - L"MaxHorizontalShiftRatio", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1.0), - winrt::PropertyChangedCallback(&OnMaxHorizontalShiftRatioPropertyChanged)); - } - if (!s_MaxVerticalShiftRatioProperty) - { - s_MaxVerticalShiftRatioProperty = - InitializeDependencyProperty( - L"MaxVerticalShiftRatio", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1.0), - winrt::PropertyChangedCallback(&OnMaxVerticalShiftRatioPropertyChanged)); - } - if (!s_SourceProperty) - { - s_SourceProperty = - InitializeDependencyProperty( - L"Source", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSourcePropertyChanged)); - } - if (!s_VerticalShiftProperty) - { - s_VerticalShiftProperty = - InitializeDependencyProperty( - L"VerticalShift", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnVerticalShiftPropertyChanged)); - } - if (!s_VerticalSourceEndOffsetProperty) - { - s_VerticalSourceEndOffsetProperty = - InitializeDependencyProperty( - L"VerticalSourceEndOffset", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnVerticalSourceEndOffsetPropertyChanged)); - } - if (!s_VerticalSourceOffsetKindProperty) - { - s_VerticalSourceOffsetKindProperty = - InitializeDependencyProperty( - L"VerticalSourceOffsetKind", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ParallaxSourceOffsetKind::Relative), - winrt::PropertyChangedCallback(&OnVerticalSourceOffsetKindPropertyChanged)); - } - if (!s_VerticalSourceStartOffsetProperty) - { - s_VerticalSourceStartOffsetProperty = - InitializeDependencyProperty( - L"VerticalSourceStartOffset", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnVerticalSourceStartOffsetPropertyChanged)); - } -} - -void ParallaxViewProperties::ClearProperties() -{ - s_ChildProperty = nullptr; - s_HorizontalShiftProperty = nullptr; - s_HorizontalSourceEndOffsetProperty = nullptr; - s_HorizontalSourceOffsetKindProperty = nullptr; - s_HorizontalSourceStartOffsetProperty = nullptr; - s_IsHorizontalShiftClampedProperty = nullptr; - s_IsVerticalShiftClampedProperty = nullptr; - s_MaxHorizontalShiftRatioProperty = nullptr; - s_MaxVerticalShiftRatioProperty = nullptr; - s_SourceProperty = nullptr; - s_VerticalShiftProperty = nullptr; - s_VerticalSourceEndOffsetProperty = nullptr; - s_VerticalSourceOffsetKindProperty = nullptr; - s_VerticalSourceStartOffsetProperty = nullptr; -} - -void ParallaxViewProperties::OnChildPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnHorizontalShiftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnHorizontalSourceEndOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnHorizontalSourceOffsetKindPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnHorizontalSourceStartOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnIsHorizontalShiftClampedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnIsVerticalShiftClampedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnMaxHorizontalShiftRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnMaxVerticalShiftRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnVerticalShiftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnVerticalSourceEndOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnVerticalSourceOffsetKindPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::OnVerticalSourceStartOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ParallaxViewProperties::Child(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ChildProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement ParallaxViewProperties::Child() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ChildProperty)); -} - -void ParallaxViewProperties::HorizontalShift(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalShiftProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::HorizontalShift() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalShiftProperty)); -} - -void ParallaxViewProperties::HorizontalSourceEndOffset(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalSourceEndOffsetProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::HorizontalSourceEndOffset() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalSourceEndOffsetProperty)); -} - -void ParallaxViewProperties::HorizontalSourceOffsetKind(winrt::ParallaxSourceOffsetKind const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalSourceOffsetKindProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ParallaxSourceOffsetKind ParallaxViewProperties::HorizontalSourceOffsetKind() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalSourceOffsetKindProperty)); -} - -void ParallaxViewProperties::HorizontalSourceStartOffset(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalSourceStartOffsetProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::HorizontalSourceStartOffset() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalSourceStartOffsetProperty)); -} - -void ParallaxViewProperties::IsHorizontalShiftClamped(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsHorizontalShiftClampedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ParallaxViewProperties::IsHorizontalShiftClamped() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsHorizontalShiftClampedProperty)); -} - -void ParallaxViewProperties::IsVerticalShiftClamped(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsVerticalShiftClampedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ParallaxViewProperties::IsVerticalShiftClamped() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsVerticalShiftClampedProperty)); -} - -void ParallaxViewProperties::MaxHorizontalShiftRatio(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxHorizontalShiftRatioProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::MaxHorizontalShiftRatio() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxHorizontalShiftRatioProperty)); -} - -void ParallaxViewProperties::MaxVerticalShiftRatio(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxVerticalShiftRatioProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::MaxVerticalShiftRatio() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxVerticalShiftRatioProperty)); -} - -void ParallaxViewProperties::Source(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement ParallaxViewProperties::Source() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SourceProperty)); -} - -void ParallaxViewProperties::VerticalShift(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalShiftProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::VerticalShift() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalShiftProperty)); -} - -void ParallaxViewProperties::VerticalSourceEndOffset(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalSourceEndOffsetProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::VerticalSourceEndOffset() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalSourceEndOffsetProperty)); -} - -void ParallaxViewProperties::VerticalSourceOffsetKind(winrt::ParallaxSourceOffsetKind const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalSourceOffsetKindProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ParallaxSourceOffsetKind ParallaxViewProperties::VerticalSourceOffsetKind() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalSourceOffsetKindProperty)); -} - -void ParallaxViewProperties::VerticalSourceStartOffset(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalSourceStartOffsetProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ParallaxViewProperties::VerticalSourceStartOffset() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalSourceStartOffsetProperty)); -} diff --git a/dev/Generated/ParallaxView.properties.h b/dev/Generated/ParallaxView.properties.h deleted file mode 100644 index 68bf737608..0000000000 --- a/dev/Generated/ParallaxView.properties.h +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ParallaxViewProperties -{ -public: - ParallaxViewProperties(); - - void Child(winrt::UIElement const& value); - winrt::UIElement Child(); - - void HorizontalShift(double value); - double HorizontalShift(); - - void HorizontalSourceEndOffset(double value); - double HorizontalSourceEndOffset(); - - void HorizontalSourceOffsetKind(winrt::ParallaxSourceOffsetKind const& value); - winrt::ParallaxSourceOffsetKind HorizontalSourceOffsetKind(); - - void HorizontalSourceStartOffset(double value); - double HorizontalSourceStartOffset(); - - void IsHorizontalShiftClamped(bool value); - bool IsHorizontalShiftClamped(); - - void IsVerticalShiftClamped(bool value); - bool IsVerticalShiftClamped(); - - void MaxHorizontalShiftRatio(double value); - double MaxHorizontalShiftRatio(); - - void MaxVerticalShiftRatio(double value); - double MaxVerticalShiftRatio(); - - void Source(winrt::UIElement const& value); - winrt::UIElement Source(); - - void VerticalShift(double value); - double VerticalShift(); - - void VerticalSourceEndOffset(double value); - double VerticalSourceEndOffset(); - - void VerticalSourceOffsetKind(winrt::ParallaxSourceOffsetKind const& value); - winrt::ParallaxSourceOffsetKind VerticalSourceOffsetKind(); - - void VerticalSourceStartOffset(double value); - double VerticalSourceStartOffset(); - - static winrt::DependencyProperty ChildProperty() { return s_ChildProperty; } - static winrt::DependencyProperty HorizontalShiftProperty() { return s_HorizontalShiftProperty; } - static winrt::DependencyProperty HorizontalSourceEndOffsetProperty() { return s_HorizontalSourceEndOffsetProperty; } - static winrt::DependencyProperty HorizontalSourceOffsetKindProperty() { return s_HorizontalSourceOffsetKindProperty; } - static winrt::DependencyProperty HorizontalSourceStartOffsetProperty() { return s_HorizontalSourceStartOffsetProperty; } - static winrt::DependencyProperty IsHorizontalShiftClampedProperty() { return s_IsHorizontalShiftClampedProperty; } - static winrt::DependencyProperty IsVerticalShiftClampedProperty() { return s_IsVerticalShiftClampedProperty; } - static winrt::DependencyProperty MaxHorizontalShiftRatioProperty() { return s_MaxHorizontalShiftRatioProperty; } - static winrt::DependencyProperty MaxVerticalShiftRatioProperty() { return s_MaxVerticalShiftRatioProperty; } - static winrt::DependencyProperty SourceProperty() { return s_SourceProperty; } - static winrt::DependencyProperty VerticalShiftProperty() { return s_VerticalShiftProperty; } - static winrt::DependencyProperty VerticalSourceEndOffsetProperty() { return s_VerticalSourceEndOffsetProperty; } - static winrt::DependencyProperty VerticalSourceOffsetKindProperty() { return s_VerticalSourceOffsetKindProperty; } - static winrt::DependencyProperty VerticalSourceStartOffsetProperty() { return s_VerticalSourceStartOffsetProperty; } - - static GlobalDependencyProperty s_ChildProperty; - static GlobalDependencyProperty s_HorizontalShiftProperty; - static GlobalDependencyProperty s_HorizontalSourceEndOffsetProperty; - static GlobalDependencyProperty s_HorizontalSourceOffsetKindProperty; - static GlobalDependencyProperty s_HorizontalSourceStartOffsetProperty; - static GlobalDependencyProperty s_IsHorizontalShiftClampedProperty; - static GlobalDependencyProperty s_IsVerticalShiftClampedProperty; - static GlobalDependencyProperty s_MaxHorizontalShiftRatioProperty; - static GlobalDependencyProperty s_MaxVerticalShiftRatioProperty; - static GlobalDependencyProperty s_SourceProperty; - static GlobalDependencyProperty s_VerticalShiftProperty; - static GlobalDependencyProperty s_VerticalSourceEndOffsetProperty; - static GlobalDependencyProperty s_VerticalSourceOffsetKindProperty; - static GlobalDependencyProperty s_VerticalSourceStartOffsetProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnChildPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalShiftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalSourceEndOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalSourceOffsetKindPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalSourceStartOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsHorizontalShiftClampedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsVerticalShiftClampedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxHorizontalShiftRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxVerticalShiftRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalShiftPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalSourceEndOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalSourceOffsetKindPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalSourceStartOffsetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/PathIconSource.properties.cpp b/dev/Generated/PathIconSource.properties.cpp deleted file mode 100644 index bd7c571d52..0000000000 --- a/dev/Generated/PathIconSource.properties.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PathIconSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(PathIconSource) -} - -#include "PathIconSource.g.cpp" - -GlobalDependencyProperty PathIconSourceProperties::s_DataProperty{ nullptr }; - -PathIconSourceProperties::PathIconSourceProperties() -{ - EnsureProperties(); -} - -void PathIconSourceProperties::EnsureProperties() -{ - IconSource::EnsureProperties(); - if (!s_DataProperty) - { - s_DataProperty = - InitializeDependencyProperty( - L"Data", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnDataPropertyChanged)); - } -} - -void PathIconSourceProperties::ClearProperties() -{ - s_DataProperty = nullptr; - IconSource::ClearProperties(); -} - -void PathIconSourceProperties::OnDataPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PathIconSourceProperties::Data(winrt::Geometry const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DataProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Geometry PathIconSourceProperties::Data() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DataProperty)); -} diff --git a/dev/Generated/PathIconSource.properties.h b/dev/Generated/PathIconSource.properties.h deleted file mode 100644 index 362cef46fa..0000000000 --- a/dev/Generated/PathIconSource.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class PathIconSourceProperties -{ -public: - PathIconSourceProperties(); - - void Data(winrt::Geometry const& value); - winrt::Geometry Data(); - - static winrt::DependencyProperty DataProperty() { return s_DataProperty; } - - static GlobalDependencyProperty s_DataProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnDataPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/PersonPicture.properties.cpp b/dev/Generated/PersonPicture.properties.cpp deleted file mode 100644 index f9dbcaf519..0000000000 --- a/dev/Generated/PersonPicture.properties.cpp +++ /dev/null @@ -1,402 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PersonPicture.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(PersonPicture) -} - -#include "PersonPicture.g.cpp" - -GlobalDependencyProperty PersonPictureProperties::s_BadgeGlyphProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_BadgeImageSourceProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_BadgeNumberProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_BadgeTextProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_ContactProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_DisplayNameProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_InitialsProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_IsGroupProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_PreferSmallImageProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_ProfilePictureProperty{ nullptr }; -GlobalDependencyProperty PersonPictureProperties::s_TemplateSettingsProperty{ nullptr }; - -PersonPictureProperties::PersonPictureProperties() -{ - EnsureProperties(); -} - -void PersonPictureProperties::EnsureProperties() -{ - if (!s_BadgeGlyphProperty) - { - s_BadgeGlyphProperty = - InitializeDependencyProperty( - L"BadgeGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBadgeGlyphPropertyChanged)); - } - if (!s_BadgeImageSourceProperty) - { - s_BadgeImageSourceProperty = - InitializeDependencyProperty( - L"BadgeImageSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBadgeImageSourcePropertyChanged)); - } - if (!s_BadgeNumberProperty) - { - s_BadgeNumberProperty = - InitializeDependencyProperty( - L"BadgeNumber", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBadgeNumberPropertyChanged)); - } - if (!s_BadgeTextProperty) - { - s_BadgeTextProperty = - InitializeDependencyProperty( - L"BadgeText", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBadgeTextPropertyChanged)); - } - if (!s_ContactProperty) - { - s_ContactProperty = - InitializeDependencyProperty( - L"Contact", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnContactPropertyChanged)); - } - if (!s_DisplayNameProperty) - { - s_DisplayNameProperty = - InitializeDependencyProperty( - L"DisplayName", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnDisplayNamePropertyChanged)); - } - if (!s_InitialsProperty) - { - s_InitialsProperty = - InitializeDependencyProperty( - L"Initials", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnInitialsPropertyChanged)); - } - if (!s_IsGroupProperty) - { - s_IsGroupProperty = - InitializeDependencyProperty( - L"IsGroup", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsGroupPropertyChanged)); - } - if (!s_PreferSmallImageProperty) - { - s_PreferSmallImageProperty = - InitializeDependencyProperty( - L"PreferSmallImage", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPreferSmallImagePropertyChanged)); - } - if (!s_ProfilePictureProperty) - { - s_ProfilePictureProperty = - InitializeDependencyProperty( - L"ProfilePicture", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnProfilePicturePropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTemplateSettingsPropertyChanged)); - } -} - -void PersonPictureProperties::ClearProperties() -{ - s_BadgeGlyphProperty = nullptr; - s_BadgeImageSourceProperty = nullptr; - s_BadgeNumberProperty = nullptr; - s_BadgeTextProperty = nullptr; - s_ContactProperty = nullptr; - s_DisplayNameProperty = nullptr; - s_InitialsProperty = nullptr; - s_IsGroupProperty = nullptr; - s_PreferSmallImageProperty = nullptr; - s_ProfilePictureProperty = nullptr; - s_TemplateSettingsProperty = nullptr; -} - -void PersonPictureProperties::OnBadgeGlyphPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnBadgeImageSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnBadgeNumberPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnBadgeTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnContactPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnDisplayNamePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnInitialsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnIsGroupPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnPreferSmallImagePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnProfilePicturePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PersonPictureProperties::BadgeGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BadgeGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring PersonPictureProperties::BadgeGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BadgeGlyphProperty)); -} - -void PersonPictureProperties::BadgeImageSource(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BadgeImageSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource PersonPictureProperties::BadgeImageSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BadgeImageSourceProperty)); -} - -void PersonPictureProperties::BadgeNumber(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BadgeNumberProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int PersonPictureProperties::BadgeNumber() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BadgeNumberProperty)); -} - -void PersonPictureProperties::BadgeText(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BadgeTextProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring PersonPictureProperties::BadgeText() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BadgeTextProperty)); -} - -void PersonPictureProperties::Contact(winrt::Contact const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContactProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Contact PersonPictureProperties::Contact() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContactProperty)); -} - -void PersonPictureProperties::DisplayName(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DisplayNameProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring PersonPictureProperties::DisplayName() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DisplayNameProperty)); -} - -void PersonPictureProperties::Initials(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_InitialsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring PersonPictureProperties::Initials() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_InitialsProperty)); -} - -void PersonPictureProperties::IsGroup(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsGroupProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool PersonPictureProperties::IsGroup() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsGroupProperty)); -} - -void PersonPictureProperties::PreferSmallImage(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreferSmallImageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool PersonPictureProperties::PreferSmallImage() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreferSmallImageProperty)); -} - -void PersonPictureProperties::ProfilePicture(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ProfilePictureProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource PersonPictureProperties::ProfilePicture() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ProfilePictureProperty)); -} - -void PersonPictureProperties::TemplateSettings(winrt::PersonPictureTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PersonPictureTemplateSettings PersonPictureProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} diff --git a/dev/Generated/PersonPicture.properties.h b/dev/Generated/PersonPicture.properties.h deleted file mode 100644 index df2509468f..0000000000 --- a/dev/Generated/PersonPicture.properties.h +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class PersonPictureProperties -{ -public: - PersonPictureProperties(); - - void BadgeGlyph(winrt::hstring const& value); - winrt::hstring BadgeGlyph(); - - void BadgeImageSource(winrt::ImageSource const& value); - winrt::ImageSource BadgeImageSource(); - - void BadgeNumber(int value); - int BadgeNumber(); - - void BadgeText(winrt::hstring const& value); - winrt::hstring BadgeText(); - - void Contact(winrt::Contact const& value); - winrt::Contact Contact(); - - void DisplayName(winrt::hstring const& value); - winrt::hstring DisplayName(); - - void Initials(winrt::hstring const& value); - winrt::hstring Initials(); - - void IsGroup(bool value); - bool IsGroup(); - - void PreferSmallImage(bool value); - bool PreferSmallImage(); - - void ProfilePicture(winrt::ImageSource const& value); - winrt::ImageSource ProfilePicture(); - - void TemplateSettings(winrt::PersonPictureTemplateSettings const& value); - winrt::PersonPictureTemplateSettings TemplateSettings(); - - static winrt::DependencyProperty BadgeGlyphProperty() { return s_BadgeGlyphProperty; } - static winrt::DependencyProperty BadgeImageSourceProperty() { return s_BadgeImageSourceProperty; } - static winrt::DependencyProperty BadgeNumberProperty() { return s_BadgeNumberProperty; } - static winrt::DependencyProperty BadgeTextProperty() { return s_BadgeTextProperty; } - static winrt::DependencyProperty ContactProperty() { return s_ContactProperty; } - static winrt::DependencyProperty DisplayNameProperty() { return s_DisplayNameProperty; } - static winrt::DependencyProperty InitialsProperty() { return s_InitialsProperty; } - static winrt::DependencyProperty IsGroupProperty() { return s_IsGroupProperty; } - static winrt::DependencyProperty PreferSmallImageProperty() { return s_PreferSmallImageProperty; } - static winrt::DependencyProperty ProfilePictureProperty() { return s_ProfilePictureProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - - static GlobalDependencyProperty s_BadgeGlyphProperty; - static GlobalDependencyProperty s_BadgeImageSourceProperty; - static GlobalDependencyProperty s_BadgeNumberProperty; - static GlobalDependencyProperty s_BadgeTextProperty; - static GlobalDependencyProperty s_ContactProperty; - static GlobalDependencyProperty s_DisplayNameProperty; - static GlobalDependencyProperty s_InitialsProperty; - static GlobalDependencyProperty s_IsGroupProperty; - static GlobalDependencyProperty s_PreferSmallImageProperty; - static GlobalDependencyProperty s_ProfilePictureProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnBadgeGlyphPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnBadgeImageSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnBadgeNumberPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnBadgeTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnContactPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnDisplayNamePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnInitialsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsGroupPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreferSmallImagePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnProfilePicturePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/PersonPictureAutomationPeer.properties.cpp b/dev/Generated/PersonPictureAutomationPeer.properties.cpp deleted file mode 100644 index cf7915ee5a..0000000000 --- a/dev/Generated/PersonPictureAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PersonPictureAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(PersonPictureAutomationPeer) -} - -#include "PersonPictureAutomationPeer.g.cpp" - - diff --git a/dev/Generated/PersonPictureTemplateSettings.properties.cpp b/dev/Generated/PersonPictureTemplateSettings.properties.cpp deleted file mode 100644 index 7e9f1ccca8..0000000000 --- a/dev/Generated/PersonPictureTemplateSettings.properties.cpp +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PersonPictureTemplateSettings.h" - -GlobalDependencyProperty PersonPictureTemplateSettingsProperties::s_ActualImageBrushProperty{ nullptr }; -GlobalDependencyProperty PersonPictureTemplateSettingsProperties::s_ActualInitialsProperty{ nullptr }; -GlobalDependencyProperty PersonPictureTemplateSettingsProperties::s_DispatcherProperty{ nullptr }; - -PersonPictureTemplateSettingsProperties::PersonPictureTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void PersonPictureTemplateSettingsProperties::EnsureProperties() -{ - if (!s_ActualImageBrushProperty) - { - s_ActualImageBrushProperty = - InitializeDependencyProperty( - L"ActualImageBrush", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ActualInitialsProperty) - { - s_ActualInitialsProperty = - InitializeDependencyProperty( - L"ActualInitials", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_DispatcherProperty) - { - s_DispatcherProperty = - InitializeDependencyProperty( - L"Dispatcher", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void PersonPictureTemplateSettingsProperties::ClearProperties() -{ - s_ActualImageBrushProperty = nullptr; - s_ActualInitialsProperty = nullptr; - s_DispatcherProperty = nullptr; -} - -void PersonPictureTemplateSettingsProperties::ActualImageBrush(winrt::ImageBrush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ActualImageBrushProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageBrush PersonPictureTemplateSettingsProperties::ActualImageBrush() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ActualImageBrushProperty)); -} - -void PersonPictureTemplateSettingsProperties::ActualInitials(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ActualInitialsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring PersonPictureTemplateSettingsProperties::ActualInitials() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ActualInitialsProperty)); -} - -void PersonPictureTemplateSettingsProperties::Dispatcher(winrt::CoreDispatcher const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DispatcherProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CoreDispatcher PersonPictureTemplateSettingsProperties::Dispatcher() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DispatcherProperty)); -} diff --git a/dev/Generated/PersonPictureTemplateSettings.properties.h b/dev/Generated/PersonPictureTemplateSettings.properties.h deleted file mode 100644 index 2832a3bf08..0000000000 --- a/dev/Generated/PersonPictureTemplateSettings.properties.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class PersonPictureTemplateSettingsProperties -{ -public: - PersonPictureTemplateSettingsProperties(); - - void ActualImageBrush(winrt::ImageBrush const& value); - winrt::ImageBrush ActualImageBrush(); - - void ActualInitials(winrt::hstring const& value); - winrt::hstring ActualInitials(); - - void Dispatcher(winrt::CoreDispatcher const& value); - winrt::CoreDispatcher Dispatcher(); - - static winrt::DependencyProperty ActualImageBrushProperty() { return s_ActualImageBrushProperty; } - static winrt::DependencyProperty ActualInitialsProperty() { return s_ActualInitialsProperty; } - static winrt::DependencyProperty DispatcherProperty() { return s_DispatcherProperty; } - - static GlobalDependencyProperty s_ActualImageBrushProperty; - static GlobalDependencyProperty s_ActualInitialsProperty; - static GlobalDependencyProperty s_DispatcherProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/PipsPager.properties.cpp b/dev/Generated/PipsPager.properties.cpp deleted file mode 100644 index 06c3f9fc81..0000000000 --- a/dev/Generated/PipsPager.properties.cpp +++ /dev/null @@ -1,413 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PipsPager.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(PipsPager) -} - -#include "PipsPager.g.cpp" - -GlobalDependencyProperty PipsPagerProperties::s_MaxVisiblePipsProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_NextButtonStyleProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_NextButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_NormalPipStyleProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_NumberOfPagesProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_OrientationProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_PreviousButtonStyleProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_PreviousButtonVisibilityProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_SelectedPageIndexProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_SelectedPipStyleProperty{ nullptr }; -GlobalDependencyProperty PipsPagerProperties::s_TemplateSettingsProperty{ nullptr }; - -PipsPagerProperties::PipsPagerProperties() - : m_selectedIndexChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void PipsPagerProperties::EnsureProperties() -{ - if (!s_MaxVisiblePipsProperty) - { - s_MaxVisiblePipsProperty = - InitializeDependencyProperty( - L"MaxVisiblePips", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(5), - winrt::PropertyChangedCallback(&OnMaxVisiblePipsPropertyChanged)); - } - if (!s_NextButtonStyleProperty) - { - s_NextButtonStyleProperty = - InitializeDependencyProperty( - L"NextButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnNextButtonStylePropertyChanged)); - } - if (!s_NextButtonVisibilityProperty) - { - s_NextButtonVisibilityProperty = - InitializeDependencyProperty( - L"NextButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::PipsPagerButtonVisibility::Collapsed), - winrt::PropertyChangedCallback(&OnNextButtonVisibilityPropertyChanged)); - } - if (!s_NormalPipStyleProperty) - { - s_NormalPipStyleProperty = - InitializeDependencyProperty( - L"NormalPipStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnNormalPipStylePropertyChanged)); - } - if (!s_NumberOfPagesProperty) - { - s_NumberOfPagesProperty = - InitializeDependencyProperty( - L"NumberOfPages", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-1), - winrt::PropertyChangedCallback(&OnNumberOfPagesPropertyChanged)); - } - if (!s_OrientationProperty) - { - s_OrientationProperty = - InitializeDependencyProperty( - L"Orientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Orientation::Horizontal), - winrt::PropertyChangedCallback(&OnOrientationPropertyChanged)); - } - if (!s_PreviousButtonStyleProperty) - { - s_PreviousButtonStyleProperty = - InitializeDependencyProperty( - L"PreviousButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPreviousButtonStylePropertyChanged)); - } - if (!s_PreviousButtonVisibilityProperty) - { - s_PreviousButtonVisibilityProperty = - InitializeDependencyProperty( - L"PreviousButtonVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::PipsPagerButtonVisibility::Collapsed), - winrt::PropertyChangedCallback(&OnPreviousButtonVisibilityPropertyChanged)); - } - if (!s_SelectedPageIndexProperty) - { - s_SelectedPageIndexProperty = - InitializeDependencyProperty( - L"SelectedPageIndex", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnSelectedPageIndexPropertyChanged)); - } - if (!s_SelectedPipStyleProperty) - { - s_SelectedPipStyleProperty = - InitializeDependencyProperty( - L"SelectedPipStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSelectedPipStylePropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTemplateSettingsPropertyChanged)); - } -} - -void PipsPagerProperties::ClearProperties() -{ - s_MaxVisiblePipsProperty = nullptr; - s_NextButtonStyleProperty = nullptr; - s_NextButtonVisibilityProperty = nullptr; - s_NormalPipStyleProperty = nullptr; - s_NumberOfPagesProperty = nullptr; - s_OrientationProperty = nullptr; - s_PreviousButtonStyleProperty = nullptr; - s_PreviousButtonVisibilityProperty = nullptr; - s_SelectedPageIndexProperty = nullptr; - s_SelectedPipStyleProperty = nullptr; - s_TemplateSettingsProperty = nullptr; -} - -void PipsPagerProperties::OnMaxVisiblePipsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnNextButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnNextButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnNormalPipStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnNumberOfPagesPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnPreviousButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnPreviousButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnSelectedPageIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnSelectedPipStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void PipsPagerProperties::MaxVisiblePips(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxVisiblePipsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int PipsPagerProperties::MaxVisiblePips() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxVisiblePipsProperty)); -} - -void PipsPagerProperties::NextButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NextButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PipsPagerProperties::NextButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NextButtonStyleProperty)); -} - -void PipsPagerProperties::NextButtonVisibility(winrt::PipsPagerButtonVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NextButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PipsPagerButtonVisibility PipsPagerProperties::NextButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NextButtonVisibilityProperty)); -} - -void PipsPagerProperties::NormalPipStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NormalPipStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PipsPagerProperties::NormalPipStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NormalPipStyleProperty)); -} - -void PipsPagerProperties::NumberOfPages(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_NumberOfPagesProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int PipsPagerProperties::NumberOfPages() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_NumberOfPagesProperty)); -} - -void PipsPagerProperties::Orientation(winrt::Orientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Orientation PipsPagerProperties::Orientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OrientationProperty)); -} - -void PipsPagerProperties::PreviousButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreviousButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PipsPagerProperties::PreviousButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreviousButtonStyleProperty)); -} - -void PipsPagerProperties::PreviousButtonVisibility(winrt::PipsPagerButtonVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreviousButtonVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PipsPagerButtonVisibility PipsPagerProperties::PreviousButtonVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreviousButtonVisibilityProperty)); -} - -void PipsPagerProperties::SelectedPageIndex(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedPageIndexProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int PipsPagerProperties::SelectedPageIndex() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedPageIndexProperty)); -} - -void PipsPagerProperties::SelectedPipStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedPipStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style PipsPagerProperties::SelectedPipStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedPipStyleProperty)); -} - -void PipsPagerProperties::TemplateSettings(winrt::PipsPagerTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::PipsPagerTemplateSettings PipsPagerProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -winrt::event_token PipsPagerProperties::SelectedIndexChanged(winrt::TypedEventHandler const& value) -{ - return m_selectedIndexChangedEventSource.add(value); -} - -void PipsPagerProperties::SelectedIndexChanged(winrt::event_token const& token) -{ - m_selectedIndexChangedEventSource.remove(token); -} diff --git a/dev/Generated/PipsPager.properties.h b/dev/Generated/PipsPager.properties.h deleted file mode 100644 index c4ef986016..0000000000 --- a/dev/Generated/PipsPager.properties.h +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class PipsPagerProperties -{ -public: - PipsPagerProperties(); - - void MaxVisiblePips(int value); - int MaxVisiblePips(); - - void NextButtonStyle(winrt::Style const& value); - winrt::Style NextButtonStyle(); - - void NextButtonVisibility(winrt::PipsPagerButtonVisibility const& value); - winrt::PipsPagerButtonVisibility NextButtonVisibility(); - - void NormalPipStyle(winrt::Style const& value); - winrt::Style NormalPipStyle(); - - void NumberOfPages(int value); - int NumberOfPages(); - - void Orientation(winrt::Orientation const& value); - winrt::Orientation Orientation(); - - void PreviousButtonStyle(winrt::Style const& value); - winrt::Style PreviousButtonStyle(); - - void PreviousButtonVisibility(winrt::PipsPagerButtonVisibility const& value); - winrt::PipsPagerButtonVisibility PreviousButtonVisibility(); - - void SelectedPageIndex(int value); - int SelectedPageIndex(); - - void SelectedPipStyle(winrt::Style const& value); - winrt::Style SelectedPipStyle(); - - void TemplateSettings(winrt::PipsPagerTemplateSettings const& value); - winrt::PipsPagerTemplateSettings TemplateSettings(); - - static winrt::DependencyProperty MaxVisiblePipsProperty() { return s_MaxVisiblePipsProperty; } - static winrt::DependencyProperty NextButtonStyleProperty() { return s_NextButtonStyleProperty; } - static winrt::DependencyProperty NextButtonVisibilityProperty() { return s_NextButtonVisibilityProperty; } - static winrt::DependencyProperty NormalPipStyleProperty() { return s_NormalPipStyleProperty; } - static winrt::DependencyProperty NumberOfPagesProperty() { return s_NumberOfPagesProperty; } - static winrt::DependencyProperty OrientationProperty() { return s_OrientationProperty; } - static winrt::DependencyProperty PreviousButtonStyleProperty() { return s_PreviousButtonStyleProperty; } - static winrt::DependencyProperty PreviousButtonVisibilityProperty() { return s_PreviousButtonVisibilityProperty; } - static winrt::DependencyProperty SelectedPageIndexProperty() { return s_SelectedPageIndexProperty; } - static winrt::DependencyProperty SelectedPipStyleProperty() { return s_SelectedPipStyleProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - - static GlobalDependencyProperty s_MaxVisiblePipsProperty; - static GlobalDependencyProperty s_NextButtonStyleProperty; - static GlobalDependencyProperty s_NextButtonVisibilityProperty; - static GlobalDependencyProperty s_NormalPipStyleProperty; - static GlobalDependencyProperty s_NumberOfPagesProperty; - static GlobalDependencyProperty s_OrientationProperty; - static GlobalDependencyProperty s_PreviousButtonStyleProperty; - static GlobalDependencyProperty s_PreviousButtonVisibilityProperty; - static GlobalDependencyProperty s_SelectedPageIndexProperty; - static GlobalDependencyProperty s_SelectedPipStyleProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - - winrt::event_token SelectedIndexChanged(winrt::TypedEventHandler const& value); - void SelectedIndexChanged(winrt::event_token const& token); - - event_source> m_selectedIndexChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnMaxVisiblePipsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNextButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNextButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNormalPipStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnNumberOfPagesPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreviousButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreviousButtonVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedPageIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedPipStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/PipsPagerAutomationPeer.properties.cpp b/dev/Generated/PipsPagerAutomationPeer.properties.cpp deleted file mode 100644 index 3f760e19ee..0000000000 --- a/dev/Generated/PipsPagerAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PipsPagerAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(PipsPagerAutomationPeer) -} - -#include "PipsPagerAutomationPeer.g.cpp" - - diff --git a/dev/Generated/PipsPagerTemplateSettings.properties.cpp b/dev/Generated/PipsPagerTemplateSettings.properties.cpp deleted file mode 100755 index deaf882865..0000000000 --- a/dev/Generated/PipsPagerTemplateSettings.properties.cpp +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PipsPagerTemplateSettings.h" - -GlobalDependencyProperty PipsPagerTemplateSettingsProperties::s_DispatcherProperty{ nullptr }; -GlobalDependencyProperty PipsPagerTemplateSettingsProperties::s_PipsPagerItemsProperty{ nullptr }; - -PipsPagerTemplateSettingsProperties::PipsPagerTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void PipsPagerTemplateSettingsProperties::EnsureProperties() -{ - if (!s_DispatcherProperty) - { - s_DispatcherProperty = - InitializeDependencyProperty( - L"Dispatcher", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PipsPagerItemsProperty) - { - s_PipsPagerItemsProperty = - InitializeDependencyProperty( - L"PipsPagerItems", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - nullptr); - } -} - -void PipsPagerTemplateSettingsProperties::ClearProperties() -{ - s_DispatcherProperty = nullptr; - s_PipsPagerItemsProperty = nullptr; -} - -void PipsPagerTemplateSettingsProperties::Dispatcher(winrt::CoreDispatcher const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DispatcherProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CoreDispatcher PipsPagerTemplateSettingsProperties::Dispatcher() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DispatcherProperty)); -} - -void PipsPagerTemplateSettingsProperties::PipsPagerItems(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PipsPagerItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector PipsPagerTemplateSettingsProperties::PipsPagerItems() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_PipsPagerItemsProperty)); -} diff --git a/dev/Generated/PipsPagerTemplateSettings.properties.h b/dev/Generated/PipsPagerTemplateSettings.properties.h deleted file mode 100755 index 6ad61a115a..0000000000 --- a/dev/Generated/PipsPagerTemplateSettings.properties.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class PipsPagerTemplateSettingsProperties -{ -public: - PipsPagerTemplateSettingsProperties(); - - void Dispatcher(winrt::CoreDispatcher const& value); - winrt::CoreDispatcher Dispatcher(); - - void PipsPagerItems(winrt::IVector const& value); - winrt::IVector PipsPagerItems(); - - static winrt::DependencyProperty DispatcherProperty() { return s_DispatcherProperty; } - static winrt::DependencyProperty PipsPagerItemsProperty() { return s_PipsPagerItemsProperty; } - - static GlobalDependencyProperty s_DispatcherProperty; - static GlobalDependencyProperty s_PipsPagerItemsProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/ProgressBar.properties.cpp b/dev/Generated/ProgressBar.properties.cpp deleted file mode 100644 index ac139cffa5..0000000000 --- a/dev/Generated/ProgressBar.properties.cpp +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ProgressBar.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ProgressBar) -} - -#include "ProgressBar.g.cpp" - -GlobalDependencyProperty ProgressBarProperties::s_IsIndeterminateProperty{ nullptr }; -GlobalDependencyProperty ProgressBarProperties::s_ShowErrorProperty{ nullptr }; -GlobalDependencyProperty ProgressBarProperties::s_ShowPausedProperty{ nullptr }; -GlobalDependencyProperty ProgressBarProperties::s_TemplateSettingsProperty{ nullptr }; - -ProgressBarProperties::ProgressBarProperties() -{ - EnsureProperties(); -} - -void ProgressBarProperties::EnsureProperties() -{ - if (!s_IsIndeterminateProperty) - { - s_IsIndeterminateProperty = - InitializeDependencyProperty( - L"IsIndeterminate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsIndeterminatePropertyChanged)); - } - if (!s_ShowErrorProperty) - { - s_ShowErrorProperty = - InitializeDependencyProperty( - L"ShowError", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnShowErrorPropertyChanged)); - } - if (!s_ShowPausedProperty) - { - s_ShowPausedProperty = - InitializeDependencyProperty( - L"ShowPaused", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnShowPausedPropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void ProgressBarProperties::ClearProperties() -{ - s_IsIndeterminateProperty = nullptr; - s_ShowErrorProperty = nullptr; - s_ShowPausedProperty = nullptr; - s_TemplateSettingsProperty = nullptr; -} - -void ProgressBarProperties::OnIsIndeterminatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsIndeterminatePropertyChanged(args); -} - -void ProgressBarProperties::OnShowErrorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnShowErrorPropertyChanged(args); -} - -void ProgressBarProperties::OnShowPausedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnShowPausedPropertyChanged(args); -} - -void ProgressBarProperties::IsIndeterminate(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsIndeterminateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ProgressBarProperties::IsIndeterminate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsIndeterminateProperty)); -} - -void ProgressBarProperties::ShowError(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ShowErrorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ProgressBarProperties::ShowError() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ShowErrorProperty)); -} - -void ProgressBarProperties::ShowPaused(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ShowPausedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ProgressBarProperties::ShowPaused() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ShowPausedProperty)); -} - -void ProgressBarProperties::TemplateSettings(winrt::ProgressBarTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ProgressBarTemplateSettings ProgressBarProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} diff --git a/dev/Generated/ProgressBar.properties.h b/dev/Generated/ProgressBar.properties.h deleted file mode 100644 index 2364ef050d..0000000000 --- a/dev/Generated/ProgressBar.properties.h +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ProgressBarProperties -{ -public: - ProgressBarProperties(); - - void IsIndeterminate(bool value); - bool IsIndeterminate(); - - void ShowError(bool value); - bool ShowError(); - - void ShowPaused(bool value); - bool ShowPaused(); - - void TemplateSettings(winrt::ProgressBarTemplateSettings const& value); - winrt::ProgressBarTemplateSettings TemplateSettings(); - - static winrt::DependencyProperty IsIndeterminateProperty() { return s_IsIndeterminateProperty; } - static winrt::DependencyProperty ShowErrorProperty() { return s_ShowErrorProperty; } - static winrt::DependencyProperty ShowPausedProperty() { return s_ShowPausedProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - - static GlobalDependencyProperty s_IsIndeterminateProperty; - static GlobalDependencyProperty s_ShowErrorProperty; - static GlobalDependencyProperty s_ShowPausedProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnIsIndeterminatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnShowErrorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnShowPausedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ProgressBarAutomationPeer.properties.cpp b/dev/Generated/ProgressBarAutomationPeer.properties.cpp deleted file mode 100644 index 229559e0bf..0000000000 --- a/dev/Generated/ProgressBarAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ProgressBarAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(ProgressBarAutomationPeer) -} - -#include "ProgressBarAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ProgressBarTemplateSettings.properties.cpp b/dev/Generated/ProgressBarTemplateSettings.properties.cpp deleted file mode 100644 index 8ac0394ab7..0000000000 --- a/dev/Generated/ProgressBarTemplateSettings.properties.cpp +++ /dev/null @@ -1,333 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ProgressBarTemplateSettings.h" - -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_ClipRectProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_Container2AnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_Container2AnimationStartPositionProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_ContainerAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_ContainerAnimationMidPositionProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_ContainerAnimationStartPositionProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_DispatcherProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_EllipseAnimationEndPositionProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_EllipseAnimationWellPositionProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_EllipseDiameterProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_EllipseOffsetProperty{ nullptr }; -GlobalDependencyProperty ProgressBarTemplateSettingsProperties::s_IndicatorLengthDeltaProperty{ nullptr }; - -ProgressBarTemplateSettingsProperties::ProgressBarTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void ProgressBarTemplateSettingsProperties::EnsureProperties() -{ - if (!s_ClipRectProperty) - { - s_ClipRectProperty = - InitializeDependencyProperty( - L"ClipRect", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_Container2AnimationEndPositionProperty) - { - s_Container2AnimationEndPositionProperty = - InitializeDependencyProperty( - L"Container2AnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_Container2AnimationStartPositionProperty) - { - s_Container2AnimationStartPositionProperty = - InitializeDependencyProperty( - L"Container2AnimationStartPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ContainerAnimationEndPositionProperty) - { - s_ContainerAnimationEndPositionProperty = - InitializeDependencyProperty( - L"ContainerAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ContainerAnimationMidPositionProperty) - { - s_ContainerAnimationMidPositionProperty = - InitializeDependencyProperty( - L"ContainerAnimationMidPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ContainerAnimationStartPositionProperty) - { - s_ContainerAnimationStartPositionProperty = - InitializeDependencyProperty( - L"ContainerAnimationStartPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_DispatcherProperty) - { - s_DispatcherProperty = - InitializeDependencyProperty( - L"Dispatcher", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_EllipseAnimationEndPositionProperty) - { - s_EllipseAnimationEndPositionProperty = - InitializeDependencyProperty( - L"EllipseAnimationEndPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_EllipseAnimationWellPositionProperty) - { - s_EllipseAnimationWellPositionProperty = - InitializeDependencyProperty( - L"EllipseAnimationWellPosition", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_EllipseDiameterProperty) - { - s_EllipseDiameterProperty = - InitializeDependencyProperty( - L"EllipseDiameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_EllipseOffsetProperty) - { - s_EllipseOffsetProperty = - InitializeDependencyProperty( - L"EllipseOffset", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_IndicatorLengthDeltaProperty) - { - s_IndicatorLengthDeltaProperty = - InitializeDependencyProperty( - L"IndicatorLengthDelta", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void ProgressBarTemplateSettingsProperties::ClearProperties() -{ - s_ClipRectProperty = nullptr; - s_Container2AnimationEndPositionProperty = nullptr; - s_Container2AnimationStartPositionProperty = nullptr; - s_ContainerAnimationEndPositionProperty = nullptr; - s_ContainerAnimationMidPositionProperty = nullptr; - s_ContainerAnimationStartPositionProperty = nullptr; - s_DispatcherProperty = nullptr; - s_EllipseAnimationEndPositionProperty = nullptr; - s_EllipseAnimationWellPositionProperty = nullptr; - s_EllipseDiameterProperty = nullptr; - s_EllipseOffsetProperty = nullptr; - s_IndicatorLengthDeltaProperty = nullptr; -} - -void ProgressBarTemplateSettingsProperties::ClipRect(winrt::RectangleGeometry const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ClipRectProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::RectangleGeometry ProgressBarTemplateSettingsProperties::ClipRect() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ClipRectProperty)); -} - -void ProgressBarTemplateSettingsProperties::Container2AnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_Container2AnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::Container2AnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_Container2AnimationEndPositionProperty)); -} - -void ProgressBarTemplateSettingsProperties::Container2AnimationStartPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_Container2AnimationStartPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::Container2AnimationStartPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_Container2AnimationStartPositionProperty)); -} - -void ProgressBarTemplateSettingsProperties::ContainerAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContainerAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::ContainerAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContainerAnimationEndPositionProperty)); -} - -void ProgressBarTemplateSettingsProperties::ContainerAnimationMidPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContainerAnimationMidPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::ContainerAnimationMidPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContainerAnimationMidPositionProperty)); -} - -void ProgressBarTemplateSettingsProperties::ContainerAnimationStartPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContainerAnimationStartPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::ContainerAnimationStartPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContainerAnimationStartPositionProperty)); -} - -void ProgressBarTemplateSettingsProperties::Dispatcher(winrt::CoreDispatcher const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DispatcherProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CoreDispatcher ProgressBarTemplateSettingsProperties::Dispatcher() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DispatcherProperty)); -} - -void ProgressBarTemplateSettingsProperties::EllipseAnimationEndPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_EllipseAnimationEndPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::EllipseAnimationEndPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_EllipseAnimationEndPositionProperty)); -} - -void ProgressBarTemplateSettingsProperties::EllipseAnimationWellPosition(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_EllipseAnimationWellPositionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::EllipseAnimationWellPosition() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_EllipseAnimationWellPositionProperty)); -} - -void ProgressBarTemplateSettingsProperties::EllipseDiameter(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_EllipseDiameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::EllipseDiameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_EllipseDiameterProperty)); -} - -void ProgressBarTemplateSettingsProperties::EllipseOffset(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_EllipseOffsetProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::EllipseOffset() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_EllipseOffsetProperty)); -} - -void ProgressBarTemplateSettingsProperties::IndicatorLengthDelta(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IndicatorLengthDeltaProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressBarTemplateSettingsProperties::IndicatorLengthDelta() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IndicatorLengthDeltaProperty)); -} diff --git a/dev/Generated/ProgressBarTemplateSettings.properties.h b/dev/Generated/ProgressBarTemplateSettings.properties.h deleted file mode 100644 index d8e4d1ad8f..0000000000 --- a/dev/Generated/ProgressBarTemplateSettings.properties.h +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ProgressBarTemplateSettingsProperties -{ -public: - ProgressBarTemplateSettingsProperties(); - - void ClipRect(winrt::RectangleGeometry const& value); - winrt::RectangleGeometry ClipRect(); - - void Container2AnimationEndPosition(double value); - double Container2AnimationEndPosition(); - - void Container2AnimationStartPosition(double value); - double Container2AnimationStartPosition(); - - void ContainerAnimationEndPosition(double value); - double ContainerAnimationEndPosition(); - - void ContainerAnimationMidPosition(double value); - double ContainerAnimationMidPosition(); - - void ContainerAnimationStartPosition(double value); - double ContainerAnimationStartPosition(); - - void Dispatcher(winrt::CoreDispatcher const& value); - winrt::CoreDispatcher Dispatcher(); - - void EllipseAnimationEndPosition(double value); - double EllipseAnimationEndPosition(); - - void EllipseAnimationWellPosition(double value); - double EllipseAnimationWellPosition(); - - void EllipseDiameter(double value); - double EllipseDiameter(); - - void EllipseOffset(double value); - double EllipseOffset(); - - void IndicatorLengthDelta(double value); - double IndicatorLengthDelta(); - - static winrt::DependencyProperty ClipRectProperty() { return s_ClipRectProperty; } - static winrt::DependencyProperty Container2AnimationEndPositionProperty() { return s_Container2AnimationEndPositionProperty; } - static winrt::DependencyProperty Container2AnimationStartPositionProperty() { return s_Container2AnimationStartPositionProperty; } - static winrt::DependencyProperty ContainerAnimationEndPositionProperty() { return s_ContainerAnimationEndPositionProperty; } - static winrt::DependencyProperty ContainerAnimationMidPositionProperty() { return s_ContainerAnimationMidPositionProperty; } - static winrt::DependencyProperty ContainerAnimationStartPositionProperty() { return s_ContainerAnimationStartPositionProperty; } - static winrt::DependencyProperty DispatcherProperty() { return s_DispatcherProperty; } - static winrt::DependencyProperty EllipseAnimationEndPositionProperty() { return s_EllipseAnimationEndPositionProperty; } - static winrt::DependencyProperty EllipseAnimationWellPositionProperty() { return s_EllipseAnimationWellPositionProperty; } - static winrt::DependencyProperty EllipseDiameterProperty() { return s_EllipseDiameterProperty; } - static winrt::DependencyProperty EllipseOffsetProperty() { return s_EllipseOffsetProperty; } - static winrt::DependencyProperty IndicatorLengthDeltaProperty() { return s_IndicatorLengthDeltaProperty; } - - static GlobalDependencyProperty s_ClipRectProperty; - static GlobalDependencyProperty s_Container2AnimationEndPositionProperty; - static GlobalDependencyProperty s_Container2AnimationStartPositionProperty; - static GlobalDependencyProperty s_ContainerAnimationEndPositionProperty; - static GlobalDependencyProperty s_ContainerAnimationMidPositionProperty; - static GlobalDependencyProperty s_ContainerAnimationStartPositionProperty; - static GlobalDependencyProperty s_DispatcherProperty; - static GlobalDependencyProperty s_EllipseAnimationEndPositionProperty; - static GlobalDependencyProperty s_EllipseAnimationWellPositionProperty; - static GlobalDependencyProperty s_EllipseDiameterProperty; - static GlobalDependencyProperty s_EllipseOffsetProperty; - static GlobalDependencyProperty s_IndicatorLengthDeltaProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/ProgressRing.properties.cpp b/dev/Generated/ProgressRing.properties.cpp deleted file mode 100644 index c04d7bff71..0000000000 --- a/dev/Generated/ProgressRing.properties.cpp +++ /dev/null @@ -1,292 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ProgressRing.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ProgressRing) -} - -#include "ProgressRing.g.cpp" - -GlobalDependencyProperty ProgressRingProperties::s_DeterminateSourceProperty{ nullptr }; -GlobalDependencyProperty ProgressRingProperties::s_IndeterminateSourceProperty{ nullptr }; -GlobalDependencyProperty ProgressRingProperties::s_IsActiveProperty{ nullptr }; -GlobalDependencyProperty ProgressRingProperties::s_IsIndeterminateProperty{ nullptr }; -GlobalDependencyProperty ProgressRingProperties::s_MaximumProperty{ nullptr }; -GlobalDependencyProperty ProgressRingProperties::s_MinimumProperty{ nullptr }; -GlobalDependencyProperty ProgressRingProperties::s_TemplateSettingsProperty{ nullptr }; -GlobalDependencyProperty ProgressRingProperties::s_ValueProperty{ nullptr }; - -ProgressRingProperties::ProgressRingProperties() -{ - EnsureProperties(); -} - -void ProgressRingProperties::EnsureProperties() -{ - if (!s_DeterminateSourceProperty) - { - s_DeterminateSourceProperty = - InitializeDependencyProperty( - L"DeterminateSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnDeterminateSourcePropertyChanged)); - } - if (!s_IndeterminateSourceProperty) - { - s_IndeterminateSourceProperty = - InitializeDependencyProperty( - L"IndeterminateSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIndeterminateSourcePropertyChanged)); - } - if (!s_IsActiveProperty) - { - s_IsActiveProperty = - InitializeDependencyProperty( - L"IsActive", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsActivePropertyChanged)); - } - if (!s_IsIndeterminateProperty) - { - s_IsIndeterminateProperty = - InitializeDependencyProperty( - L"IsIndeterminate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsIndeterminatePropertyChanged)); - } - if (!s_MaximumProperty) - { - s_MaximumProperty = - InitializeDependencyProperty( - L"Maximum", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(100.0), - winrt::PropertyChangedCallback(&OnMaximumPropertyChanged)); - } - if (!s_MinimumProperty) - { - s_MinimumProperty = - InitializeDependencyProperty( - L"Minimum", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnMinimumPropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ValueProperty) - { - s_ValueProperty = - InitializeDependencyProperty( - L"Value", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnValuePropertyChanged)); - } -} - -void ProgressRingProperties::ClearProperties() -{ - s_DeterminateSourceProperty = nullptr; - s_IndeterminateSourceProperty = nullptr; - s_IsActiveProperty = nullptr; - s_IsIndeterminateProperty = nullptr; - s_MaximumProperty = nullptr; - s_MinimumProperty = nullptr; - s_TemplateSettingsProperty = nullptr; - s_ValueProperty = nullptr; -} - -void ProgressRingProperties::OnDeterminateSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnDeterminateSourcePropertyChanged(args); -} - -void ProgressRingProperties::OnIndeterminateSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIndeterminateSourcePropertyChanged(args); -} - -void ProgressRingProperties::OnIsActivePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsActivePropertyChanged(args); -} - -void ProgressRingProperties::OnIsIndeterminatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsIndeterminatePropertyChanged(args); -} - -void ProgressRingProperties::OnMaximumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMaximumPropertyChanged(args); -} - -void ProgressRingProperties::OnMinimumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMinimumPropertyChanged(args); -} - -void ProgressRingProperties::OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnValuePropertyChanged(args); -} - -void ProgressRingProperties::DeterminateSource(winrt::IAnimatedVisualSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DeterminateSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IAnimatedVisualSource ProgressRingProperties::DeterminateSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DeterminateSourceProperty)); -} - -void ProgressRingProperties::IndeterminateSource(winrt::IAnimatedVisualSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IndeterminateSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IAnimatedVisualSource ProgressRingProperties::IndeterminateSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IndeterminateSourceProperty)); -} - -void ProgressRingProperties::IsActive(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsActiveProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ProgressRingProperties::IsActive() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsActiveProperty)); -} - -void ProgressRingProperties::IsIndeterminate(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsIndeterminateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ProgressRingProperties::IsIndeterminate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsIndeterminateProperty)); -} - -void ProgressRingProperties::Maximum(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaximumProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressRingProperties::Maximum() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaximumProperty)); -} - -void ProgressRingProperties::Minimum(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinimumProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressRingProperties::Minimum() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinimumProperty)); -} - -void ProgressRingProperties::TemplateSettings(winrt::ProgressRingTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ProgressRingTemplateSettings ProgressRingProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -void ProgressRingProperties::Value(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressRingProperties::Value() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ValueProperty)); -} diff --git a/dev/Generated/ProgressRing.properties.h b/dev/Generated/ProgressRing.properties.h deleted file mode 100644 index f6de36b2e5..0000000000 --- a/dev/Generated/ProgressRing.properties.h +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ProgressRingProperties -{ -public: - ProgressRingProperties(); - - void DeterminateSource(winrt::IAnimatedVisualSource const& value); - winrt::IAnimatedVisualSource DeterminateSource(); - - void IndeterminateSource(winrt::IAnimatedVisualSource const& value); - winrt::IAnimatedVisualSource IndeterminateSource(); - - void IsActive(bool value); - bool IsActive(); - - void IsIndeterminate(bool value); - bool IsIndeterminate(); - - void Maximum(double value); - double Maximum(); - - void Minimum(double value); - double Minimum(); - - void TemplateSettings(winrt::ProgressRingTemplateSettings const& value); - winrt::ProgressRingTemplateSettings TemplateSettings(); - - void Value(double value); - double Value(); - - static winrt::DependencyProperty DeterminateSourceProperty() { return s_DeterminateSourceProperty; } - static winrt::DependencyProperty IndeterminateSourceProperty() { return s_IndeterminateSourceProperty; } - static winrt::DependencyProperty IsActiveProperty() { return s_IsActiveProperty; } - static winrt::DependencyProperty IsIndeterminateProperty() { return s_IsIndeterminateProperty; } - static winrt::DependencyProperty MaximumProperty() { return s_MaximumProperty; } - static winrt::DependencyProperty MinimumProperty() { return s_MinimumProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - static winrt::DependencyProperty ValueProperty() { return s_ValueProperty; } - - static GlobalDependencyProperty s_DeterminateSourceProperty; - static GlobalDependencyProperty s_IndeterminateSourceProperty; - static GlobalDependencyProperty s_IsActiveProperty; - static GlobalDependencyProperty s_IsIndeterminateProperty; - static GlobalDependencyProperty s_MaximumProperty; - static GlobalDependencyProperty s_MinimumProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - static GlobalDependencyProperty s_ValueProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnDeterminateSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIndeterminateSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsActivePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsIndeterminatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaximumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinimumPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ProgressRingAutomationPeer.properties.cpp b/dev/Generated/ProgressRingAutomationPeer.properties.cpp deleted file mode 100644 index cfcc1e136b..0000000000 --- a/dev/Generated/ProgressRingAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ProgressRingAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(ProgressRingAutomationPeer) -} - -#include "ProgressRingAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ProgressRingTemplateSettings.properties.cpp b/dev/Generated/ProgressRingTemplateSettings.properties.cpp deleted file mode 100644 index 1ff26015c4..0000000000 --- a/dev/Generated/ProgressRingTemplateSettings.properties.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ProgressRingTemplateSettings.h" - -GlobalDependencyProperty ProgressRingTemplateSettingsProperties::s_DispatcherProperty{ nullptr }; -GlobalDependencyProperty ProgressRingTemplateSettingsProperties::s_EllipseDiameterProperty{ nullptr }; -GlobalDependencyProperty ProgressRingTemplateSettingsProperties::s_EllipseOffsetProperty{ nullptr }; -GlobalDependencyProperty ProgressRingTemplateSettingsProperties::s_MaxSideLengthProperty{ nullptr }; - -ProgressRingTemplateSettingsProperties::ProgressRingTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void ProgressRingTemplateSettingsProperties::EnsureProperties() -{ - if (!s_DispatcherProperty) - { - s_DispatcherProperty = - InitializeDependencyProperty( - L"Dispatcher", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_EllipseDiameterProperty) - { - s_EllipseDiameterProperty = - InitializeDependencyProperty( - L"EllipseDiameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_EllipseOffsetProperty) - { - s_EllipseOffsetProperty = - InitializeDependencyProperty( - L"EllipseOffset", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_MaxSideLengthProperty) - { - s_MaxSideLengthProperty = - InitializeDependencyProperty( - L"MaxSideLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void ProgressRingTemplateSettingsProperties::ClearProperties() -{ - s_DispatcherProperty = nullptr; - s_EllipseDiameterProperty = nullptr; - s_EllipseOffsetProperty = nullptr; - s_MaxSideLengthProperty = nullptr; -} - -void ProgressRingTemplateSettingsProperties::Dispatcher(winrt::CoreDispatcher const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DispatcherProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CoreDispatcher ProgressRingTemplateSettingsProperties::Dispatcher() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DispatcherProperty)); -} - -void ProgressRingTemplateSettingsProperties::EllipseDiameter(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_EllipseDiameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressRingTemplateSettingsProperties::EllipseDiameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_EllipseDiameterProperty)); -} - -void ProgressRingTemplateSettingsProperties::EllipseOffset(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_EllipseOffsetProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness ProgressRingTemplateSettingsProperties::EllipseOffset() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_EllipseOffsetProperty)); -} - -void ProgressRingTemplateSettingsProperties::MaxSideLength(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxSideLengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double ProgressRingTemplateSettingsProperties::MaxSideLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxSideLengthProperty)); -} diff --git a/dev/Generated/ProgressRingTemplateSettings.properties.h b/dev/Generated/ProgressRingTemplateSettings.properties.h deleted file mode 100644 index 123c803966..0000000000 --- a/dev/Generated/ProgressRingTemplateSettings.properties.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ProgressRingTemplateSettingsProperties -{ -public: - ProgressRingTemplateSettingsProperties(); - - void Dispatcher(winrt::CoreDispatcher const& value); - winrt::CoreDispatcher Dispatcher(); - - void EllipseDiameter(double value); - double EllipseDiameter(); - - void EllipseOffset(winrt::Thickness const& value); - winrt::Thickness EllipseOffset(); - - void MaxSideLength(double value); - double MaxSideLength(); - - static winrt::DependencyProperty DispatcherProperty() { return s_DispatcherProperty; } - static winrt::DependencyProperty EllipseDiameterProperty() { return s_EllipseDiameterProperty; } - static winrt::DependencyProperty EllipseOffsetProperty() { return s_EllipseOffsetProperty; } - static winrt::DependencyProperty MaxSideLengthProperty() { return s_MaxSideLengthProperty; } - - static GlobalDependencyProperty s_DispatcherProperty; - static GlobalDependencyProperty s_EllipseDiameterProperty; - static GlobalDependencyProperty s_EllipseOffsetProperty; - static GlobalDependencyProperty s_MaxSideLengthProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/PullToRefreshHelperTestApi.properties.cpp b/dev/Generated/PullToRefreshHelperTestApi.properties.cpp deleted file mode 100644 index 0874bbbc2a..0000000000 --- a/dev/Generated/PullToRefreshHelperTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "PullToRefreshHelperTestApi.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(PullToRefreshHelperTestApi) -} - -#include "PullToRefreshHelperTestApi.g.cpp" - - diff --git a/dev/Generated/RadialGradientBrush.properties.cpp b/dev/Generated/RadialGradientBrush.properties.cpp deleted file mode 100644 index 24c6bd1ec0..0000000000 --- a/dev/Generated/RadialGradientBrush.properties.cpp +++ /dev/null @@ -1,266 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RadialGradientBrush.h" - -namespace winrt::Microsoft::UI::Xaml::Media -{ - CppWinRTActivatableClassWithDPFactory(RadialGradientBrush) -} - -#include "RadialGradientBrush.g.cpp" - -GlobalDependencyProperty RadialGradientBrushProperties::s_CenterProperty{ nullptr }; -GlobalDependencyProperty RadialGradientBrushProperties::s_GradientOriginProperty{ nullptr }; -GlobalDependencyProperty RadialGradientBrushProperties::s_InterpolationSpaceProperty{ nullptr }; -GlobalDependencyProperty RadialGradientBrushProperties::s_MappingModeProperty{ nullptr }; -GlobalDependencyProperty RadialGradientBrushProperties::s_RadiusXProperty{ nullptr }; -GlobalDependencyProperty RadialGradientBrushProperties::s_RadiusYProperty{ nullptr }; -GlobalDependencyProperty RadialGradientBrushProperties::s_SpreadMethodProperty{ nullptr }; - -RadialGradientBrushProperties::RadialGradientBrushProperties() -{ - EnsureProperties(); -} - -void RadialGradientBrushProperties::EnsureProperties() -{ - if (!s_CenterProperty) - { - s_CenterProperty = - InitializeDependencyProperty( - L"Center", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Point(0.5,0.5)), - winrt::PropertyChangedCallback(&OnCenterPropertyChanged)); - } - if (!s_GradientOriginProperty) - { - s_GradientOriginProperty = - InitializeDependencyProperty( - L"GradientOrigin", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Point(0.5,0.5)), - winrt::PropertyChangedCallback(&OnGradientOriginPropertyChanged)); - } - if (!s_InterpolationSpaceProperty) - { - s_InterpolationSpaceProperty = - InitializeDependencyProperty( - L"InterpolationSpace", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Windows::UI::Composition::CompositionColorSpace::Auto), - winrt::PropertyChangedCallback(&OnInterpolationSpacePropertyChanged)); - } - if (!s_MappingModeProperty) - { - s_MappingModeProperty = - InitializeDependencyProperty( - L"MappingMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::BrushMappingMode::RelativeToBoundingBox), - winrt::PropertyChangedCallback(&OnMappingModePropertyChanged)); - } - if (!s_RadiusXProperty) - { - s_RadiusXProperty = - InitializeDependencyProperty( - L"RadiusX", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.5), - winrt::PropertyChangedCallback(&OnRadiusXPropertyChanged)); - } - if (!s_RadiusYProperty) - { - s_RadiusYProperty = - InitializeDependencyProperty( - L"RadiusY", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.5), - winrt::PropertyChangedCallback(&OnRadiusYPropertyChanged)); - } - if (!s_SpreadMethodProperty) - { - s_SpreadMethodProperty = - InitializeDependencyProperty( - L"SpreadMethod", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::GradientSpreadMethod::Pad), - winrt::PropertyChangedCallback(&OnSpreadMethodPropertyChanged)); - } -} - -void RadialGradientBrushProperties::ClearProperties() -{ - s_CenterProperty = nullptr; - s_GradientOriginProperty = nullptr; - s_InterpolationSpaceProperty = nullptr; - s_MappingModeProperty = nullptr; - s_RadiusXProperty = nullptr; - s_RadiusYProperty = nullptr; - s_SpreadMethodProperty = nullptr; -} - -void RadialGradientBrushProperties::OnCenterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnCenterPropertyChanged(args); -} - -void RadialGradientBrushProperties::OnGradientOriginPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnGradientOriginPropertyChanged(args); -} - -void RadialGradientBrushProperties::OnInterpolationSpacePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnInterpolationSpacePropertyChanged(args); -} - -void RadialGradientBrushProperties::OnMappingModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnMappingModePropertyChanged(args); -} - -void RadialGradientBrushProperties::OnRadiusXPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnRadiusXPropertyChanged(args); -} - -void RadialGradientBrushProperties::OnRadiusYPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnRadiusYPropertyChanged(args); -} - -void RadialGradientBrushProperties::OnSpreadMethodPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSpreadMethodPropertyChanged(args); -} - -void RadialGradientBrushProperties::Center(winrt::Point const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CenterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Point RadialGradientBrushProperties::Center() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CenterProperty)); -} - -void RadialGradientBrushProperties::GradientOrigin(winrt::Point const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_GradientOriginProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Point RadialGradientBrushProperties::GradientOrigin() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_GradientOriginProperty)); -} - -void RadialGradientBrushProperties::InterpolationSpace(winrt::CompositionColorSpace const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_InterpolationSpaceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::CompositionColorSpace RadialGradientBrushProperties::InterpolationSpace() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_InterpolationSpaceProperty)); -} - -void RadialGradientBrushProperties::MappingMode(winrt::BrushMappingMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MappingModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::BrushMappingMode RadialGradientBrushProperties::MappingMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MappingModeProperty)); -} - -void RadialGradientBrushProperties::RadiusX(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_RadiusXProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double RadialGradientBrushProperties::RadiusX() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_RadiusXProperty)); -} - -void RadialGradientBrushProperties::RadiusY(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_RadiusYProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double RadialGradientBrushProperties::RadiusY() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_RadiusYProperty)); -} - -void RadialGradientBrushProperties::SpreadMethod(winrt::GradientSpreadMethod const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SpreadMethodProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::GradientSpreadMethod RadialGradientBrushProperties::SpreadMethod() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SpreadMethodProperty)); -} diff --git a/dev/Generated/RadialGradientBrush.properties.h b/dev/Generated/RadialGradientBrush.properties.h deleted file mode 100644 index 9b8e9eaa24..0000000000 --- a/dev/Generated/RadialGradientBrush.properties.h +++ /dev/null @@ -1,79 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RadialGradientBrushProperties -{ -public: - RadialGradientBrushProperties(); - - void Center(winrt::Point const& value); - winrt::Point Center(); - - void GradientOrigin(winrt::Point const& value); - winrt::Point GradientOrigin(); - - void InterpolationSpace(winrt::CompositionColorSpace const& value); - winrt::CompositionColorSpace InterpolationSpace(); - - void MappingMode(winrt::BrushMappingMode const& value); - winrt::BrushMappingMode MappingMode(); - - void RadiusX(double value); - double RadiusX(); - - void RadiusY(double value); - double RadiusY(); - - void SpreadMethod(winrt::GradientSpreadMethod const& value); - winrt::GradientSpreadMethod SpreadMethod(); - - static winrt::DependencyProperty CenterProperty() { return s_CenterProperty; } - static winrt::DependencyProperty GradientOriginProperty() { return s_GradientOriginProperty; } - static winrt::DependencyProperty InterpolationSpaceProperty() { return s_InterpolationSpaceProperty; } - static winrt::DependencyProperty MappingModeProperty() { return s_MappingModeProperty; } - static winrt::DependencyProperty RadiusXProperty() { return s_RadiusXProperty; } - static winrt::DependencyProperty RadiusYProperty() { return s_RadiusYProperty; } - static winrt::DependencyProperty SpreadMethodProperty() { return s_SpreadMethodProperty; } - - static GlobalDependencyProperty s_CenterProperty; - static GlobalDependencyProperty s_GradientOriginProperty; - static GlobalDependencyProperty s_InterpolationSpaceProperty; - static GlobalDependencyProperty s_MappingModeProperty; - static GlobalDependencyProperty s_RadiusXProperty; - static GlobalDependencyProperty s_RadiusYProperty; - static GlobalDependencyProperty s_SpreadMethodProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnCenterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnGradientOriginPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnInterpolationSpacePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMappingModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnRadiusXPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnRadiusYPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSpreadMethodPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/RadioButtons.properties.cpp b/dev/Generated/RadioButtons.properties.cpp deleted file mode 100644 index b31cc1e741..0000000000 --- a/dev/Generated/RadioButtons.properties.cpp +++ /dev/null @@ -1,311 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RadioButtons.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RadioButtons) -} - -#include "RadioButtons.g.cpp" - -GlobalDependencyProperty RadioButtonsProperties::s_HeaderProperty{ nullptr }; -GlobalDependencyProperty RadioButtonsProperties::s_HeaderTemplateProperty{ nullptr }; -GlobalDependencyProperty RadioButtonsProperties::s_ItemsProperty{ nullptr }; -GlobalDependencyProperty RadioButtonsProperties::s_ItemsSourceProperty{ nullptr }; -GlobalDependencyProperty RadioButtonsProperties::s_ItemTemplateProperty{ nullptr }; -GlobalDependencyProperty RadioButtonsProperties::s_MaxColumnsProperty{ nullptr }; -GlobalDependencyProperty RadioButtonsProperties::s_SelectedIndexProperty{ nullptr }; -GlobalDependencyProperty RadioButtonsProperties::s_SelectedItemProperty{ nullptr }; - -RadioButtonsProperties::RadioButtonsProperties() - : m_selectionChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void RadioButtonsProperties::EnsureProperties() -{ - if (!s_HeaderProperty) - { - s_HeaderProperty = - InitializeDependencyProperty( - L"Header", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeaderPropertyChanged)); - } - if (!s_HeaderTemplateProperty) - { - s_HeaderTemplateProperty = - InitializeDependencyProperty( - L"HeaderTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeaderTemplatePropertyChanged)); - } - if (!s_ItemsProperty) - { - s_ItemsProperty = - InitializeDependencyProperty( - L"Items", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemsPropertyChanged)); - } - if (!s_ItemsSourceProperty) - { - s_ItemsSourceProperty = - InitializeDependencyProperty( - L"ItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemsSourcePropertyChanged)); - } - if (!s_ItemTemplateProperty) - { - s_ItemTemplateProperty = - InitializeDependencyProperty( - L"ItemTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemTemplatePropertyChanged)); - } - if (!s_MaxColumnsProperty) - { - s_MaxColumnsProperty = - InitializeDependencyProperty( - L"MaxColumns", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1), - winrt::PropertyChangedCallback(&OnMaxColumnsPropertyChanged)); - } - if (!s_SelectedIndexProperty) - { - s_SelectedIndexProperty = - InitializeDependencyProperty( - L"SelectedIndex", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-1), - winrt::PropertyChangedCallback(&OnSelectedIndexPropertyChanged)); - } - if (!s_SelectedItemProperty) - { - s_SelectedItemProperty = - InitializeDependencyProperty( - L"SelectedItem", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSelectedItemPropertyChanged)); - } -} - -void RadioButtonsProperties::ClearProperties() -{ - s_HeaderProperty = nullptr; - s_HeaderTemplateProperty = nullptr; - s_ItemsProperty = nullptr; - s_ItemsSourceProperty = nullptr; - s_ItemTemplateProperty = nullptr; - s_MaxColumnsProperty = nullptr; - s_SelectedIndexProperty = nullptr; - s_SelectedItemProperty = nullptr; -} - -void RadioButtonsProperties::OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::OnHeaderTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::OnItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::OnItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::OnMaxColumnsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::OnSelectedIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioButtonsProperties::Header(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable RadioButtonsProperties::Header() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderProperty)); -} - -void RadioButtonsProperties::HeaderTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate RadioButtonsProperties::HeaderTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderTemplateProperty)); -} - -void RadioButtonsProperties::Items(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector RadioButtonsProperties::Items() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_ItemsProperty)); -} - -void RadioButtonsProperties::ItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable RadioButtonsProperties::ItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemsSourceProperty)); -} - -void RadioButtonsProperties::ItemTemplate(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable RadioButtonsProperties::ItemTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemTemplateProperty)); -} - -void RadioButtonsProperties::MaxColumns(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxColumnsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int RadioButtonsProperties::MaxColumns() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxColumnsProperty)); -} - -void RadioButtonsProperties::SelectedIndex(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedIndexProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int RadioButtonsProperties::SelectedIndex() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedIndexProperty)); -} - -void RadioButtonsProperties::SelectedItem(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedItemProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable RadioButtonsProperties::SelectedItem() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedItemProperty)); -} - -winrt::event_token RadioButtonsProperties::SelectionChanged(winrt::SelectionChangedEventHandler const& value) -{ - return m_selectionChangedEventSource.add(value); -} - -void RadioButtonsProperties::SelectionChanged(winrt::event_token const& token) -{ - m_selectionChangedEventSource.remove(token); -} diff --git a/dev/Generated/RadioButtons.properties.h b/dev/Generated/RadioButtons.properties.h deleted file mode 100644 index 201da5730f..0000000000 --- a/dev/Generated/RadioButtons.properties.h +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RadioButtonsProperties -{ -public: - RadioButtonsProperties(); - - void Header(winrt::IInspectable const& value); - winrt::IInspectable Header(); - - void HeaderTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate HeaderTemplate(); - - void Items(winrt::IVector const& value); - winrt::IVector Items(); - - void ItemsSource(winrt::IInspectable const& value); - winrt::IInspectable ItemsSource(); - - void ItemTemplate(winrt::IInspectable const& value); - winrt::IInspectable ItemTemplate(); - - void MaxColumns(int value); - int MaxColumns(); - - void SelectedIndex(int value); - int SelectedIndex(); - - void SelectedItem(winrt::IInspectable const& value); - winrt::IInspectable SelectedItem(); - - static winrt::DependencyProperty HeaderProperty() { return s_HeaderProperty; } - static winrt::DependencyProperty HeaderTemplateProperty() { return s_HeaderTemplateProperty; } - static winrt::DependencyProperty ItemsProperty() { return s_ItemsProperty; } - static winrt::DependencyProperty ItemsSourceProperty() { return s_ItemsSourceProperty; } - static winrt::DependencyProperty ItemTemplateProperty() { return s_ItemTemplateProperty; } - static winrt::DependencyProperty MaxColumnsProperty() { return s_MaxColumnsProperty; } - static winrt::DependencyProperty SelectedIndexProperty() { return s_SelectedIndexProperty; } - static winrt::DependencyProperty SelectedItemProperty() { return s_SelectedItemProperty; } - - static GlobalDependencyProperty s_HeaderProperty; - static GlobalDependencyProperty s_HeaderTemplateProperty; - static GlobalDependencyProperty s_ItemsProperty; - static GlobalDependencyProperty s_ItemsSourceProperty; - static GlobalDependencyProperty s_ItemTemplateProperty; - static GlobalDependencyProperty s_MaxColumnsProperty; - static GlobalDependencyProperty s_SelectedIndexProperty; - static GlobalDependencyProperty s_SelectedItemProperty; - - winrt::event_token SelectionChanged(winrt::SelectionChangedEventHandler const& value); - void SelectionChanged(winrt::event_token const& token); - - event_source m_selectionChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHeaderTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemTemplatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxColumnsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/RadioButtonsAutomationPeer.properties.cpp b/dev/Generated/RadioButtonsAutomationPeer.properties.cpp deleted file mode 100644 index 0a19c00095..0000000000 --- a/dev/Generated/RadioButtonsAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RadioButtonsAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(RadioButtonsAutomationPeer) -} - -#include "RadioButtonsAutomationPeer.g.cpp" - - diff --git a/dev/Generated/RadioButtonsTestHooks.properties.cpp b/dev/Generated/RadioButtonsTestHooks.properties.cpp deleted file mode 100644 index 0ad81719cd..0000000000 --- a/dev/Generated/RadioButtonsTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RadioButtonsTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(RadioButtonsTestHooks) -} - -#include "RadioButtonsTestHooks.g.cpp" - - diff --git a/dev/Generated/RadioMenuFlyoutItem.properties.cpp b/dev/Generated/RadioMenuFlyoutItem.properties.cpp deleted file mode 100644 index 5e40c21b8c..0000000000 --- a/dev/Generated/RadioMenuFlyoutItem.properties.cpp +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RadioMenuFlyoutItem.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RadioMenuFlyoutItem) -} - -#include "RadioMenuFlyoutItem.g.cpp" - -GlobalDependencyProperty RadioMenuFlyoutItemProperties::s_AreCheckStatesEnabledProperty{ nullptr }; -GlobalDependencyProperty RadioMenuFlyoutItemProperties::s_GroupNameProperty{ nullptr }; -GlobalDependencyProperty RadioMenuFlyoutItemProperties::s_IsCheckedProperty{ nullptr }; - -RadioMenuFlyoutItemProperties::RadioMenuFlyoutItemProperties() -{ - EnsureProperties(); -} - -void RadioMenuFlyoutItemProperties::EnsureProperties() -{ - if (!s_AreCheckStatesEnabledProperty) - { - s_AreCheckStatesEnabledProperty = - InitializeDependencyProperty( - L"AreCheckStatesEnabled", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - &RadioMenuFlyoutItem::OnAreCheckStatesEnabledPropertyChanged); - } - if (!s_GroupNameProperty) - { - s_GroupNameProperty = - InitializeDependencyProperty( - L"GroupName", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnGroupNamePropertyChanged)); - } - if (!s_IsCheckedProperty) - { - s_IsCheckedProperty = - InitializeDependencyProperty( - L"IsChecked", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsCheckedPropertyChanged)); - } -} - -void RadioMenuFlyoutItemProperties::ClearProperties() -{ - s_AreCheckStatesEnabledProperty = nullptr; - s_GroupNameProperty = nullptr; - s_IsCheckedProperty = nullptr; -} - -void RadioMenuFlyoutItemProperties::OnGroupNamePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RadioMenuFlyoutItemProperties::OnIsCheckedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - - -void RadioMenuFlyoutItemProperties::SetAreCheckStatesEnabled(winrt::MenuFlyoutSubItem const& target, bool value) -{ - target.SetValue(s_AreCheckStatesEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -bool RadioMenuFlyoutItemProperties::GetAreCheckStatesEnabled(winrt::MenuFlyoutSubItem const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_AreCheckStatesEnabledProperty)); -} - -void RadioMenuFlyoutItemProperties::GroupName(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_GroupNameProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RadioMenuFlyoutItemProperties::GroupName() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_GroupNameProperty)); -} - -void RadioMenuFlyoutItemProperties::IsChecked(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsCheckedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool RadioMenuFlyoutItemProperties::IsChecked() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsCheckedProperty)); -} diff --git a/dev/Generated/RadioMenuFlyoutItem.properties.h b/dev/Generated/RadioMenuFlyoutItem.properties.h deleted file mode 100644 index 0aa21db34a..0000000000 --- a/dev/Generated/RadioMenuFlyoutItem.properties.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RadioMenuFlyoutItemProperties -{ -public: - RadioMenuFlyoutItemProperties(); - - static void SetAreCheckStatesEnabled(winrt::MenuFlyoutSubItem const& target, bool value); - static bool GetAreCheckStatesEnabled(winrt::MenuFlyoutSubItem const& target); - - void GroupName(winrt::hstring const& value); - winrt::hstring GroupName(); - - void IsChecked(bool value); - bool IsChecked(); - - static winrt::DependencyProperty AreCheckStatesEnabledProperty() { return s_AreCheckStatesEnabledProperty; } - static winrt::DependencyProperty GroupNameProperty() { return s_GroupNameProperty; } - static winrt::DependencyProperty IsCheckedProperty() { return s_IsCheckedProperty; } - - static GlobalDependencyProperty s_AreCheckStatesEnabledProperty; - static GlobalDependencyProperty s_GroupNameProperty; - static GlobalDependencyProperty s_IsCheckedProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnGroupNamePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsCheckedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/RatingControl.properties.cpp b/dev/Generated/RatingControl.properties.cpp deleted file mode 100644 index 6f185fc8b1..0000000000 --- a/dev/Generated/RatingControl.properties.cpp +++ /dev/null @@ -1,311 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RatingControl.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RatingControl) -} - -#include "RatingControl.g.cpp" - -GlobalDependencyProperty RatingControlProperties::s_CaptionProperty{ nullptr }; -GlobalDependencyProperty RatingControlProperties::s_InitialSetValueProperty{ nullptr }; -GlobalDependencyProperty RatingControlProperties::s_IsClearEnabledProperty{ nullptr }; -GlobalDependencyProperty RatingControlProperties::s_IsReadOnlyProperty{ nullptr }; -GlobalDependencyProperty RatingControlProperties::s_ItemInfoProperty{ nullptr }; -GlobalDependencyProperty RatingControlProperties::s_MaxRatingProperty{ nullptr }; -GlobalDependencyProperty RatingControlProperties::s_PlaceholderValueProperty{ nullptr }; -GlobalDependencyProperty RatingControlProperties::s_ValueProperty{ nullptr }; - -RatingControlProperties::RatingControlProperties() - : m_valueChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void RatingControlProperties::EnsureProperties() -{ - if (!s_CaptionProperty) - { - s_CaptionProperty = - InitializeDependencyProperty( - L"Caption", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCaptionPropertyChanged)); - } - if (!s_InitialSetValueProperty) - { - s_InitialSetValueProperty = - InitializeDependencyProperty( - L"InitialSetValue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1), - winrt::PropertyChangedCallback(&OnInitialSetValuePropertyChanged)); - } - if (!s_IsClearEnabledProperty) - { - s_IsClearEnabledProperty = - InitializeDependencyProperty( - L"IsClearEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsClearEnabledPropertyChanged)); - } - if (!s_IsReadOnlyProperty) - { - s_IsReadOnlyProperty = - InitializeDependencyProperty( - L"IsReadOnly", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsReadOnlyPropertyChanged)); - } - if (!s_ItemInfoProperty) - { - s_ItemInfoProperty = - InitializeDependencyProperty( - L"ItemInfo", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemInfoPropertyChanged)); - } - if (!s_MaxRatingProperty) - { - s_MaxRatingProperty = - InitializeDependencyProperty( - L"MaxRating", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(5), - winrt::PropertyChangedCallback(&OnMaxRatingPropertyChanged)); - } - if (!s_PlaceholderValueProperty) - { - s_PlaceholderValueProperty = - InitializeDependencyProperty( - L"PlaceholderValue", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-1), - winrt::PropertyChangedCallback(&OnPlaceholderValuePropertyChanged)); - } - if (!s_ValueProperty) - { - s_ValueProperty = - InitializeDependencyProperty( - L"Value", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-1), - winrt::PropertyChangedCallback(&OnValuePropertyChanged)); - } -} - -void RatingControlProperties::ClearProperties() -{ - s_CaptionProperty = nullptr; - s_InitialSetValueProperty = nullptr; - s_IsClearEnabledProperty = nullptr; - s_IsReadOnlyProperty = nullptr; - s_ItemInfoProperty = nullptr; - s_MaxRatingProperty = nullptr; - s_PlaceholderValueProperty = nullptr; - s_ValueProperty = nullptr; -} - -void RatingControlProperties::OnCaptionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::OnInitialSetValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::OnIsClearEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::OnIsReadOnlyPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::OnItemInfoPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::OnMaxRatingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::OnPlaceholderValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RatingControlProperties::Caption(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CaptionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RatingControlProperties::Caption() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CaptionProperty)); -} - -void RatingControlProperties::InitialSetValue(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_InitialSetValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int RatingControlProperties::InitialSetValue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_InitialSetValueProperty)); -} - -void RatingControlProperties::IsClearEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsClearEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool RatingControlProperties::IsClearEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsClearEnabledProperty)); -} - -void RatingControlProperties::IsReadOnly(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsReadOnlyProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool RatingControlProperties::IsReadOnly() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsReadOnlyProperty)); -} - -void RatingControlProperties::ItemInfo(winrt::RatingItemInfo const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemInfoProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::RatingItemInfo RatingControlProperties::ItemInfo() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemInfoProperty)); -} - -void RatingControlProperties::MaxRating(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxRatingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int RatingControlProperties::MaxRating() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxRatingProperty)); -} - -void RatingControlProperties::PlaceholderValue(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PlaceholderValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double RatingControlProperties::PlaceholderValue() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PlaceholderValueProperty)); -} - -void RatingControlProperties::Value(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ValueProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double RatingControlProperties::Value() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ValueProperty)); -} - -winrt::event_token RatingControlProperties::ValueChanged(winrt::TypedEventHandler const& value) -{ - return m_valueChangedEventSource.add(value); -} - -void RatingControlProperties::ValueChanged(winrt::event_token const& token) -{ - m_valueChangedEventSource.remove(token); -} diff --git a/dev/Generated/RatingControl.properties.h b/dev/Generated/RatingControl.properties.h deleted file mode 100644 index e8943ba3ea..0000000000 --- a/dev/Generated/RatingControl.properties.h +++ /dev/null @@ -1,93 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RatingControlProperties -{ -public: - RatingControlProperties(); - - void Caption(winrt::hstring const& value); - winrt::hstring Caption(); - - void InitialSetValue(int value); - int InitialSetValue(); - - void IsClearEnabled(bool value); - bool IsClearEnabled(); - - void IsReadOnly(bool value); - bool IsReadOnly(); - - void ItemInfo(winrt::RatingItemInfo const& value); - winrt::RatingItemInfo ItemInfo(); - - void MaxRating(int value); - int MaxRating(); - - void PlaceholderValue(double value); - double PlaceholderValue(); - - void Value(double value); - double Value(); - - static winrt::DependencyProperty CaptionProperty() { return s_CaptionProperty; } - static winrt::DependencyProperty InitialSetValueProperty() { return s_InitialSetValueProperty; } - static winrt::DependencyProperty IsClearEnabledProperty() { return s_IsClearEnabledProperty; } - static winrt::DependencyProperty IsReadOnlyProperty() { return s_IsReadOnlyProperty; } - static winrt::DependencyProperty ItemInfoProperty() { return s_ItemInfoProperty; } - static winrt::DependencyProperty MaxRatingProperty() { return s_MaxRatingProperty; } - static winrt::DependencyProperty PlaceholderValueProperty() { return s_PlaceholderValueProperty; } - static winrt::DependencyProperty ValueProperty() { return s_ValueProperty; } - - static GlobalDependencyProperty s_CaptionProperty; - static GlobalDependencyProperty s_InitialSetValueProperty; - static GlobalDependencyProperty s_IsClearEnabledProperty; - static GlobalDependencyProperty s_IsReadOnlyProperty; - static GlobalDependencyProperty s_ItemInfoProperty; - static GlobalDependencyProperty s_MaxRatingProperty; - static GlobalDependencyProperty s_PlaceholderValueProperty; - static GlobalDependencyProperty s_ValueProperty; - - winrt::event_token ValueChanged(winrt::TypedEventHandler const& value); - void ValueChanged(winrt::event_token const& token); - - event_source> m_valueChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnCaptionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnInitialSetValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsClearEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsReadOnlyPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemInfoPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxRatingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPlaceholderValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnValuePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/RatingControlAutomationPeer.properties.cpp b/dev/Generated/RatingControlAutomationPeer.properties.cpp deleted file mode 100644 index f582dfd234..0000000000 --- a/dev/Generated/RatingControlAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RatingControlAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(RatingControlAutomationPeer) -} - -#include "RatingControlAutomationPeer.g.cpp" - - diff --git a/dev/Generated/RatingItemFontInfo.properties.cpp b/dev/Generated/RatingItemFontInfo.properties.cpp deleted file mode 100644 index a0c91f38d4..0000000000 --- a/dev/Generated/RatingItemFontInfo.properties.cpp +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RatingItemFontInfo.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RatingItemFontInfo) -} - -#include "RatingItemFontInfo.g.cpp" - -GlobalDependencyProperty RatingItemFontInfoProperties::s_DisabledGlyphProperty{ nullptr }; -GlobalDependencyProperty RatingItemFontInfoProperties::s_GlyphProperty{ nullptr }; -GlobalDependencyProperty RatingItemFontInfoProperties::s_PlaceholderGlyphProperty{ nullptr }; -GlobalDependencyProperty RatingItemFontInfoProperties::s_PointerOverGlyphProperty{ nullptr }; -GlobalDependencyProperty RatingItemFontInfoProperties::s_PointerOverPlaceholderGlyphProperty{ nullptr }; -GlobalDependencyProperty RatingItemFontInfoProperties::s_UnsetGlyphProperty{ nullptr }; - -RatingItemFontInfoProperties::RatingItemFontInfoProperties() -{ - EnsureProperties(); -} - -void RatingItemFontInfoProperties::EnsureProperties() -{ - if (!s_DisabledGlyphProperty) - { - s_DisabledGlyphProperty = - InitializeDependencyProperty( - L"DisabledGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_GlyphProperty) - { - s_GlyphProperty = - InitializeDependencyProperty( - L"Glyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PlaceholderGlyphProperty) - { - s_PlaceholderGlyphProperty = - InitializeDependencyProperty( - L"PlaceholderGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PointerOverGlyphProperty) - { - s_PointerOverGlyphProperty = - InitializeDependencyProperty( - L"PointerOverGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PointerOverPlaceholderGlyphProperty) - { - s_PointerOverPlaceholderGlyphProperty = - InitializeDependencyProperty( - L"PointerOverPlaceholderGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_UnsetGlyphProperty) - { - s_UnsetGlyphProperty = - InitializeDependencyProperty( - L"UnsetGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void RatingItemFontInfoProperties::ClearProperties() -{ - s_DisabledGlyphProperty = nullptr; - s_GlyphProperty = nullptr; - s_PlaceholderGlyphProperty = nullptr; - s_PointerOverGlyphProperty = nullptr; - s_PointerOverPlaceholderGlyphProperty = nullptr; - s_UnsetGlyphProperty = nullptr; -} - -void RatingItemFontInfoProperties::DisabledGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DisabledGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RatingItemFontInfoProperties::DisabledGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DisabledGlyphProperty)); -} - -void RatingItemFontInfoProperties::Glyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_GlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RatingItemFontInfoProperties::Glyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_GlyphProperty)); -} - -void RatingItemFontInfoProperties::PlaceholderGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PlaceholderGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RatingItemFontInfoProperties::PlaceholderGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PlaceholderGlyphProperty)); -} - -void RatingItemFontInfoProperties::PointerOverGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PointerOverGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RatingItemFontInfoProperties::PointerOverGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PointerOverGlyphProperty)); -} - -void RatingItemFontInfoProperties::PointerOverPlaceholderGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PointerOverPlaceholderGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RatingItemFontInfoProperties::PointerOverPlaceholderGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PointerOverPlaceholderGlyphProperty)); -} - -void RatingItemFontInfoProperties::UnsetGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_UnsetGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring RatingItemFontInfoProperties::UnsetGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_UnsetGlyphProperty)); -} diff --git a/dev/Generated/RatingItemFontInfo.properties.h b/dev/Generated/RatingItemFontInfo.properties.h deleted file mode 100644 index f8c3cd7e65..0000000000 --- a/dev/Generated/RatingItemFontInfo.properties.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RatingItemFontInfoProperties -{ -public: - RatingItemFontInfoProperties(); - - void DisabledGlyph(winrt::hstring const& value); - winrt::hstring DisabledGlyph(); - - void Glyph(winrt::hstring const& value); - winrt::hstring Glyph(); - - void PlaceholderGlyph(winrt::hstring const& value); - winrt::hstring PlaceholderGlyph(); - - void PointerOverGlyph(winrt::hstring const& value); - winrt::hstring PointerOverGlyph(); - - void PointerOverPlaceholderGlyph(winrt::hstring const& value); - winrt::hstring PointerOverPlaceholderGlyph(); - - void UnsetGlyph(winrt::hstring const& value); - winrt::hstring UnsetGlyph(); - - static winrt::DependencyProperty DisabledGlyphProperty() { return s_DisabledGlyphProperty; } - static winrt::DependencyProperty GlyphProperty() { return s_GlyphProperty; } - static winrt::DependencyProperty PlaceholderGlyphProperty() { return s_PlaceholderGlyphProperty; } - static winrt::DependencyProperty PointerOverGlyphProperty() { return s_PointerOverGlyphProperty; } - static winrt::DependencyProperty PointerOverPlaceholderGlyphProperty() { return s_PointerOverPlaceholderGlyphProperty; } - static winrt::DependencyProperty UnsetGlyphProperty() { return s_UnsetGlyphProperty; } - - static GlobalDependencyProperty s_DisabledGlyphProperty; - static GlobalDependencyProperty s_GlyphProperty; - static GlobalDependencyProperty s_PlaceholderGlyphProperty; - static GlobalDependencyProperty s_PointerOverGlyphProperty; - static GlobalDependencyProperty s_PointerOverPlaceholderGlyphProperty; - static GlobalDependencyProperty s_UnsetGlyphProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/RatingItemImageInfo.properties.cpp b/dev/Generated/RatingItemImageInfo.properties.cpp deleted file mode 100644 index 4108f8f1cd..0000000000 --- a/dev/Generated/RatingItemImageInfo.properties.cpp +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RatingItemImageInfo.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RatingItemImageInfo) -} - -#include "RatingItemImageInfo.g.cpp" - -GlobalDependencyProperty RatingItemImageInfoProperties::s_DisabledImageProperty{ nullptr }; -GlobalDependencyProperty RatingItemImageInfoProperties::s_ImageProperty{ nullptr }; -GlobalDependencyProperty RatingItemImageInfoProperties::s_PlaceholderImageProperty{ nullptr }; -GlobalDependencyProperty RatingItemImageInfoProperties::s_PointerOverImageProperty{ nullptr }; -GlobalDependencyProperty RatingItemImageInfoProperties::s_PointerOverPlaceholderImageProperty{ nullptr }; -GlobalDependencyProperty RatingItemImageInfoProperties::s_UnsetImageProperty{ nullptr }; - -RatingItemImageInfoProperties::RatingItemImageInfoProperties() -{ - EnsureProperties(); -} - -void RatingItemImageInfoProperties::EnsureProperties() -{ - if (!s_DisabledImageProperty) - { - s_DisabledImageProperty = - InitializeDependencyProperty( - L"DisabledImage", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ImageProperty) - { - s_ImageProperty = - InitializeDependencyProperty( - L"Image", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PlaceholderImageProperty) - { - s_PlaceholderImageProperty = - InitializeDependencyProperty( - L"PlaceholderImage", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PointerOverImageProperty) - { - s_PointerOverImageProperty = - InitializeDependencyProperty( - L"PointerOverImage", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_PointerOverPlaceholderImageProperty) - { - s_PointerOverPlaceholderImageProperty = - InitializeDependencyProperty( - L"PointerOverPlaceholderImage", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_UnsetImageProperty) - { - s_UnsetImageProperty = - InitializeDependencyProperty( - L"UnsetImage", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void RatingItemImageInfoProperties::ClearProperties() -{ - s_DisabledImageProperty = nullptr; - s_ImageProperty = nullptr; - s_PlaceholderImageProperty = nullptr; - s_PointerOverImageProperty = nullptr; - s_PointerOverPlaceholderImageProperty = nullptr; - s_UnsetImageProperty = nullptr; -} - -void RatingItemImageInfoProperties::DisabledImage(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DisabledImageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource RatingItemImageInfoProperties::DisabledImage() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DisabledImageProperty)); -} - -void RatingItemImageInfoProperties::Image(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ImageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource RatingItemImageInfoProperties::Image() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ImageProperty)); -} - -void RatingItemImageInfoProperties::PlaceholderImage(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PlaceholderImageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource RatingItemImageInfoProperties::PlaceholderImage() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PlaceholderImageProperty)); -} - -void RatingItemImageInfoProperties::PointerOverImage(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PointerOverImageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource RatingItemImageInfoProperties::PointerOverImage() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PointerOverImageProperty)); -} - -void RatingItemImageInfoProperties::PointerOverPlaceholderImage(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PointerOverPlaceholderImageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource RatingItemImageInfoProperties::PointerOverPlaceholderImage() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PointerOverPlaceholderImageProperty)); -} - -void RatingItemImageInfoProperties::UnsetImage(winrt::ImageSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_UnsetImageProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ImageSource RatingItemImageInfoProperties::UnsetImage() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_UnsetImageProperty)); -} diff --git a/dev/Generated/RatingItemImageInfo.properties.h b/dev/Generated/RatingItemImageInfo.properties.h deleted file mode 100644 index 85f3bd82e4..0000000000 --- a/dev/Generated/RatingItemImageInfo.properties.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RatingItemImageInfoProperties -{ -public: - RatingItemImageInfoProperties(); - - void DisabledImage(winrt::ImageSource const& value); - winrt::ImageSource DisabledImage(); - - void Image(winrt::ImageSource const& value); - winrt::ImageSource Image(); - - void PlaceholderImage(winrt::ImageSource const& value); - winrt::ImageSource PlaceholderImage(); - - void PointerOverImage(winrt::ImageSource const& value); - winrt::ImageSource PointerOverImage(); - - void PointerOverPlaceholderImage(winrt::ImageSource const& value); - winrt::ImageSource PointerOverPlaceholderImage(); - - void UnsetImage(winrt::ImageSource const& value); - winrt::ImageSource UnsetImage(); - - static winrt::DependencyProperty DisabledImageProperty() { return s_DisabledImageProperty; } - static winrt::DependencyProperty ImageProperty() { return s_ImageProperty; } - static winrt::DependencyProperty PlaceholderImageProperty() { return s_PlaceholderImageProperty; } - static winrt::DependencyProperty PointerOverImageProperty() { return s_PointerOverImageProperty; } - static winrt::DependencyProperty PointerOverPlaceholderImageProperty() { return s_PointerOverPlaceholderImageProperty; } - static winrt::DependencyProperty UnsetImageProperty() { return s_UnsetImageProperty; } - - static GlobalDependencyProperty s_DisabledImageProperty; - static GlobalDependencyProperty s_ImageProperty; - static GlobalDependencyProperty s_PlaceholderImageProperty; - static GlobalDependencyProperty s_PointerOverImageProperty; - static GlobalDependencyProperty s_PointerOverPlaceholderImageProperty; - static GlobalDependencyProperty s_UnsetImageProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/RatingItemInfo.properties.cpp b/dev/Generated/RatingItemInfo.properties.cpp deleted file mode 100644 index 2e53a28f14..0000000000 --- a/dev/Generated/RatingItemInfo.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RatingItemInfo.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(RatingItemInfo) -} - -#include "RatingItemInfo.g.cpp" - - diff --git a/dev/Generated/RecyclePool.properties.cpp b/dev/Generated/RecyclePool.properties.cpp deleted file mode 100644 index 0ea0a42d07..0000000000 --- a/dev/Generated/RecyclePool.properties.cpp +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RecyclePool.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RecyclePool) -} - -#include "RecyclePool.g.cpp" - -GlobalDependencyProperty RecyclePoolProperties::s_PoolInstanceProperty{ nullptr }; - -RecyclePoolProperties::RecyclePoolProperties() -{ - EnsureProperties(); -} - -void RecyclePoolProperties::EnsureProperties() -{ - if (!s_PoolInstanceProperty) - { - s_PoolInstanceProperty = - InitializeDependencyProperty( - L"PoolInstance", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void RecyclePoolProperties::ClearProperties() -{ - s_PoolInstanceProperty = nullptr; -} - - -void RecyclePoolProperties::SetPoolInstance(winrt::DataTemplate const& target, winrt::RecyclePool const& value) -{ - target.SetValue(s_PoolInstanceProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -winrt::RecyclePool RecyclePoolProperties::GetPoolInstance(winrt::DataTemplate const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_PoolInstanceProperty)); -} diff --git a/dev/Generated/RecyclePool.properties.h b/dev/Generated/RecyclePool.properties.h deleted file mode 100644 index bf0a6c40d0..0000000000 --- a/dev/Generated/RecyclePool.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RecyclePoolProperties -{ -public: - RecyclePoolProperties(); - - static void SetPoolInstance(winrt::DataTemplate const& target, winrt::RecyclePool const& value); - static winrt::RecyclePool GetPoolInstance(winrt::DataTemplate const& target); - - static winrt::DependencyProperty PoolInstanceProperty() { return s_PoolInstanceProperty; } - - static GlobalDependencyProperty s_PoolInstanceProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/RecyclingElementFactory.properties.cpp b/dev/Generated/RecyclingElementFactory.properties.cpp deleted file mode 100644 index e1e2ac7979..0000000000 --- a/dev/Generated/RecyclingElementFactory.properties.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RecyclingElementFactory.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(RecyclingElementFactory) -} - -#include "RecyclingElementFactory.g.cpp" - - -RecyclingElementFactoryProperties::RecyclingElementFactoryProperties() - : m_selectTemplateKeyEventSource{static_cast(this)} -{ -} - -void RecyclingElementFactoryProperties::EnsureProperties() -{ -} - -void RecyclingElementFactoryProperties::ClearProperties() -{ -} - -winrt::event_token RecyclingElementFactoryProperties::SelectTemplateKey(winrt::TypedEventHandler const& value) -{ - return m_selectTemplateKeyEventSource.add(value); -} - -void RecyclingElementFactoryProperties::SelectTemplateKey(winrt::event_token const& token) -{ - m_selectTemplateKeyEventSource.remove(token); -} diff --git a/dev/Generated/RecyclingElementFactory.properties.h b/dev/Generated/RecyclingElementFactory.properties.h deleted file mode 100644 index b096c584c8..0000000000 --- a/dev/Generated/RecyclingElementFactory.properties.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RecyclingElementFactoryProperties -{ -public: - RecyclingElementFactoryProperties(); - - - - winrt::event_token SelectTemplateKey(winrt::TypedEventHandler const& value); - void SelectTemplateKey(winrt::event_token const& token); - - event_source> m_selectTemplateKeyEventSource; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/RefreshContainer.properties.cpp b/dev/Generated/RefreshContainer.properties.cpp deleted file mode 100644 index 71d5b03d9a..0000000000 --- a/dev/Generated/RefreshContainer.properties.cpp +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RefreshContainer.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RefreshContainer) -} - -#include "RefreshContainer.g.cpp" - -GlobalDependencyProperty RefreshContainerProperties::s_PullDirectionProperty{ nullptr }; -GlobalDependencyProperty RefreshContainerProperties::s_VisualizerProperty{ nullptr }; - -RefreshContainerProperties::RefreshContainerProperties() - : m_refreshRequestedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void RefreshContainerProperties::EnsureProperties() -{ - if (!s_PullDirectionProperty) - { - s_PullDirectionProperty = - InitializeDependencyProperty( - L"PullDirection", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::RefreshPullDirection::TopToBottom), - winrt::PropertyChangedCallback(&OnPullDirectionPropertyChanged)); - } - if (!s_VisualizerProperty) - { - s_VisualizerProperty = - InitializeDependencyProperty( - L"Visualizer", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnVisualizerPropertyChanged)); - } -} - -void RefreshContainerProperties::ClearProperties() -{ - s_PullDirectionProperty = nullptr; - s_VisualizerProperty = nullptr; -} - -void RefreshContainerProperties::OnPullDirectionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RefreshContainerProperties::OnVisualizerPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RefreshContainerProperties::PullDirection(winrt::RefreshPullDirection const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PullDirectionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::RefreshPullDirection RefreshContainerProperties::PullDirection() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PullDirectionProperty)); -} - -void RefreshContainerProperties::Visualizer(winrt::RefreshVisualizer const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VisualizerProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::RefreshVisualizer RefreshContainerProperties::Visualizer() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VisualizerProperty)); -} - -winrt::event_token RefreshContainerProperties::RefreshRequested(winrt::TypedEventHandler const& value) -{ - return m_refreshRequestedEventSource.add(value); -} - -void RefreshContainerProperties::RefreshRequested(winrt::event_token const& token) -{ - m_refreshRequestedEventSource.remove(token); -} diff --git a/dev/Generated/RefreshContainer.properties.h b/dev/Generated/RefreshContainer.properties.h deleted file mode 100644 index 727156b13f..0000000000 --- a/dev/Generated/RefreshContainer.properties.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RefreshContainerProperties -{ -public: - RefreshContainerProperties(); - - void PullDirection(winrt::RefreshPullDirection const& value); - winrt::RefreshPullDirection PullDirection(); - - void Visualizer(winrt::RefreshVisualizer const& value); - winrt::RefreshVisualizer Visualizer(); - - static winrt::DependencyProperty PullDirectionProperty() { return s_PullDirectionProperty; } - static winrt::DependencyProperty VisualizerProperty() { return s_VisualizerProperty; } - - static GlobalDependencyProperty s_PullDirectionProperty; - static GlobalDependencyProperty s_VisualizerProperty; - - winrt::event_token RefreshRequested(winrt::TypedEventHandler const& value); - void RefreshRequested(winrt::event_token const& token); - - event_source> m_refreshRequestedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnPullDirectionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVisualizerPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/RefreshVisualizer.properties.cpp b/dev/Generated/RefreshVisualizer.properties.cpp deleted file mode 100644 index b1483d369a..0000000000 --- a/dev/Generated/RefreshVisualizer.properties.cpp +++ /dev/null @@ -1,174 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RefreshVisualizer.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(RefreshVisualizer) -} - -#include "RefreshVisualizer.g.cpp" - -GlobalDependencyProperty RefreshVisualizerProperties::s_ContentProperty{ nullptr }; -GlobalDependencyProperty RefreshVisualizerProperties::s_InfoProviderProperty{ nullptr }; -GlobalDependencyProperty RefreshVisualizerProperties::s_OrientationProperty{ nullptr }; -GlobalDependencyProperty RefreshVisualizerProperties::s_StateProperty{ nullptr }; - -RefreshVisualizerProperties::RefreshVisualizerProperties() - : m_refreshRequestedEventSource{static_cast(this)} - , m_refreshStateChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void RefreshVisualizerProperties::EnsureProperties() -{ - if (!s_ContentProperty) - { - s_ContentProperty = - InitializeDependencyProperty( - L"Content", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnContentPropertyChanged)); - } - if (!s_InfoProviderProperty) - { - s_InfoProviderProperty = - InitializeDependencyProperty( - L"InfoProvider", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnInfoProviderPropertyChanged)); - } - if (!s_OrientationProperty) - { - s_OrientationProperty = - InitializeDependencyProperty( - L"Orientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::RefreshVisualizerOrientation::Auto), - winrt::PropertyChangedCallback(&OnOrientationPropertyChanged)); - } - if (!s_StateProperty) - { - s_StateProperty = - InitializeDependencyProperty( - L"State", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::RefreshVisualizerState::Idle), - winrt::PropertyChangedCallback(&OnStatePropertyChanged)); - } -} - -void RefreshVisualizerProperties::ClearProperties() -{ - s_ContentProperty = nullptr; - s_InfoProviderProperty = nullptr; - s_OrientationProperty = nullptr; - s_StateProperty = nullptr; -} - -void RefreshVisualizerProperties::OnContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RefreshVisualizerProperties::OnInfoProviderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RefreshVisualizerProperties::OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RefreshVisualizerProperties::OnStatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RefreshVisualizerProperties::Content(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement RefreshVisualizerProperties::Content() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentProperty)); -} - - -void RefreshVisualizerProperties::Orientation(winrt::RefreshVisualizerOrientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::RefreshVisualizerOrientation RefreshVisualizerProperties::Orientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OrientationProperty)); -} - -void RefreshVisualizerProperties::State(winrt::RefreshVisualizerState const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_StateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::RefreshVisualizerState RefreshVisualizerProperties::State() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_StateProperty)); -} - -winrt::event_token RefreshVisualizerProperties::RefreshRequested(winrt::TypedEventHandler const& value) -{ - return m_refreshRequestedEventSource.add(value); -} - -void RefreshVisualizerProperties::RefreshRequested(winrt::event_token const& token) -{ - m_refreshRequestedEventSource.remove(token); -} - -winrt::event_token RefreshVisualizerProperties::RefreshStateChanged(winrt::TypedEventHandler const& value) -{ - return m_refreshStateChangedEventSource.add(value); -} - -void RefreshVisualizerProperties::RefreshStateChanged(winrt::event_token const& token) -{ - m_refreshStateChangedEventSource.remove(token); -} diff --git a/dev/Generated/RefreshVisualizer.properties.h b/dev/Generated/RefreshVisualizer.properties.h deleted file mode 100644 index fb18f71770..0000000000 --- a/dev/Generated/RefreshVisualizer.properties.h +++ /dev/null @@ -1,57 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RefreshVisualizerProperties -{ -public: - RefreshVisualizerProperties(); - - void Content(winrt::UIElement const& value); - winrt::UIElement Content(); - - void Orientation(winrt::RefreshVisualizerOrientation const& value); - winrt::RefreshVisualizerOrientation Orientation(); - - void State(winrt::RefreshVisualizerState const& value); - winrt::RefreshVisualizerState State(); - - static winrt::DependencyProperty ContentProperty() { return s_ContentProperty; } - static winrt::DependencyProperty InfoProviderProperty() { return s_InfoProviderProperty; } - static winrt::DependencyProperty OrientationProperty() { return s_OrientationProperty; } - static winrt::DependencyProperty StateProperty() { return s_StateProperty; } - - static GlobalDependencyProperty s_ContentProperty; - static GlobalDependencyProperty s_InfoProviderProperty; - static GlobalDependencyProperty s_OrientationProperty; - static GlobalDependencyProperty s_StateProperty; - - winrt::event_token RefreshRequested(winrt::TypedEventHandler const& value); - void RefreshRequested(winrt::event_token const& token); - winrt::event_token RefreshStateChanged(winrt::TypedEventHandler const& value); - void RefreshStateChanged(winrt::event_token const& token); - - event_source> m_refreshRequestedEventSource; - event_source> m_refreshStateChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnInfoProviderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnStatePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/RepeatedScrollSnapPoint.properties.cpp b/dev/Generated/RepeatedScrollSnapPoint.properties.cpp deleted file mode 100644 index 3fa9e0ecca..0000000000 --- a/dev/Generated/RepeatedScrollSnapPoint.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RepeatedScrollSnapPoint.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(RepeatedScrollSnapPoint) -} - -#include "RepeatedScrollSnapPoint.g.cpp" - - diff --git a/dev/Generated/RepeatedZoomSnapPoint.properties.cpp b/dev/Generated/RepeatedZoomSnapPoint.properties.cpp deleted file mode 100644 index 154445e26f..0000000000 --- a/dev/Generated/RepeatedZoomSnapPoint.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RepeatedZoomSnapPoint.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(RepeatedZoomSnapPoint) -} - -#include "RepeatedZoomSnapPoint.g.cpp" - - diff --git a/dev/Generated/RepeaterAutomationPeer.properties.cpp b/dev/Generated/RepeaterAutomationPeer.properties.cpp deleted file mode 100644 index c4523f65c0..0000000000 --- a/dev/Generated/RepeaterAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RepeaterAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(RepeaterAutomationPeer) -} - -#include "RepeaterAutomationPeer.g.cpp" - - diff --git a/dev/Generated/RepeaterTestHooks.properties.cpp b/dev/Generated/RepeaterTestHooks.properties.cpp deleted file mode 100644 index 7d732f8d39..0000000000 --- a/dev/Generated/RepeaterTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RepeaterTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(RepeaterTestHooks) -} - -#include "RepeaterTestHooks.g.cpp" - - diff --git a/dev/Generated/RevealBackgroundBrush.properties.cpp b/dev/Generated/RevealBackgroundBrush.properties.cpp deleted file mode 100644 index f10d96bd73..0000000000 --- a/dev/Generated/RevealBackgroundBrush.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealBackgroundBrush.h" - -namespace winrt::Microsoft::UI::Xaml::Media -{ - CppWinRTActivatableClassWithBasicFactory(RevealBackgroundBrush) -} - -#include "RevealBackgroundBrush.g.cpp" - - diff --git a/dev/Generated/RevealBorderBrush.properties.cpp b/dev/Generated/RevealBorderBrush.properties.cpp deleted file mode 100644 index 80ab3668a1..0000000000 --- a/dev/Generated/RevealBorderBrush.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealBorderBrush.h" - -namespace winrt::Microsoft::UI::Xaml::Media -{ - CppWinRTActivatableClassWithBasicFactory(RevealBorderBrush) -} - -#include "RevealBorderBrush.g.cpp" - - diff --git a/dev/Generated/RevealBorderLight.properties.cpp b/dev/Generated/RevealBorderLight.properties.cpp deleted file mode 100644 index d476fb50f7..0000000000 --- a/dev/Generated/RevealBorderLight.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealBorderLight.h" - -namespace winrt::Microsoft::UI::Private::Media -{ - CppWinRTActivatableClassWithBasicFactory(RevealBorderLight) -} - -#include "RevealBorderLight.g.cpp" - - diff --git a/dev/Generated/RevealBrush.properties.cpp b/dev/Generated/RevealBrush.properties.cpp deleted file mode 100644 index f0e309c932..0000000000 --- a/dev/Generated/RevealBrush.properties.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealBrush.h" - -namespace winrt::Microsoft::UI::Xaml::Media -{ - CppWinRTActivatableClassWithDPFactory(RevealBrush) -} - -#include "RevealBrush.g.cpp" - -GlobalDependencyProperty RevealBrushProperties::s_AlwaysUseFallbackProperty{ nullptr }; -GlobalDependencyProperty RevealBrushProperties::s_ColorProperty{ nullptr }; -GlobalDependencyProperty RevealBrushProperties::s_StateProperty{ nullptr }; -GlobalDependencyProperty RevealBrushProperties::s_TargetThemeProperty{ nullptr }; - -RevealBrushProperties::RevealBrushProperties() -{ - EnsureProperties(); -} - -void RevealBrushProperties::EnsureProperties() -{ - if (!s_AlwaysUseFallbackProperty) - { - s_AlwaysUseFallbackProperty = - InitializeDependencyProperty( - L"AlwaysUseFallback", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnAlwaysUseFallbackPropertyChanged)); - } - if (!s_ColorProperty) - { - s_ColorProperty = - InitializeDependencyProperty( - L"Color", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(RevealBrush::sc_defaultColor), - winrt::PropertyChangedCallback(&OnColorPropertyChanged)); - } - if (!s_StateProperty) - { - s_StateProperty = - InitializeDependencyProperty( - L"State", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::RevealBrushState::Normal), - &RevealBrush::OnStatePropertyChanged); - } - if (!s_TargetThemeProperty) - { - s_TargetThemeProperty = - InitializeDependencyProperty( - L"TargetTheme", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ApplicationTheme::Light), - winrt::PropertyChangedCallback(&OnTargetThemePropertyChanged)); - } -} - -void RevealBrushProperties::ClearProperties() -{ - s_AlwaysUseFallbackProperty = nullptr; - s_ColorProperty = nullptr; - s_StateProperty = nullptr; - s_TargetThemeProperty = nullptr; -} - -void RevealBrushProperties::OnAlwaysUseFallbackPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RevealBrushProperties::OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RevealBrushProperties::OnTargetThemePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void RevealBrushProperties::AlwaysUseFallback(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AlwaysUseFallbackProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool RevealBrushProperties::AlwaysUseFallback() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AlwaysUseFallbackProperty)); -} - -void RevealBrushProperties::Color(winrt::Color const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Color RevealBrushProperties::Color() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColorProperty)); -} - - -void RevealBrushProperties::SetState(winrt::UIElement const& target, winrt::RevealBrushState const& value) -{ - target.SetValue(s_StateProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -winrt::RevealBrushState RevealBrushProperties::GetState(winrt::UIElement const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_StateProperty)); -} - -void RevealBrushProperties::TargetTheme(winrt::ApplicationTheme const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TargetThemeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ApplicationTheme RevealBrushProperties::TargetTheme() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TargetThemeProperty)); -} diff --git a/dev/Generated/RevealBrush.properties.h b/dev/Generated/RevealBrush.properties.h deleted file mode 100644 index fcbfe6e0bf..0000000000 --- a/dev/Generated/RevealBrush.properties.h +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class RevealBrushProperties -{ -public: - RevealBrushProperties(); - - void AlwaysUseFallback(bool value); - bool AlwaysUseFallback(); - - void Color(winrt::Color const& value); - winrt::Color Color(); - - static void SetState(winrt::UIElement const& target, winrt::RevealBrushState const& value); - static winrt::RevealBrushState GetState(winrt::UIElement const& target); - - void TargetTheme(winrt::ApplicationTheme const& value); - winrt::ApplicationTheme TargetTheme(); - - static winrt::DependencyProperty AlwaysUseFallbackProperty() { return s_AlwaysUseFallbackProperty; } - static winrt::DependencyProperty ColorProperty() { return s_ColorProperty; } - static winrt::DependencyProperty StateProperty() { return s_StateProperty; } - static winrt::DependencyProperty TargetThemeProperty() { return s_TargetThemeProperty; } - - static GlobalDependencyProperty s_AlwaysUseFallbackProperty; - static GlobalDependencyProperty s_ColorProperty; - static GlobalDependencyProperty s_StateProperty; - static GlobalDependencyProperty s_TargetThemeProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnAlwaysUseFallbackPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTargetThemePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/RevealBrushTestApi.properties.cpp b/dev/Generated/RevealBrushTestApi.properties.cpp deleted file mode 100644 index 9f0d78fc9a..0000000000 --- a/dev/Generated/RevealBrushTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealBrushTestApi.h" - -namespace winrt::Microsoft::UI::Private::Media -{ - CppWinRTActivatableClassWithBasicFactory(RevealBrushTestApi) -} - -#include "RevealBrushTestApi.g.cpp" - - diff --git a/dev/Generated/RevealHoverLight.properties.cpp b/dev/Generated/RevealHoverLight.properties.cpp deleted file mode 100644 index 0e07c7793d..0000000000 --- a/dev/Generated/RevealHoverLight.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealHoverLight.h" - -namespace winrt::Microsoft::UI::Private::Media -{ - CppWinRTActivatableClassWithBasicFactory(RevealHoverLight) -} - -#include "RevealHoverLight.g.cpp" - - diff --git a/dev/Generated/RevealListViewItemPresenter.properties.cpp b/dev/Generated/RevealListViewItemPresenter.properties.cpp deleted file mode 100644 index f64adff6a1..0000000000 --- a/dev/Generated/RevealListViewItemPresenter.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealListViewItemPresenter.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(RevealListViewItemPresenter) -} - -#include "RevealListViewItemPresenter.g.cpp" - - diff --git a/dev/Generated/RevealTestApi.properties.cpp b/dev/Generated/RevealTestApi.properties.cpp deleted file mode 100644 index cb2734f28e..0000000000 --- a/dev/Generated/RevealTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "RevealTestApi.h" - -namespace winrt::Microsoft::UI::Private::Media -{ - CppWinRTActivatableClassWithBasicFactory(RevealTestApi) -} - -#include "RevealTestApi.g.cpp" - - diff --git a/dev/Generated/ScrollControllerAddScrollVelocityRequestedEventArgs.properties.cpp b/dev/Generated/ScrollControllerAddScrollVelocityRequestedEventArgs.properties.cpp deleted file mode 100644 index 754950c4b3..0000000000 --- a/dev/Generated/ScrollControllerAddScrollVelocityRequestedEventArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollControllerAddScrollVelocityRequestedEventArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ScrollControllerAddScrollVelocityRequestedEventArgs) -} - -#include "ScrollControllerAddScrollVelocityRequestedEventArgs.g.cpp" - - diff --git a/dev/Generated/ScrollControllerInteractionRequestedEventArgs.properties.cpp b/dev/Generated/ScrollControllerInteractionRequestedEventArgs.properties.cpp deleted file mode 100644 index a9ef642f84..0000000000 --- a/dev/Generated/ScrollControllerInteractionRequestedEventArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollControllerInteractionRequestedEventArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ScrollControllerInteractionRequestedEventArgs) -} - -#include "ScrollControllerInteractionRequestedEventArgs.g.cpp" - - diff --git a/dev/Generated/ScrollControllerScrollByRequestedEventArgs.properties.cpp b/dev/Generated/ScrollControllerScrollByRequestedEventArgs.properties.cpp deleted file mode 100644 index f05da47d84..0000000000 --- a/dev/Generated/ScrollControllerScrollByRequestedEventArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollControllerScrollByRequestedEventArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ScrollControllerScrollByRequestedEventArgs) -} - -#include "ScrollControllerScrollByRequestedEventArgs.g.cpp" - - diff --git a/dev/Generated/ScrollControllerScrollToRequestedEventArgs.properties.cpp b/dev/Generated/ScrollControllerScrollToRequestedEventArgs.properties.cpp deleted file mode 100644 index fc31ad41aa..0000000000 --- a/dev/Generated/ScrollControllerScrollToRequestedEventArgs.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollControllerScrollToRequestedEventArgs.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ScrollControllerScrollToRequestedEventArgs) -} - -#include "ScrollControllerScrollToRequestedEventArgs.g.cpp" - - diff --git a/dev/Generated/ScrollPresenter.properties.cpp b/dev/Generated/ScrollPresenter.properties.cpp deleted file mode 100644 index 3d67fb114a..0000000000 --- a/dev/Generated/ScrollPresenter.properties.cpp +++ /dev/null @@ -1,719 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollPresenter.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithDPFactory(ScrollPresenter) -} - -#include "ScrollPresenter.g.cpp" - -GlobalDependencyProperty ScrollPresenterProperties::s_BackgroundProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_ContentProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_ContentOrientationProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_HorizontalAnchorRatioProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_HorizontalScrollChainModeProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_HorizontalScrollModeProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_HorizontalScrollRailModeProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_IgnoredInputKindsProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_MaxZoomFactorProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_MinZoomFactorProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_VerticalAnchorRatioProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_VerticalScrollChainModeProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_VerticalScrollModeProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_VerticalScrollRailModeProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_ZoomChainModeProperty{ nullptr }; -GlobalDependencyProperty ScrollPresenterProperties::s_ZoomModeProperty{ nullptr }; - -ScrollPresenterProperties::ScrollPresenterProperties() - : m_anchorRequestedEventSource{static_cast(this)} - , m_bringingIntoViewEventSource{static_cast(this)} - , m_extentChangedEventSource{static_cast(this)} - , m_scrollAnimationStartingEventSource{static_cast(this)} - , m_scrollCompletedEventSource{static_cast(this)} - , m_stateChangedEventSource{static_cast(this)} - , m_viewChangedEventSource{static_cast(this)} - , m_zoomAnimationStartingEventSource{static_cast(this)} - , m_zoomCompletedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void ScrollPresenterProperties::EnsureProperties() -{ - if (!s_BackgroundProperty) - { - s_BackgroundProperty = - InitializeDependencyProperty( - L"Background", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBackgroundPropertyChanged)); - } - if (!s_ContentProperty) - { - s_ContentProperty = - InitializeDependencyProperty( - L"Content", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnContentPropertyChanged)); - } - if (!s_ContentOrientationProperty) - { - s_ContentOrientationProperty = - InitializeDependencyProperty( - L"ContentOrientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultContentOrientation), - winrt::PropertyChangedCallback(&OnContentOrientationPropertyChanged)); - } - if (!s_HorizontalAnchorRatioProperty) - { - s_HorizontalAnchorRatioProperty = - InitializeDependencyProperty( - L"HorizontalAnchorRatio", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultAnchorRatio), - winrt::PropertyChangedCallback(&OnHorizontalAnchorRatioPropertyChanged)); - } - if (!s_HorizontalScrollChainModeProperty) - { - s_HorizontalScrollChainModeProperty = - InitializeDependencyProperty( - L"HorizontalScrollChainMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultHorizontalScrollChainMode), - winrt::PropertyChangedCallback(&OnHorizontalScrollChainModePropertyChanged)); - } - if (!s_HorizontalScrollModeProperty) - { - s_HorizontalScrollModeProperty = - InitializeDependencyProperty( - L"HorizontalScrollMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultHorizontalScrollMode), - winrt::PropertyChangedCallback(&OnHorizontalScrollModePropertyChanged)); - } - if (!s_HorizontalScrollRailModeProperty) - { - s_HorizontalScrollRailModeProperty = - InitializeDependencyProperty( - L"HorizontalScrollRailMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultHorizontalScrollRailMode), - winrt::PropertyChangedCallback(&OnHorizontalScrollRailModePropertyChanged)); - } - if (!s_IgnoredInputKindsProperty) - { - s_IgnoredInputKindsProperty = - InitializeDependencyProperty( - L"IgnoredInputKinds", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultIgnoredInputKinds), - winrt::PropertyChangedCallback(&OnIgnoredInputKindsPropertyChanged)); - } - if (!s_MaxZoomFactorProperty) - { - s_MaxZoomFactorProperty = - InitializeDependencyProperty( - L"MaxZoomFactor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultMaxZoomFactor), - winrt::PropertyChangedCallback(&OnMaxZoomFactorPropertyChanged)); - } - if (!s_MinZoomFactorProperty) - { - s_MinZoomFactorProperty = - InitializeDependencyProperty( - L"MinZoomFactor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultMinZoomFactor), - winrt::PropertyChangedCallback(&OnMinZoomFactorPropertyChanged)); - } - if (!s_VerticalAnchorRatioProperty) - { - s_VerticalAnchorRatioProperty = - InitializeDependencyProperty( - L"VerticalAnchorRatio", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultAnchorRatio), - winrt::PropertyChangedCallback(&OnVerticalAnchorRatioPropertyChanged)); - } - if (!s_VerticalScrollChainModeProperty) - { - s_VerticalScrollChainModeProperty = - InitializeDependencyProperty( - L"VerticalScrollChainMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultVerticalScrollChainMode), - winrt::PropertyChangedCallback(&OnVerticalScrollChainModePropertyChanged)); - } - if (!s_VerticalScrollModeProperty) - { - s_VerticalScrollModeProperty = - InitializeDependencyProperty( - L"VerticalScrollMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultVerticalScrollMode), - winrt::PropertyChangedCallback(&OnVerticalScrollModePropertyChanged)); - } - if (!s_VerticalScrollRailModeProperty) - { - s_VerticalScrollRailModeProperty = - InitializeDependencyProperty( - L"VerticalScrollRailMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultVerticalScrollRailMode), - winrt::PropertyChangedCallback(&OnVerticalScrollRailModePropertyChanged)); - } - if (!s_ZoomChainModeProperty) - { - s_ZoomChainModeProperty = - InitializeDependencyProperty( - L"ZoomChainMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultZoomChainMode), - winrt::PropertyChangedCallback(&OnZoomChainModePropertyChanged)); - } - if (!s_ZoomModeProperty) - { - s_ZoomModeProperty = - InitializeDependencyProperty( - L"ZoomMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollPresenter::s_defaultZoomMode), - winrt::PropertyChangedCallback(&OnZoomModePropertyChanged)); - } -} - -void ScrollPresenterProperties::ClearProperties() -{ - s_BackgroundProperty = nullptr; - s_ContentProperty = nullptr; - s_ContentOrientationProperty = nullptr; - s_HorizontalAnchorRatioProperty = nullptr; - s_HorizontalScrollChainModeProperty = nullptr; - s_HorizontalScrollModeProperty = nullptr; - s_HorizontalScrollRailModeProperty = nullptr; - s_IgnoredInputKindsProperty = nullptr; - s_MaxZoomFactorProperty = nullptr; - s_MinZoomFactorProperty = nullptr; - s_VerticalAnchorRatioProperty = nullptr; - s_VerticalScrollChainModeProperty = nullptr; - s_VerticalScrollModeProperty = nullptr; - s_VerticalScrollRailModeProperty = nullptr; - s_ZoomChainModeProperty = nullptr; - s_ZoomModeProperty = nullptr; -} - -void ScrollPresenterProperties::OnBackgroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnContentOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnHorizontalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateAnchorRatio(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnHorizontalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnHorizontalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnHorizontalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnIgnoredInputKindsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnMaxZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateZoomFactoryBoundary(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnMinZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateZoomFactoryBoundary(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnVerticalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateAnchorRatio(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnVerticalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnVerticalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnVerticalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnZoomChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::OnZoomModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollPresenterProperties::Background(winrt::Brush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BackgroundProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Brush ScrollPresenterProperties::Background() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BackgroundProperty)); -} - -void ScrollPresenterProperties::Content(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement ScrollPresenterProperties::Content() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentProperty)); -} - -void ScrollPresenterProperties::ContentOrientation(winrt::ScrollingContentOrientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentOrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingContentOrientation ScrollPresenterProperties::ContentOrientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentOrientationProperty)); -} - -void ScrollPresenterProperties::HorizontalAnchorRatio(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateAnchorRatio(coercedValue); - static_cast(this)->SetValue(s_HorizontalAnchorRatioProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollPresenterProperties::HorizontalAnchorRatio() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalAnchorRatioProperty)); -} - -void ScrollPresenterProperties::HorizontalScrollChainMode(winrt::ScrollingChainMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalScrollChainModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingChainMode ScrollPresenterProperties::HorizontalScrollChainMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalScrollChainModeProperty)); -} - -void ScrollPresenterProperties::HorizontalScrollMode(winrt::ScrollingScrollMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalScrollModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingScrollMode ScrollPresenterProperties::HorizontalScrollMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalScrollModeProperty)); -} - -void ScrollPresenterProperties::HorizontalScrollRailMode(winrt::ScrollingRailMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalScrollRailModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingRailMode ScrollPresenterProperties::HorizontalScrollRailMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalScrollRailModeProperty)); -} - -void ScrollPresenterProperties::IgnoredInputKinds(winrt::ScrollingInputKinds const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IgnoredInputKindsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingInputKinds ScrollPresenterProperties::IgnoredInputKinds() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IgnoredInputKindsProperty)); -} - -void ScrollPresenterProperties::MaxZoomFactor(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateZoomFactoryBoundary(coercedValue); - static_cast(this)->SetValue(s_MaxZoomFactorProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollPresenterProperties::MaxZoomFactor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxZoomFactorProperty)); -} - -void ScrollPresenterProperties::MinZoomFactor(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateZoomFactoryBoundary(coercedValue); - static_cast(this)->SetValue(s_MinZoomFactorProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollPresenterProperties::MinZoomFactor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinZoomFactorProperty)); -} - -void ScrollPresenterProperties::VerticalAnchorRatio(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateAnchorRatio(coercedValue); - static_cast(this)->SetValue(s_VerticalAnchorRatioProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollPresenterProperties::VerticalAnchorRatio() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalAnchorRatioProperty)); -} - -void ScrollPresenterProperties::VerticalScrollChainMode(winrt::ScrollingChainMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalScrollChainModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingChainMode ScrollPresenterProperties::VerticalScrollChainMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalScrollChainModeProperty)); -} - -void ScrollPresenterProperties::VerticalScrollMode(winrt::ScrollingScrollMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalScrollModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingScrollMode ScrollPresenterProperties::VerticalScrollMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalScrollModeProperty)); -} - -void ScrollPresenterProperties::VerticalScrollRailMode(winrt::ScrollingRailMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalScrollRailModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingRailMode ScrollPresenterProperties::VerticalScrollRailMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalScrollRailModeProperty)); -} - -void ScrollPresenterProperties::ZoomChainMode(winrt::ScrollingChainMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ZoomChainModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingChainMode ScrollPresenterProperties::ZoomChainMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ZoomChainModeProperty)); -} - -void ScrollPresenterProperties::ZoomMode(winrt::ScrollingZoomMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ZoomModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingZoomMode ScrollPresenterProperties::ZoomMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ZoomModeProperty)); -} - -winrt::event_token ScrollPresenterProperties::AnchorRequested(winrt::TypedEventHandler const& value) -{ - return m_anchorRequestedEventSource.add(value); -} - -void ScrollPresenterProperties::AnchorRequested(winrt::event_token const& token) -{ - m_anchorRequestedEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::BringingIntoView(winrt::TypedEventHandler const& value) -{ - return m_bringingIntoViewEventSource.add(value); -} - -void ScrollPresenterProperties::BringingIntoView(winrt::event_token const& token) -{ - m_bringingIntoViewEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::ExtentChanged(winrt::TypedEventHandler const& value) -{ - return m_extentChangedEventSource.add(value); -} - -void ScrollPresenterProperties::ExtentChanged(winrt::event_token const& token) -{ - m_extentChangedEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::ScrollAnimationStarting(winrt::TypedEventHandler const& value) -{ - return m_scrollAnimationStartingEventSource.add(value); -} - -void ScrollPresenterProperties::ScrollAnimationStarting(winrt::event_token const& token) -{ - m_scrollAnimationStartingEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::ScrollCompleted(winrt::TypedEventHandler const& value) -{ - return m_scrollCompletedEventSource.add(value); -} - -void ScrollPresenterProperties::ScrollCompleted(winrt::event_token const& token) -{ - m_scrollCompletedEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::StateChanged(winrt::TypedEventHandler const& value) -{ - return m_stateChangedEventSource.add(value); -} - -void ScrollPresenterProperties::StateChanged(winrt::event_token const& token) -{ - m_stateChangedEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::ViewChanged(winrt::TypedEventHandler const& value) -{ - return m_viewChangedEventSource.add(value); -} - -void ScrollPresenterProperties::ViewChanged(winrt::event_token const& token) -{ - m_viewChangedEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::ZoomAnimationStarting(winrt::TypedEventHandler const& value) -{ - return m_zoomAnimationStartingEventSource.add(value); -} - -void ScrollPresenterProperties::ZoomAnimationStarting(winrt::event_token const& token) -{ - m_zoomAnimationStartingEventSource.remove(token); -} - -winrt::event_token ScrollPresenterProperties::ZoomCompleted(winrt::TypedEventHandler const& value) -{ - return m_zoomCompletedEventSource.add(value); -} - -void ScrollPresenterProperties::ZoomCompleted(winrt::event_token const& token) -{ - m_zoomCompletedEventSource.remove(token); -} diff --git a/dev/Generated/ScrollPresenter.properties.h b/dev/Generated/ScrollPresenter.properties.h deleted file mode 100644 index 12f37609e8..0000000000 --- a/dev/Generated/ScrollPresenter.properties.h +++ /dev/null @@ -1,189 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ScrollPresenterProperties -{ -public: - ScrollPresenterProperties(); - - void Background(winrt::Brush const& value); - winrt::Brush Background(); - - void Content(winrt::UIElement const& value); - winrt::UIElement Content(); - - void ContentOrientation(winrt::ScrollingContentOrientation const& value); - winrt::ScrollingContentOrientation ContentOrientation(); - - void HorizontalAnchorRatio(double value); - double HorizontalAnchorRatio(); - - void HorizontalScrollChainMode(winrt::ScrollingChainMode const& value); - winrt::ScrollingChainMode HorizontalScrollChainMode(); - - void HorizontalScrollMode(winrt::ScrollingScrollMode const& value); - winrt::ScrollingScrollMode HorizontalScrollMode(); - - void HorizontalScrollRailMode(winrt::ScrollingRailMode const& value); - winrt::ScrollingRailMode HorizontalScrollRailMode(); - - void IgnoredInputKinds(winrt::ScrollingInputKinds const& value); - winrt::ScrollingInputKinds IgnoredInputKinds(); - - void MaxZoomFactor(double value); - double MaxZoomFactor(); - - void MinZoomFactor(double value); - double MinZoomFactor(); - - void VerticalAnchorRatio(double value); - double VerticalAnchorRatio(); - - void VerticalScrollChainMode(winrt::ScrollingChainMode const& value); - winrt::ScrollingChainMode VerticalScrollChainMode(); - - void VerticalScrollMode(winrt::ScrollingScrollMode const& value); - winrt::ScrollingScrollMode VerticalScrollMode(); - - void VerticalScrollRailMode(winrt::ScrollingRailMode const& value); - winrt::ScrollingRailMode VerticalScrollRailMode(); - - void ZoomChainMode(winrt::ScrollingChainMode const& value); - winrt::ScrollingChainMode ZoomChainMode(); - - void ZoomMode(winrt::ScrollingZoomMode const& value); - winrt::ScrollingZoomMode ZoomMode(); - - static winrt::DependencyProperty BackgroundProperty() { return s_BackgroundProperty; } - static winrt::DependencyProperty ContentProperty() { return s_ContentProperty; } - static winrt::DependencyProperty ContentOrientationProperty() { return s_ContentOrientationProperty; } - static winrt::DependencyProperty HorizontalAnchorRatioProperty() { return s_HorizontalAnchorRatioProperty; } - static winrt::DependencyProperty HorizontalScrollChainModeProperty() { return s_HorizontalScrollChainModeProperty; } - static winrt::DependencyProperty HorizontalScrollModeProperty() { return s_HorizontalScrollModeProperty; } - static winrt::DependencyProperty HorizontalScrollRailModeProperty() { return s_HorizontalScrollRailModeProperty; } - static winrt::DependencyProperty IgnoredInputKindsProperty() { return s_IgnoredInputKindsProperty; } - static winrt::DependencyProperty MaxZoomFactorProperty() { return s_MaxZoomFactorProperty; } - static winrt::DependencyProperty MinZoomFactorProperty() { return s_MinZoomFactorProperty; } - static winrt::DependencyProperty VerticalAnchorRatioProperty() { return s_VerticalAnchorRatioProperty; } - static winrt::DependencyProperty VerticalScrollChainModeProperty() { return s_VerticalScrollChainModeProperty; } - static winrt::DependencyProperty VerticalScrollModeProperty() { return s_VerticalScrollModeProperty; } - static winrt::DependencyProperty VerticalScrollRailModeProperty() { return s_VerticalScrollRailModeProperty; } - static winrt::DependencyProperty ZoomChainModeProperty() { return s_ZoomChainModeProperty; } - static winrt::DependencyProperty ZoomModeProperty() { return s_ZoomModeProperty; } - - static GlobalDependencyProperty s_BackgroundProperty; - static GlobalDependencyProperty s_ContentProperty; - static GlobalDependencyProperty s_ContentOrientationProperty; - static GlobalDependencyProperty s_HorizontalAnchorRatioProperty; - static GlobalDependencyProperty s_HorizontalScrollChainModeProperty; - static GlobalDependencyProperty s_HorizontalScrollModeProperty; - static GlobalDependencyProperty s_HorizontalScrollRailModeProperty; - static GlobalDependencyProperty s_IgnoredInputKindsProperty; - static GlobalDependencyProperty s_MaxZoomFactorProperty; - static GlobalDependencyProperty s_MinZoomFactorProperty; - static GlobalDependencyProperty s_VerticalAnchorRatioProperty; - static GlobalDependencyProperty s_VerticalScrollChainModeProperty; - static GlobalDependencyProperty s_VerticalScrollModeProperty; - static GlobalDependencyProperty s_VerticalScrollRailModeProperty; - static GlobalDependencyProperty s_ZoomChainModeProperty; - static GlobalDependencyProperty s_ZoomModeProperty; - - winrt::event_token AnchorRequested(winrt::TypedEventHandler const& value); - void AnchorRequested(winrt::event_token const& token); - winrt::event_token BringingIntoView(winrt::TypedEventHandler const& value); - void BringingIntoView(winrt::event_token const& token); - winrt::event_token ExtentChanged(winrt::TypedEventHandler const& value); - void ExtentChanged(winrt::event_token const& token); - winrt::event_token ScrollAnimationStarting(winrt::TypedEventHandler const& value); - void ScrollAnimationStarting(winrt::event_token const& token); - winrt::event_token ScrollCompleted(winrt::TypedEventHandler const& value); - void ScrollCompleted(winrt::event_token const& token); - winrt::event_token StateChanged(winrt::TypedEventHandler const& value); - void StateChanged(winrt::event_token const& token); - winrt::event_token ViewChanged(winrt::TypedEventHandler const& value); - void ViewChanged(winrt::event_token const& token); - winrt::event_token ZoomAnimationStarting(winrt::TypedEventHandler const& value); - void ZoomAnimationStarting(winrt::event_token const& token); - winrt::event_token ZoomCompleted(winrt::TypedEventHandler const& value); - void ZoomCompleted(winrt::event_token const& token); - - event_source> m_anchorRequestedEventSource; - event_source> m_bringingIntoViewEventSource; - event_source> m_extentChangedEventSource; - event_source> m_scrollAnimationStartingEventSource; - event_source> m_scrollCompletedEventSource; - event_source> m_stateChangedEventSource; - event_source> m_viewChangedEventSource; - event_source> m_zoomAnimationStartingEventSource; - event_source> m_zoomCompletedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnBackgroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnContentOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIgnoredInputKindsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnZoomChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnZoomModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ScrollPresenterAutomationPeer.properties.cpp b/dev/Generated/ScrollPresenterAutomationPeer.properties.cpp deleted file mode 100644 index b0b4ff2ac9..0000000000 --- a/dev/Generated/ScrollPresenterAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollPresenterAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(ScrollPresenterAutomationPeer) -} - -#include "ScrollPresenterAutomationPeer.g.cpp" - - diff --git a/dev/Generated/ScrollPresenterTestHooks.properties.cpp b/dev/Generated/ScrollPresenterTestHooks.properties.cpp deleted file mode 100644 index 5747870ea0..0000000000 --- a/dev/Generated/ScrollPresenterTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollPresenterTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ScrollPresenterTestHooks) -} - -#include "ScrollPresenterTestHooks.g.cpp" - - diff --git a/dev/Generated/ScrollSnapPoint.properties.cpp b/dev/Generated/ScrollSnapPoint.properties.cpp deleted file mode 100644 index 30d21f3a88..0000000000 --- a/dev/Generated/ScrollSnapPoint.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollSnapPoint.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ScrollSnapPoint) -} - -#include "ScrollSnapPoint.g.cpp" - - diff --git a/dev/Generated/ScrollSnapPointBase.properties.cpp b/dev/Generated/ScrollSnapPointBase.properties.cpp deleted file mode 100644 index 541581ac7a..0000000000 --- a/dev/Generated/ScrollSnapPointBase.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollSnapPointBase.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ScrollSnapPointBase) -} - -#include "ScrollSnapPointBase.g.cpp" - - diff --git a/dev/Generated/ScrollView.properties.cpp b/dev/Generated/ScrollView.properties.cpp deleted file mode 100644 index 180b8dae20..0000000000 --- a/dev/Generated/ScrollView.properties.cpp +++ /dev/null @@ -1,843 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ScrollView) -} - -#include "ScrollView.g.cpp" - -GlobalDependencyProperty ScrollViewProperties::s_ComputedHorizontalScrollBarVisibilityProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_ComputedVerticalScrollBarVisibilityProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_ContentProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_ContentOrientationProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_HorizontalAnchorRatioProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_HorizontalScrollBarVisibilityProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_HorizontalScrollChainModeProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_HorizontalScrollModeProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_HorizontalScrollRailModeProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_IgnoredInputKindsProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_MaxZoomFactorProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_MinZoomFactorProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_ScrollPresenterProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_VerticalAnchorRatioProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_VerticalScrollBarVisibilityProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_VerticalScrollChainModeProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_VerticalScrollModeProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_VerticalScrollRailModeProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_ZoomChainModeProperty{ nullptr }; -GlobalDependencyProperty ScrollViewProperties::s_ZoomModeProperty{ nullptr }; - -ScrollViewProperties::ScrollViewProperties() - : m_anchorRequestedEventSource{static_cast(this)} - , m_bringingIntoViewEventSource{static_cast(this)} - , m_extentChangedEventSource{static_cast(this)} - , m_scrollAnimationStartingEventSource{static_cast(this)} - , m_scrollCompletedEventSource{static_cast(this)} - , m_stateChangedEventSource{static_cast(this)} - , m_viewChangedEventSource{static_cast(this)} - , m_zoomAnimationStartingEventSource{static_cast(this)} - , m_zoomCompletedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void ScrollViewProperties::EnsureProperties() -{ - if (!s_ComputedHorizontalScrollBarVisibilityProperty) - { - s_ComputedHorizontalScrollBarVisibilityProperty = - InitializeDependencyProperty( - L"ComputedHorizontalScrollBarVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultComputedHorizontalScrollBarVisibility), - winrt::PropertyChangedCallback(&OnComputedHorizontalScrollBarVisibilityPropertyChanged)); - } - if (!s_ComputedVerticalScrollBarVisibilityProperty) - { - s_ComputedVerticalScrollBarVisibilityProperty = - InitializeDependencyProperty( - L"ComputedVerticalScrollBarVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultComputedVerticalScrollBarVisibility), - winrt::PropertyChangedCallback(&OnComputedVerticalScrollBarVisibilityPropertyChanged)); - } - if (!s_ContentProperty) - { - s_ContentProperty = - InitializeDependencyProperty( - L"Content", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnContentPropertyChanged)); - } - if (!s_ContentOrientationProperty) - { - s_ContentOrientationProperty = - InitializeDependencyProperty( - L"ContentOrientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultContentOrientation), - winrt::PropertyChangedCallback(&OnContentOrientationPropertyChanged)); - } - if (!s_HorizontalAnchorRatioProperty) - { - s_HorizontalAnchorRatioProperty = - InitializeDependencyProperty( - L"HorizontalAnchorRatio", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultAnchorRatio), - winrt::PropertyChangedCallback(&OnHorizontalAnchorRatioPropertyChanged)); - } - if (!s_HorizontalScrollBarVisibilityProperty) - { - s_HorizontalScrollBarVisibilityProperty = - InitializeDependencyProperty( - L"HorizontalScrollBarVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultHorizontalScrollBarVisibility), - winrt::PropertyChangedCallback(&OnHorizontalScrollBarVisibilityPropertyChanged)); - } - if (!s_HorizontalScrollChainModeProperty) - { - s_HorizontalScrollChainModeProperty = - InitializeDependencyProperty( - L"HorizontalScrollChainMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultHorizontalScrollChainMode), - winrt::PropertyChangedCallback(&OnHorizontalScrollChainModePropertyChanged)); - } - if (!s_HorizontalScrollModeProperty) - { - s_HorizontalScrollModeProperty = - InitializeDependencyProperty( - L"HorizontalScrollMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultHorizontalScrollMode), - winrt::PropertyChangedCallback(&OnHorizontalScrollModePropertyChanged)); - } - if (!s_HorizontalScrollRailModeProperty) - { - s_HorizontalScrollRailModeProperty = - InitializeDependencyProperty( - L"HorizontalScrollRailMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultHorizontalScrollRailMode), - winrt::PropertyChangedCallback(&OnHorizontalScrollRailModePropertyChanged)); - } - if (!s_IgnoredInputKindsProperty) - { - s_IgnoredInputKindsProperty = - InitializeDependencyProperty( - L"IgnoredInputKinds", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultIgnoredInputKinds), - winrt::PropertyChangedCallback(&OnIgnoredInputKindsPropertyChanged)); - } - if (!s_MaxZoomFactorProperty) - { - s_MaxZoomFactorProperty = - InitializeDependencyProperty( - L"MaxZoomFactor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultMaxZoomFactor), - winrt::PropertyChangedCallback(&OnMaxZoomFactorPropertyChanged)); - } - if (!s_MinZoomFactorProperty) - { - s_MinZoomFactorProperty = - InitializeDependencyProperty( - L"MinZoomFactor", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultMinZoomFactor), - winrt::PropertyChangedCallback(&OnMinZoomFactorPropertyChanged)); - } - if (!s_ScrollPresenterProperty) - { - s_ScrollPresenterProperty = - InitializeDependencyProperty( - L"ScrollPresenter", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnScrollPresenterPropertyChanged)); - } - if (!s_VerticalAnchorRatioProperty) - { - s_VerticalAnchorRatioProperty = - InitializeDependencyProperty( - L"VerticalAnchorRatio", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultAnchorRatio), - winrt::PropertyChangedCallback(&OnVerticalAnchorRatioPropertyChanged)); - } - if (!s_VerticalScrollBarVisibilityProperty) - { - s_VerticalScrollBarVisibilityProperty = - InitializeDependencyProperty( - L"VerticalScrollBarVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultVerticalScrollBarVisibility), - winrt::PropertyChangedCallback(&OnVerticalScrollBarVisibilityPropertyChanged)); - } - if (!s_VerticalScrollChainModeProperty) - { - s_VerticalScrollChainModeProperty = - InitializeDependencyProperty( - L"VerticalScrollChainMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultVerticalScrollChainMode), - winrt::PropertyChangedCallback(&OnVerticalScrollChainModePropertyChanged)); - } - if (!s_VerticalScrollModeProperty) - { - s_VerticalScrollModeProperty = - InitializeDependencyProperty( - L"VerticalScrollMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultVerticalScrollMode), - winrt::PropertyChangedCallback(&OnVerticalScrollModePropertyChanged)); - } - if (!s_VerticalScrollRailModeProperty) - { - s_VerticalScrollRailModeProperty = - InitializeDependencyProperty( - L"VerticalScrollRailMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultVerticalScrollRailMode), - winrt::PropertyChangedCallback(&OnVerticalScrollRailModePropertyChanged)); - } - if (!s_ZoomChainModeProperty) - { - s_ZoomChainModeProperty = - InitializeDependencyProperty( - L"ZoomChainMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultZoomChainMode), - winrt::PropertyChangedCallback(&OnZoomChainModePropertyChanged)); - } - if (!s_ZoomModeProperty) - { - s_ZoomModeProperty = - InitializeDependencyProperty( - L"ZoomMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(ScrollView::s_defaultZoomMode), - winrt::PropertyChangedCallback(&OnZoomModePropertyChanged)); - } -} - -void ScrollViewProperties::ClearProperties() -{ - s_ComputedHorizontalScrollBarVisibilityProperty = nullptr; - s_ComputedVerticalScrollBarVisibilityProperty = nullptr; - s_ContentProperty = nullptr; - s_ContentOrientationProperty = nullptr; - s_HorizontalAnchorRatioProperty = nullptr; - s_HorizontalScrollBarVisibilityProperty = nullptr; - s_HorizontalScrollChainModeProperty = nullptr; - s_HorizontalScrollModeProperty = nullptr; - s_HorizontalScrollRailModeProperty = nullptr; - s_IgnoredInputKindsProperty = nullptr; - s_MaxZoomFactorProperty = nullptr; - s_MinZoomFactorProperty = nullptr; - s_ScrollPresenterProperty = nullptr; - s_VerticalAnchorRatioProperty = nullptr; - s_VerticalScrollBarVisibilityProperty = nullptr; - s_VerticalScrollChainModeProperty = nullptr; - s_VerticalScrollModeProperty = nullptr; - s_VerticalScrollRailModeProperty = nullptr; - s_ZoomChainModeProperty = nullptr; - s_ZoomModeProperty = nullptr; -} - -void ScrollViewProperties::OnComputedHorizontalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnComputedVerticalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnContentOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnHorizontalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateAnchorRatio(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnHorizontalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnHorizontalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnHorizontalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnHorizontalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnIgnoredInputKindsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnMaxZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateZoomFactoryBoundary(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnMinZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateZoomFactoryBoundary(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnScrollPresenterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnVerticalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - - auto value = winrt::unbox_value(args.NewValue()); - auto coercedValue = value; - winrt::get_self(owner)->ValidateAnchorRatio(coercedValue); - if (std::memcmp(&value, &coercedValue, sizeof(value)) != 0) // use memcmp to avoid tripping over nan - { - sender.SetValue(args.Property(), winrt::box_value(coercedValue)); - return; - } - - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnVerticalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnVerticalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnVerticalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnVerticalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnZoomChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::OnZoomModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ScrollViewProperties::ComputedHorizontalScrollBarVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ComputedHorizontalScrollBarVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility ScrollViewProperties::ComputedHorizontalScrollBarVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ComputedHorizontalScrollBarVisibilityProperty)); -} - -void ScrollViewProperties::ComputedVerticalScrollBarVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ComputedVerticalScrollBarVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility ScrollViewProperties::ComputedVerticalScrollBarVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ComputedVerticalScrollBarVisibilityProperty)); -} - -void ScrollViewProperties::Content(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement ScrollViewProperties::Content() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentProperty)); -} - -void ScrollViewProperties::ContentOrientation(winrt::ScrollingContentOrientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentOrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingContentOrientation ScrollViewProperties::ContentOrientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentOrientationProperty)); -} - -void ScrollViewProperties::HorizontalAnchorRatio(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateAnchorRatio(coercedValue); - static_cast(this)->SetValue(s_HorizontalAnchorRatioProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollViewProperties::HorizontalAnchorRatio() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalAnchorRatioProperty)); -} - -void ScrollViewProperties::HorizontalScrollBarVisibility(winrt::ScrollingScrollBarVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalScrollBarVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingScrollBarVisibility ScrollViewProperties::HorizontalScrollBarVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalScrollBarVisibilityProperty)); -} - -void ScrollViewProperties::HorizontalScrollChainMode(winrt::ScrollingChainMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalScrollChainModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingChainMode ScrollViewProperties::HorizontalScrollChainMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalScrollChainModeProperty)); -} - -void ScrollViewProperties::HorizontalScrollMode(winrt::ScrollingScrollMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalScrollModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingScrollMode ScrollViewProperties::HorizontalScrollMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalScrollModeProperty)); -} - -void ScrollViewProperties::HorizontalScrollRailMode(winrt::ScrollingRailMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HorizontalScrollRailModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingRailMode ScrollViewProperties::HorizontalScrollRailMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HorizontalScrollRailModeProperty)); -} - -void ScrollViewProperties::IgnoredInputKinds(winrt::ScrollingInputKinds const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IgnoredInputKindsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingInputKinds ScrollViewProperties::IgnoredInputKinds() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IgnoredInputKindsProperty)); -} - -void ScrollViewProperties::MaxZoomFactor(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateZoomFactoryBoundary(coercedValue); - static_cast(this)->SetValue(s_MaxZoomFactorProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollViewProperties::MaxZoomFactor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxZoomFactorProperty)); -} - -void ScrollViewProperties::MinZoomFactor(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateZoomFactoryBoundary(coercedValue); - static_cast(this)->SetValue(s_MinZoomFactorProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollViewProperties::MinZoomFactor() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinZoomFactorProperty)); -} - - -void ScrollViewProperties::VerticalAnchorRatio(double value) -{ - [[gsl::suppress(con)]] - { - double coercedValue = value; - static_cast(this)->ValidateAnchorRatio(coercedValue); - static_cast(this)->SetValue(s_VerticalAnchorRatioProperty, ValueHelper::BoxValueIfNecessary(coercedValue)); - } -} - -double ScrollViewProperties::VerticalAnchorRatio() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalAnchorRatioProperty)); -} - -void ScrollViewProperties::VerticalScrollBarVisibility(winrt::ScrollingScrollBarVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalScrollBarVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingScrollBarVisibility ScrollViewProperties::VerticalScrollBarVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalScrollBarVisibilityProperty)); -} - -void ScrollViewProperties::VerticalScrollChainMode(winrt::ScrollingChainMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalScrollChainModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingChainMode ScrollViewProperties::VerticalScrollChainMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalScrollChainModeProperty)); -} - -void ScrollViewProperties::VerticalScrollMode(winrt::ScrollingScrollMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalScrollModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingScrollMode ScrollViewProperties::VerticalScrollMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalScrollModeProperty)); -} - -void ScrollViewProperties::VerticalScrollRailMode(winrt::ScrollingRailMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VerticalScrollRailModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingRailMode ScrollViewProperties::VerticalScrollRailMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VerticalScrollRailModeProperty)); -} - -void ScrollViewProperties::ZoomChainMode(winrt::ScrollingChainMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ZoomChainModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingChainMode ScrollViewProperties::ZoomChainMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ZoomChainModeProperty)); -} - -void ScrollViewProperties::ZoomMode(winrt::ScrollingZoomMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ZoomModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ScrollingZoomMode ScrollViewProperties::ZoomMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ZoomModeProperty)); -} - -winrt::event_token ScrollViewProperties::AnchorRequested(winrt::TypedEventHandler const& value) -{ - return m_anchorRequestedEventSource.add(value); -} - -void ScrollViewProperties::AnchorRequested(winrt::event_token const& token) -{ - m_anchorRequestedEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::BringingIntoView(winrt::TypedEventHandler const& value) -{ - return m_bringingIntoViewEventSource.add(value); -} - -void ScrollViewProperties::BringingIntoView(winrt::event_token const& token) -{ - m_bringingIntoViewEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::ExtentChanged(winrt::TypedEventHandler const& value) -{ - return m_extentChangedEventSource.add(value); -} - -void ScrollViewProperties::ExtentChanged(winrt::event_token const& token) -{ - m_extentChangedEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::ScrollAnimationStarting(winrt::TypedEventHandler const& value) -{ - return m_scrollAnimationStartingEventSource.add(value); -} - -void ScrollViewProperties::ScrollAnimationStarting(winrt::event_token const& token) -{ - m_scrollAnimationStartingEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::ScrollCompleted(winrt::TypedEventHandler const& value) -{ - return m_scrollCompletedEventSource.add(value); -} - -void ScrollViewProperties::ScrollCompleted(winrt::event_token const& token) -{ - m_scrollCompletedEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::StateChanged(winrt::TypedEventHandler const& value) -{ - return m_stateChangedEventSource.add(value); -} - -void ScrollViewProperties::StateChanged(winrt::event_token const& token) -{ - m_stateChangedEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::ViewChanged(winrt::TypedEventHandler const& value) -{ - return m_viewChangedEventSource.add(value); -} - -void ScrollViewProperties::ViewChanged(winrt::event_token const& token) -{ - m_viewChangedEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::ZoomAnimationStarting(winrt::TypedEventHandler const& value) -{ - return m_zoomAnimationStartingEventSource.add(value); -} - -void ScrollViewProperties::ZoomAnimationStarting(winrt::event_token const& token) -{ - m_zoomAnimationStartingEventSource.remove(token); -} - -winrt::event_token ScrollViewProperties::ZoomCompleted(winrt::TypedEventHandler const& value) -{ - return m_zoomCompletedEventSource.add(value); -} - -void ScrollViewProperties::ZoomCompleted(winrt::event_token const& token) -{ - m_zoomCompletedEventSource.remove(token); -} diff --git a/dev/Generated/ScrollView.properties.h b/dev/Generated/ScrollView.properties.h deleted file mode 100644 index 547f56b8a1..0000000000 --- a/dev/Generated/ScrollView.properties.h +++ /dev/null @@ -1,222 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ScrollViewProperties -{ -public: - ScrollViewProperties(); - - void ComputedHorizontalScrollBarVisibility(winrt::Visibility const& value); - winrt::Visibility ComputedHorizontalScrollBarVisibility(); - - void ComputedVerticalScrollBarVisibility(winrt::Visibility const& value); - winrt::Visibility ComputedVerticalScrollBarVisibility(); - - void Content(winrt::UIElement const& value); - winrt::UIElement Content(); - - void ContentOrientation(winrt::ScrollingContentOrientation const& value); - winrt::ScrollingContentOrientation ContentOrientation(); - - void HorizontalAnchorRatio(double value); - double HorizontalAnchorRatio(); - - void HorizontalScrollBarVisibility(winrt::ScrollingScrollBarVisibility const& value); - winrt::ScrollingScrollBarVisibility HorizontalScrollBarVisibility(); - - void HorizontalScrollChainMode(winrt::ScrollingChainMode const& value); - winrt::ScrollingChainMode HorizontalScrollChainMode(); - - void HorizontalScrollMode(winrt::ScrollingScrollMode const& value); - winrt::ScrollingScrollMode HorizontalScrollMode(); - - void HorizontalScrollRailMode(winrt::ScrollingRailMode const& value); - winrt::ScrollingRailMode HorizontalScrollRailMode(); - - void IgnoredInputKinds(winrt::ScrollingInputKinds const& value); - winrt::ScrollingInputKinds IgnoredInputKinds(); - - void MaxZoomFactor(double value); - double MaxZoomFactor(); - - void MinZoomFactor(double value); - double MinZoomFactor(); - - void VerticalAnchorRatio(double value); - double VerticalAnchorRatio(); - - void VerticalScrollBarVisibility(winrt::ScrollingScrollBarVisibility const& value); - winrt::ScrollingScrollBarVisibility VerticalScrollBarVisibility(); - - void VerticalScrollChainMode(winrt::ScrollingChainMode const& value); - winrt::ScrollingChainMode VerticalScrollChainMode(); - - void VerticalScrollMode(winrt::ScrollingScrollMode const& value); - winrt::ScrollingScrollMode VerticalScrollMode(); - - void VerticalScrollRailMode(winrt::ScrollingRailMode const& value); - winrt::ScrollingRailMode VerticalScrollRailMode(); - - void ZoomChainMode(winrt::ScrollingChainMode const& value); - winrt::ScrollingChainMode ZoomChainMode(); - - void ZoomMode(winrt::ScrollingZoomMode const& value); - winrt::ScrollingZoomMode ZoomMode(); - - static winrt::DependencyProperty ComputedHorizontalScrollBarVisibilityProperty() { return s_ComputedHorizontalScrollBarVisibilityProperty; } - static winrt::DependencyProperty ComputedVerticalScrollBarVisibilityProperty() { return s_ComputedVerticalScrollBarVisibilityProperty; } - static winrt::DependencyProperty ContentProperty() { return s_ContentProperty; } - static winrt::DependencyProperty ContentOrientationProperty() { return s_ContentOrientationProperty; } - static winrt::DependencyProperty HorizontalAnchorRatioProperty() { return s_HorizontalAnchorRatioProperty; } - static winrt::DependencyProperty HorizontalScrollBarVisibilityProperty() { return s_HorizontalScrollBarVisibilityProperty; } - static winrt::DependencyProperty HorizontalScrollChainModeProperty() { return s_HorizontalScrollChainModeProperty; } - static winrt::DependencyProperty HorizontalScrollModeProperty() { return s_HorizontalScrollModeProperty; } - static winrt::DependencyProperty HorizontalScrollRailModeProperty() { return s_HorizontalScrollRailModeProperty; } - static winrt::DependencyProperty IgnoredInputKindsProperty() { return s_IgnoredInputKindsProperty; } - static winrt::DependencyProperty MaxZoomFactorProperty() { return s_MaxZoomFactorProperty; } - static winrt::DependencyProperty MinZoomFactorProperty() { return s_MinZoomFactorProperty; } - static winrt::DependencyProperty ScrollPresenterProperty() { return s_ScrollPresenterProperty; } - static winrt::DependencyProperty VerticalAnchorRatioProperty() { return s_VerticalAnchorRatioProperty; } - static winrt::DependencyProperty VerticalScrollBarVisibilityProperty() { return s_VerticalScrollBarVisibilityProperty; } - static winrt::DependencyProperty VerticalScrollChainModeProperty() { return s_VerticalScrollChainModeProperty; } - static winrt::DependencyProperty VerticalScrollModeProperty() { return s_VerticalScrollModeProperty; } - static winrt::DependencyProperty VerticalScrollRailModeProperty() { return s_VerticalScrollRailModeProperty; } - static winrt::DependencyProperty ZoomChainModeProperty() { return s_ZoomChainModeProperty; } - static winrt::DependencyProperty ZoomModeProperty() { return s_ZoomModeProperty; } - - static GlobalDependencyProperty s_ComputedHorizontalScrollBarVisibilityProperty; - static GlobalDependencyProperty s_ComputedVerticalScrollBarVisibilityProperty; - static GlobalDependencyProperty s_ContentProperty; - static GlobalDependencyProperty s_ContentOrientationProperty; - static GlobalDependencyProperty s_HorizontalAnchorRatioProperty; - static GlobalDependencyProperty s_HorizontalScrollBarVisibilityProperty; - static GlobalDependencyProperty s_HorizontalScrollChainModeProperty; - static GlobalDependencyProperty s_HorizontalScrollModeProperty; - static GlobalDependencyProperty s_HorizontalScrollRailModeProperty; - static GlobalDependencyProperty s_IgnoredInputKindsProperty; - static GlobalDependencyProperty s_MaxZoomFactorProperty; - static GlobalDependencyProperty s_MinZoomFactorProperty; - static GlobalDependencyProperty s_ScrollPresenterProperty; - static GlobalDependencyProperty s_VerticalAnchorRatioProperty; - static GlobalDependencyProperty s_VerticalScrollBarVisibilityProperty; - static GlobalDependencyProperty s_VerticalScrollChainModeProperty; - static GlobalDependencyProperty s_VerticalScrollModeProperty; - static GlobalDependencyProperty s_VerticalScrollRailModeProperty; - static GlobalDependencyProperty s_ZoomChainModeProperty; - static GlobalDependencyProperty s_ZoomModeProperty; - - winrt::event_token AnchorRequested(winrt::TypedEventHandler const& value); - void AnchorRequested(winrt::event_token const& token); - winrt::event_token BringingIntoView(winrt::TypedEventHandler const& value); - void BringingIntoView(winrt::event_token const& token); - winrt::event_token ExtentChanged(winrt::TypedEventHandler const& value); - void ExtentChanged(winrt::event_token const& token); - winrt::event_token ScrollAnimationStarting(winrt::TypedEventHandler const& value); - void ScrollAnimationStarting(winrt::event_token const& token); - winrt::event_token ScrollCompleted(winrt::TypedEventHandler const& value); - void ScrollCompleted(winrt::event_token const& token); - winrt::event_token StateChanged(winrt::TypedEventHandler const& value); - void StateChanged(winrt::event_token const& token); - winrt::event_token ViewChanged(winrt::TypedEventHandler const& value); - void ViewChanged(winrt::event_token const& token); - winrt::event_token ZoomAnimationStarting(winrt::TypedEventHandler const& value); - void ZoomAnimationStarting(winrt::event_token const& token); - winrt::event_token ZoomCompleted(winrt::TypedEventHandler const& value); - void ZoomCompleted(winrt::event_token const& token); - - event_source> m_anchorRequestedEventSource; - event_source> m_bringingIntoViewEventSource; - event_source> m_extentChangedEventSource; - event_source> m_scrollAnimationStartingEventSource; - event_source> m_scrollCompletedEventSource; - event_source> m_stateChangedEventSource; - event_source> m_viewChangedEventSource; - event_source> m_zoomAnimationStartingEventSource; - event_source> m_zoomCompletedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnComputedHorizontalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnComputedVerticalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnContentOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHorizontalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIgnoredInputKindsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinZoomFactorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnScrollPresenterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalAnchorRatioPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalScrollBarVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalScrollChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalScrollModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVerticalScrollRailModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnZoomChainModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnZoomModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ScrollViewTestHooks.properties.cpp b/dev/Generated/ScrollViewTestHooks.properties.cpp deleted file mode 100644 index d693ea290d..0000000000 --- a/dev/Generated/ScrollViewTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollViewTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ScrollViewTestHooks) -} - -#include "ScrollViewTestHooks.g.cpp" - - diff --git a/dev/Generated/ScrollViewerIRefreshInfoProviderAdapter.properties.cpp b/dev/Generated/ScrollViewerIRefreshInfoProviderAdapter.properties.cpp deleted file mode 100644 index 50492d4547..0000000000 --- a/dev/Generated/ScrollViewerIRefreshInfoProviderAdapter.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollViewerIRefreshInfoProviderAdapter.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ScrollViewerIRefreshInfoProviderAdapter) -} - -#include "ScrollViewerIRefreshInfoProviderAdapter.g.cpp" - - diff --git a/dev/Generated/ScrollingScrollOptions.properties.cpp b/dev/Generated/ScrollingScrollOptions.properties.cpp deleted file mode 100644 index 231c3a4569..0000000000 --- a/dev/Generated/ScrollingScrollOptions.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollingScrollOptions.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ScrollingScrollOptions) -} - -#include "ScrollingScrollOptions.g.cpp" - - diff --git a/dev/Generated/ScrollingZoomOptions.properties.cpp b/dev/Generated/ScrollingZoomOptions.properties.cpp deleted file mode 100644 index 387f36e9b2..0000000000 --- a/dev/Generated/ScrollingZoomOptions.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ScrollingZoomOptions.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ScrollingZoomOptions) -} - -#include "ScrollingZoomOptions.g.cpp" - - diff --git a/dev/Generated/SelectionModel.properties.cpp b/dev/Generated/SelectionModel.properties.cpp deleted file mode 100644 index c017f6242d..0000000000 --- a/dev/Generated/SelectionModel.properties.cpp +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SelectionModel.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(SelectionModel) -} - -#include "SelectionModel.g.cpp" - - -SelectionModelProperties::SelectionModelProperties() - : m_childrenRequestedEventSource{static_cast(this)} - , m_selectionChangedEventSource{static_cast(this)} -{ -} - -void SelectionModelProperties::EnsureProperties() -{ -} - -void SelectionModelProperties::ClearProperties() -{ -} - -winrt::event_token SelectionModelProperties::ChildrenRequested(winrt::TypedEventHandler const& value) -{ - return m_childrenRequestedEventSource.add(value); -} - -void SelectionModelProperties::ChildrenRequested(winrt::event_token const& token) -{ - m_childrenRequestedEventSource.remove(token); -} - -winrt::event_token SelectionModelProperties::SelectionChanged(winrt::TypedEventHandler const& value) -{ - return m_selectionChangedEventSource.add(value); -} - -void SelectionModelProperties::SelectionChanged(winrt::event_token const& token) -{ - m_selectionChangedEventSource.remove(token); -} diff --git a/dev/Generated/SelectionModel.properties.h b/dev/Generated/SelectionModel.properties.h deleted file mode 100644 index 8a4567432b..0000000000 --- a/dev/Generated/SelectionModel.properties.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SelectionModelProperties -{ -public: - SelectionModelProperties(); - - - - winrt::event_token ChildrenRequested(winrt::TypedEventHandler const& value); - void ChildrenRequested(winrt::event_token const& token); - winrt::event_token SelectionChanged(winrt::TypedEventHandler const& value); - void SelectionChanged(winrt::event_token const& token); - - event_source> m_childrenRequestedEventSource; - event_source> m_selectionChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/SliderInteraction.properties.cpp b/dev/Generated/SliderInteraction.properties.cpp deleted file mode 100644 index 63e997b67f..0000000000 --- a/dev/Generated/SliderInteraction.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SliderInteraction.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(SliderInteraction) -} - -#include "SliderInteraction.g.cpp" - - diff --git a/dev/Generated/SnapPointBase.properties.cpp b/dev/Generated/SnapPointBase.properties.cpp deleted file mode 100644 index f8a02a05e8..0000000000 --- a/dev/Generated/SnapPointBase.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SnapPointBase.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(SnapPointBase) -} - -#include "SnapPointBase.g.cpp" - - diff --git a/dev/Generated/SpectrumBrush.properties.cpp b/dev/Generated/SpectrumBrush.properties.cpp deleted file mode 100644 index 59674fd611..0000000000 --- a/dev/Generated/SpectrumBrush.properties.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SpectrumBrush.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithDPFactory(SpectrumBrush) -} - -#include "SpectrumBrush.g.cpp" - -GlobalDependencyProperty SpectrumBrushProperties::s_MaxSurfaceProperty{ nullptr }; -GlobalDependencyProperty SpectrumBrushProperties::s_MaxSurfaceOpacityProperty{ nullptr }; -GlobalDependencyProperty SpectrumBrushProperties::s_MinSurfaceProperty{ nullptr }; - -SpectrumBrushProperties::SpectrumBrushProperties() -{ - EnsureProperties(); -} - -void SpectrumBrushProperties::EnsureProperties() -{ - if (!s_MaxSurfaceProperty) - { - s_MaxSurfaceProperty = - InitializeDependencyProperty( - L"MaxSurface", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMaxSurfacePropertyChanged)); - } - if (!s_MaxSurfaceOpacityProperty) - { - s_MaxSurfaceOpacityProperty = - InitializeDependencyProperty( - L"MaxSurfaceOpacity", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1.0), - winrt::PropertyChangedCallback(&OnMaxSurfaceOpacityPropertyChanged)); - } - if (!s_MinSurfaceProperty) - { - s_MinSurfaceProperty = - InitializeDependencyProperty( - L"MinSurface", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnMinSurfacePropertyChanged)); - } -} - -void SpectrumBrushProperties::ClearProperties() -{ - s_MaxSurfaceProperty = nullptr; - s_MaxSurfaceOpacityProperty = nullptr; - s_MinSurfaceProperty = nullptr; -} - -void SpectrumBrushProperties::OnMaxSurfacePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SpectrumBrushProperties::OnMaxSurfaceOpacityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SpectrumBrushProperties::OnMinSurfacePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SpectrumBrushProperties::MaxSurface(winrt::LoadedImageSurface const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxSurfaceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::LoadedImageSurface SpectrumBrushProperties::MaxSurface() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxSurfaceProperty)); -} - -void SpectrumBrushProperties::MaxSurfaceOpacity(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaxSurfaceOpacityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double SpectrumBrushProperties::MaxSurfaceOpacity() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaxSurfaceOpacityProperty)); -} - -void SpectrumBrushProperties::MinSurface(winrt::LoadedImageSurface const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinSurfaceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::LoadedImageSurface SpectrumBrushProperties::MinSurface() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinSurfaceProperty)); -} diff --git a/dev/Generated/SpectrumBrush.properties.h b/dev/Generated/SpectrumBrush.properties.h deleted file mode 100644 index 4bdabc5d0d..0000000000 --- a/dev/Generated/SpectrumBrush.properties.h +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SpectrumBrushProperties -{ -public: - SpectrumBrushProperties(); - - void MaxSurface(winrt::LoadedImageSurface const& value); - winrt::LoadedImageSurface MaxSurface(); - - void MaxSurfaceOpacity(double value); - double MaxSurfaceOpacity(); - - void MinSurface(winrt::LoadedImageSurface const& value); - winrt::LoadedImageSurface MinSurface(); - - static winrt::DependencyProperty MaxSurfaceProperty() { return s_MaxSurfaceProperty; } - static winrt::DependencyProperty MaxSurfaceOpacityProperty() { return s_MaxSurfaceOpacityProperty; } - static winrt::DependencyProperty MinSurfaceProperty() { return s_MinSurfaceProperty; } - - static GlobalDependencyProperty s_MaxSurfaceProperty; - static GlobalDependencyProperty s_MaxSurfaceOpacityProperty; - static GlobalDependencyProperty s_MinSurfaceProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnMaxSurfacePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaxSurfaceOpacityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinSurfacePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/SplitButton.properties.cpp b/dev/Generated/SplitButton.properties.cpp deleted file mode 100644 index 994e5ec0a4..0000000000 --- a/dev/Generated/SplitButton.properties.cpp +++ /dev/null @@ -1,141 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SplitButton.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(SplitButton) -} - -#include "SplitButton.g.cpp" - -GlobalDependencyProperty SplitButtonProperties::s_CommandProperty{ nullptr }; -GlobalDependencyProperty SplitButtonProperties::s_CommandParameterProperty{ nullptr }; -GlobalDependencyProperty SplitButtonProperties::s_FlyoutProperty{ nullptr }; - -SplitButtonProperties::SplitButtonProperties() - : m_clickEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void SplitButtonProperties::EnsureProperties() -{ - if (!s_CommandProperty) - { - s_CommandProperty = - InitializeDependencyProperty( - L"Command", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCommandPropertyChanged)); - } - if (!s_CommandParameterProperty) - { - s_CommandParameterProperty = - InitializeDependencyProperty( - L"CommandParameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCommandParameterPropertyChanged)); - } - if (!s_FlyoutProperty) - { - s_FlyoutProperty = - InitializeDependencyProperty( - L"Flyout", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnFlyoutPropertyChanged)); - } -} - -void SplitButtonProperties::ClearProperties() -{ - s_CommandProperty = nullptr; - s_CommandParameterProperty = nullptr; - s_FlyoutProperty = nullptr; -} - -void SplitButtonProperties::OnCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SplitButtonProperties::OnCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SplitButtonProperties::OnFlyoutPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SplitButtonProperties::Command(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand SplitButtonProperties::Command() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CommandProperty)); -} - -void SplitButtonProperties::CommandParameter(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CommandParameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable SplitButtonProperties::CommandParameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CommandParameterProperty)); -} - -void SplitButtonProperties::Flyout(winrt::FlyoutBase const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_FlyoutProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::FlyoutBase SplitButtonProperties::Flyout() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_FlyoutProperty)); -} - -winrt::event_token SplitButtonProperties::Click(winrt::TypedEventHandler const& value) -{ - return m_clickEventSource.add(value); -} - -void SplitButtonProperties::Click(winrt::event_token const& token) -{ - m_clickEventSource.remove(token); -} diff --git a/dev/Generated/SplitButton.properties.h b/dev/Generated/SplitButton.properties.h deleted file mode 100644 index 3cd1e890e5..0000000000 --- a/dev/Generated/SplitButton.properties.h +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SplitButtonProperties -{ -public: - SplitButtonProperties(); - - void Command(winrt::ICommand const& value); - winrt::ICommand Command(); - - void CommandParameter(winrt::IInspectable const& value); - winrt::IInspectable CommandParameter(); - - void Flyout(winrt::FlyoutBase const& value); - winrt::FlyoutBase Flyout(); - - static winrt::DependencyProperty CommandProperty() { return s_CommandProperty; } - static winrt::DependencyProperty CommandParameterProperty() { return s_CommandParameterProperty; } - static winrt::DependencyProperty FlyoutProperty() { return s_FlyoutProperty; } - - static GlobalDependencyProperty s_CommandProperty; - static GlobalDependencyProperty s_CommandParameterProperty; - static GlobalDependencyProperty s_FlyoutProperty; - - winrt::event_token Click(winrt::TypedEventHandler const& value); - void Click(winrt::event_token const& token); - - event_source> m_clickEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnFlyoutPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/SplitButtonAutomationPeer.properties.cpp b/dev/Generated/SplitButtonAutomationPeer.properties.cpp deleted file mode 100644 index 82a9951d26..0000000000 --- a/dev/Generated/SplitButtonAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SplitButtonAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(SplitButtonAutomationPeer) -} - -#include "SplitButtonAutomationPeer.g.cpp" - - diff --git a/dev/Generated/SplitButtonTestApi.properties.cpp b/dev/Generated/SplitButtonTestApi.properties.cpp deleted file mode 100644 index 4d78958b91..0000000000 --- a/dev/Generated/SplitButtonTestApi.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SplitButtonTestApi.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(SplitButtonTestApi) -} - -#include "SplitButtonTestApi.g.cpp" - - diff --git a/dev/Generated/StackLayout.properties.cpp b/dev/Generated/StackLayout.properties.cpp deleted file mode 100644 index 90370eec5f..0000000000 --- a/dev/Generated/StackLayout.properties.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "StackLayout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(StackLayout) -} - -#include "StackLayout.g.cpp" - -GlobalDependencyProperty StackLayoutProperties::s_DisableVirtualizationProperty{ nullptr }; -GlobalDependencyProperty StackLayoutProperties::s_OrientationProperty{ nullptr }; -GlobalDependencyProperty StackLayoutProperties::s_SpacingProperty{ nullptr }; - -StackLayoutProperties::StackLayoutProperties() -{ - EnsureProperties(); -} - -void StackLayoutProperties::EnsureProperties() -{ - if (!s_DisableVirtualizationProperty) - { - s_DisableVirtualizationProperty = - InitializeDependencyProperty( - L"DisableVirtualization", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnDisableVirtualizationPropertyChanged)); - } - if (!s_OrientationProperty) - { - s_OrientationProperty = - InitializeDependencyProperty( - L"Orientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Orientation::Vertical), - winrt::PropertyChangedCallback(&OnOrientationPropertyChanged)); - } - if (!s_SpacingProperty) - { - s_SpacingProperty = - InitializeDependencyProperty( - L"Spacing", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnSpacingPropertyChanged)); - } -} - -void StackLayoutProperties::ClearProperties() -{ - s_DisableVirtualizationProperty = nullptr; - s_OrientationProperty = nullptr; - s_SpacingProperty = nullptr; -} - -void StackLayoutProperties::OnDisableVirtualizationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void StackLayoutProperties::OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void StackLayoutProperties::OnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void StackLayoutProperties::DisableVirtualization(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DisableVirtualizationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool StackLayoutProperties::DisableVirtualization() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DisableVirtualizationProperty)); -} - -void StackLayoutProperties::Orientation(winrt::Orientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Orientation StackLayoutProperties::Orientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OrientationProperty)); -} - -void StackLayoutProperties::Spacing(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SpacingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double StackLayoutProperties::Spacing() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SpacingProperty)); -} diff --git a/dev/Generated/StackLayout.properties.h b/dev/Generated/StackLayout.properties.h deleted file mode 100644 index ddd61b333a..0000000000 --- a/dev/Generated/StackLayout.properties.h +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class StackLayoutProperties -{ -public: - StackLayoutProperties(); - - void DisableVirtualization(bool value); - bool DisableVirtualization(); - - void Orientation(winrt::Orientation const& value); - winrt::Orientation Orientation(); - - void Spacing(double value); - double Spacing(); - - static winrt::DependencyProperty DisableVirtualizationProperty() { return s_DisableVirtualizationProperty; } - static winrt::DependencyProperty OrientationProperty() { return s_OrientationProperty; } - static winrt::DependencyProperty SpacingProperty() { return s_SpacingProperty; } - - static GlobalDependencyProperty s_DisableVirtualizationProperty; - static GlobalDependencyProperty s_OrientationProperty; - static GlobalDependencyProperty s_SpacingProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnDisableVirtualizationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/StackLayoutState.properties.cpp b/dev/Generated/StackLayoutState.properties.cpp deleted file mode 100644 index 174cfb5c10..0000000000 --- a/dev/Generated/StackLayoutState.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "StackLayoutState.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(StackLayoutState) -} - -#include "StackLayoutState.g.cpp" - - diff --git a/dev/Generated/SwipeControl.properties.cpp b/dev/Generated/SwipeControl.properties.cpp deleted file mode 100644 index aa52aa18f5..0000000000 --- a/dev/Generated/SwipeControl.properties.cpp +++ /dev/null @@ -1,164 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SwipeControl.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(SwipeControl) -} - -#include "SwipeControl.g.cpp" - -GlobalDependencyProperty SwipeControlProperties::s_BottomItemsProperty{ nullptr }; -GlobalDependencyProperty SwipeControlProperties::s_LeftItemsProperty{ nullptr }; -GlobalDependencyProperty SwipeControlProperties::s_RightItemsProperty{ nullptr }; -GlobalDependencyProperty SwipeControlProperties::s_TopItemsProperty{ nullptr }; - -SwipeControlProperties::SwipeControlProperties() -{ - EnsureProperties(); -} - -void SwipeControlProperties::EnsureProperties() -{ - if (!s_BottomItemsProperty) - { - s_BottomItemsProperty = - InitializeDependencyProperty( - L"BottomItems", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBottomItemsPropertyChanged)); - } - if (!s_LeftItemsProperty) - { - s_LeftItemsProperty = - InitializeDependencyProperty( - L"LeftItems", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnLeftItemsPropertyChanged)); - } - if (!s_RightItemsProperty) - { - s_RightItemsProperty = - InitializeDependencyProperty( - L"RightItems", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnRightItemsPropertyChanged)); - } - if (!s_TopItemsProperty) - { - s_TopItemsProperty = - InitializeDependencyProperty( - L"TopItems", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTopItemsPropertyChanged)); - } -} - -void SwipeControlProperties::ClearProperties() -{ - s_BottomItemsProperty = nullptr; - s_LeftItemsProperty = nullptr; - s_RightItemsProperty = nullptr; - s_TopItemsProperty = nullptr; -} - -void SwipeControlProperties::OnBottomItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeControlProperties::OnLeftItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeControlProperties::OnRightItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeControlProperties::OnTopItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeControlProperties::BottomItems(winrt::SwipeItems const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BottomItemsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::SwipeItems SwipeControlProperties::BottomItems() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BottomItemsProperty)); -} - -void SwipeControlProperties::LeftItems(winrt::SwipeItems const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_LeftItemsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::SwipeItems SwipeControlProperties::LeftItems() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_LeftItemsProperty)); -} - -void SwipeControlProperties::RightItems(winrt::SwipeItems const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_RightItemsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::SwipeItems SwipeControlProperties::RightItems() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_RightItemsProperty)); -} - -void SwipeControlProperties::TopItems(winrt::SwipeItems const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TopItemsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::SwipeItems SwipeControlProperties::TopItems() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TopItemsProperty)); -} diff --git a/dev/Generated/SwipeControl.properties.h b/dev/Generated/SwipeControl.properties.h deleted file mode 100644 index 26c680c0af..0000000000 --- a/dev/Generated/SwipeControl.properties.h +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SwipeControlProperties -{ -public: - SwipeControlProperties(); - - void BottomItems(winrt::SwipeItems const& value); - winrt::SwipeItems BottomItems(); - - void LeftItems(winrt::SwipeItems const& value); - winrt::SwipeItems LeftItems(); - - void RightItems(winrt::SwipeItems const& value); - winrt::SwipeItems RightItems(); - - void TopItems(winrt::SwipeItems const& value); - winrt::SwipeItems TopItems(); - - static winrt::DependencyProperty BottomItemsProperty() { return s_BottomItemsProperty; } - static winrt::DependencyProperty LeftItemsProperty() { return s_LeftItemsProperty; } - static winrt::DependencyProperty RightItemsProperty() { return s_RightItemsProperty; } - static winrt::DependencyProperty TopItemsProperty() { return s_TopItemsProperty; } - - static GlobalDependencyProperty s_BottomItemsProperty; - static GlobalDependencyProperty s_LeftItemsProperty; - static GlobalDependencyProperty s_RightItemsProperty; - static GlobalDependencyProperty s_TopItemsProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnBottomItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnLeftItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnRightItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTopItemsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/SwipeItem.properties.cpp b/dev/Generated/SwipeItem.properties.cpp deleted file mode 100644 index c80e9be9e2..0000000000 --- a/dev/Generated/SwipeItem.properties.cpp +++ /dev/null @@ -1,277 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SwipeItem.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(SwipeItem) -} - -#include "SwipeItem.g.cpp" - -GlobalDependencyProperty SwipeItemProperties::s_BackgroundProperty{ nullptr }; -GlobalDependencyProperty SwipeItemProperties::s_BehaviorOnInvokedProperty{ nullptr }; -GlobalDependencyProperty SwipeItemProperties::s_CommandProperty{ nullptr }; -GlobalDependencyProperty SwipeItemProperties::s_CommandParameterProperty{ nullptr }; -GlobalDependencyProperty SwipeItemProperties::s_ForegroundProperty{ nullptr }; -GlobalDependencyProperty SwipeItemProperties::s_IconSourceProperty{ nullptr }; -GlobalDependencyProperty SwipeItemProperties::s_TextProperty{ nullptr }; - -SwipeItemProperties::SwipeItemProperties() - : m_invokedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void SwipeItemProperties::EnsureProperties() -{ - if (!s_BackgroundProperty) - { - s_BackgroundProperty = - InitializeDependencyProperty( - L"Background", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnBackgroundPropertyChanged)); - } - if (!s_BehaviorOnInvokedProperty) - { - s_BehaviorOnInvokedProperty = - InitializeDependencyProperty( - L"BehaviorOnInvoked", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::SwipeBehaviorOnInvoked::Auto), - winrt::PropertyChangedCallback(&OnBehaviorOnInvokedPropertyChanged)); - } - if (!s_CommandProperty) - { - s_CommandProperty = - InitializeDependencyProperty( - L"Command", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCommandPropertyChanged)); - } - if (!s_CommandParameterProperty) - { - s_CommandParameterProperty = - InitializeDependencyProperty( - L"CommandParameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCommandParameterPropertyChanged)); - } - if (!s_ForegroundProperty) - { - s_ForegroundProperty = - InitializeDependencyProperty( - L"Foreground", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnForegroundPropertyChanged)); - } - if (!s_IconSourceProperty) - { - s_IconSourceProperty = - InitializeDependencyProperty( - L"IconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIconSourcePropertyChanged)); - } - if (!s_TextProperty) - { - s_TextProperty = - InitializeDependencyProperty( - L"Text", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTextPropertyChanged)); - } -} - -void SwipeItemProperties::ClearProperties() -{ - s_BackgroundProperty = nullptr; - s_BehaviorOnInvokedProperty = nullptr; - s_CommandProperty = nullptr; - s_CommandParameterProperty = nullptr; - s_ForegroundProperty = nullptr; - s_IconSourceProperty = nullptr; - s_TextProperty = nullptr; -} - -void SwipeItemProperties::OnBackgroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemProperties::OnBehaviorOnInvokedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemProperties::OnCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemProperties::OnCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemProperties::OnForegroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemProperties::OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemProperties::OnTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemProperties::Background(winrt::Brush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BackgroundProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Brush SwipeItemProperties::Background() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BackgroundProperty)); -} - -void SwipeItemProperties::BehaviorOnInvoked(winrt::SwipeBehaviorOnInvoked const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_BehaviorOnInvokedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::SwipeBehaviorOnInvoked SwipeItemProperties::BehaviorOnInvoked() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_BehaviorOnInvokedProperty)); -} - -void SwipeItemProperties::Command(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand SwipeItemProperties::Command() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CommandProperty)); -} - -void SwipeItemProperties::CommandParameter(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CommandParameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable SwipeItemProperties::CommandParameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CommandParameterProperty)); -} - -void SwipeItemProperties::Foreground(winrt::Brush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ForegroundProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Brush SwipeItemProperties::Foreground() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ForegroundProperty)); -} - -void SwipeItemProperties::IconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource SwipeItemProperties::IconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconSourceProperty)); -} - -void SwipeItemProperties::Text(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TextProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring SwipeItemProperties::Text() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TextProperty)); -} - -winrt::event_token SwipeItemProperties::Invoked(winrt::TypedEventHandler const& value) -{ - return m_invokedEventSource.add(value); -} - -void SwipeItemProperties::Invoked(winrt::event_token const& token) -{ - m_invokedEventSource.remove(token); -} diff --git a/dev/Generated/SwipeItem.properties.h b/dev/Generated/SwipeItem.properties.h deleted file mode 100644 index 1d4d4d45dd..0000000000 --- a/dev/Generated/SwipeItem.properties.h +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SwipeItemProperties -{ -public: - SwipeItemProperties(); - - void Background(winrt::Brush const& value); - winrt::Brush Background(); - - void BehaviorOnInvoked(winrt::SwipeBehaviorOnInvoked const& value); - winrt::SwipeBehaviorOnInvoked BehaviorOnInvoked(); - - void Command(winrt::ICommand const& value); - winrt::ICommand Command(); - - void CommandParameter(winrt::IInspectable const& value); - winrt::IInspectable CommandParameter(); - - void Foreground(winrt::Brush const& value); - winrt::Brush Foreground(); - - void IconSource(winrt::IconSource const& value); - winrt::IconSource IconSource(); - - void Text(winrt::hstring const& value); - winrt::hstring Text(); - - static winrt::DependencyProperty BackgroundProperty() { return s_BackgroundProperty; } - static winrt::DependencyProperty BehaviorOnInvokedProperty() { return s_BehaviorOnInvokedProperty; } - static winrt::DependencyProperty CommandProperty() { return s_CommandProperty; } - static winrt::DependencyProperty CommandParameterProperty() { return s_CommandParameterProperty; } - static winrt::DependencyProperty ForegroundProperty() { return s_ForegroundProperty; } - static winrt::DependencyProperty IconSourceProperty() { return s_IconSourceProperty; } - static winrt::DependencyProperty TextProperty() { return s_TextProperty; } - - static GlobalDependencyProperty s_BackgroundProperty; - static GlobalDependencyProperty s_BehaviorOnInvokedProperty; - static GlobalDependencyProperty s_CommandProperty; - static GlobalDependencyProperty s_CommandParameterProperty; - static GlobalDependencyProperty s_ForegroundProperty; - static GlobalDependencyProperty s_IconSourceProperty; - static GlobalDependencyProperty s_TextProperty; - - winrt::event_token Invoked(winrt::TypedEventHandler const& value); - void Invoked(winrt::event_token const& token); - - event_source> m_invokedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnBackgroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnBehaviorOnInvokedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnForegroundPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTextPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/SwipeItems.properties.cpp b/dev/Generated/SwipeItems.properties.cpp deleted file mode 100644 index f052aea9e3..0000000000 --- a/dev/Generated/SwipeItems.properties.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SwipeItems.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(SwipeItems) -} - -#include "SwipeItems.g.cpp" - -GlobalDependencyProperty SwipeItemsProperties::s_ModeProperty{ nullptr }; - -SwipeItemsProperties::SwipeItemsProperties() -{ - EnsureProperties(); -} - -void SwipeItemsProperties::EnsureProperties() -{ - if (!s_ModeProperty) - { - s_ModeProperty = - InitializeDependencyProperty( - L"Mode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::SwipeMode::Reveal), - winrt::PropertyChangedCallback(&OnModePropertyChanged)); - } -} - -void SwipeItemsProperties::ClearProperties() -{ - s_ModeProperty = nullptr; -} - -void SwipeItemsProperties::OnModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SwipeItemsProperties::Mode(winrt::SwipeMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::SwipeMode SwipeItemsProperties::Mode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ModeProperty)); -} diff --git a/dev/Generated/SwipeItems.properties.h b/dev/Generated/SwipeItems.properties.h deleted file mode 100644 index f2f2a987fd..0000000000 --- a/dev/Generated/SwipeItems.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SwipeItemsProperties -{ -public: - SwipeItemsProperties(); - - void Mode(winrt::SwipeMode const& value); - winrt::SwipeMode Mode(); - - static winrt::DependencyProperty ModeProperty() { return s_ModeProperty; } - - static GlobalDependencyProperty s_ModeProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/SwipeTestHooks.properties.cpp b/dev/Generated/SwipeTestHooks.properties.cpp deleted file mode 100644 index 1c61427c98..0000000000 --- a/dev/Generated/SwipeTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SwipeTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(SwipeTestHooks) -} - -#include "SwipeTestHooks.g.cpp" - - diff --git a/dev/Generated/SymbolIconSource.properties.cpp b/dev/Generated/SymbolIconSource.properties.cpp deleted file mode 100644 index 8acb02c6c3..0000000000 --- a/dev/Generated/SymbolIconSource.properties.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SymbolIconSource.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(SymbolIconSource) -} - -#include "SymbolIconSource.g.cpp" - -GlobalDependencyProperty SymbolIconSourceProperties::s_SymbolProperty{ nullptr }; - -SymbolIconSourceProperties::SymbolIconSourceProperties() -{ - EnsureProperties(); -} - -void SymbolIconSourceProperties::EnsureProperties() -{ - IconSource::EnsureProperties(); - if (!s_SymbolProperty) - { - s_SymbolProperty = - InitializeDependencyProperty( - L"Symbol", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Symbol::Emoji), - winrt::PropertyChangedCallback(&OnSymbolPropertyChanged)); - } -} - -void SymbolIconSourceProperties::ClearProperties() -{ - s_SymbolProperty = nullptr; - IconSource::ClearProperties(); -} - -void SymbolIconSourceProperties::OnSymbolPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SymbolIconSourceProperties::Symbol(winrt::Symbol const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SymbolProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Symbol SymbolIconSourceProperties::Symbol() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SymbolProperty)); -} diff --git a/dev/Generated/SymbolIconSource.properties.h b/dev/Generated/SymbolIconSource.properties.h deleted file mode 100644 index 89c52d00ee..0000000000 --- a/dev/Generated/SymbolIconSource.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SymbolIconSourceProperties -{ -public: - SymbolIconSourceProperties(); - - void Symbol(winrt::Symbol const& value); - winrt::Symbol Symbol(); - - static winrt::DependencyProperty SymbolProperty() { return s_SymbolProperty; } - - static GlobalDependencyProperty s_SymbolProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnSymbolPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/TabView.properties.cpp b/dev/Generated/TabView.properties.cpp deleted file mode 100644 index 55f57e2e3e..0000000000 --- a/dev/Generated/TabView.properties.cpp +++ /dev/null @@ -1,643 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TabView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TabView) -} - -#include "TabView.g.cpp" - -GlobalDependencyProperty TabViewProperties::s_AddTabButtonCommandProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_AddTabButtonCommandParameterProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_AllowDropTabsProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_CanDragTabsProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_CanReorderTabsProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_CloseButtonOverlayModeProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_IsAddTabButtonVisibleProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_SelectedIndexProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_SelectedItemProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabItemsProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabItemsSourceProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabItemTemplateProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabItemTemplateSelectorProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabStripFooterProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabStripFooterTemplateProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabStripHeaderProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabStripHeaderTemplateProperty{ nullptr }; -GlobalDependencyProperty TabViewProperties::s_TabWidthModeProperty{ nullptr }; - -TabViewProperties::TabViewProperties() - : m_addTabButtonClickEventSource{static_cast(this)} - , m_selectionChangedEventSource{static_cast(this)} - , m_tabCloseRequestedEventSource{static_cast(this)} - , m_tabDragCompletedEventSource{static_cast(this)} - , m_tabDragStartingEventSource{static_cast(this)} - , m_tabDroppedOutsideEventSource{static_cast(this)} - , m_tabItemsChangedEventSource{static_cast(this)} - , m_tabStripDragOverEventSource{static_cast(this)} - , m_tabStripDropEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void TabViewProperties::EnsureProperties() -{ - if (!s_AddTabButtonCommandProperty) - { - s_AddTabButtonCommandProperty = - InitializeDependencyProperty( - L"AddTabButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_AddTabButtonCommandParameterProperty) - { - s_AddTabButtonCommandParameterProperty = - InitializeDependencyProperty( - L"AddTabButtonCommandParameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_AllowDropTabsProperty) - { - s_AllowDropTabsProperty = - InitializeDependencyProperty( - L"AllowDropTabs", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - nullptr); - } - if (!s_CanDragTabsProperty) - { - s_CanDragTabsProperty = - InitializeDependencyProperty( - L"CanDragTabs", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - nullptr); - } - if (!s_CanReorderTabsProperty) - { - s_CanReorderTabsProperty = - InitializeDependencyProperty( - L"CanReorderTabs", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - nullptr); - } - if (!s_CloseButtonOverlayModeProperty) - { - s_CloseButtonOverlayModeProperty = - InitializeDependencyProperty( - L"CloseButtonOverlayMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TabViewCloseButtonOverlayMode::Auto), - winrt::PropertyChangedCallback(&OnCloseButtonOverlayModePropertyChanged)); - } - if (!s_IsAddTabButtonVisibleProperty) - { - s_IsAddTabButtonVisibleProperty = - InitializeDependencyProperty( - L"IsAddTabButtonVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - nullptr); - } - if (!s_SelectedIndexProperty) - { - s_SelectedIndexProperty = - InitializeDependencyProperty( - L"SelectedIndex", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0), - winrt::PropertyChangedCallback(&OnSelectedIndexPropertyChanged)); - } - if (!s_SelectedItemProperty) - { - s_SelectedItemProperty = - InitializeDependencyProperty( - L"SelectedItem", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSelectedItemPropertyChanged)); - } - if (!s_TabItemsProperty) - { - s_TabItemsProperty = - InitializeDependencyProperty( - L"TabItems", - winrt::name_of>(), - winrt::name_of(), - false /* isAttached */, - ValueHelper>::BoxedDefaultValue(), - nullptr); - } - if (!s_TabItemsSourceProperty) - { - s_TabItemsSourceProperty = - InitializeDependencyProperty( - L"TabItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTabItemsSourcePropertyChanged)); - } - if (!s_TabItemTemplateProperty) - { - s_TabItemTemplateProperty = - InitializeDependencyProperty( - L"TabItemTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TabItemTemplateSelectorProperty) - { - s_TabItemTemplateSelectorProperty = - InitializeDependencyProperty( - L"TabItemTemplateSelector", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TabStripFooterProperty) - { - s_TabStripFooterProperty = - InitializeDependencyProperty( - L"TabStripFooter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTabStripFooterPropertyChanged)); - } - if (!s_TabStripFooterTemplateProperty) - { - s_TabStripFooterTemplateProperty = - InitializeDependencyProperty( - L"TabStripFooterTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TabStripHeaderProperty) - { - s_TabStripHeaderProperty = - InitializeDependencyProperty( - L"TabStripHeader", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TabStripHeaderTemplateProperty) - { - s_TabStripHeaderTemplateProperty = - InitializeDependencyProperty( - L"TabStripHeaderTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TabWidthModeProperty) - { - s_TabWidthModeProperty = - InitializeDependencyProperty( - L"TabWidthMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TabViewWidthMode::Equal), - winrt::PropertyChangedCallback(&OnTabWidthModePropertyChanged)); - } -} - -void TabViewProperties::ClearProperties() -{ - s_AddTabButtonCommandProperty = nullptr; - s_AddTabButtonCommandParameterProperty = nullptr; - s_AllowDropTabsProperty = nullptr; - s_CanDragTabsProperty = nullptr; - s_CanReorderTabsProperty = nullptr; - s_CloseButtonOverlayModeProperty = nullptr; - s_IsAddTabButtonVisibleProperty = nullptr; - s_SelectedIndexProperty = nullptr; - s_SelectedItemProperty = nullptr; - s_TabItemsProperty = nullptr; - s_TabItemsSourceProperty = nullptr; - s_TabItemTemplateProperty = nullptr; - s_TabItemTemplateSelectorProperty = nullptr; - s_TabStripFooterProperty = nullptr; - s_TabStripFooterTemplateProperty = nullptr; - s_TabStripHeaderProperty = nullptr; - s_TabStripHeaderTemplateProperty = nullptr; - s_TabWidthModeProperty = nullptr; -} - -void TabViewProperties::OnCloseButtonOverlayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnCloseButtonOverlayModePropertyChanged(args); -} - -void TabViewProperties::OnSelectedIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSelectedIndexPropertyChanged(args); -} - -void TabViewProperties::OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnSelectedItemPropertyChanged(args); -} - -void TabViewProperties::OnTabItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnTabItemsSourcePropertyChanged(args); -} - -void TabViewProperties::OnTabStripFooterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnTabStripFooterPropertyChanged(args); -} - -void TabViewProperties::OnTabWidthModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnTabWidthModePropertyChanged(args); -} - -void TabViewProperties::AddTabButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AddTabButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand TabViewProperties::AddTabButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AddTabButtonCommandProperty)); -} - -void TabViewProperties::AddTabButtonCommandParameter(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AddTabButtonCommandParameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TabViewProperties::AddTabButtonCommandParameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AddTabButtonCommandParameterProperty)); -} - -void TabViewProperties::AllowDropTabs(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_AllowDropTabsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TabViewProperties::AllowDropTabs() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_AllowDropTabsProperty)); -} - -void TabViewProperties::CanDragTabs(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CanDragTabsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TabViewProperties::CanDragTabs() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CanDragTabsProperty)); -} - -void TabViewProperties::CanReorderTabs(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CanReorderTabsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TabViewProperties::CanReorderTabs() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CanReorderTabsProperty)); -} - -void TabViewProperties::CloseButtonOverlayMode(winrt::TabViewCloseButtonOverlayMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonOverlayModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TabViewCloseButtonOverlayMode TabViewProperties::CloseButtonOverlayMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonOverlayModeProperty)); -} - -void TabViewProperties::IsAddTabButtonVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsAddTabButtonVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TabViewProperties::IsAddTabButtonVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsAddTabButtonVisibleProperty)); -} - -void TabViewProperties::SelectedIndex(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedIndexProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int TabViewProperties::SelectedIndex() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedIndexProperty)); -} - -void TabViewProperties::SelectedItem(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedItemProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TabViewProperties::SelectedItem() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedItemProperty)); -} - -void TabViewProperties::TabItems(winrt::IVector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabItemsProperty, ValueHelper>::BoxValueIfNecessary(value)); - } -} - -winrt::IVector TabViewProperties::TabItems() -{ - return ValueHelper>::CastOrUnbox(static_cast(this)->GetValue(s_TabItemsProperty)); -} - -void TabViewProperties::TabItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TabViewProperties::TabItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabItemsSourceProperty)); -} - -void TabViewProperties::TabItemTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabItemTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate TabViewProperties::TabItemTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabItemTemplateProperty)); -} - -void TabViewProperties::TabItemTemplateSelector(winrt::DataTemplateSelector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabItemTemplateSelectorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplateSelector TabViewProperties::TabItemTemplateSelector() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabItemTemplateSelectorProperty)); -} - -void TabViewProperties::TabStripFooter(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabStripFooterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TabViewProperties::TabStripFooter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabStripFooterProperty)); -} - -void TabViewProperties::TabStripFooterTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabStripFooterTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate TabViewProperties::TabStripFooterTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabStripFooterTemplateProperty)); -} - -void TabViewProperties::TabStripHeader(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabStripHeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TabViewProperties::TabStripHeader() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabStripHeaderProperty)); -} - -void TabViewProperties::TabStripHeaderTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabStripHeaderTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate TabViewProperties::TabStripHeaderTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabStripHeaderTemplateProperty)); -} - -void TabViewProperties::TabWidthMode(winrt::TabViewWidthMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabWidthModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TabViewWidthMode TabViewProperties::TabWidthMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabWidthModeProperty)); -} - -winrt::event_token TabViewProperties::AddTabButtonClick(winrt::TypedEventHandler const& value) -{ - return m_addTabButtonClickEventSource.add(value); -} - -void TabViewProperties::AddTabButtonClick(winrt::event_token const& token) -{ - m_addTabButtonClickEventSource.remove(token); -} - -winrt::event_token TabViewProperties::SelectionChanged(winrt::SelectionChangedEventHandler const& value) -{ - return m_selectionChangedEventSource.add(value); -} - -void TabViewProperties::SelectionChanged(winrt::event_token const& token) -{ - m_selectionChangedEventSource.remove(token); -} - -winrt::event_token TabViewProperties::TabCloseRequested(winrt::TypedEventHandler const& value) -{ - return m_tabCloseRequestedEventSource.add(value); -} - -void TabViewProperties::TabCloseRequested(winrt::event_token const& token) -{ - m_tabCloseRequestedEventSource.remove(token); -} - -winrt::event_token TabViewProperties::TabDragCompleted(winrt::TypedEventHandler const& value) -{ - return m_tabDragCompletedEventSource.add(value); -} - -void TabViewProperties::TabDragCompleted(winrt::event_token const& token) -{ - m_tabDragCompletedEventSource.remove(token); -} - -winrt::event_token TabViewProperties::TabDragStarting(winrt::TypedEventHandler const& value) -{ - return m_tabDragStartingEventSource.add(value); -} - -void TabViewProperties::TabDragStarting(winrt::event_token const& token) -{ - m_tabDragStartingEventSource.remove(token); -} - -winrt::event_token TabViewProperties::TabDroppedOutside(winrt::TypedEventHandler const& value) -{ - return m_tabDroppedOutsideEventSource.add(value); -} - -void TabViewProperties::TabDroppedOutside(winrt::event_token const& token) -{ - m_tabDroppedOutsideEventSource.remove(token); -} - -winrt::event_token TabViewProperties::TabItemsChanged(winrt::TypedEventHandler const& value) -{ - return m_tabItemsChangedEventSource.add(value); -} - -void TabViewProperties::TabItemsChanged(winrt::event_token const& token) -{ - m_tabItemsChangedEventSource.remove(token); -} - -winrt::event_token TabViewProperties::TabStripDragOver(winrt::DragEventHandler const& value) -{ - return m_tabStripDragOverEventSource.add(value); -} - -void TabViewProperties::TabStripDragOver(winrt::event_token const& token) -{ - m_tabStripDragOverEventSource.remove(token); -} - -winrt::event_token TabViewProperties::TabStripDrop(winrt::DragEventHandler const& value) -{ - return m_tabStripDropEventSource.add(value); -} - -void TabViewProperties::TabStripDrop(winrt::event_token const& token) -{ - m_tabStripDropEventSource.remove(token); -} diff --git a/dev/Generated/TabView.properties.h b/dev/Generated/TabView.properties.h deleted file mode 100644 index c5acb54f34..0000000000 --- a/dev/Generated/TabView.properties.h +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TabViewProperties -{ -public: - TabViewProperties(); - - void AddTabButtonCommand(winrt::ICommand const& value); - winrt::ICommand AddTabButtonCommand(); - - void AddTabButtonCommandParameter(winrt::IInspectable const& value); - winrt::IInspectable AddTabButtonCommandParameter(); - - void AllowDropTabs(bool value); - bool AllowDropTabs(); - - void CanDragTabs(bool value); - bool CanDragTabs(); - - void CanReorderTabs(bool value); - bool CanReorderTabs(); - - void CloseButtonOverlayMode(winrt::TabViewCloseButtonOverlayMode const& value); - winrt::TabViewCloseButtonOverlayMode CloseButtonOverlayMode(); - - void IsAddTabButtonVisible(bool value); - bool IsAddTabButtonVisible(); - - void SelectedIndex(int value); - int SelectedIndex(); - - void SelectedItem(winrt::IInspectable const& value); - winrt::IInspectable SelectedItem(); - - void TabItems(winrt::IVector const& value); - winrt::IVector TabItems(); - - void TabItemsSource(winrt::IInspectable const& value); - winrt::IInspectable TabItemsSource(); - - void TabItemTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate TabItemTemplate(); - - void TabItemTemplateSelector(winrt::DataTemplateSelector const& value); - winrt::DataTemplateSelector TabItemTemplateSelector(); - - void TabStripFooter(winrt::IInspectable const& value); - winrt::IInspectable TabStripFooter(); - - void TabStripFooterTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate TabStripFooterTemplate(); - - void TabStripHeader(winrt::IInspectable const& value); - winrt::IInspectable TabStripHeader(); - - void TabStripHeaderTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate TabStripHeaderTemplate(); - - void TabWidthMode(winrt::TabViewWidthMode const& value); - winrt::TabViewWidthMode TabWidthMode(); - - static winrt::DependencyProperty AddTabButtonCommandProperty() { return s_AddTabButtonCommandProperty; } - static winrt::DependencyProperty AddTabButtonCommandParameterProperty() { return s_AddTabButtonCommandParameterProperty; } - static winrt::DependencyProperty AllowDropTabsProperty() { return s_AllowDropTabsProperty; } - static winrt::DependencyProperty CanDragTabsProperty() { return s_CanDragTabsProperty; } - static winrt::DependencyProperty CanReorderTabsProperty() { return s_CanReorderTabsProperty; } - static winrt::DependencyProperty CloseButtonOverlayModeProperty() { return s_CloseButtonOverlayModeProperty; } - static winrt::DependencyProperty IsAddTabButtonVisibleProperty() { return s_IsAddTabButtonVisibleProperty; } - static winrt::DependencyProperty SelectedIndexProperty() { return s_SelectedIndexProperty; } - static winrt::DependencyProperty SelectedItemProperty() { return s_SelectedItemProperty; } - static winrt::DependencyProperty TabItemsProperty() { return s_TabItemsProperty; } - static winrt::DependencyProperty TabItemsSourceProperty() { return s_TabItemsSourceProperty; } - static winrt::DependencyProperty TabItemTemplateProperty() { return s_TabItemTemplateProperty; } - static winrt::DependencyProperty TabItemTemplateSelectorProperty() { return s_TabItemTemplateSelectorProperty; } - static winrt::DependencyProperty TabStripFooterProperty() { return s_TabStripFooterProperty; } - static winrt::DependencyProperty TabStripFooterTemplateProperty() { return s_TabStripFooterTemplateProperty; } - static winrt::DependencyProperty TabStripHeaderProperty() { return s_TabStripHeaderProperty; } - static winrt::DependencyProperty TabStripHeaderTemplateProperty() { return s_TabStripHeaderTemplateProperty; } - static winrt::DependencyProperty TabWidthModeProperty() { return s_TabWidthModeProperty; } - - static GlobalDependencyProperty s_AddTabButtonCommandProperty; - static GlobalDependencyProperty s_AddTabButtonCommandParameterProperty; - static GlobalDependencyProperty s_AllowDropTabsProperty; - static GlobalDependencyProperty s_CanDragTabsProperty; - static GlobalDependencyProperty s_CanReorderTabsProperty; - static GlobalDependencyProperty s_CloseButtonOverlayModeProperty; - static GlobalDependencyProperty s_IsAddTabButtonVisibleProperty; - static GlobalDependencyProperty s_SelectedIndexProperty; - static GlobalDependencyProperty s_SelectedItemProperty; - static GlobalDependencyProperty s_TabItemsProperty; - static GlobalDependencyProperty s_TabItemsSourceProperty; - static GlobalDependencyProperty s_TabItemTemplateProperty; - static GlobalDependencyProperty s_TabItemTemplateSelectorProperty; - static GlobalDependencyProperty s_TabStripFooterProperty; - static GlobalDependencyProperty s_TabStripFooterTemplateProperty; - static GlobalDependencyProperty s_TabStripHeaderProperty; - static GlobalDependencyProperty s_TabStripHeaderTemplateProperty; - static GlobalDependencyProperty s_TabWidthModeProperty; - - winrt::event_token AddTabButtonClick(winrt::TypedEventHandler const& value); - void AddTabButtonClick(winrt::event_token const& token); - winrt::event_token SelectionChanged(winrt::SelectionChangedEventHandler const& value); - void SelectionChanged(winrt::event_token const& token); - winrt::event_token TabCloseRequested(winrt::TypedEventHandler const& value); - void TabCloseRequested(winrt::event_token const& token); - winrt::event_token TabDragCompleted(winrt::TypedEventHandler const& value); - void TabDragCompleted(winrt::event_token const& token); - winrt::event_token TabDragStarting(winrt::TypedEventHandler const& value); - void TabDragStarting(winrt::event_token const& token); - winrt::event_token TabDroppedOutside(winrt::TypedEventHandler const& value); - void TabDroppedOutside(winrt::event_token const& token); - winrt::event_token TabItemsChanged(winrt::TypedEventHandler const& value); - void TabItemsChanged(winrt::event_token const& token); - winrt::event_token TabStripDragOver(winrt::DragEventHandler const& value); - void TabStripDragOver(winrt::event_token const& token); - winrt::event_token TabStripDrop(winrt::DragEventHandler const& value); - void TabStripDrop(winrt::event_token const& token); - - event_source> m_addTabButtonClickEventSource; - event_source m_selectionChangedEventSource; - event_source> m_tabCloseRequestedEventSource; - event_source> m_tabDragCompletedEventSource; - event_source> m_tabDragStartingEventSource; - event_source> m_tabDroppedOutsideEventSource; - event_source> m_tabItemsChangedEventSource; - event_source m_tabStripDragOverEventSource; - event_source m_tabStripDropEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnCloseButtonOverlayModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedIndexPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTabItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTabStripFooterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTabWidthModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/TabViewAutomationPeer.properties.cpp b/dev/Generated/TabViewAutomationPeer.properties.cpp deleted file mode 100644 index de59fb1d11..0000000000 --- a/dev/Generated/TabViewAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TabViewAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(TabViewAutomationPeer) -} - -#include "TabViewAutomationPeer.g.cpp" - - diff --git a/dev/Generated/TabViewItem.properties.cpp b/dev/Generated/TabViewItem.properties.cpp deleted file mode 100644 index 5918308511..0000000000 --- a/dev/Generated/TabViewItem.properties.cpp +++ /dev/null @@ -1,193 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TabViewItem.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TabViewItem) -} - -#include "TabViewItem.g.cpp" - -GlobalDependencyProperty TabViewItemProperties::s_HeaderProperty{ nullptr }; -GlobalDependencyProperty TabViewItemProperties::s_HeaderTemplateProperty{ nullptr }; -GlobalDependencyProperty TabViewItemProperties::s_IconSourceProperty{ nullptr }; -GlobalDependencyProperty TabViewItemProperties::s_IsClosableProperty{ nullptr }; -GlobalDependencyProperty TabViewItemProperties::s_TabViewTemplateSettingsProperty{ nullptr }; - -TabViewItemProperties::TabViewItemProperties() - : m_closeRequestedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void TabViewItemProperties::EnsureProperties() -{ - if (!s_HeaderProperty) - { - s_HeaderProperty = - InitializeDependencyProperty( - L"Header", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeaderPropertyChanged)); - } - if (!s_HeaderTemplateProperty) - { - s_HeaderTemplateProperty = - InitializeDependencyProperty( - L"HeaderTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_IconSourceProperty) - { - s_IconSourceProperty = - InitializeDependencyProperty( - L"IconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIconSourcePropertyChanged)); - } - if (!s_IsClosableProperty) - { - s_IsClosableProperty = - InitializeDependencyProperty( - L"IsClosable", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnIsClosablePropertyChanged)); - } - if (!s_TabViewTemplateSettingsProperty) - { - s_TabViewTemplateSettingsProperty = - InitializeDependencyProperty( - L"TabViewTemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void TabViewItemProperties::ClearProperties() -{ - s_HeaderProperty = nullptr; - s_HeaderTemplateProperty = nullptr; - s_IconSourceProperty = nullptr; - s_IsClosableProperty = nullptr; - s_TabViewTemplateSettingsProperty = nullptr; -} - -void TabViewItemProperties::OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnHeaderPropertyChanged(args); -} - -void TabViewItemProperties::OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIconSourcePropertyChanged(args); -} - -void TabViewItemProperties::OnIsClosablePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsClosablePropertyChanged(args); -} - -void TabViewItemProperties::Header(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TabViewItemProperties::Header() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderProperty)); -} - -void TabViewItemProperties::HeaderTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeaderTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate TabViewItemProperties::HeaderTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeaderTemplateProperty)); -} - -void TabViewItemProperties::IconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource TabViewItemProperties::IconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconSourceProperty)); -} - -void TabViewItemProperties::IsClosable(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsClosableProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TabViewItemProperties::IsClosable() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsClosableProperty)); -} - -void TabViewItemProperties::TabViewTemplateSettings(winrt::TabViewItemTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabViewTemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TabViewItemTemplateSettings TabViewItemProperties::TabViewTemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabViewTemplateSettingsProperty)); -} - -winrt::event_token TabViewItemProperties::CloseRequested(winrt::TypedEventHandler const& value) -{ - return m_closeRequestedEventSource.add(value); -} - -void TabViewItemProperties::CloseRequested(winrt::event_token const& token) -{ - m_closeRequestedEventSource.remove(token); -} diff --git a/dev/Generated/TabViewItem.properties.h b/dev/Generated/TabViewItem.properties.h deleted file mode 100644 index 8e746fb960..0000000000 --- a/dev/Generated/TabViewItem.properties.h +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TabViewItemProperties -{ -public: - TabViewItemProperties(); - - void Header(winrt::IInspectable const& value); - winrt::IInspectable Header(); - - void HeaderTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate HeaderTemplate(); - - void IconSource(winrt::IconSource const& value); - winrt::IconSource IconSource(); - - void IsClosable(bool value); - bool IsClosable(); - - void TabViewTemplateSettings(winrt::TabViewItemTemplateSettings const& value); - winrt::TabViewItemTemplateSettings TabViewTemplateSettings(); - - static winrt::DependencyProperty HeaderProperty() { return s_HeaderProperty; } - static winrt::DependencyProperty HeaderTemplateProperty() { return s_HeaderTemplateProperty; } - static winrt::DependencyProperty IconSourceProperty() { return s_IconSourceProperty; } - static winrt::DependencyProperty IsClosableProperty() { return s_IsClosableProperty; } - static winrt::DependencyProperty TabViewTemplateSettingsProperty() { return s_TabViewTemplateSettingsProperty; } - - static GlobalDependencyProperty s_HeaderProperty; - static GlobalDependencyProperty s_HeaderTemplateProperty; - static GlobalDependencyProperty s_IconSourceProperty; - static GlobalDependencyProperty s_IsClosableProperty; - static GlobalDependencyProperty s_TabViewTemplateSettingsProperty; - - winrt::event_token CloseRequested(winrt::TypedEventHandler const& value); - void CloseRequested(winrt::event_token const& token); - - event_source> m_closeRequestedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnHeaderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsClosablePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/TabViewItemAutomationPeer.properties.cpp b/dev/Generated/TabViewItemAutomationPeer.properties.cpp deleted file mode 100644 index 8db30c3722..0000000000 --- a/dev/Generated/TabViewItemAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TabViewItemAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(TabViewItemAutomationPeer) -} - -#include "TabViewItemAutomationPeer.g.cpp" - - diff --git a/dev/Generated/TabViewItemTemplateSettings.properties.cpp b/dev/Generated/TabViewItemTemplateSettings.properties.cpp deleted file mode 100644 index 140e40d96a..0000000000 --- a/dev/Generated/TabViewItemTemplateSettings.properties.cpp +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TabViewItemTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TabViewItemTemplateSettings) -} - -#include "TabViewItemTemplateSettings.g.cpp" - -GlobalDependencyProperty TabViewItemTemplateSettingsProperties::s_IconElementProperty{ nullptr }; -GlobalDependencyProperty TabViewItemTemplateSettingsProperties::s_TabGeometryProperty{ nullptr }; - -TabViewItemTemplateSettingsProperties::TabViewItemTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void TabViewItemTemplateSettingsProperties::EnsureProperties() -{ - if (!s_IconElementProperty) - { - s_IconElementProperty = - InitializeDependencyProperty( - L"IconElement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TabGeometryProperty) - { - s_TabGeometryProperty = - InitializeDependencyProperty( - L"TabGeometry", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void TabViewItemTemplateSettingsProperties::ClearProperties() -{ - s_IconElementProperty = nullptr; - s_TabGeometryProperty = nullptr; -} - -void TabViewItemTemplateSettingsProperties::IconElement(winrt::IconElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconElementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconElement TabViewItemTemplateSettingsProperties::IconElement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconElementProperty)); -} - -void TabViewItemTemplateSettingsProperties::TabGeometry(winrt::Geometry const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TabGeometryProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Geometry TabViewItemTemplateSettingsProperties::TabGeometry() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TabGeometryProperty)); -} diff --git a/dev/Generated/TabViewItemTemplateSettings.properties.h b/dev/Generated/TabViewItemTemplateSettings.properties.h deleted file mode 100644 index 8ca0b724e7..0000000000 --- a/dev/Generated/TabViewItemTemplateSettings.properties.h +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TabViewItemTemplateSettingsProperties -{ -public: - TabViewItemTemplateSettingsProperties(); - - void IconElement(winrt::IconElement const& value); - winrt::IconElement IconElement(); - - void TabGeometry(winrt::Geometry const& value); - winrt::Geometry TabGeometry(); - - static winrt::DependencyProperty IconElementProperty() { return s_IconElementProperty; } - static winrt::DependencyProperty TabGeometryProperty() { return s_TabGeometryProperty; } - - static GlobalDependencyProperty s_IconElementProperty; - static GlobalDependencyProperty s_TabGeometryProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/TabViewListView.properties.cpp b/dev/Generated/TabViewListView.properties.cpp deleted file mode 100644 index 7707d82174..0000000000 --- a/dev/Generated/TabViewListView.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TabViewListView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(TabViewListView) -} - -#include "TabViewListView.g.cpp" - - diff --git a/dev/Generated/TeachingTip.properties.cpp b/dev/Generated/TeachingTip.properties.cpp deleted file mode 100644 index 086da5f82b..0000000000 --- a/dev/Generated/TeachingTip.properties.cpp +++ /dev/null @@ -1,786 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TeachingTip.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TeachingTip) -} - -#include "TeachingTip.g.cpp" - -GlobalDependencyProperty TeachingTipProperties::s_ActionButtonCommandProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_ActionButtonCommandParameterProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_ActionButtonContentProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_ActionButtonStyleProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_CloseButtonCommandProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_CloseButtonCommandParameterProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_CloseButtonContentProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_CloseButtonStyleProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_HeroContentProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_HeroContentPlacementProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_IconSourceProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_IsLightDismissEnabledProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_IsOpenProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_PlacementMarginProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_PreferredPlacementProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_ShouldConstrainToRootBoundsProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_SubtitleProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_TailVisibilityProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_TargetProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_TemplateSettingsProperty{ nullptr }; -GlobalDependencyProperty TeachingTipProperties::s_TitleProperty{ nullptr }; - -TeachingTipProperties::TeachingTipProperties() - : m_actionButtonClickEventSource{static_cast(this)} - , m_closeButtonClickEventSource{static_cast(this)} - , m_closedEventSource{static_cast(this)} - , m_closingEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void TeachingTipProperties::EnsureProperties() -{ - if (!s_ActionButtonCommandProperty) - { - s_ActionButtonCommandProperty = - InitializeDependencyProperty( - L"ActionButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnActionButtonCommandPropertyChanged)); - } - if (!s_ActionButtonCommandParameterProperty) - { - s_ActionButtonCommandParameterProperty = - InitializeDependencyProperty( - L"ActionButtonCommandParameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnActionButtonCommandParameterPropertyChanged)); - } - if (!s_ActionButtonContentProperty) - { - s_ActionButtonContentProperty = - InitializeDependencyProperty( - L"ActionButtonContent", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnActionButtonContentPropertyChanged)); - } - if (!s_ActionButtonStyleProperty) - { - s_ActionButtonStyleProperty = - InitializeDependencyProperty( - L"ActionButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnActionButtonStylePropertyChanged)); - } - if (!s_CloseButtonCommandProperty) - { - s_CloseButtonCommandProperty = - InitializeDependencyProperty( - L"CloseButtonCommand", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCloseButtonCommandPropertyChanged)); - } - if (!s_CloseButtonCommandParameterProperty) - { - s_CloseButtonCommandParameterProperty = - InitializeDependencyProperty( - L"CloseButtonCommandParameter", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCloseButtonCommandParameterPropertyChanged)); - } - if (!s_CloseButtonContentProperty) - { - s_CloseButtonContentProperty = - InitializeDependencyProperty( - L"CloseButtonContent", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCloseButtonContentPropertyChanged)); - } - if (!s_CloseButtonStyleProperty) - { - s_CloseButtonStyleProperty = - InitializeDependencyProperty( - L"CloseButtonStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCloseButtonStylePropertyChanged)); - } - if (!s_HeroContentProperty) - { - s_HeroContentProperty = - InitializeDependencyProperty( - L"HeroContent", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHeroContentPropertyChanged)); - } - if (!s_HeroContentPlacementProperty) - { - s_HeroContentPlacementProperty = - InitializeDependencyProperty( - L"HeroContentPlacement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TeachingTipHeroContentPlacementMode::Auto), - winrt::PropertyChangedCallback(&OnHeroContentPlacementPropertyChanged)); - } - if (!s_IconSourceProperty) - { - s_IconSourceProperty = - InitializeDependencyProperty( - L"IconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIconSourcePropertyChanged)); - } - if (!s_IsLightDismissEnabledProperty) - { - s_IsLightDismissEnabledProperty = - InitializeDependencyProperty( - L"IsLightDismissEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - winrt::PropertyChangedCallback(&OnIsLightDismissEnabledPropertyChanged)); - } - if (!s_IsOpenProperty) - { - s_IsOpenProperty = - InitializeDependencyProperty( - L"IsOpen", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - winrt::PropertyChangedCallback(&OnIsOpenPropertyChanged)); - } - if (!s_PlacementMarginProperty) - { - s_PlacementMarginProperty = - InitializeDependencyProperty( - L"PlacementMargin", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPlacementMarginPropertyChanged)); - } - if (!s_PreferredPlacementProperty) - { - s_PreferredPlacementProperty = - InitializeDependencyProperty( - L"PreferredPlacement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TeachingTipPlacementMode::Auto), - winrt::PropertyChangedCallback(&OnPreferredPlacementPropertyChanged)); - } - if (!s_ShouldConstrainToRootBoundsProperty) - { - s_ShouldConstrainToRootBoundsProperty = - InitializeDependencyProperty( - L"ShouldConstrainToRootBounds", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - winrt::PropertyChangedCallback(&OnShouldConstrainToRootBoundsPropertyChanged)); - } - if (!s_SubtitleProperty) - { - s_SubtitleProperty = - InitializeDependencyProperty( - L"Subtitle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSubtitlePropertyChanged)); - } - if (!s_TailVisibilityProperty) - { - s_TailVisibilityProperty = - InitializeDependencyProperty( - L"TailVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TeachingTipTailVisibility::Auto), - winrt::PropertyChangedCallback(&OnTailVisibilityPropertyChanged)); - } - if (!s_TargetProperty) - { - s_TargetProperty = - InitializeDependencyProperty( - L"Target", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTargetPropertyChanged)); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTemplateSettingsPropertyChanged)); - } - if (!s_TitleProperty) - { - s_TitleProperty = - InitializeDependencyProperty( - L"Title", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTitlePropertyChanged)); - } -} - -void TeachingTipProperties::ClearProperties() -{ - s_ActionButtonCommandProperty = nullptr; - s_ActionButtonCommandParameterProperty = nullptr; - s_ActionButtonContentProperty = nullptr; - s_ActionButtonStyleProperty = nullptr; - s_CloseButtonCommandProperty = nullptr; - s_CloseButtonCommandParameterProperty = nullptr; - s_CloseButtonContentProperty = nullptr; - s_CloseButtonStyleProperty = nullptr; - s_HeroContentProperty = nullptr; - s_HeroContentPlacementProperty = nullptr; - s_IconSourceProperty = nullptr; - s_IsLightDismissEnabledProperty = nullptr; - s_IsOpenProperty = nullptr; - s_PlacementMarginProperty = nullptr; - s_PreferredPlacementProperty = nullptr; - s_ShouldConstrainToRootBoundsProperty = nullptr; - s_SubtitleProperty = nullptr; - s_TailVisibilityProperty = nullptr; - s_TargetProperty = nullptr; - s_TemplateSettingsProperty = nullptr; - s_TitleProperty = nullptr; -} - -void TeachingTipProperties::OnActionButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnActionButtonCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnActionButtonContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnActionButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnCloseButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnCloseButtonCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnCloseButtonContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnCloseButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnHeroContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnHeroContentPlacementPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnIsLightDismissEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnIsOpenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnPlacementMarginPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnPreferredPlacementPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnShouldConstrainToRootBoundsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnSubtitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnTailVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnTargetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::OnTitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TeachingTipProperties::ActionButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ActionButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand TeachingTipProperties::ActionButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ActionButtonCommandProperty)); -} - -void TeachingTipProperties::ActionButtonCommandParameter(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ActionButtonCommandParameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TeachingTipProperties::ActionButtonCommandParameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ActionButtonCommandParameterProperty)); -} - -void TeachingTipProperties::ActionButtonContent(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ActionButtonContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TeachingTipProperties::ActionButtonContent() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ActionButtonContentProperty)); -} - -void TeachingTipProperties::ActionButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ActionButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style TeachingTipProperties::ActionButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ActionButtonStyleProperty)); -} - -void TeachingTipProperties::CloseButtonCommand(winrt::ICommand const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonCommandProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ICommand TeachingTipProperties::CloseButtonCommand() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonCommandProperty)); -} - -void TeachingTipProperties::CloseButtonCommandParameter(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonCommandParameterProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TeachingTipProperties::CloseButtonCommandParameter() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonCommandParameterProperty)); -} - -void TeachingTipProperties::CloseButtonContent(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TeachingTipProperties::CloseButtonContent() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonContentProperty)); -} - -void TeachingTipProperties::CloseButtonStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CloseButtonStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style TeachingTipProperties::CloseButtonStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CloseButtonStyleProperty)); -} - -void TeachingTipProperties::HeroContent(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeroContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement TeachingTipProperties::HeroContent() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeroContentProperty)); -} - -void TeachingTipProperties::HeroContentPlacement(winrt::TeachingTipHeroContentPlacementMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HeroContentPlacementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TeachingTipHeroContentPlacementMode TeachingTipProperties::HeroContentPlacement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HeroContentPlacementProperty)); -} - -void TeachingTipProperties::IconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource TeachingTipProperties::IconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconSourceProperty)); -} - -void TeachingTipProperties::IsLightDismissEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsLightDismissEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TeachingTipProperties::IsLightDismissEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsLightDismissEnabledProperty)); -} - -void TeachingTipProperties::IsOpen(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsOpenProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TeachingTipProperties::IsOpen() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsOpenProperty)); -} - -void TeachingTipProperties::PlacementMargin(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PlacementMarginProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness TeachingTipProperties::PlacementMargin() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PlacementMarginProperty)); -} - -void TeachingTipProperties::PreferredPlacement(winrt::TeachingTipPlacementMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PreferredPlacementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TeachingTipPlacementMode TeachingTipProperties::PreferredPlacement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PreferredPlacementProperty)); -} - -void TeachingTipProperties::ShouldConstrainToRootBounds(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ShouldConstrainToRootBoundsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TeachingTipProperties::ShouldConstrainToRootBounds() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ShouldConstrainToRootBoundsProperty)); -} - -void TeachingTipProperties::Subtitle(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SubtitleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring TeachingTipProperties::Subtitle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SubtitleProperty)); -} - -void TeachingTipProperties::TailVisibility(winrt::TeachingTipTailVisibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TailVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TeachingTipTailVisibility TeachingTipProperties::TailVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TailVisibilityProperty)); -} - -void TeachingTipProperties::Target(winrt::FrameworkElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TargetProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::FrameworkElement TeachingTipProperties::Target() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TargetProperty)); -} - -void TeachingTipProperties::TemplateSettings(winrt::TeachingTipTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TeachingTipTemplateSettings TeachingTipProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -void TeachingTipProperties::Title(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TitleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring TeachingTipProperties::Title() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TitleProperty)); -} - -winrt::event_token TeachingTipProperties::ActionButtonClick(winrt::TypedEventHandler const& value) -{ - return m_actionButtonClickEventSource.add(value); -} - -void TeachingTipProperties::ActionButtonClick(winrt::event_token const& token) -{ - m_actionButtonClickEventSource.remove(token); -} - -winrt::event_token TeachingTipProperties::CloseButtonClick(winrt::TypedEventHandler const& value) -{ - return m_closeButtonClickEventSource.add(value); -} - -void TeachingTipProperties::CloseButtonClick(winrt::event_token const& token) -{ - m_closeButtonClickEventSource.remove(token); -} - -winrt::event_token TeachingTipProperties::Closed(winrt::TypedEventHandler const& value) -{ - return m_closedEventSource.add(value); -} - -void TeachingTipProperties::Closed(winrt::event_token const& token) -{ - m_closedEventSource.remove(token); -} - -winrt::event_token TeachingTipProperties::Closing(winrt::TypedEventHandler const& value) -{ - return m_closingEventSource.add(value); -} - -void TeachingTipProperties::Closing(winrt::event_token const& token) -{ - m_closingEventSource.remove(token); -} diff --git a/dev/Generated/TeachingTip.properties.h b/dev/Generated/TeachingTip.properties.h deleted file mode 100644 index 50611ea842..0000000000 --- a/dev/Generated/TeachingTip.properties.h +++ /dev/null @@ -1,219 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TeachingTipProperties -{ -public: - TeachingTipProperties(); - - void ActionButtonCommand(winrt::ICommand const& value); - winrt::ICommand ActionButtonCommand(); - - void ActionButtonCommandParameter(winrt::IInspectable const& value); - winrt::IInspectable ActionButtonCommandParameter(); - - void ActionButtonContent(winrt::IInspectable const& value); - winrt::IInspectable ActionButtonContent(); - - void ActionButtonStyle(winrt::Style const& value); - winrt::Style ActionButtonStyle(); - - void CloseButtonCommand(winrt::ICommand const& value); - winrt::ICommand CloseButtonCommand(); - - void CloseButtonCommandParameter(winrt::IInspectable const& value); - winrt::IInspectable CloseButtonCommandParameter(); - - void CloseButtonContent(winrt::IInspectable const& value); - winrt::IInspectable CloseButtonContent(); - - void CloseButtonStyle(winrt::Style const& value); - winrt::Style CloseButtonStyle(); - - void HeroContent(winrt::UIElement const& value); - winrt::UIElement HeroContent(); - - void HeroContentPlacement(winrt::TeachingTipHeroContentPlacementMode const& value); - winrt::TeachingTipHeroContentPlacementMode HeroContentPlacement(); - - void IconSource(winrt::IconSource const& value); - winrt::IconSource IconSource(); - - void IsLightDismissEnabled(bool value); - bool IsLightDismissEnabled(); - - void IsOpen(bool value); - bool IsOpen(); - - void PlacementMargin(winrt::Thickness const& value); - winrt::Thickness PlacementMargin(); - - void PreferredPlacement(winrt::TeachingTipPlacementMode const& value); - winrt::TeachingTipPlacementMode PreferredPlacement(); - - void ShouldConstrainToRootBounds(bool value); - bool ShouldConstrainToRootBounds(); - - void Subtitle(winrt::hstring const& value); - winrt::hstring Subtitle(); - - void TailVisibility(winrt::TeachingTipTailVisibility const& value); - winrt::TeachingTipTailVisibility TailVisibility(); - - void Target(winrt::FrameworkElement const& value); - winrt::FrameworkElement Target(); - - void TemplateSettings(winrt::TeachingTipTemplateSettings const& value); - winrt::TeachingTipTemplateSettings TemplateSettings(); - - void Title(winrt::hstring const& value); - winrt::hstring Title(); - - static winrt::DependencyProperty ActionButtonCommandProperty() { return s_ActionButtonCommandProperty; } - static winrt::DependencyProperty ActionButtonCommandParameterProperty() { return s_ActionButtonCommandParameterProperty; } - static winrt::DependencyProperty ActionButtonContentProperty() { return s_ActionButtonContentProperty; } - static winrt::DependencyProperty ActionButtonStyleProperty() { return s_ActionButtonStyleProperty; } - static winrt::DependencyProperty CloseButtonCommandProperty() { return s_CloseButtonCommandProperty; } - static winrt::DependencyProperty CloseButtonCommandParameterProperty() { return s_CloseButtonCommandParameterProperty; } - static winrt::DependencyProperty CloseButtonContentProperty() { return s_CloseButtonContentProperty; } - static winrt::DependencyProperty CloseButtonStyleProperty() { return s_CloseButtonStyleProperty; } - static winrt::DependencyProperty HeroContentProperty() { return s_HeroContentProperty; } - static winrt::DependencyProperty HeroContentPlacementProperty() { return s_HeroContentPlacementProperty; } - static winrt::DependencyProperty IconSourceProperty() { return s_IconSourceProperty; } - static winrt::DependencyProperty IsLightDismissEnabledProperty() { return s_IsLightDismissEnabledProperty; } - static winrt::DependencyProperty IsOpenProperty() { return s_IsOpenProperty; } - static winrt::DependencyProperty PlacementMarginProperty() { return s_PlacementMarginProperty; } - static winrt::DependencyProperty PreferredPlacementProperty() { return s_PreferredPlacementProperty; } - static winrt::DependencyProperty ShouldConstrainToRootBoundsProperty() { return s_ShouldConstrainToRootBoundsProperty; } - static winrt::DependencyProperty SubtitleProperty() { return s_SubtitleProperty; } - static winrt::DependencyProperty TailVisibilityProperty() { return s_TailVisibilityProperty; } - static winrt::DependencyProperty TargetProperty() { return s_TargetProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - static winrt::DependencyProperty TitleProperty() { return s_TitleProperty; } - - static GlobalDependencyProperty s_ActionButtonCommandProperty; - static GlobalDependencyProperty s_ActionButtonCommandParameterProperty; - static GlobalDependencyProperty s_ActionButtonContentProperty; - static GlobalDependencyProperty s_ActionButtonStyleProperty; - static GlobalDependencyProperty s_CloseButtonCommandProperty; - static GlobalDependencyProperty s_CloseButtonCommandParameterProperty; - static GlobalDependencyProperty s_CloseButtonContentProperty; - static GlobalDependencyProperty s_CloseButtonStyleProperty; - static GlobalDependencyProperty s_HeroContentProperty; - static GlobalDependencyProperty s_HeroContentPlacementProperty; - static GlobalDependencyProperty s_IconSourceProperty; - static GlobalDependencyProperty s_IsLightDismissEnabledProperty; - static GlobalDependencyProperty s_IsOpenProperty; - static GlobalDependencyProperty s_PlacementMarginProperty; - static GlobalDependencyProperty s_PreferredPlacementProperty; - static GlobalDependencyProperty s_ShouldConstrainToRootBoundsProperty; - static GlobalDependencyProperty s_SubtitleProperty; - static GlobalDependencyProperty s_TailVisibilityProperty; - static GlobalDependencyProperty s_TargetProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - static GlobalDependencyProperty s_TitleProperty; - - winrt::event_token ActionButtonClick(winrt::TypedEventHandler const& value); - void ActionButtonClick(winrt::event_token const& token); - winrt::event_token CloseButtonClick(winrt::TypedEventHandler const& value); - void CloseButtonClick(winrt::event_token const& token); - winrt::event_token Closed(winrt::TypedEventHandler const& value); - void Closed(winrt::event_token const& token); - winrt::event_token Closing(winrt::TypedEventHandler const& value); - void Closing(winrt::event_token const& token); - - event_source> m_actionButtonClickEventSource; - event_source> m_closeButtonClickEventSource; - event_source> m_closedEventSource; - event_source> m_closingEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnActionButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnActionButtonCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnActionButtonContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnActionButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCloseButtonCommandPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCloseButtonCommandParameterPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCloseButtonContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCloseButtonStylePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHeroContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnHeroContentPlacementPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsLightDismissEnabledPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsOpenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPlacementMarginPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPreferredPlacementPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnShouldConstrainToRootBoundsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSubtitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTailVisibilityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTargetPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTemplateSettingsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/TeachingTipAutomationPeer.properties.cpp b/dev/Generated/TeachingTipAutomationPeer.properties.cpp deleted file mode 100644 index a975696f97..0000000000 --- a/dev/Generated/TeachingTipAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TeachingTipAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(TeachingTipAutomationPeer) -} - -#include "TeachingTipAutomationPeer.g.cpp" - - diff --git a/dev/Generated/TeachingTipTemplateSettings.properties.cpp b/dev/Generated/TeachingTipTemplateSettings.properties.cpp deleted file mode 100644 index b528a82dd1..0000000000 --- a/dev/Generated/TeachingTipTemplateSettings.properties.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TeachingTipTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TeachingTipTemplateSettings) -} - -#include "TeachingTipTemplateSettings.g.cpp" - -GlobalDependencyProperty TeachingTipTemplateSettingsProperties::s_IconElementProperty{ nullptr }; -GlobalDependencyProperty TeachingTipTemplateSettingsProperties::s_TopLeftHighlightMarginProperty{ nullptr }; -GlobalDependencyProperty TeachingTipTemplateSettingsProperties::s_TopRightHighlightMarginProperty{ nullptr }; - -TeachingTipTemplateSettingsProperties::TeachingTipTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void TeachingTipTemplateSettingsProperties::EnsureProperties() -{ - if (!s_IconElementProperty) - { - s_IconElementProperty = - InitializeDependencyProperty( - L"IconElement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TopLeftHighlightMarginProperty) - { - s_TopLeftHighlightMarginProperty = - InitializeDependencyProperty( - L"TopLeftHighlightMargin", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TopRightHighlightMarginProperty) - { - s_TopRightHighlightMarginProperty = - InitializeDependencyProperty( - L"TopRightHighlightMargin", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void TeachingTipTemplateSettingsProperties::ClearProperties() -{ - s_IconElementProperty = nullptr; - s_TopLeftHighlightMarginProperty = nullptr; - s_TopRightHighlightMarginProperty = nullptr; -} - -void TeachingTipTemplateSettingsProperties::IconElement(winrt::IconElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconElementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconElement TeachingTipTemplateSettingsProperties::IconElement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconElementProperty)); -} - -void TeachingTipTemplateSettingsProperties::TopLeftHighlightMargin(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TopLeftHighlightMarginProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness TeachingTipTemplateSettingsProperties::TopLeftHighlightMargin() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TopLeftHighlightMarginProperty)); -} - -void TeachingTipTemplateSettingsProperties::TopRightHighlightMargin(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TopRightHighlightMarginProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness TeachingTipTemplateSettingsProperties::TopRightHighlightMargin() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TopRightHighlightMarginProperty)); -} diff --git a/dev/Generated/TeachingTipTemplateSettings.properties.h b/dev/Generated/TeachingTipTemplateSettings.properties.h deleted file mode 100644 index cc7306a5fd..0000000000 --- a/dev/Generated/TeachingTipTemplateSettings.properties.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TeachingTipTemplateSettingsProperties -{ -public: - TeachingTipTemplateSettingsProperties(); - - void IconElement(winrt::IconElement const& value); - winrt::IconElement IconElement(); - - void TopLeftHighlightMargin(winrt::Thickness const& value); - winrt::Thickness TopLeftHighlightMargin(); - - void TopRightHighlightMargin(winrt::Thickness const& value); - winrt::Thickness TopRightHighlightMargin(); - - static winrt::DependencyProperty IconElementProperty() { return s_IconElementProperty; } - static winrt::DependencyProperty TopLeftHighlightMarginProperty() { return s_TopLeftHighlightMarginProperty; } - static winrt::DependencyProperty TopRightHighlightMarginProperty() { return s_TopRightHighlightMarginProperty; } - - static GlobalDependencyProperty s_IconElementProperty; - static GlobalDependencyProperty s_TopLeftHighlightMarginProperty; - static GlobalDependencyProperty s_TopRightHighlightMarginProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/TeachingTipTestHooks.properties.cpp b/dev/Generated/TeachingTipTestHooks.properties.cpp deleted file mode 100644 index 0a776fe859..0000000000 --- a/dev/Generated/TeachingTipTestHooks.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TeachingTipTestHooks.h" - -namespace winrt::Microsoft::UI::Private::Controls -{ - CppWinRTActivatableClassWithBasicFactory(TeachingTipTestHooks) -} - -#include "TeachingTipTestHooks.g.cpp" - - diff --git a/dev/Generated/TextCommandBarFlyout.properties.cpp b/dev/Generated/TextCommandBarFlyout.properties.cpp deleted file mode 100644 index 2672530fd5..0000000000 --- a/dev/Generated/TextCommandBarFlyout.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TextCommandBarFlyout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(TextCommandBarFlyout) -} - -#include "TextCommandBarFlyout.g.cpp" - - diff --git a/dev/Generated/ToggleSplitButton.properties.cpp b/dev/Generated/ToggleSplitButton.properties.cpp deleted file mode 100644 index 310135a373..0000000000 --- a/dev/Generated/ToggleSplitButton.properties.cpp +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ToggleSplitButton.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(ToggleSplitButton) -} - -#include "ToggleSplitButton.g.cpp" - -GlobalDependencyProperty ToggleSplitButtonProperties::s_IsCheckedProperty{ nullptr }; - -ToggleSplitButtonProperties::ToggleSplitButtonProperties() - : m_isCheckedChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void ToggleSplitButtonProperties::EnsureProperties() -{ - SplitButton::EnsureProperties(); - if (!s_IsCheckedProperty) - { - s_IsCheckedProperty = - InitializeDependencyProperty( - L"IsChecked", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsCheckedPropertyChanged)); - } -} - -void ToggleSplitButtonProperties::ClearProperties() -{ - s_IsCheckedProperty = nullptr; - SplitButton::ClearProperties(); -} - -void ToggleSplitButtonProperties::OnIsCheckedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void ToggleSplitButtonProperties::IsChecked(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsCheckedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool ToggleSplitButtonProperties::IsChecked() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsCheckedProperty)); -} - -winrt::event_token ToggleSplitButtonProperties::IsCheckedChanged(winrt::TypedEventHandler const& value) -{ - return m_isCheckedChangedEventSource.add(value); -} - -void ToggleSplitButtonProperties::IsCheckedChanged(winrt::event_token const& token) -{ - m_isCheckedChangedEventSource.remove(token); -} diff --git a/dev/Generated/ToggleSplitButton.properties.h b/dev/Generated/ToggleSplitButton.properties.h deleted file mode 100644 index 61fb5c1e81..0000000000 --- a/dev/Generated/ToggleSplitButton.properties.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class ToggleSplitButtonProperties -{ -public: - ToggleSplitButtonProperties(); - - void IsChecked(bool value); - bool IsChecked(); - - static winrt::DependencyProperty IsCheckedProperty() { return s_IsCheckedProperty; } - - static GlobalDependencyProperty s_IsCheckedProperty; - - winrt::event_token IsCheckedChanged(winrt::TypedEventHandler const& value); - void IsCheckedChanged(winrt::event_token const& token); - - event_source> m_isCheckedChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnIsCheckedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/ToggleSplitButtonAutomationPeer.properties.cpp b/dev/Generated/ToggleSplitButtonAutomationPeer.properties.cpp deleted file mode 100644 index 71db6011a3..0000000000 --- a/dev/Generated/ToggleSplitButtonAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ToggleSplitButtonAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(ToggleSplitButtonAutomationPeer) -} - -#include "ToggleSplitButtonAutomationPeer.g.cpp" - - diff --git a/dev/Generated/TreeView.properties.cpp b/dev/Generated/TreeView.properties.cpp deleted file mode 100644 index dd04b63292..0000000000 --- a/dev/Generated/TreeView.properties.cpp +++ /dev/null @@ -1,378 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TreeView) -} - -#include "TreeView.g.cpp" - -GlobalDependencyProperty TreeViewProperties::s_CanDragItemsProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_CanReorderItemsProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_ItemContainerStyleProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_ItemContainerStyleSelectorProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_ItemContainerTransitionsProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_ItemsSourceProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_ItemTemplateProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_ItemTemplateSelectorProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_SelectedItemProperty{ nullptr }; -GlobalDependencyProperty TreeViewProperties::s_SelectionModeProperty{ nullptr }; - -TreeViewProperties::TreeViewProperties() - : m_collapsedEventSource{static_cast(this)} - , m_dragItemsCompletedEventSource{static_cast(this)} - , m_dragItemsStartingEventSource{static_cast(this)} - , m_expandingEventSource{static_cast(this)} - , m_itemInvokedEventSource{static_cast(this)} - , m_selectionChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void TreeViewProperties::EnsureProperties() -{ - if (!s_CanDragItemsProperty) - { - s_CanDragItemsProperty = - InitializeDependencyProperty( - L"CanDragItems", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - nullptr); - } - if (!s_CanReorderItemsProperty) - { - s_CanReorderItemsProperty = - InitializeDependencyProperty( - L"CanReorderItems", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(true), - nullptr); - } - if (!s_ItemContainerStyleProperty) - { - s_ItemContainerStyleProperty = - InitializeDependencyProperty( - L"ItemContainerStyle", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ItemContainerStyleSelectorProperty) - { - s_ItemContainerStyleSelectorProperty = - InitializeDependencyProperty( - L"ItemContainerStyleSelector", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ItemContainerTransitionsProperty) - { - s_ItemContainerTransitionsProperty = - InitializeDependencyProperty( - L"ItemContainerTransitions", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ItemsSourceProperty) - { - s_ItemsSourceProperty = - InitializeDependencyProperty( - L"ItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemsSourcePropertyChanged)); - } - if (!s_ItemTemplateProperty) - { - s_ItemTemplateProperty = - InitializeDependencyProperty( - L"ItemTemplate", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ItemTemplateSelectorProperty) - { - s_ItemTemplateSelectorProperty = - InitializeDependencyProperty( - L"ItemTemplateSelector", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_SelectedItemProperty) - { - s_SelectedItemProperty = - InitializeDependencyProperty( - L"SelectedItem", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSelectedItemPropertyChanged)); - } - if (!s_SelectionModeProperty) - { - s_SelectionModeProperty = - InitializeDependencyProperty( - L"SelectionMode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TreeViewSelectionMode::Single), - winrt::PropertyChangedCallback(&OnSelectionModePropertyChanged)); - } -} - -void TreeViewProperties::ClearProperties() -{ - s_CanDragItemsProperty = nullptr; - s_CanReorderItemsProperty = nullptr; - s_ItemContainerStyleProperty = nullptr; - s_ItemContainerStyleSelectorProperty = nullptr; - s_ItemContainerTransitionsProperty = nullptr; - s_ItemsSourceProperty = nullptr; - s_ItemTemplateProperty = nullptr; - s_ItemTemplateSelectorProperty = nullptr; - s_SelectedItemProperty = nullptr; - s_SelectionModeProperty = nullptr; -} - -void TreeViewProperties::OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewProperties::OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewProperties::OnSelectionModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewProperties::CanDragItems(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CanDragItemsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TreeViewProperties::CanDragItems() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CanDragItemsProperty)); -} - -void TreeViewProperties::CanReorderItems(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CanReorderItemsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TreeViewProperties::CanReorderItems() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CanReorderItemsProperty)); -} - -void TreeViewProperties::ItemContainerStyle(winrt::Style const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemContainerStyleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Style TreeViewProperties::ItemContainerStyle() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemContainerStyleProperty)); -} - -void TreeViewProperties::ItemContainerStyleSelector(winrt::StyleSelector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemContainerStyleSelectorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::StyleSelector TreeViewProperties::ItemContainerStyleSelector() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemContainerStyleSelectorProperty)); -} - -void TreeViewProperties::ItemContainerTransitions(winrt::TransitionCollection const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemContainerTransitionsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TransitionCollection TreeViewProperties::ItemContainerTransitions() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemContainerTransitionsProperty)); -} - -void TreeViewProperties::ItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TreeViewProperties::ItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemsSourceProperty)); -} - -void TreeViewProperties::ItemTemplate(winrt::DataTemplate const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemTemplateProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplate TreeViewProperties::ItemTemplate() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemTemplateProperty)); -} - -void TreeViewProperties::ItemTemplateSelector(winrt::DataTemplateSelector const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemTemplateSelectorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::DataTemplateSelector TreeViewProperties::ItemTemplateSelector() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemTemplateSelectorProperty)); -} - -void TreeViewProperties::SelectedItem(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectedItemProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TreeViewProperties::SelectedItem() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectedItemProperty)); -} - -void TreeViewProperties::SelectionMode(winrt::TreeViewSelectionMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SelectionModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TreeViewSelectionMode TreeViewProperties::SelectionMode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SelectionModeProperty)); -} - -winrt::event_token TreeViewProperties::Collapsed(winrt::TypedEventHandler const& value) -{ - return m_collapsedEventSource.add(value); -} - -void TreeViewProperties::Collapsed(winrt::event_token const& token) -{ - m_collapsedEventSource.remove(token); -} - -winrt::event_token TreeViewProperties::DragItemsCompleted(winrt::TypedEventHandler const& value) -{ - return m_dragItemsCompletedEventSource.add(value); -} - -void TreeViewProperties::DragItemsCompleted(winrt::event_token const& token) -{ - m_dragItemsCompletedEventSource.remove(token); -} - -winrt::event_token TreeViewProperties::DragItemsStarting(winrt::TypedEventHandler const& value) -{ - return m_dragItemsStartingEventSource.add(value); -} - -void TreeViewProperties::DragItemsStarting(winrt::event_token const& token) -{ - m_dragItemsStartingEventSource.remove(token); -} - -winrt::event_token TreeViewProperties::Expanding(winrt::TypedEventHandler const& value) -{ - return m_expandingEventSource.add(value); -} - -void TreeViewProperties::Expanding(winrt::event_token const& token) -{ - m_expandingEventSource.remove(token); -} - -winrt::event_token TreeViewProperties::ItemInvoked(winrt::TypedEventHandler const& value) -{ - return m_itemInvokedEventSource.add(value); -} - -void TreeViewProperties::ItemInvoked(winrt::event_token const& token) -{ - m_itemInvokedEventSource.remove(token); -} - -winrt::event_token TreeViewProperties::SelectionChanged(winrt::TypedEventHandler const& value) -{ - return m_selectionChangedEventSource.add(value); -} - -void TreeViewProperties::SelectionChanged(winrt::event_token const& token) -{ - m_selectionChangedEventSource.remove(token); -} diff --git a/dev/Generated/TreeView.properties.h b/dev/Generated/TreeView.properties.h deleted file mode 100644 index 5a367e789c..0000000000 --- a/dev/Generated/TreeView.properties.h +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TreeViewProperties -{ -public: - TreeViewProperties(); - - void CanDragItems(bool value); - bool CanDragItems(); - - void CanReorderItems(bool value); - bool CanReorderItems(); - - void ItemContainerStyle(winrt::Style const& value); - winrt::Style ItemContainerStyle(); - - void ItemContainerStyleSelector(winrt::StyleSelector const& value); - winrt::StyleSelector ItemContainerStyleSelector(); - - void ItemContainerTransitions(winrt::TransitionCollection const& value); - winrt::TransitionCollection ItemContainerTransitions(); - - void ItemsSource(winrt::IInspectable const& value); - winrt::IInspectable ItemsSource(); - - void ItemTemplate(winrt::DataTemplate const& value); - winrt::DataTemplate ItemTemplate(); - - void ItemTemplateSelector(winrt::DataTemplateSelector const& value); - winrt::DataTemplateSelector ItemTemplateSelector(); - - void SelectedItem(winrt::IInspectable const& value); - winrt::IInspectable SelectedItem(); - - void SelectionMode(winrt::TreeViewSelectionMode const& value); - winrt::TreeViewSelectionMode SelectionMode(); - - static winrt::DependencyProperty CanDragItemsProperty() { return s_CanDragItemsProperty; } - static winrt::DependencyProperty CanReorderItemsProperty() { return s_CanReorderItemsProperty; } - static winrt::DependencyProperty ItemContainerStyleProperty() { return s_ItemContainerStyleProperty; } - static winrt::DependencyProperty ItemContainerStyleSelectorProperty() { return s_ItemContainerStyleSelectorProperty; } - static winrt::DependencyProperty ItemContainerTransitionsProperty() { return s_ItemContainerTransitionsProperty; } - static winrt::DependencyProperty ItemsSourceProperty() { return s_ItemsSourceProperty; } - static winrt::DependencyProperty ItemTemplateProperty() { return s_ItemTemplateProperty; } - static winrt::DependencyProperty ItemTemplateSelectorProperty() { return s_ItemTemplateSelectorProperty; } - static winrt::DependencyProperty SelectedItemProperty() { return s_SelectedItemProperty; } - static winrt::DependencyProperty SelectionModeProperty() { return s_SelectionModeProperty; } - - static GlobalDependencyProperty s_CanDragItemsProperty; - static GlobalDependencyProperty s_CanReorderItemsProperty; - static GlobalDependencyProperty s_ItemContainerStyleProperty; - static GlobalDependencyProperty s_ItemContainerStyleSelectorProperty; - static GlobalDependencyProperty s_ItemContainerTransitionsProperty; - static GlobalDependencyProperty s_ItemsSourceProperty; - static GlobalDependencyProperty s_ItemTemplateProperty; - static GlobalDependencyProperty s_ItemTemplateSelectorProperty; - static GlobalDependencyProperty s_SelectedItemProperty; - static GlobalDependencyProperty s_SelectionModeProperty; - - winrt::event_token Collapsed(winrt::TypedEventHandler const& value); - void Collapsed(winrt::event_token const& token); - winrt::event_token DragItemsCompleted(winrt::TypedEventHandler const& value); - void DragItemsCompleted(winrt::event_token const& token); - winrt::event_token DragItemsStarting(winrt::TypedEventHandler const& value); - void DragItemsStarting(winrt::event_token const& token); - winrt::event_token Expanding(winrt::TypedEventHandler const& value); - void Expanding(winrt::event_token const& token); - winrt::event_token ItemInvoked(winrt::TypedEventHandler const& value); - void ItemInvoked(winrt::event_token const& token); - winrt::event_token SelectionChanged(winrt::TypedEventHandler const& value); - void SelectionChanged(winrt::event_token const& token); - - event_source> m_collapsedEventSource; - event_source> m_dragItemsCompletedEventSource; - event_source> m_dragItemsStartingEventSource; - event_source> m_expandingEventSource; - event_source> m_itemInvokedEventSource; - event_source> m_selectionChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectedItemPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSelectionModePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/TreeViewItem.properties.cpp b/dev/Generated/TreeViewItem.properties.cpp deleted file mode 100644 index 231d3ccb4e..0000000000 --- a/dev/Generated/TreeViewItem.properties.cpp +++ /dev/null @@ -1,286 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeViewItem.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TreeViewItem) -} - -#include "TreeViewItem.g.cpp" - -GlobalDependencyProperty TreeViewItemProperties::s_CollapsedGlyphProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_ExpandedGlyphProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_GlyphBrushProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_GlyphOpacityProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_GlyphSizeProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_HasUnrealizedChildrenProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_IsExpandedProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_ItemsSourceProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemProperties::s_TreeViewItemTemplateSettingsProperty{ nullptr }; - -TreeViewItemProperties::TreeViewItemProperties() -{ - EnsureProperties(); -} - -void TreeViewItemProperties::EnsureProperties() -{ - if (!s_CollapsedGlyphProperty) - { - s_CollapsedGlyphProperty = - InitializeDependencyProperty( - L"CollapsedGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(L"\uE76C"), - nullptr); - } - if (!s_ExpandedGlyphProperty) - { - s_ExpandedGlyphProperty = - InitializeDependencyProperty( - L"ExpandedGlyph", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(L"\uE70D"), - nullptr); - } - if (!s_GlyphBrushProperty) - { - s_GlyphBrushProperty = - InitializeDependencyProperty( - L"GlyphBrush", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_GlyphOpacityProperty) - { - s_GlyphOpacityProperty = - InitializeDependencyProperty( - L"GlyphOpacity", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(1.0), - nullptr); - } - if (!s_GlyphSizeProperty) - { - s_GlyphSizeProperty = - InitializeDependencyProperty( - L"GlyphSize", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(8.0), - nullptr); - } - if (!s_HasUnrealizedChildrenProperty) - { - s_HasUnrealizedChildrenProperty = - InitializeDependencyProperty( - L"HasUnrealizedChildren", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHasUnrealizedChildrenPropertyChanged)); - } - if (!s_IsExpandedProperty) - { - s_IsExpandedProperty = - InitializeDependencyProperty( - L"IsExpanded", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsExpandedPropertyChanged)); - } - if (!s_ItemsSourceProperty) - { - s_ItemsSourceProperty = - InitializeDependencyProperty( - L"ItemsSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnItemsSourcePropertyChanged)); - } - if (!s_TreeViewItemTemplateSettingsProperty) - { - s_TreeViewItemTemplateSettingsProperty = - InitializeDependencyProperty( - L"TreeViewItemTemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void TreeViewItemProperties::ClearProperties() -{ - s_CollapsedGlyphProperty = nullptr; - s_ExpandedGlyphProperty = nullptr; - s_GlyphBrushProperty = nullptr; - s_GlyphOpacityProperty = nullptr; - s_GlyphSizeProperty = nullptr; - s_HasUnrealizedChildrenProperty = nullptr; - s_IsExpandedProperty = nullptr; - s_ItemsSourceProperty = nullptr; - s_TreeViewItemTemplateSettingsProperty = nullptr; -} - -void TreeViewItemProperties::OnHasUnrealizedChildrenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewItemProperties::OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewItemProperties::OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewItemProperties::CollapsedGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CollapsedGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring TreeViewItemProperties::CollapsedGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CollapsedGlyphProperty)); -} - -void TreeViewItemProperties::ExpandedGlyph(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandedGlyphProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring TreeViewItemProperties::ExpandedGlyph() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandedGlyphProperty)); -} - -void TreeViewItemProperties::GlyphBrush(winrt::Brush const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_GlyphBrushProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Brush TreeViewItemProperties::GlyphBrush() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_GlyphBrushProperty)); -} - -void TreeViewItemProperties::GlyphOpacity(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_GlyphOpacityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double TreeViewItemProperties::GlyphOpacity() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_GlyphOpacityProperty)); -} - -void TreeViewItemProperties::GlyphSize(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_GlyphSizeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double TreeViewItemProperties::GlyphSize() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_GlyphSizeProperty)); -} - -void TreeViewItemProperties::HasUnrealizedChildren(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HasUnrealizedChildrenProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TreeViewItemProperties::HasUnrealizedChildren() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HasUnrealizedChildrenProperty)); -} - -void TreeViewItemProperties::IsExpanded(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsExpandedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TreeViewItemProperties::IsExpanded() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsExpandedProperty)); -} - -void TreeViewItemProperties::ItemsSource(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TreeViewItemProperties::ItemsSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemsSourceProperty)); -} - -void TreeViewItemProperties::TreeViewItemTemplateSettings(winrt::TreeViewItemTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TreeViewItemTemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TreeViewItemTemplateSettings TreeViewItemProperties::TreeViewItemTemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TreeViewItemTemplateSettingsProperty)); -} diff --git a/dev/Generated/TreeViewItem.properties.h b/dev/Generated/TreeViewItem.properties.h deleted file mode 100644 index 9faa5e4ddb..0000000000 --- a/dev/Generated/TreeViewItem.properties.h +++ /dev/null @@ -1,73 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TreeViewItemProperties -{ -public: - TreeViewItemProperties(); - - void CollapsedGlyph(winrt::hstring const& value); - winrt::hstring CollapsedGlyph(); - - void ExpandedGlyph(winrt::hstring const& value); - winrt::hstring ExpandedGlyph(); - - void GlyphBrush(winrt::Brush const& value); - winrt::Brush GlyphBrush(); - - void GlyphOpacity(double value); - double GlyphOpacity(); - - void GlyphSize(double value); - double GlyphSize(); - - void HasUnrealizedChildren(bool value); - bool HasUnrealizedChildren(); - - void IsExpanded(bool value); - bool IsExpanded(); - - void ItemsSource(winrt::IInspectable const& value); - winrt::IInspectable ItemsSource(); - - void TreeViewItemTemplateSettings(winrt::TreeViewItemTemplateSettings const& value); - winrt::TreeViewItemTemplateSettings TreeViewItemTemplateSettings(); - - static winrt::DependencyProperty CollapsedGlyphProperty() { return s_CollapsedGlyphProperty; } - static winrt::DependencyProperty ExpandedGlyphProperty() { return s_ExpandedGlyphProperty; } - static winrt::DependencyProperty GlyphBrushProperty() { return s_GlyphBrushProperty; } - static winrt::DependencyProperty GlyphOpacityProperty() { return s_GlyphOpacityProperty; } - static winrt::DependencyProperty GlyphSizeProperty() { return s_GlyphSizeProperty; } - static winrt::DependencyProperty HasUnrealizedChildrenProperty() { return s_HasUnrealizedChildrenProperty; } - static winrt::DependencyProperty IsExpandedProperty() { return s_IsExpandedProperty; } - static winrt::DependencyProperty ItemsSourceProperty() { return s_ItemsSourceProperty; } - static winrt::DependencyProperty TreeViewItemTemplateSettingsProperty() { return s_TreeViewItemTemplateSettingsProperty; } - - static GlobalDependencyProperty s_CollapsedGlyphProperty; - static GlobalDependencyProperty s_ExpandedGlyphProperty; - static GlobalDependencyProperty s_GlyphBrushProperty; - static GlobalDependencyProperty s_GlyphOpacityProperty; - static GlobalDependencyProperty s_GlyphSizeProperty; - static GlobalDependencyProperty s_HasUnrealizedChildrenProperty; - static GlobalDependencyProperty s_IsExpandedProperty; - static GlobalDependencyProperty s_ItemsSourceProperty; - static GlobalDependencyProperty s_TreeViewItemTemplateSettingsProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnHasUnrealizedChildrenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemsSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/TreeViewItemAutomationPeer.properties.cpp b/dev/Generated/TreeViewItemAutomationPeer.properties.cpp deleted file mode 100644 index 6973d9df39..0000000000 --- a/dev/Generated/TreeViewItemAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeViewItemAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(TreeViewItemAutomationPeer) -} - -#include "TreeViewItemAutomationPeer.g.cpp" - - diff --git a/dev/Generated/TreeViewItemDataAutomationPeer.properties.cpp b/dev/Generated/TreeViewItemDataAutomationPeer.properties.cpp deleted file mode 100644 index cb611241cf..0000000000 --- a/dev/Generated/TreeViewItemDataAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeViewItemDataAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(TreeViewItemDataAutomationPeer) -} - -#include "TreeViewItemDataAutomationPeer.g.cpp" - - diff --git a/dev/Generated/TreeViewItemTemplateSettings.properties.cpp b/dev/Generated/TreeViewItemTemplateSettings.properties.cpp deleted file mode 100644 index 6d1aa01de7..0000000000 --- a/dev/Generated/TreeViewItemTemplateSettings.properties.cpp +++ /dev/null @@ -1,132 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeViewItemTemplateSettings.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TreeViewItemTemplateSettings) -} - -#include "TreeViewItemTemplateSettings.g.cpp" - -GlobalDependencyProperty TreeViewItemTemplateSettingsProperties::s_CollapsedGlyphVisibilityProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemTemplateSettingsProperties::s_DragItemsCountProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemTemplateSettingsProperties::s_ExpandedGlyphVisibilityProperty{ nullptr }; -GlobalDependencyProperty TreeViewItemTemplateSettingsProperties::s_IndentationProperty{ nullptr }; - -TreeViewItemTemplateSettingsProperties::TreeViewItemTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void TreeViewItemTemplateSettingsProperties::EnsureProperties() -{ - if (!s_CollapsedGlyphVisibilityProperty) - { - s_CollapsedGlyphVisibilityProperty = - InitializeDependencyProperty( - L"CollapsedGlyphVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Visibility::Collapsed), - nullptr); - } - if (!s_DragItemsCountProperty) - { - s_DragItemsCountProperty = - InitializeDependencyProperty( - L"DragItemsCount", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_ExpandedGlyphVisibilityProperty) - { - s_ExpandedGlyphVisibilityProperty = - InitializeDependencyProperty( - L"ExpandedGlyphVisibility", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Visibility::Collapsed), - nullptr); - } - if (!s_IndentationProperty) - { - s_IndentationProperty = - InitializeDependencyProperty( - L"Indentation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } -} - -void TreeViewItemTemplateSettingsProperties::ClearProperties() -{ - s_CollapsedGlyphVisibilityProperty = nullptr; - s_DragItemsCountProperty = nullptr; - s_ExpandedGlyphVisibilityProperty = nullptr; - s_IndentationProperty = nullptr; -} - -void TreeViewItemTemplateSettingsProperties::CollapsedGlyphVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CollapsedGlyphVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility TreeViewItemTemplateSettingsProperties::CollapsedGlyphVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CollapsedGlyphVisibilityProperty)); -} - -void TreeViewItemTemplateSettingsProperties::DragItemsCount(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DragItemsCountProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int TreeViewItemTemplateSettingsProperties::DragItemsCount() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DragItemsCountProperty)); -} - -void TreeViewItemTemplateSettingsProperties::ExpandedGlyphVisibility(winrt::Visibility const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ExpandedGlyphVisibilityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Visibility TreeViewItemTemplateSettingsProperties::ExpandedGlyphVisibility() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ExpandedGlyphVisibilityProperty)); -} - -void TreeViewItemTemplateSettingsProperties::Indentation(winrt::Thickness const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IndentationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Thickness TreeViewItemTemplateSettingsProperties::Indentation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IndentationProperty)); -} diff --git a/dev/Generated/TreeViewItemTemplateSettings.properties.h b/dev/Generated/TreeViewItemTemplateSettings.properties.h deleted file mode 100644 index ae0fddfeda..0000000000 --- a/dev/Generated/TreeViewItemTemplateSettings.properties.h +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TreeViewItemTemplateSettingsProperties -{ -public: - TreeViewItemTemplateSettingsProperties(); - - void CollapsedGlyphVisibility(winrt::Visibility const& value); - winrt::Visibility CollapsedGlyphVisibility(); - - void DragItemsCount(int value); - int DragItemsCount(); - - void ExpandedGlyphVisibility(winrt::Visibility const& value); - winrt::Visibility ExpandedGlyphVisibility(); - - void Indentation(winrt::Thickness const& value); - winrt::Thickness Indentation(); - - static winrt::DependencyProperty CollapsedGlyphVisibilityProperty() { return s_CollapsedGlyphVisibilityProperty; } - static winrt::DependencyProperty DragItemsCountProperty() { return s_DragItemsCountProperty; } - static winrt::DependencyProperty ExpandedGlyphVisibilityProperty() { return s_ExpandedGlyphVisibilityProperty; } - static winrt::DependencyProperty IndentationProperty() { return s_IndentationProperty; } - - static GlobalDependencyProperty s_CollapsedGlyphVisibilityProperty; - static GlobalDependencyProperty s_DragItemsCountProperty; - static GlobalDependencyProperty s_ExpandedGlyphVisibilityProperty; - static GlobalDependencyProperty s_IndentationProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/Generated/TreeViewList.properties.cpp b/dev/Generated/TreeViewList.properties.cpp deleted file mode 100644 index bc98d75965..0000000000 --- a/dev/Generated/TreeViewList.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeViewList.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(TreeViewList) -} - -#include "TreeViewList.g.cpp" - - diff --git a/dev/Generated/TreeViewListAutomationPeer.properties.cpp b/dev/Generated/TreeViewListAutomationPeer.properties.cpp deleted file mode 100644 index e918392f14..0000000000 --- a/dev/Generated/TreeViewListAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeViewListAutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(TreeViewListAutomationPeer) -} - -#include "TreeViewListAutomationPeer.g.cpp" - - diff --git a/dev/Generated/TreeViewNode.properties.cpp b/dev/Generated/TreeViewNode.properties.cpp deleted file mode 100644 index 24b1142f25..0000000000 --- a/dev/Generated/TreeViewNode.properties.cpp +++ /dev/null @@ -1,148 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TreeViewNode.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TreeViewNode) -} - -#include "TreeViewNode.g.cpp" - -GlobalDependencyProperty TreeViewNodeProperties::s_ContentProperty{ nullptr }; -GlobalDependencyProperty TreeViewNodeProperties::s_DepthProperty{ nullptr }; -GlobalDependencyProperty TreeViewNodeProperties::s_HasChildrenProperty{ nullptr }; -GlobalDependencyProperty TreeViewNodeProperties::s_IsExpandedProperty{ nullptr }; - -TreeViewNodeProperties::TreeViewNodeProperties() -{ - EnsureProperties(); -} - -void TreeViewNodeProperties::EnsureProperties() -{ - if (!s_ContentProperty) - { - s_ContentProperty = - InitializeDependencyProperty( - L"Content", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_DepthProperty) - { - s_DepthProperty = - InitializeDependencyProperty( - L"Depth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-1), - nullptr); - } - if (!s_HasChildrenProperty) - { - s_HasChildrenProperty = - InitializeDependencyProperty( - L"HasChildren", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnHasChildrenPropertyChanged)); - } - if (!s_IsExpandedProperty) - { - s_IsExpandedProperty = - InitializeDependencyProperty( - L"IsExpanded", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsExpandedPropertyChanged)); - } -} - -void TreeViewNodeProperties::ClearProperties() -{ - s_ContentProperty = nullptr; - s_DepthProperty = nullptr; - s_HasChildrenProperty = nullptr; - s_IsExpandedProperty = nullptr; -} - -void TreeViewNodeProperties::OnHasChildrenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewNodeProperties::OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TreeViewNodeProperties::Content(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TreeViewNodeProperties::Content() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ContentProperty)); -} - -void TreeViewNodeProperties::Depth(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_DepthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int TreeViewNodeProperties::Depth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_DepthProperty)); -} - -void TreeViewNodeProperties::HasChildren(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_HasChildrenProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TreeViewNodeProperties::HasChildren() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_HasChildrenProperty)); -} - -void TreeViewNodeProperties::IsExpanded(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsExpandedProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TreeViewNodeProperties::IsExpanded() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsExpandedProperty)); -} diff --git a/dev/Generated/TreeViewNode.properties.h b/dev/Generated/TreeViewNode.properties.h deleted file mode 100644 index 968203bee6..0000000000 --- a/dev/Generated/TreeViewNode.properties.h +++ /dev/null @@ -1,44 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TreeViewNodeProperties -{ -public: - TreeViewNodeProperties(); - - void Content(winrt::IInspectable const& value); - winrt::IInspectable Content(); - - void Depth(int value); - int Depth(); - - void HasChildren(bool value); - bool HasChildren(); - - void IsExpanded(bool value); - bool IsExpanded(); - - static winrt::DependencyProperty ContentProperty() { return s_ContentProperty; } - static winrt::DependencyProperty DepthProperty() { return s_DepthProperty; } - static winrt::DependencyProperty HasChildrenProperty() { return s_HasChildrenProperty; } - static winrt::DependencyProperty IsExpandedProperty() { return s_IsExpandedProperty; } - - static GlobalDependencyProperty s_ContentProperty; - static GlobalDependencyProperty s_DepthProperty; - static GlobalDependencyProperty s_HasChildrenProperty; - static GlobalDependencyProperty s_IsExpandedProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnHasChildrenPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsExpandedPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/TwoPaneView.properties.cpp b/dev/Generated/TwoPaneView.properties.cpp deleted file mode 100644 index 24171b6c84..0000000000 --- a/dev/Generated/TwoPaneView.properties.cpp +++ /dev/null @@ -1,371 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TwoPaneView.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TwoPaneView) -} - -#include "TwoPaneView.g.cpp" - -GlobalDependencyProperty TwoPaneViewProperties::s_MinTallModeHeightProperty{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_MinWideModeWidthProperty{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_ModeProperty{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_Pane1Property{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_Pane1LengthProperty{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_Pane2Property{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_Pane2LengthProperty{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_PanePriorityProperty{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_TallModeConfigurationProperty{ nullptr }; -GlobalDependencyProperty TwoPaneViewProperties::s_WideModeConfigurationProperty{ nullptr }; - -TwoPaneViewProperties::TwoPaneViewProperties() - : m_modeChangedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void TwoPaneViewProperties::EnsureProperties() -{ - if (!s_MinTallModeHeightProperty) - { - s_MinTallModeHeightProperty = - InitializeDependencyProperty( - L"MinTallModeHeight", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(c_defaultMinTallModeHeight), - winrt::PropertyChangedCallback(&OnMinTallModeHeightPropertyChanged)); - } - if (!s_MinWideModeWidthProperty) - { - s_MinWideModeWidthProperty = - InitializeDependencyProperty( - L"MinWideModeWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(c_defaultMinWideModeWidth), - winrt::PropertyChangedCallback(&OnMinWideModeWidthPropertyChanged)); - } - if (!s_ModeProperty) - { - s_ModeProperty = - InitializeDependencyProperty( - L"Mode", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TwoPaneViewMode::SinglePane), - nullptr); - } - if (!s_Pane1Property) - { - s_Pane1Property = - InitializeDependencyProperty( - L"Pane1", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPane1PropertyChanged)); - } - if (!s_Pane1LengthProperty) - { - s_Pane1LengthProperty = - InitializeDependencyProperty( - L"Pane1Length", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(c_pane1LengthDefault), - winrt::PropertyChangedCallback(&OnPane1LengthPropertyChanged)); - } - if (!s_Pane2Property) - { - s_Pane2Property = - InitializeDependencyProperty( - L"Pane2", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPane2PropertyChanged)); - } - if (!s_Pane2LengthProperty) - { - s_Pane2LengthProperty = - InitializeDependencyProperty( - L"Pane2Length", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(c_pane2LengthDefault), - winrt::PropertyChangedCallback(&OnPane2LengthPropertyChanged)); - } - if (!s_PanePriorityProperty) - { - s_PanePriorityProperty = - InitializeDependencyProperty( - L"PanePriority", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TwoPaneViewPriority::Pane1), - winrt::PropertyChangedCallback(&OnPanePriorityPropertyChanged)); - } - if (!s_TallModeConfigurationProperty) - { - s_TallModeConfigurationProperty = - InitializeDependencyProperty( - L"TallModeConfiguration", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TwoPaneViewTallModeConfiguration::TopBottom), - winrt::PropertyChangedCallback(&OnTallModeConfigurationPropertyChanged)); - } - if (!s_WideModeConfigurationProperty) - { - s_WideModeConfigurationProperty = - InitializeDependencyProperty( - L"WideModeConfiguration", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::TwoPaneViewWideModeConfiguration::LeftRight), - winrt::PropertyChangedCallback(&OnWideModeConfigurationPropertyChanged)); - } -} - -void TwoPaneViewProperties::ClearProperties() -{ - s_MinTallModeHeightProperty = nullptr; - s_MinWideModeWidthProperty = nullptr; - s_ModeProperty = nullptr; - s_Pane1Property = nullptr; - s_Pane1LengthProperty = nullptr; - s_Pane2Property = nullptr; - s_Pane2LengthProperty = nullptr; - s_PanePriorityProperty = nullptr; - s_TallModeConfigurationProperty = nullptr; - s_WideModeConfigurationProperty = nullptr; -} - -void TwoPaneViewProperties::OnMinTallModeHeightPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnMinWideModeWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnPane1PropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnPane1LengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnPane2PropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnPane2LengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnPanePriorityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnTallModeConfigurationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::OnWideModeConfigurationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void TwoPaneViewProperties::MinTallModeHeight(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinTallModeHeightProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double TwoPaneViewProperties::MinTallModeHeight() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinTallModeHeightProperty)); -} - -void TwoPaneViewProperties::MinWideModeWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinWideModeWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double TwoPaneViewProperties::MinWideModeWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinWideModeWidthProperty)); -} - -void TwoPaneViewProperties::Mode(winrt::TwoPaneViewMode const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ModeProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TwoPaneViewMode TwoPaneViewProperties::Mode() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ModeProperty)); -} - -void TwoPaneViewProperties::Pane1(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_Pane1Property, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement TwoPaneViewProperties::Pane1() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_Pane1Property)); -} - -void TwoPaneViewProperties::Pane1Length(winrt::GridLength const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_Pane1LengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::GridLength TwoPaneViewProperties::Pane1Length() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_Pane1LengthProperty)); -} - -void TwoPaneViewProperties::Pane2(winrt::UIElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_Pane2Property, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UIElement TwoPaneViewProperties::Pane2() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_Pane2Property)); -} - -void TwoPaneViewProperties::Pane2Length(winrt::GridLength const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_Pane2LengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::GridLength TwoPaneViewProperties::Pane2Length() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_Pane2LengthProperty)); -} - -void TwoPaneViewProperties::PanePriority(winrt::TwoPaneViewPriority const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PanePriorityProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TwoPaneViewPriority TwoPaneViewProperties::PanePriority() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PanePriorityProperty)); -} - -void TwoPaneViewProperties::TallModeConfiguration(winrt::TwoPaneViewTallModeConfiguration const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TallModeConfigurationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TwoPaneViewTallModeConfiguration TwoPaneViewProperties::TallModeConfiguration() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TallModeConfigurationProperty)); -} - -void TwoPaneViewProperties::WideModeConfiguration(winrt::TwoPaneViewWideModeConfiguration const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_WideModeConfigurationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TwoPaneViewWideModeConfiguration TwoPaneViewProperties::WideModeConfiguration() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_WideModeConfigurationProperty)); -} - -winrt::event_token TwoPaneViewProperties::ModeChanged(winrt::TypedEventHandler const& value) -{ - return m_modeChangedEventSource.add(value); -} - -void TwoPaneViewProperties::ModeChanged(winrt::event_token const& token) -{ - m_modeChangedEventSource.remove(token); -} diff --git a/dev/Generated/TwoPaneView.properties.h b/dev/Generated/TwoPaneView.properties.h deleted file mode 100644 index 21e76072e0..0000000000 --- a/dev/Generated/TwoPaneView.properties.h +++ /dev/null @@ -1,107 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TwoPaneViewProperties -{ -public: - TwoPaneViewProperties(); - - void MinTallModeHeight(double value); - double MinTallModeHeight(); - - void MinWideModeWidth(double value); - double MinWideModeWidth(); - - void Mode(winrt::TwoPaneViewMode const& value); - winrt::TwoPaneViewMode Mode(); - - void Pane1(winrt::UIElement const& value); - winrt::UIElement Pane1(); - - void Pane1Length(winrt::GridLength const& value); - winrt::GridLength Pane1Length(); - - void Pane2(winrt::UIElement const& value); - winrt::UIElement Pane2(); - - void Pane2Length(winrt::GridLength const& value); - winrt::GridLength Pane2Length(); - - void PanePriority(winrt::TwoPaneViewPriority const& value); - winrt::TwoPaneViewPriority PanePriority(); - - void TallModeConfiguration(winrt::TwoPaneViewTallModeConfiguration const& value); - winrt::TwoPaneViewTallModeConfiguration TallModeConfiguration(); - - void WideModeConfiguration(winrt::TwoPaneViewWideModeConfiguration const& value); - winrt::TwoPaneViewWideModeConfiguration WideModeConfiguration(); - - static winrt::DependencyProperty MinTallModeHeightProperty() { return s_MinTallModeHeightProperty; } - static winrt::DependencyProperty MinWideModeWidthProperty() { return s_MinWideModeWidthProperty; } - static winrt::DependencyProperty ModeProperty() { return s_ModeProperty; } - static winrt::DependencyProperty Pane1Property() { return s_Pane1Property; } - static winrt::DependencyProperty Pane1LengthProperty() { return s_Pane1LengthProperty; } - static winrt::DependencyProperty Pane2Property() { return s_Pane2Property; } - static winrt::DependencyProperty Pane2LengthProperty() { return s_Pane2LengthProperty; } - static winrt::DependencyProperty PanePriorityProperty() { return s_PanePriorityProperty; } - static winrt::DependencyProperty TallModeConfigurationProperty() { return s_TallModeConfigurationProperty; } - static winrt::DependencyProperty WideModeConfigurationProperty() { return s_WideModeConfigurationProperty; } - - static GlobalDependencyProperty s_MinTallModeHeightProperty; - static GlobalDependencyProperty s_MinWideModeWidthProperty; - static GlobalDependencyProperty s_ModeProperty; - static GlobalDependencyProperty s_Pane1Property; - static GlobalDependencyProperty s_Pane1LengthProperty; - static GlobalDependencyProperty s_Pane2Property; - static GlobalDependencyProperty s_Pane2LengthProperty; - static GlobalDependencyProperty s_PanePriorityProperty; - static GlobalDependencyProperty s_TallModeConfigurationProperty; - static GlobalDependencyProperty s_WideModeConfigurationProperty; - - winrt::event_token ModeChanged(winrt::TypedEventHandler const& value); - void ModeChanged(winrt::event_token const& token); - - event_source> m_modeChangedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnMinTallModeHeightPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinWideModeWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPane1PropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPane1LengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPane2PropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPane2LengthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnPanePriorityPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTallModeConfigurationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnWideModeConfigurationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/UniformGridLayout.properties.cpp b/dev/Generated/UniformGridLayout.properties.cpp deleted file mode 100644 index eb0bee055f..0000000000 --- a/dev/Generated/UniformGridLayout.properties.cpp +++ /dev/null @@ -1,300 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "UniformGridLayout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(UniformGridLayout) -} - -#include "UniformGridLayout.g.cpp" - -GlobalDependencyProperty UniformGridLayoutProperties::s_ItemsJustificationProperty{ nullptr }; -GlobalDependencyProperty UniformGridLayoutProperties::s_ItemsStretchProperty{ nullptr }; -GlobalDependencyProperty UniformGridLayoutProperties::s_MaximumRowsOrColumnsProperty{ nullptr }; -GlobalDependencyProperty UniformGridLayoutProperties::s_MinColumnSpacingProperty{ nullptr }; -GlobalDependencyProperty UniformGridLayoutProperties::s_MinItemHeightProperty{ nullptr }; -GlobalDependencyProperty UniformGridLayoutProperties::s_MinItemWidthProperty{ nullptr }; -GlobalDependencyProperty UniformGridLayoutProperties::s_MinRowSpacingProperty{ nullptr }; -GlobalDependencyProperty UniformGridLayoutProperties::s_OrientationProperty{ nullptr }; - -UniformGridLayoutProperties::UniformGridLayoutProperties() -{ - EnsureProperties(); -} - -void UniformGridLayoutProperties::EnsureProperties() -{ - if (!s_ItemsJustificationProperty) - { - s_ItemsJustificationProperty = - InitializeDependencyProperty( - L"ItemsJustification", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::UniformGridLayoutItemsJustification::Start), - winrt::PropertyChangedCallback(&OnItemsJustificationPropertyChanged)); - } - if (!s_ItemsStretchProperty) - { - s_ItemsStretchProperty = - InitializeDependencyProperty( - L"ItemsStretch", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::UniformGridLayoutItemsStretch::None), - winrt::PropertyChangedCallback(&OnItemsStretchPropertyChanged)); - } - if (!s_MaximumRowsOrColumnsProperty) - { - s_MaximumRowsOrColumnsProperty = - InitializeDependencyProperty( - L"MaximumRowsOrColumns", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(-1), - winrt::PropertyChangedCallback(&OnMaximumRowsOrColumnsPropertyChanged)); - } - if (!s_MinColumnSpacingProperty) - { - s_MinColumnSpacingProperty = - InitializeDependencyProperty( - L"MinColumnSpacing", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnMinColumnSpacingPropertyChanged)); - } - if (!s_MinItemHeightProperty) - { - s_MinItemHeightProperty = - InitializeDependencyProperty( - L"MinItemHeight", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnMinItemHeightPropertyChanged)); - } - if (!s_MinItemWidthProperty) - { - s_MinItemWidthProperty = - InitializeDependencyProperty( - L"MinItemWidth", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnMinItemWidthPropertyChanged)); - } - if (!s_MinRowSpacingProperty) - { - s_MinRowSpacingProperty = - InitializeDependencyProperty( - L"MinRowSpacing", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(0.0), - winrt::PropertyChangedCallback(&OnMinRowSpacingPropertyChanged)); - } - if (!s_OrientationProperty) - { - s_OrientationProperty = - InitializeDependencyProperty( - L"Orientation", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::Orientation::Horizontal), - winrt::PropertyChangedCallback(&OnOrientationPropertyChanged)); - } -} - -void UniformGridLayoutProperties::ClearProperties() -{ - s_ItemsJustificationProperty = nullptr; - s_ItemsStretchProperty = nullptr; - s_MaximumRowsOrColumnsProperty = nullptr; - s_MinColumnSpacingProperty = nullptr; - s_MinItemHeightProperty = nullptr; - s_MinItemWidthProperty = nullptr; - s_MinRowSpacingProperty = nullptr; - s_OrientationProperty = nullptr; -} - -void UniformGridLayoutProperties::OnItemsJustificationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::OnItemsStretchPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::OnMaximumRowsOrColumnsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::OnMinColumnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::OnMinItemHeightPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::OnMinItemWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::OnMinRowSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void UniformGridLayoutProperties::ItemsJustification(winrt::UniformGridLayoutItemsJustification const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsJustificationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UniformGridLayoutItemsJustification UniformGridLayoutProperties::ItemsJustification() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemsJustificationProperty)); -} - -void UniformGridLayoutProperties::ItemsStretch(winrt::UniformGridLayoutItemsStretch const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ItemsStretchProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::UniformGridLayoutItemsStretch UniformGridLayoutProperties::ItemsStretch() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ItemsStretchProperty)); -} - -void UniformGridLayoutProperties::MaximumRowsOrColumns(int value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MaximumRowsOrColumnsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -int UniformGridLayoutProperties::MaximumRowsOrColumns() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MaximumRowsOrColumnsProperty)); -} - -void UniformGridLayoutProperties::MinColumnSpacing(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinColumnSpacingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double UniformGridLayoutProperties::MinColumnSpacing() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinColumnSpacingProperty)); -} - -void UniformGridLayoutProperties::MinItemHeight(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinItemHeightProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double UniformGridLayoutProperties::MinItemHeight() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinItemHeightProperty)); -} - -void UniformGridLayoutProperties::MinItemWidth(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinItemWidthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double UniformGridLayoutProperties::MinItemWidth() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinItemWidthProperty)); -} - -void UniformGridLayoutProperties::MinRowSpacing(double value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_MinRowSpacingProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -double UniformGridLayoutProperties::MinRowSpacing() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_MinRowSpacingProperty)); -} - -void UniformGridLayoutProperties::Orientation(winrt::Orientation const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_OrientationProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Orientation UniformGridLayoutProperties::Orientation() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_OrientationProperty)); -} diff --git a/dev/Generated/UniformGridLayout.properties.h b/dev/Generated/UniformGridLayout.properties.h deleted file mode 100644 index efef108d54..0000000000 --- a/dev/Generated/UniformGridLayout.properties.h +++ /dev/null @@ -1,88 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class UniformGridLayoutProperties -{ -public: - UniformGridLayoutProperties(); - - void ItemsJustification(winrt::UniformGridLayoutItemsJustification const& value); - winrt::UniformGridLayoutItemsJustification ItemsJustification(); - - void ItemsStretch(winrt::UniformGridLayoutItemsStretch const& value); - winrt::UniformGridLayoutItemsStretch ItemsStretch(); - - void MaximumRowsOrColumns(int value); - int MaximumRowsOrColumns(); - - void MinColumnSpacing(double value); - double MinColumnSpacing(); - - void MinItemHeight(double value); - double MinItemHeight(); - - void MinItemWidth(double value); - double MinItemWidth(); - - void MinRowSpacing(double value); - double MinRowSpacing(); - - void Orientation(winrt::Orientation const& value); - winrt::Orientation Orientation(); - - static winrt::DependencyProperty ItemsJustificationProperty() { return s_ItemsJustificationProperty; } - static winrt::DependencyProperty ItemsStretchProperty() { return s_ItemsStretchProperty; } - static winrt::DependencyProperty MaximumRowsOrColumnsProperty() { return s_MaximumRowsOrColumnsProperty; } - static winrt::DependencyProperty MinColumnSpacingProperty() { return s_MinColumnSpacingProperty; } - static winrt::DependencyProperty MinItemHeightProperty() { return s_MinItemHeightProperty; } - static winrt::DependencyProperty MinItemWidthProperty() { return s_MinItemWidthProperty; } - static winrt::DependencyProperty MinRowSpacingProperty() { return s_MinRowSpacingProperty; } - static winrt::DependencyProperty OrientationProperty() { return s_OrientationProperty; } - - static GlobalDependencyProperty s_ItemsJustificationProperty; - static GlobalDependencyProperty s_ItemsStretchProperty; - static GlobalDependencyProperty s_MaximumRowsOrColumnsProperty; - static GlobalDependencyProperty s_MinColumnSpacingProperty; - static GlobalDependencyProperty s_MinItemHeightProperty; - static GlobalDependencyProperty s_MinItemWidthProperty; - static GlobalDependencyProperty s_MinRowSpacingProperty; - static GlobalDependencyProperty s_OrientationProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnItemsJustificationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnItemsStretchPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMaximumRowsOrColumnsPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinColumnSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinItemHeightPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinItemWidthPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnMinRowSpacingPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnOrientationPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/UniformGridLayoutState.properties.cpp b/dev/Generated/UniformGridLayoutState.properties.cpp deleted file mode 100644 index ba73925aa7..0000000000 --- a/dev/Generated/UniformGridLayoutState.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "UniformGridLayoutState.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(UniformGridLayoutState) -} - -#include "UniformGridLayoutState.g.cpp" - - diff --git a/dev/Generated/VirtualizingLayout.properties.cpp b/dev/Generated/VirtualizingLayout.properties.cpp deleted file mode 100644 index 065af9256f..0000000000 --- a/dev/Generated/VirtualizingLayout.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "VirtualizingLayout.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(VirtualizingLayout) -} - -#include "VirtualizingLayout.g.cpp" - - diff --git a/dev/Generated/VirtualizingLayoutContext.properties.cpp b/dev/Generated/VirtualizingLayoutContext.properties.cpp deleted file mode 100644 index 11c3a9e57b..0000000000 --- a/dev/Generated/VirtualizingLayoutContext.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "VirtualizingLayoutContext.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(VirtualizingLayoutContext) -} - -#include "VirtualizingLayoutContext.g.cpp" - - diff --git a/dev/Generated/WebView2.h b/dev/Generated/WebView2.h deleted file mode 100644 index 23ef35c9f6..0000000000 --- a/dev/Generated/WebView2.h +++ /dev/null @@ -1,3 +0,0 @@ -// WebView2.properties.cpp does a #include "WebView2.h". Our include paths make it so the nuget package's search path wins and -// we get the "wrong" webview2.h header. Add this here to make sure that the right header is picked up. -#include "..\WebView2\WebView2.h" diff --git a/dev/Generated/WebView2.properties.cpp b/dev/Generated/WebView2.properties.cpp deleted file mode 100644 index 1248608c6d..0000000000 --- a/dev/Generated/WebView2.properties.cpp +++ /dev/null @@ -1,185 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "WebView2.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(WebView2) -} - -#include "WebView2.g.cpp" - -GlobalDependencyProperty WebView2Properties::s_CanGoBackProperty{ nullptr }; -GlobalDependencyProperty WebView2Properties::s_CanGoForwardProperty{ nullptr }; -GlobalDependencyProperty WebView2Properties::s_SourceProperty{ nullptr }; - -WebView2Properties::WebView2Properties() - : m_coreProcessFailedEventSource{static_cast(this)} - , m_coreWebView2InitializedEventSource{static_cast(this)} - , m_navigationCompletedEventSource{static_cast(this)} - , m_navigationStartingEventSource{static_cast(this)} - , m_webMessageReceivedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void WebView2Properties::EnsureProperties() -{ - if (!s_CanGoBackProperty) - { - s_CanGoBackProperty = - InitializeDependencyProperty( - L"CanGoBack", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCanGoBackPropertyChanged)); - } - if (!s_CanGoForwardProperty) - { - s_CanGoForwardProperty = - InitializeDependencyProperty( - L"CanGoForward", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCanGoForwardPropertyChanged)); - } - if (!s_SourceProperty) - { - s_SourceProperty = - InitializeDependencyProperty( - L"Source", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnSourcePropertyChanged)); - } -} - -void WebView2Properties::ClearProperties() -{ - s_CanGoBackProperty = nullptr; - s_CanGoForwardProperty = nullptr; - s_SourceProperty = nullptr; -} - -void WebView2Properties::OnCanGoBackPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void WebView2Properties::OnCanGoForwardPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void WebView2Properties::OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void WebView2Properties::CanGoBack(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CanGoBackProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool WebView2Properties::CanGoBack() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CanGoBackProperty)); -} - -void WebView2Properties::CanGoForward(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CanGoForwardProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool WebView2Properties::CanGoForward() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CanGoForwardProperty)); -} - -void WebView2Properties::Source(winrt::Uri const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_SourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Uri WebView2Properties::Source() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_SourceProperty)); -} - -winrt::event_token WebView2Properties::CoreProcessFailed(winrt::TypedEventHandler const& value) -{ - return m_coreProcessFailedEventSource.add(value); -} - -void WebView2Properties::CoreProcessFailed(winrt::event_token const& token) -{ - m_coreProcessFailedEventSource.remove(token); -} - -winrt::event_token WebView2Properties::CoreWebView2Initialized(winrt::TypedEventHandler const& value) -{ - return m_coreWebView2InitializedEventSource.add(value); -} - -void WebView2Properties::CoreWebView2Initialized(winrt::event_token const& token) -{ - m_coreWebView2InitializedEventSource.remove(token); -} - -winrt::event_token WebView2Properties::NavigationCompleted(winrt::TypedEventHandler const& value) -{ - return m_navigationCompletedEventSource.add(value); -} - -void WebView2Properties::NavigationCompleted(winrt::event_token const& token) -{ - m_navigationCompletedEventSource.remove(token); -} - -winrt::event_token WebView2Properties::NavigationStarting(winrt::TypedEventHandler const& value) -{ - return m_navigationStartingEventSource.add(value); -} - -void WebView2Properties::NavigationStarting(winrt::event_token const& token) -{ - m_navigationStartingEventSource.remove(token); -} - -winrt::event_token WebView2Properties::WebMessageReceived(winrt::TypedEventHandler const& value) -{ - return m_webMessageReceivedEventSource.add(value); -} - -void WebView2Properties::WebMessageReceived(winrt::event_token const& token) -{ - m_webMessageReceivedEventSource.remove(token); -} diff --git a/dev/Generated/WebView2.properties.h b/dev/Generated/WebView2.properties.h deleted file mode 100644 index a7be36e8f7..0000000000 --- a/dev/Generated/WebView2.properties.h +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class WebView2Properties -{ -public: - WebView2Properties(); - - void CanGoBack(bool value); - bool CanGoBack(); - - void CanGoForward(bool value); - bool CanGoForward(); - - void Source(winrt::Uri const& value); - winrt::Uri Source(); - - static winrt::DependencyProperty CanGoBackProperty() { return s_CanGoBackProperty; } - static winrt::DependencyProperty CanGoForwardProperty() { return s_CanGoForwardProperty; } - static winrt::DependencyProperty SourceProperty() { return s_SourceProperty; } - - static GlobalDependencyProperty s_CanGoBackProperty; - static GlobalDependencyProperty s_CanGoForwardProperty; - static GlobalDependencyProperty s_SourceProperty; - - winrt::event_token CoreProcessFailed(winrt::TypedEventHandler const& value); - void CoreProcessFailed(winrt::event_token const& token); - winrt::event_token CoreWebView2Initialized(winrt::TypedEventHandler const& value); - void CoreWebView2Initialized(winrt::event_token const& token); - winrt::event_token NavigationCompleted(winrt::TypedEventHandler const& value); - void NavigationCompleted(winrt::event_token const& token); - winrt::event_token NavigationStarting(winrt::TypedEventHandler const& value); - void NavigationStarting(winrt::event_token const& token); - winrt::event_token WebMessageReceived(winrt::TypedEventHandler const& value); - void WebMessageReceived(winrt::event_token const& token); - - event_source> m_coreProcessFailedEventSource; - event_source> m_coreWebView2InitializedEventSource; - event_source> m_navigationCompletedEventSource; - event_source> m_navigationStartingEventSource; - event_source> m_webMessageReceivedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnCanGoBackPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnCanGoForwardPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/WebView2AutomationPeer.properties.cpp b/dev/Generated/WebView2AutomationPeer.properties.cpp deleted file mode 100644 index 106d8ab857..0000000000 --- a/dev/Generated/WebView2AutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "WebView2AutomationPeer.h" - -namespace winrt::Microsoft::UI::Xaml::Automation::Peers -{ - CppWinRTActivatableClassWithBasicFactory(WebView2AutomationPeer) -} - -#include "WebView2AutomationPeer.g.cpp" - - diff --git a/dev/Generated/XamlAmbientLight.properties.cpp b/dev/Generated/XamlAmbientLight.properties.cpp deleted file mode 100644 index b9d2633059..0000000000 --- a/dev/Generated/XamlAmbientLight.properties.cpp +++ /dev/null @@ -1,86 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "XamlAmbientLight.h" - -namespace winrt::Microsoft::UI::Private::Media -{ - CppWinRTActivatableClassWithDPFactory(XamlAmbientLight) -} - -#include "XamlAmbientLight.g.cpp" - -GlobalDependencyProperty XamlAmbientLightProperties::s_ColorProperty{ nullptr }; -GlobalDependencyProperty XamlAmbientLightProperties::s_IsTargetProperty{ nullptr }; - -XamlAmbientLightProperties::XamlAmbientLightProperties() -{ - EnsureProperties(); -} - -void XamlAmbientLightProperties::EnsureProperties() -{ - if (!s_ColorProperty) - { - s_ColorProperty = - InitializeDependencyProperty( - L"Color", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary({ 255, 255, 255, 255 }), - winrt::PropertyChangedCallback(&OnColorPropertyChanged)); - } - if (!s_IsTargetProperty) - { - s_IsTargetProperty = - InitializeDependencyProperty( - L"IsTarget", - winrt::name_of(), - winrt::name_of(), - true /* isAttached */, - ValueHelper::BoxedDefaultValue(), - &XamlAmbientLight::OnIsTargetPropertyChanged); - } -} - -void XamlAmbientLightProperties::ClearProperties() -{ - s_ColorProperty = nullptr; - s_IsTargetProperty = nullptr; -} - -void XamlAmbientLightProperties::OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnColorPropertyChanged(args); -} - -void XamlAmbientLightProperties::Color(winrt::Color const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ColorProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::Color XamlAmbientLightProperties::Color() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ColorProperty)); -} - - -void XamlAmbientLightProperties::SetIsTarget(winrt::DependencyObject const& target, bool value) -{ - target.SetValue(s_IsTargetProperty, ValueHelper::BoxValueIfNecessary(value)); -} - -bool XamlAmbientLightProperties::GetIsTarget(winrt::DependencyObject const& target) -{ - return ValueHelper::CastOrUnbox(target.GetValue(s_IsTargetProperty)); -} diff --git a/dev/Generated/XamlAmbientLight.properties.h b/dev/Generated/XamlAmbientLight.properties.h deleted file mode 100644 index 9b799cf2d8..0000000000 --- a/dev/Generated/XamlAmbientLight.properties.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class XamlAmbientLightProperties -{ -public: - XamlAmbientLightProperties(); - - void Color(winrt::Color const& value); - winrt::Color Color(); - - static void SetIsTarget(winrt::DependencyObject const& target, bool value); - static bool GetIsTarget(winrt::DependencyObject const& target); - - static winrt::DependencyProperty ColorProperty() { return s_ColorProperty; } - static winrt::DependencyProperty IsTargetProperty() { return s_IsTargetProperty; } - - static GlobalDependencyProperty s_ColorProperty; - static GlobalDependencyProperty s_IsTargetProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnColorPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/XamlControlsResources.properties.cpp b/dev/Generated/XamlControlsResources.properties.cpp deleted file mode 100644 index 9ca014e447..0000000000 --- a/dev/Generated/XamlControlsResources.properties.cpp +++ /dev/null @@ -1,130 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "XamlControlsResources.h" - -namespace winrt::Microsoft::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(XamlControlsResources) -} - -#include "XamlControlsResources.g.cpp" - -GlobalDependencyProperty XamlControlsResourcesProperties::s_ControlsResourcesVersionProperty{ nullptr }; -GlobalDependencyProperty XamlControlsResourcesProperties::s_UseCompactResourcesProperty{ nullptr }; -GlobalDependencyProperty XamlControlsResourcesProperties::s_VersionProperty{ nullptr }; - -XamlControlsResourcesProperties::XamlControlsResourcesProperties() -{ - EnsureProperties(); -} - -void XamlControlsResourcesProperties::EnsureProperties() -{ - if (!s_ControlsResourcesVersionProperty) - { - s_ControlsResourcesVersionProperty = - InitializeDependencyProperty( - L"ControlsResourcesVersion", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::ControlsResourcesVersion::Version2), - winrt::PropertyChangedCallback(&OnControlsResourcesVersionPropertyChanged)); - } - if (!s_UseCompactResourcesProperty) - { - s_UseCompactResourcesProperty = - InitializeDependencyProperty( - L"UseCompactResources", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(false), - winrt::PropertyChangedCallback(&OnUseCompactResourcesPropertyChanged)); - } - if (!s_VersionProperty) - { - s_VersionProperty = - InitializeDependencyProperty( - L"Version", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(winrt::StylesVersion::Latest), - winrt::PropertyChangedCallback(&OnVersionPropertyChanged)); - } -} - -void XamlControlsResourcesProperties::ClearProperties() -{ - s_ControlsResourcesVersionProperty = nullptr; - s_UseCompactResourcesProperty = nullptr; - s_VersionProperty = nullptr; -} - -void XamlControlsResourcesProperties::OnControlsResourcesVersionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void XamlControlsResourcesProperties::OnUseCompactResourcesPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void XamlControlsResourcesProperties::OnVersionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void XamlControlsResourcesProperties::ControlsResourcesVersion(winrt::ControlsResourcesVersion const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_ControlsResourcesVersionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::ControlsResourcesVersion XamlControlsResourcesProperties::ControlsResourcesVersion() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_ControlsResourcesVersionProperty)); -} - -void XamlControlsResourcesProperties::UseCompactResources(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_UseCompactResourcesProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool XamlControlsResourcesProperties::UseCompactResources() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_UseCompactResourcesProperty)); -} - -void XamlControlsResourcesProperties::Version(winrt::StylesVersion const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_VersionProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::StylesVersion XamlControlsResourcesProperties::Version() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_VersionProperty)); -} diff --git a/dev/Generated/XamlControlsResources.properties.h b/dev/Generated/XamlControlsResources.properties.h deleted file mode 100644 index 2ae712f66d..0000000000 --- a/dev/Generated/XamlControlsResources.properties.h +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class XamlControlsResourcesProperties -{ -public: - XamlControlsResourcesProperties(); - - void ControlsResourcesVersion(winrt::ControlsResourcesVersion const& value); - winrt::ControlsResourcesVersion ControlsResourcesVersion(); - - void UseCompactResources(bool value); - bool UseCompactResources(); - - void Version(winrt::StylesVersion const& value); - winrt::StylesVersion Version(); - - static winrt::DependencyProperty ControlsResourcesVersionProperty() { return s_ControlsResourcesVersionProperty; } - static winrt::DependencyProperty UseCompactResourcesProperty() { return s_UseCompactResourcesProperty; } - static winrt::DependencyProperty VersionProperty() { return s_VersionProperty; } - - static GlobalDependencyProperty s_ControlsResourcesVersionProperty; - static GlobalDependencyProperty s_UseCompactResourcesProperty; - static GlobalDependencyProperty s_VersionProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnControlsResourcesVersionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnUseCompactResourcesPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnVersionPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/Generated/XamlControlsXamlMetaDataProvider.properties.cpp b/dev/Generated/XamlControlsXamlMetaDataProvider.properties.cpp deleted file mode 100644 index e42f95e381..0000000000 --- a/dev/Generated/XamlControlsXamlMetaDataProvider.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "XamlControlsXamlMetaDataProvider.h" - -namespace winrt::Microsoft::UI::Xaml::XamlTypeInfo -{ - CppWinRTActivatableClassWithBasicFactory(XamlControlsXamlMetaDataProvider) -} - -#include "XamlControlsXamlMetaDataProvider.g.cpp" - - diff --git a/dev/Generated/ZoomSnapPoint.properties.cpp b/dev/Generated/ZoomSnapPoint.properties.cpp deleted file mode 100644 index 8c57448f5c..0000000000 --- a/dev/Generated/ZoomSnapPoint.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ZoomSnapPoint.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ZoomSnapPoint) -} - -#include "ZoomSnapPoint.g.cpp" - - diff --git a/dev/Generated/ZoomSnapPointBase.properties.cpp b/dev/Generated/ZoomSnapPointBase.properties.cpp deleted file mode 100644 index d190a1c208..0000000000 --- a/dev/Generated/ZoomSnapPointBase.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ZoomSnapPointBase.h" - -namespace winrt::Microsoft::UI::Xaml::Controls::Primitives -{ - CppWinRTActivatableClassWithBasicFactory(ZoomSnapPointBase) -} - -#include "ZoomSnapPointBase.g.cpp" - - diff --git a/dev/GeneratedExperimental/ExperimentalXamlControlsResources.properties.cpp b/dev/GeneratedExperimental/ExperimentalXamlControlsResources.properties.cpp deleted file mode 100644 index f0b7f6c6b9..0000000000 --- a/dev/GeneratedExperimental/ExperimentalXamlControlsResources.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "ExperimentalXamlControlsResources.h" - -namespace winrt::Microsoft::Experimental::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(ExperimentalXamlControlsResources) -} - -#include "ExperimentalXamlControlsResources.g.cpp" - - diff --git a/dev/GeneratedExperimental/SampleControl.properties.cpp b/dev/GeneratedExperimental/SampleControl.properties.cpp deleted file mode 100644 index 3b90e4096a..0000000000 --- a/dev/GeneratedExperimental/SampleControl.properties.cpp +++ /dev/null @@ -1,62 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "SampleControl.h" - -namespace winrt::Microsoft::Experimental::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(SampleControl) -} - -#include "SampleControl.g.cpp" - -GlobalDependencyProperty SampleControlProperties::s_PlaceholderProperty{ nullptr }; - -SampleControlProperties::SampleControlProperties() -{ - EnsureProperties(); -} - -void SampleControlProperties::EnsureProperties() -{ - if (!s_PlaceholderProperty) - { - s_PlaceholderProperty = - InitializeDependencyProperty( - L"Placeholder", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnPlaceholderPropertyChanged)); - } -} - -void SampleControlProperties::ClearProperties() -{ - s_PlaceholderProperty = nullptr; -} - -void SampleControlProperties::OnPlaceholderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnPropertyChanged(args); -} - -void SampleControlProperties::Placeholder(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_PlaceholderProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable SampleControlProperties::Placeholder() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_PlaceholderProperty)); -} diff --git a/dev/GeneratedExperimental/SampleControl.properties.h b/dev/GeneratedExperimental/SampleControl.properties.h deleted file mode 100644 index 88c4292ddf..0000000000 --- a/dev/GeneratedExperimental/SampleControl.properties.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class SampleControlProperties -{ -public: - SampleControlProperties(); - - void Placeholder(winrt::IInspectable const& value); - winrt::IInspectable Placeholder(); - - static winrt::DependencyProperty PlaceholderProperty() { return s_PlaceholderProperty; } - - static GlobalDependencyProperty s_PlaceholderProperty; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnPlaceholderPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/GeneratedExperimental/TitleBar.properties.cpp b/dev/GeneratedExperimental/TitleBar.properties.cpp deleted file mode 100644 index 8db0df4787..0000000000 --- a/dev/GeneratedExperimental/TitleBar.properties.cpp +++ /dev/null @@ -1,227 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TitleBar.h" - -namespace winrt::Microsoft::Experimental::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TitleBar) -} - -#include "TitleBar.g.cpp" - -GlobalDependencyProperty TitleBarProperties::s_CustomContentProperty{ nullptr }; -GlobalDependencyProperty TitleBarProperties::s_IconSourceProperty{ nullptr }; -GlobalDependencyProperty TitleBarProperties::s_IsBackButtonVisibleProperty{ nullptr }; -GlobalDependencyProperty TitleBarProperties::s_IsBackEnabledProperty{ nullptr }; -GlobalDependencyProperty TitleBarProperties::s_TemplateSettingsProperty{ nullptr }; -GlobalDependencyProperty TitleBarProperties::s_TitleProperty{ nullptr }; - -TitleBarProperties::TitleBarProperties() - : m_backRequestedEventSource{static_cast(this)} -{ - EnsureProperties(); -} - -void TitleBarProperties::EnsureProperties() -{ - if (!s_CustomContentProperty) - { - s_CustomContentProperty = - InitializeDependencyProperty( - L"CustomContent", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnCustomContentPropertyChanged)); - } - if (!s_IconSourceProperty) - { - s_IconSourceProperty = - InitializeDependencyProperty( - L"IconSource", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIconSourcePropertyChanged)); - } - if (!s_IsBackButtonVisibleProperty) - { - s_IsBackButtonVisibleProperty = - InitializeDependencyProperty( - L"IsBackButtonVisible", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnIsBackButtonVisiblePropertyChanged)); - } - if (!s_IsBackEnabledProperty) - { - s_IsBackEnabledProperty = - InitializeDependencyProperty( - L"IsBackEnabled", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TemplateSettingsProperty) - { - s_TemplateSettingsProperty = - InitializeDependencyProperty( - L"TemplateSettings", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TitleProperty) - { - s_TitleProperty = - InitializeDependencyProperty( - L"Title", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - winrt::PropertyChangedCallback(&OnTitlePropertyChanged)); - } -} - -void TitleBarProperties::ClearProperties() -{ - s_CustomContentProperty = nullptr; - s_IconSourceProperty = nullptr; - s_IsBackButtonVisibleProperty = nullptr; - s_IsBackEnabledProperty = nullptr; - s_TemplateSettingsProperty = nullptr; - s_TitleProperty = nullptr; -} - -void TitleBarProperties::OnCustomContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnCustomContentPropertyChanged(args); -} - -void TitleBarProperties::OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIconSourcePropertyChanged(args); -} - -void TitleBarProperties::OnIsBackButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnIsBackButtonVisiblePropertyChanged(args); -} - -void TitleBarProperties::OnTitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args) -{ - auto owner = sender.as(); - winrt::get_self(owner)->OnTitlePropertyChanged(args); -} - -void TitleBarProperties::CustomContent(winrt::IInspectable const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CustomContentProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IInspectable TitleBarProperties::CustomContent() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CustomContentProperty)); -} - -void TitleBarProperties::IconSource(winrt::IconSource const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconSourceProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconSource TitleBarProperties::IconSource() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconSourceProperty)); -} - -void TitleBarProperties::IsBackButtonVisible(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsBackButtonVisibleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TitleBarProperties::IsBackButtonVisible() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsBackButtonVisibleProperty)); -} - -void TitleBarProperties::IsBackEnabled(bool value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IsBackEnabledProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -bool TitleBarProperties::IsBackEnabled() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IsBackEnabledProperty)); -} - -void TitleBarProperties::TemplateSettings(winrt::TitleBarTemplateSettings const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TemplateSettingsProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::TitleBarTemplateSettings TitleBarProperties::TemplateSettings() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TemplateSettingsProperty)); -} - -void TitleBarProperties::Title(winrt::hstring const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TitleProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::hstring TitleBarProperties::Title() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TitleProperty)); -} - -winrt::event_token TitleBarProperties::BackRequested(winrt::TypedEventHandler const& value) -{ - return m_backRequestedEventSource.add(value); -} - -void TitleBarProperties::BackRequested(winrt::event_token const& token) -{ - m_backRequestedEventSource.remove(token); -} diff --git a/dev/GeneratedExperimental/TitleBar.properties.h b/dev/GeneratedExperimental/TitleBar.properties.h deleted file mode 100644 index 45c4c45be4..0000000000 --- a/dev/GeneratedExperimental/TitleBar.properties.h +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TitleBarProperties -{ -public: - TitleBarProperties(); - - void CustomContent(winrt::IInspectable const& value); - winrt::IInspectable CustomContent(); - - void IconSource(winrt::IconSource const& value); - winrt::IconSource IconSource(); - - void IsBackButtonVisible(bool value); - bool IsBackButtonVisible(); - - void IsBackEnabled(bool value); - bool IsBackEnabled(); - - void TemplateSettings(winrt::TitleBarTemplateSettings const& value); - winrt::TitleBarTemplateSettings TemplateSettings(); - - void Title(winrt::hstring const& value); - winrt::hstring Title(); - - static winrt::DependencyProperty CustomContentProperty() { return s_CustomContentProperty; } - static winrt::DependencyProperty IconSourceProperty() { return s_IconSourceProperty; } - static winrt::DependencyProperty IsBackButtonVisibleProperty() { return s_IsBackButtonVisibleProperty; } - static winrt::DependencyProperty IsBackEnabledProperty() { return s_IsBackEnabledProperty; } - static winrt::DependencyProperty TemplateSettingsProperty() { return s_TemplateSettingsProperty; } - static winrt::DependencyProperty TitleProperty() { return s_TitleProperty; } - - static GlobalDependencyProperty s_CustomContentProperty; - static GlobalDependencyProperty s_IconSourceProperty; - static GlobalDependencyProperty s_IsBackButtonVisibleProperty; - static GlobalDependencyProperty s_IsBackEnabledProperty; - static GlobalDependencyProperty s_TemplateSettingsProperty; - static GlobalDependencyProperty s_TitleProperty; - - winrt::event_token BackRequested(winrt::TypedEventHandler const& value); - void BackRequested(winrt::event_token const& token); - - event_source> m_backRequestedEventSource; - - static void EnsureProperties(); - static void ClearProperties(); - - static void OnCustomContentPropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIconSourcePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnIsBackButtonVisiblePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); - - static void OnTitlePropertyChanged( - winrt::DependencyObject const& sender, - winrt::DependencyPropertyChangedEventArgs const& args); -}; diff --git a/dev/GeneratedExperimental/TitleBarAutomationPeer.properties.cpp b/dev/GeneratedExperimental/TitleBarAutomationPeer.properties.cpp deleted file mode 100644 index af3641ac8a..0000000000 --- a/dev/GeneratedExperimental/TitleBarAutomationPeer.properties.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TitleBarAutomationPeer.h" - -namespace winrt::Microsoft::Experimental::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithBasicFactory(TitleBarAutomationPeer) -} - -#include "TitleBarAutomationPeer.g.cpp" - - diff --git a/dev/GeneratedExperimental/TitleBarTemplateSettings.properties.cpp b/dev/GeneratedExperimental/TitleBarTemplateSettings.properties.cpp deleted file mode 100644 index 24c07056a6..0000000000 --- a/dev/GeneratedExperimental/TitleBarTemplateSettings.properties.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#include "pch.h" -#include "common.h" -#include "TitleBarTemplateSettings.h" - -namespace winrt::Microsoft::Experimental::UI::Xaml::Controls -{ - CppWinRTActivatableClassWithDPFactory(TitleBarTemplateSettings) -} - -#include "TitleBarTemplateSettings.g.cpp" - -GlobalDependencyProperty TitleBarTemplateSettingsProperties::s_CustomColumnGridLengthProperty{ nullptr }; -GlobalDependencyProperty TitleBarTemplateSettingsProperties::s_IconElementProperty{ nullptr }; -GlobalDependencyProperty TitleBarTemplateSettingsProperties::s_TitleColumnGridLengthProperty{ nullptr }; - -TitleBarTemplateSettingsProperties::TitleBarTemplateSettingsProperties() -{ - EnsureProperties(); -} - -void TitleBarTemplateSettingsProperties::EnsureProperties() -{ - if (!s_CustomColumnGridLengthProperty) - { - s_CustomColumnGridLengthProperty = - InitializeDependencyProperty( - L"CustomColumnGridLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(c_customColumnGridLengthDefault), - nullptr); - } - if (!s_IconElementProperty) - { - s_IconElementProperty = - InitializeDependencyProperty( - L"IconElement", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxedDefaultValue(), - nullptr); - } - if (!s_TitleColumnGridLengthProperty) - { - s_TitleColumnGridLengthProperty = - InitializeDependencyProperty( - L"TitleColumnGridLength", - winrt::name_of(), - winrt::name_of(), - false /* isAttached */, - ValueHelper::BoxValueIfNecessary(c_titleColumnGridLengthDefault), - nullptr); - } -} - -void TitleBarTemplateSettingsProperties::ClearProperties() -{ - s_CustomColumnGridLengthProperty = nullptr; - s_IconElementProperty = nullptr; - s_TitleColumnGridLengthProperty = nullptr; -} - -void TitleBarTemplateSettingsProperties::CustomColumnGridLength(winrt::GridLength const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_CustomColumnGridLengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::GridLength TitleBarTemplateSettingsProperties::CustomColumnGridLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_CustomColumnGridLengthProperty)); -} - -void TitleBarTemplateSettingsProperties::IconElement(winrt::IconElement const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_IconElementProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::IconElement TitleBarTemplateSettingsProperties::IconElement() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_IconElementProperty)); -} - -void TitleBarTemplateSettingsProperties::TitleColumnGridLength(winrt::GridLength const& value) -{ - [[gsl::suppress(con)]] - { - static_cast(this)->SetValue(s_TitleColumnGridLengthProperty, ValueHelper::BoxValueIfNecessary(value)); - } -} - -winrt::GridLength TitleBarTemplateSettingsProperties::TitleColumnGridLength() -{ - return ValueHelper::CastOrUnbox(static_cast(this)->GetValue(s_TitleColumnGridLengthProperty)); -} diff --git a/dev/GeneratedExperimental/TitleBarTemplateSettings.properties.h b/dev/GeneratedExperimental/TitleBarTemplateSettings.properties.h deleted file mode 100644 index 46dd0786f5..0000000000 --- a/dev/GeneratedExperimental/TitleBarTemplateSettings.properties.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen -#pragma once - -class TitleBarTemplateSettingsProperties -{ -public: - TitleBarTemplateSettingsProperties(); - - void CustomColumnGridLength(winrt::GridLength const& value); - winrt::GridLength CustomColumnGridLength(); - - void IconElement(winrt::IconElement const& value); - winrt::IconElement IconElement(); - - void TitleColumnGridLength(winrt::GridLength const& value); - winrt::GridLength TitleColumnGridLength(); - - static winrt::DependencyProperty CustomColumnGridLengthProperty() { return s_CustomColumnGridLengthProperty; } - static winrt::DependencyProperty IconElementProperty() { return s_IconElementProperty; } - static winrt::DependencyProperty TitleColumnGridLengthProperty() { return s_TitleColumnGridLengthProperty; } - - static GlobalDependencyProperty s_CustomColumnGridLengthProperty; - static GlobalDependencyProperty s_IconElementProperty; - static GlobalDependencyProperty s_TitleColumnGridLengthProperty; - - static void EnsureProperties(); - static void ClearProperties(); -}; diff --git a/dev/IconSource/APITests/IconSourceApiTests.cs b/dev/IconSource/APITests/IconSourceApiTests.cs deleted file mode 100644 index 0a0f4b262a..0000000000 --- a/dev/IconSource/APITests/IconSourceApiTests.cs +++ /dev/null @@ -1,343 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; - -using MUXControlsTestApp.Utilities; - -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Media; -using Windows.UI.Text; -using Windows.Foundation.Metadata; -using Common; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -using SymbolIconSource = Microsoft.UI.Xaml.Controls.SymbolIconSource; -using FontIconSource = Microsoft.UI.Xaml.Controls.FontIconSource; -using BitmapIconSource = Microsoft.UI.Xaml.Controls.BitmapIconSource; -using ImageIconSource = Microsoft.UI.Xaml.Controls.ImageIconSource; -using PathIconSource = Microsoft.UI.Xaml.Controls.PathIconSource; -using XamlControlsXamlMetaDataProvider = Microsoft.UI.Xaml.XamlTypeInfo.XamlControlsXamlMetaDataProvider; -using Microsoft.UI.Xaml.Controls; -using Windows.UI.Xaml.Media.Imaging; -using Microsoft.UI.Xaml.Controls.AnimatedVisuals; - -namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests -{ - [TestClass] - public class IconSourceApiTests : ApiTestBase - { - [TestMethod] - public void SymbolIconSourceTest() - { - SymbolIconSource iconSource = null; - SymbolIcon symbolIcon = null; - - RunOnUIThread.Execute(() => - { - iconSource = new SymbolIconSource(); - symbolIcon = iconSource.CreateIconElement() as SymbolIcon; - - // IconSource.Foreground should be null to allow foreground inheritance from - // the parent to work. - Verify.AreEqual(iconSource.Foreground, null); - //Verify.AreEqual(symbolIcon.Foreground, null); - - Log.Comment("Validate the defaults match SymbolIcon."); - - var icon = new SymbolIcon(); - Verify.AreEqual(icon.Symbol, iconSource.Symbol); - Verify.AreEqual(symbolIcon.Symbol, iconSource.Symbol); - - Log.Comment("Validate that you can change the properties."); - - iconSource.Foreground = new SolidColorBrush(Windows.UI.Colors.Red); - iconSource.Symbol = Symbol.HangUp; - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.IsTrue(iconSource.Foreground is SolidColorBrush); - Verify.AreEqual(Windows.UI.Colors.Red, (iconSource.Foreground as SolidColorBrush).Color); - Verify.AreEqual(Windows.UI.Colors.Red, (symbolIcon.Foreground as SolidColorBrush).Color); - Verify.AreEqual(Symbol.HangUp, iconSource.Symbol); - Verify.AreEqual(Symbol.HangUp, symbolIcon.Symbol); - }); - } - - [TestMethod] - public void FontIconSourceTest() - { - FontIconSource iconSource = null; - FontIcon fontIcon = null; - - RunOnUIThread.Execute(() => - { - iconSource = new FontIconSource(); - fontIcon = iconSource.CreateIconElement() as FontIcon; - - // IconSource.Foreground should be null to allow foreground inheritance from - // the parent to work. - Verify.AreEqual(iconSource.Foreground, null); - //Verify.AreEqual(fontIcon.Foreground, null); - - Log.Comment("Validate the defaults match FontIcon."); - - var icon = new FontIcon(); - Verify.AreEqual(icon.Glyph, iconSource.Glyph); - Verify.AreEqual(fontIcon.Glyph, iconSource.Glyph); - Verify.AreEqual(icon.FontSize, iconSource.FontSize); - Verify.AreEqual(fontIcon.FontSize, iconSource.FontSize); - Verify.AreEqual(icon.FontStyle, iconSource.FontStyle); - Verify.AreEqual(fontIcon.FontStyle, iconSource.FontStyle); - Verify.AreEqual(icon.FontWeight.Weight, iconSource.FontWeight.Weight); - Verify.AreEqual(fontIcon.FontWeight.Weight, iconSource.FontWeight.Weight); - Verify.AreEqual(icon.FontFamily.Source, iconSource.FontFamily.Source); - Verify.AreEqual(fontIcon.FontFamily.Source, iconSource.FontFamily.Source); - Verify.AreEqual(icon.IsTextScaleFactorEnabled, iconSource.IsTextScaleFactorEnabled); - Verify.AreEqual(fontIcon.IsTextScaleFactorEnabled, iconSource.IsTextScaleFactorEnabled); - Verify.AreEqual(icon.MirroredWhenRightToLeft, iconSource.MirroredWhenRightToLeft); - Verify.AreEqual(fontIcon.MirroredWhenRightToLeft, iconSource.MirroredWhenRightToLeft); - - Log.Comment("Validate that you can change the properties."); - - iconSource.Foreground = new SolidColorBrush(Windows.UI.Colors.Red); - iconSource.Glyph = ""; - iconSource.FontSize = 25; - iconSource.FontStyle = FontStyle.Oblique; - iconSource.FontWeight = new FontWeight() { Weight = 250 }; - iconSource.FontFamily = new FontFamily("Segoe UI Symbol"); - iconSource.IsTextScaleFactorEnabled = true; - iconSource.MirroredWhenRightToLeft = true; - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.IsTrue(iconSource.Foreground is SolidColorBrush); - Verify.IsTrue(fontIcon.Foreground is SolidColorBrush); - Verify.AreEqual(Windows.UI.Colors.Red, (iconSource.Foreground as SolidColorBrush).Color); - Verify.AreEqual(Windows.UI.Colors.Red, (fontIcon.Foreground as SolidColorBrush).Color); - Verify.AreEqual("", iconSource.Glyph); - Verify.AreEqual("", fontIcon.Glyph); - Verify.AreEqual(25, iconSource.FontSize); - Verify.AreEqual(25, fontIcon.FontSize); - Verify.AreEqual(FontStyle.Oblique, iconSource.FontStyle); - Verify.AreEqual(FontStyle.Oblique, fontIcon.FontStyle); - Verify.AreEqual(250, iconSource.FontWeight.Weight); - Verify.AreEqual(250, fontIcon.FontWeight.Weight); - Verify.AreEqual("Segoe UI Symbol", iconSource.FontFamily.Source); - Verify.AreEqual("Segoe UI Symbol", fontIcon.FontFamily.Source); - Verify.AreEqual(true, iconSource.IsTextScaleFactorEnabled); - Verify.AreEqual(true, fontIcon.IsTextScaleFactorEnabled); - Verify.AreEqual(true, iconSource.MirroredWhenRightToLeft); - Verify.AreEqual(true, fontIcon.MirroredWhenRightToLeft); - }); - } - - [TestMethod] - public void BitmapIconSourceTest() - { - BitmapIconSource iconSource = null; - BitmapIcon bitmapIcon = null; - var uri = new Uri("ms-appx:///Assets/ingredient1.png"); - - RunOnUIThread.Execute(() => - { - iconSource = new BitmapIconSource(); - bitmapIcon = iconSource.CreateIconElement() as BitmapIcon; - - // IconSource.Foreground should be null to allow foreground inheritance from - // the parent to work. - Verify.AreEqual(iconSource.Foreground, null); - //Verify.AreEqual(bitmapIcon.Foreground, null); - - Log.Comment("Validate the defaults match BitmapIcon."); - - var icon = new BitmapIcon(); - Verify.AreEqual(icon.UriSource, iconSource.UriSource); - Verify.AreEqual(bitmapIcon.UriSource, iconSource.UriSource); - - if (ApiInformation.IsPropertyPresent("Windows.UI.Xaml.Controls.BitmapIcon", "ShowAsMonochrome")) - { - Verify.AreEqual(icon.ShowAsMonochrome, iconSource.ShowAsMonochrome); - Verify.AreEqual(bitmapIcon.ShowAsMonochrome, iconSource.ShowAsMonochrome); - } - - Log.Comment("Validate that you can change the properties."); - - iconSource.Foreground = new SolidColorBrush(Windows.UI.Colors.Red); - iconSource.UriSource = uri; - iconSource.ShowAsMonochrome = false; - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.IsTrue(iconSource.Foreground is SolidColorBrush); - Verify.IsTrue(bitmapIcon.Foreground is SolidColorBrush); - Verify.AreEqual(Windows.UI.Colors.Red, (iconSource.Foreground as SolidColorBrush).Color); - Verify.AreEqual(Windows.UI.Colors.Red, (bitmapIcon.Foreground as SolidColorBrush).Color); - Verify.AreEqual(uri, iconSource.UriSource); - Verify.AreEqual(uri, bitmapIcon.UriSource); - Verify.AreEqual(false, iconSource.ShowAsMonochrome); - Verify.AreEqual(false, bitmapIcon.ShowAsMonochrome); - }); - } - - [TestMethod] - public void ImageIconSourceTest() - { - ImageIconSource iconSource = null; - ImageIcon imageIcon = null; - var uri = new Uri("ms-appx:///Assets/Nuclear_symbol.svg"); - - RunOnUIThread.Execute(() => - { - iconSource = new ImageIconSource(); - imageIcon = iconSource.CreateIconElement() as ImageIcon; - - // IconSource.Foreground should be null to allow foreground inheritance from - // the parent to work. - Verify.AreEqual(iconSource.Foreground, null); - //Verify.AreEqual(imageIcon.Foreground, null); - - Log.Comment("Validate the defaults match BitmapIcon."); - - var icon = new ImageIcon(); - Verify.AreEqual(icon.Source, iconSource.ImageSource); - Verify.AreEqual(imageIcon.Source, iconSource.ImageSource); - - Log.Comment("Validate that you can change the properties."); - - iconSource.Foreground = new SolidColorBrush(Windows.UI.Colors.Red); - iconSource.ImageSource = new SvgImageSource(uri); - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.IsTrue(iconSource.Foreground is SolidColorBrush); - Verify.IsTrue(imageIcon.Foreground is SolidColorBrush); - Verify.AreEqual(Windows.UI.Colors.Red, (iconSource.Foreground as SolidColorBrush).Color); - Verify.AreEqual(Windows.UI.Colors.Red, (imageIcon.Foreground as SolidColorBrush).Color); - Verify.AreEqual(uri, ((SvgImageSource)iconSource.ImageSource).UriSource); - Verify.AreEqual(uri, ((SvgImageSource)imageIcon.Source).UriSource); - }); - } - - [TestMethod] - public void AnimatedIconSourceTest() - { - AnimatedIconSource iconSource = null; - IAnimatedVisualSource2 source = null; - AnimatedIcon animatedIcon = null; - - RunOnUIThread.Execute(() => - { - iconSource = new AnimatedIconSource(); - source = new AnimatedChevronDownSmallVisualSource(); - animatedIcon = iconSource.CreateIconElement() as AnimatedIcon; - - // IconSource.Foreground should be null to allow foreground inheritance from - // the parent to work. - Verify.AreEqual(iconSource.Foreground, null); - //Verify.AreEqual(animatedIcon.Foreground, null); - Verify.AreEqual(iconSource.MirroredWhenRightToLeft, false); - Verify.AreEqual(animatedIcon.MirroredWhenRightToLeft, false); - - Log.Comment("Validate the defaults match BitmapIcon."); - - var icon = new AnimatedIcon(); - Verify.AreEqual(icon.Source, iconSource.Source); - Verify.AreEqual(animatedIcon.Source, iconSource.Source); - Verify.AreEqual(icon.MirroredWhenRightToLeft, iconSource.MirroredWhenRightToLeft); - - Log.Comment("Validate that you can change the properties."); - - iconSource.Foreground = new SolidColorBrush(Windows.UI.Colors.Red); - iconSource.Source = source; - iconSource.MirroredWhenRightToLeft = true; - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.IsTrue(iconSource.Foreground is SolidColorBrush); - Verify.IsTrue(animatedIcon.Foreground is SolidColorBrush); - Verify.AreEqual(Windows.UI.Colors.Red, (iconSource.Foreground as SolidColorBrush).Color); - Verify.AreEqual(Windows.UI.Colors.Red, (animatedIcon.Foreground as SolidColorBrush).Color); - Verify.AreEqual(source, iconSource.Source); - Verify.AreEqual(source, animatedIcon.Source); - Verify.IsTrue(iconSource.MirroredWhenRightToLeft); - Verify.IsTrue(animatedIcon.MirroredWhenRightToLeft); - }); - } - - [TestMethod] - public void PathIconSourceTest() - { - PathIconSource iconSource = null; - RectangleGeometry rectGeometry = null; - PathIcon pathIcon = null; - - RunOnUIThread.Execute(() => - { - iconSource = new PathIconSource(); - pathIcon = iconSource.CreateIconElement() as PathIcon; - - // IconSource.Foreground should be null to allow foreground inheritance from - // the parent to work. - Verify.AreEqual(iconSource.Foreground, null); - //Verify.AreEqual(pathIcon.Foreground, null); - - Log.Comment("Validate the defaults match PathIcon."); - - var icon = new PathIcon(); - Verify.AreEqual(icon.Data, iconSource.Data); - Verify.AreEqual(pathIcon.Data, iconSource.Data); - - Log.Comment("Validate that you can change the properties."); - - iconSource.Foreground = new SolidColorBrush(Windows.UI.Colors.Red); - iconSource.Data = rectGeometry = new RectangleGeometry(); - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.IsTrue(iconSource.Foreground is SolidColorBrush); - Verify.IsTrue(pathIcon.Foreground is SolidColorBrush); - Verify.AreEqual(Windows.UI.Colors.Red, (iconSource.Foreground as SolidColorBrush).Color); - Verify.AreEqual(Windows.UI.Colors.Red, (pathIcon.Foreground as SolidColorBrush).Color); - Verify.AreEqual(rectGeometry, iconSource.Data); - Verify.AreEqual(rectGeometry, pathIcon.Data); - }); - } - - // XamlControlsXamlMetaDataProvider does not exist in the OS repo, - // so we can't execute this test as authored there. - [TestMethod] - public void VerifyFontWeightPropertyMetadata() - { - RunOnUIThread.Execute(() => - { - XamlControlsXamlMetaDataProvider provider = new XamlControlsXamlMetaDataProvider(); - var FontIconSourceType = provider.GetXamlType(typeof(FontIconSource).FullName); - var fontWeightMember = FontIconSourceType.GetMember("FontWeight"); - Verify.IsNotNull(fontWeightMember); - var memberType = fontWeightMember.Type; - Verify.AreEqual(memberType.BaseType.FullName, "ValueType"); - }); - } - } -} diff --git a/dev/IconSource/APITests/IconSource_APITests.projitems b/dev/IconSource/APITests/IconSource_APITests.projitems deleted file mode 100644 index 3dc9af3ca9..0000000000 --- a/dev/IconSource/APITests/IconSource_APITests.projitems +++ /dev/null @@ -1,15 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - d73627e9-564c-4a72-a12d-f6c82f17ad0d - - - IconSource_APITests - - - - - \ No newline at end of file diff --git a/dev/IconSource/APITests/IconSource_APITests.shproj b/dev/IconSource/APITests/IconSource_APITests.shproj deleted file mode 100644 index ee5b93e61e..0000000000 --- a/dev/IconSource/APITests/IconSource_APITests.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - d73627e9-564c-4a72-a12d-f6c82f17ad0d - 14.0 - - - - - - - - diff --git a/dev/IconSource/AnimatedIconSource.cpp b/dev/IconSource/AnimatedIconSource.cpp deleted file mode 100644 index 10dfc031ac..0000000000 --- a/dev/IconSource/AnimatedIconSource.cpp +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" - -#include "IconSource.h" -#include "AnimatedIconSource.h" - -winrt::IconElement AnimatedIconSource::CreateIconElementCore() -{ - winrt::AnimatedIcon animatedIcon; - if (auto const source = Source()) - { - animatedIcon.Source(source); - } - if (auto const fallbackIconSource = FallbackIconSource()) - { - animatedIcon.FallbackIconSource(fallbackIconSource); - } - if (const auto newForeground = Foreground()) - { - animatedIcon.Foreground(newForeground); - } - animatedIcon.MirroredWhenRightToLeft(MirroredWhenRightToLeft()); - - return animatedIcon; -} - -winrt::DependencyProperty AnimatedIconSource::GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty) -{ - if (sourceProperty == s_SourceProperty) - { - return winrt::AnimatedIcon::SourceProperty(); - } - else if (sourceProperty == s_FallbackIconSourceProperty) - { - return winrt::AnimatedIcon::FallbackIconSourceProperty(); - } - else if (sourceProperty == s_MirroredWhenRightToLeftProperty) - { - return winrt::AnimatedIcon::MirroredWhenRightToLeftProperty(); - } - - return __super::GetIconElementPropertyCore(sourceProperty); -} diff --git a/dev/IconSource/AnimatedIconSource.h b/dev/IconSource/AnimatedIconSource.h deleted file mode 100644 index 31b09c6d33..0000000000 --- a/dev/IconSource/AnimatedIconSource.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "IconSource.h" -#include "AnimatedIconSource.g.h" -#include "AnimatedIconSource.properties.h" - -class AnimatedIconSource : - public ReferenceTracker, - public AnimatedIconSourceProperties -{ -public: - using AnimatedIconSourceProperties::EnsureProperties; - using AnimatedIconSourceProperties::ClearProperties; - - winrt::DependencyProperty GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty); - winrt::IconElement CreateIconElementCore(); -}; diff --git a/dev/IconSource/BitmapIconSource.cpp b/dev/IconSource/BitmapIconSource.cpp deleted file mode 100644 index bdcf576556..0000000000 --- a/dev/IconSource/BitmapIconSource.cpp +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" - -#include "IconSource.h" -#include "BitmapIconSource.h" - -winrt::IconElement BitmapIconSource::CreateIconElementCore() -{ - winrt::BitmapIcon bitmapIcon; - - if (UriSource()) - { - bitmapIcon.UriSource(UriSource()); - } - - bitmapIcon.ShowAsMonochrome(ShowAsMonochrome()); - - if (const auto newForeground = Foreground()) - { - bitmapIcon.Foreground(newForeground); - } - return bitmapIcon; -} - -winrt::DependencyProperty BitmapIconSource::GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty) -{ - if (sourceProperty == s_ShowAsMonochromeProperty) - { - return winrt::BitmapIcon::ShowAsMonochromeProperty(); - } - else if (sourceProperty == s_UriSourceProperty) - { - return winrt::BitmapIcon::UriSourceProperty(); - } - - return __super::GetIconElementPropertyCore(sourceProperty); -} diff --git a/dev/IconSource/BitmapIconSource.h b/dev/IconSource/BitmapIconSource.h deleted file mode 100644 index a1edd8974c..0000000000 --- a/dev/IconSource/BitmapIconSource.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "IconSource.h" -#include "BitmapIconSource.g.h" -#include "BitmapIconSource.properties.h" - -class BitmapIconSource : - public ReferenceTracker, - public BitmapIconSourceProperties -{ -public: - using BitmapIconSourceProperties::EnsureProperties; - using BitmapIconSourceProperties::ClearProperties; - - winrt::DependencyProperty GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty); - winrt::IconElement CreateIconElementCore(); -}; diff --git a/dev/IconSource/FontIconSource.cpp b/dev/IconSource/FontIconSource.cpp deleted file mode 100644 index 33d30cebf5..0000000000 --- a/dev/IconSource/FontIconSource.cpp +++ /dev/null @@ -1,67 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" - -#include "IconSource.h" -#include "FontIconSource.h" - -winrt::IconElement FontIconSource::CreateIconElementCore() -{ - winrt::FontIcon fontIcon; - - fontIcon.Glyph(Glyph()); - fontIcon.FontSize(FontSize()); - if (const auto newForeground = Foreground()) - { - fontIcon.Foreground(newForeground); - } - - if (!FontFamily()) - { - FontFamily(winrt::FontFamily{ c_fontIconSourceDefaultFontFamily }); - } - fontIcon.FontFamily(FontFamily()); - - fontIcon.FontWeight(FontWeight()); - fontIcon.FontStyle(FontStyle()); - fontIcon.IsTextScaleFactorEnabled(IsTextScaleFactorEnabled()); - fontIcon.MirroredWhenRightToLeft(MirroredWhenRightToLeft()); - - return fontIcon; -} - -winrt::DependencyProperty FontIconSource::GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty) -{ - if (sourceProperty == s_FontFamilyProperty) - { - return winrt::FontIcon::FontFamilyProperty(); - } - else if (sourceProperty == s_FontSizeProperty) - { - return winrt::FontIcon::FontSizeProperty(); - } - else if (sourceProperty == s_FontStyleProperty) - { - return winrt::FontIcon::FontStyleProperty(); - } - else if (sourceProperty == s_FontWeightProperty) - { - return winrt::FontIcon::FontWeightProperty(); - } - else if (sourceProperty == s_GlyphProperty) - { - return winrt::FontIcon::GlyphProperty(); - } - else if (sourceProperty == s_IsTextScaleFactorEnabledProperty) - { - return winrt::FontIcon::IsTextScaleFactorEnabledProperty(); - } - else if (sourceProperty == s_MirroredWhenRightToLeftProperty) - { - return winrt::FontIcon::MirroredWhenRightToLeftProperty(); - } - - return __super::GetIconElementPropertyCore(sourceProperty); -} diff --git a/dev/IconSource/FontIconSource.h b/dev/IconSource/FontIconSource.h deleted file mode 100644 index 39505815e1..0000000000 --- a/dev/IconSource/FontIconSource.h +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "IconSource.h" -#include "FontIconSource.g.h" -#include "FontIconSource.properties.h" - -static constexpr auto c_fontIconSourceDefaultFontFamily{ L"Segoe MDL2 Assets"sv }; - -class FontIconSource : - public ReferenceTracker, - public FontIconSourceProperties -{ -public: - using FontIconSourceProperties::EnsureProperties; - using FontIconSourceProperties::ClearProperties; - - winrt::DependencyProperty GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty); - winrt::IconElement CreateIconElementCore(); -}; diff --git a/dev/IconSource/IconSource.cpp b/dev/IconSource/IconSource.cpp deleted file mode 100644 index 66ecc39533..0000000000 --- a/dev/IconSource/IconSource.cpp +++ /dev/null @@ -1,50 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "SharedHelpers.h" - -#include "IconSource.h" -#include - -winrt::IconElement IconSource::CreateIconElement() -{ - auto const element = CreateIconElementCore(); - m_createdIconElements.push_back(winrt::make_weak(element)); - return element; -} - -void IconSource::OnPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - if (auto const iconProp = GetIconElementPropertyCore(args.Property())) - { - m_createdIconElements.erase(std::remove_if(m_createdIconElements.begin(), m_createdIconElements.end(), - [iconProp, args, this](winrt::weak_ref weakElement) - { - auto const element = weakElement.get(); - if (element) - { - if (ReadLocalValue(args.Property()) == winrt::DependencyProperty::UnsetValue()) - { - element.ClearValue(iconProp); - } - else - { - element.SetValue(iconProp, args.NewValue()); - } - } - return !element; - }), m_createdIconElements.end()); - } -} - -winrt::DependencyProperty IconSource::GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty) -{ - if (sourceProperty == s_ForegroundProperty) - { - return winrt::IconElement::ForegroundProperty(); - } - - return nullptr; -} diff --git a/dev/IconSource/IconSource.h b/dev/IconSource/IconSource.h deleted file mode 100644 index 1449014a43..0000000000 --- a/dev/IconSource/IconSource.h +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "IconSource.g.h" -#include "IconSource.properties.h" - -class IconSource : - public winrt::implementation::IconSourceT, - public IconSourceProperties -{ -public: - winrt::IconElement CreateIconElement(); - virtual winrt::IconElement CreateIconElementCore() = 0; - virtual winrt::DependencyProperty GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty); - - void OnPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); -protected: - std::vector> m_createdIconElements{}; -}; diff --git a/dev/IconSource/IconSource.idl b/dev/IconSource/IconSource.idl deleted file mode 100644 index 3b23b2bf45..0000000000 --- a/dev/IconSource/IconSource.idl +++ /dev/null @@ -1,136 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[bindable] -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass IconSource : Windows.UI.Xaml.DependencyObject -{ - Windows.UI.Xaml.Controls.IconElement CreateIconElement(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Windows.UI.Xaml.Media.Brush Foreground { get; set; }; - - static Windows.UI.Xaml.DependencyProperty ForegroundProperty { get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass SymbolIconSource : IconSource -{ - SymbolIconSource(); - - [MUX_DEFAULT_VALUE("winrt::Symbol::Emoji")] - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Windows.UI.Xaml.Controls.Symbol Symbol { get; set; }; - - static Windows.UI.Xaml.DependencyProperty SymbolProperty { get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass FontIconSource : IconSource -{ - FontIconSource(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - String Glyph { get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - [MUX_DEFAULT_VALUE("20.0")] - Double FontSize { get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Windows.UI.Xaml.Media.FontFamily FontFamily { get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - [MUX_DEFAULT_VALUE("{ 400 }")] - Windows.UI.Text.FontWeight FontWeight { get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - [MUX_DEFAULT_VALUE("winrt::FontStyle::Normal")] - Windows.UI.Text.FontStyle FontStyle { get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - [MUX_DEFAULT_VALUE("true")] - Boolean IsTextScaleFactorEnabled { get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Boolean MirroredWhenRightToLeft { get; set; }; - - static Windows.UI.Xaml.DependencyProperty GlyphProperty { get; }; - static Windows.UI.Xaml.DependencyProperty FontSizeProperty { get; }; - static Windows.UI.Xaml.DependencyProperty FontFamilyProperty { get; }; - static Windows.UI.Xaml.DependencyProperty FontWeightProperty { get; }; - static Windows.UI.Xaml.DependencyProperty FontStyleProperty { get; }; - static Windows.UI.Xaml.DependencyProperty IsTextScaleFactorEnabledProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MirroredWhenRightToLeftProperty { get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass BitmapIconSource : IconSource -{ - BitmapIconSource(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Windows.Foundation.Uri UriSource { get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - [MUX_DEFAULT_VALUE("true")] - Boolean ShowAsMonochrome { get; set; }; - - static Windows.UI.Xaml.DependencyProperty UriSourceProperty { get; }; - static Windows.UI.Xaml.DependencyProperty ShowAsMonochromeProperty { get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass PathIconSource : IconSource -{ - PathIconSource(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Windows.UI.Xaml.Media.Geometry Data { get; set; }; - - static Windows.UI.Xaml.DependencyProperty DataProperty { get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass ImageIconSource : IconSource -{ - ImageIconSource(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Windows.UI.Xaml.Media.ImageSource ImageSource{ get; set; }; - - static Windows.UI.Xaml.DependencyProperty ImageSourceProperty{ get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass AnimatedIconSource : IconSource -{ - AnimatedIconSource(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - IAnimatedVisualSource2 Source{ get; set; }; - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - IconSource FallbackIconSource{ get; set; }; - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Boolean MirroredWhenRightToLeft{ get; set; }; - - static Windows.UI.Xaml.DependencyProperty SourceProperty { get; }; - static Windows.UI.Xaml.DependencyProperty FallbackIconSourceProperty { get; }; - static Windows.UI.Xaml.DependencyProperty MirroredWhenRightToLeftProperty{ get; }; -} - -} diff --git a/dev/IconSource/IconSource.vcxitems b/dev/IconSource/IconSource.vcxitems deleted file mode 100644 index a2bf077fc8..0000000000 --- a/dev/IconSource/IconSource.vcxitems +++ /dev/null @@ -1,45 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {19ffff77-4814-4ad6-acd7-42c6a50ab0d8} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - %(PreprocessorDefinitions);ICONSOURCE_INCLUDED - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/dev/IconSource/ImageIconSource.cpp b/dev/IconSource/ImageIconSource.cpp deleted file mode 100644 index 0044f3dfc8..0000000000 --- a/dev/IconSource/ImageIconSource.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" - -#include "IconSource.h" -#include "ImageIconSource.h" - -winrt::IconElement ImageIconSource::CreateIconElementCore() -{ - winrt::ImageIcon imageIcon; - if (const auto imageSource = ImageSource()) - { - imageIcon.Source(imageSource); - } - if (const auto newForeground = Foreground()) - { - imageIcon.Foreground(newForeground); - } - return imageIcon; -} - -winrt::DependencyProperty ImageIconSource::GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty) -{ - if (sourceProperty == s_ImageSourceProperty) - { - return winrt::ImageIcon::SourceProperty(); - } - - return __super::GetIconElementPropertyCore(sourceProperty); -} diff --git a/dev/IconSource/ImageIconSource.h b/dev/IconSource/ImageIconSource.h deleted file mode 100644 index e390651e1b..0000000000 --- a/dev/IconSource/ImageIconSource.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "IconSource.h" -#include "ImageIconSource.g.h" -#include "ImageIconSource.properties.h" - -class ImageIconSource : - public ReferenceTracker, - public ImageIconSourceProperties -{ -public: - using ImageIconSourceProperties::EnsureProperties; - using ImageIconSourceProperties::ClearProperties; - - winrt::DependencyProperty GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty); - winrt::IconElement CreateIconElementCore(); -}; diff --git a/dev/IconSource/PathIconSource.cpp b/dev/IconSource/PathIconSource.cpp deleted file mode 100644 index af5891bdaf..0000000000 --- a/dev/IconSource/PathIconSource.cpp +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" - -#include "IconSource.h" -#include "PathIconSource.h" - -winrt::IconElement PathIconSource::CreateIconElementCore() -{ - winrt::PathIcon pathIcon; - - if (auto const data = Data()) - { - pathIcon.Data(data); - } - if (const auto newForeground = Foreground()) - { - pathIcon.Foreground(newForeground); - } - return pathIcon; -} - -winrt::DependencyProperty PathIconSource::GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty) -{ - if (sourceProperty == s_DataProperty) - { - return winrt::PathIcon::DataProperty(); - } - - return __super::GetIconElementPropertyCore(sourceProperty); -} diff --git a/dev/IconSource/PathIconSource.h b/dev/IconSource/PathIconSource.h deleted file mode 100644 index f9b4b13458..0000000000 --- a/dev/IconSource/PathIconSource.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "IconSource.h" -#include "PathIconSource.g.h" -#include "PathIconSource.properties.h" - -class PathIconSource : - public ReferenceTracker, - public PathIconSourceProperties -{ -public: - using PathIconSourceProperties::EnsureProperties; - using PathIconSourceProperties::ClearProperties; - - winrt::DependencyProperty GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty); - winrt::IconElement CreateIconElementCore(); -}; diff --git a/dev/IconSource/SymbolIconSource.cpp b/dev/IconSource/SymbolIconSource.cpp deleted file mode 100644 index dc3d363285..0000000000 --- a/dev/IconSource/SymbolIconSource.cpp +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" - -#include "IconSource.h" -#include "SymbolIconSource.h" - -winrt::IconElement SymbolIconSource::CreateIconElementCore() -{ - winrt::SymbolIcon symbolIcon; - symbolIcon.Symbol(Symbol()); - if (const auto newForeground = Foreground()) - { - symbolIcon.Foreground(newForeground); - } - return symbolIcon; -} - -winrt::DependencyProperty SymbolIconSource::GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty) -{ - if (sourceProperty == s_SymbolProperty) - { - return winrt::SymbolIcon::SymbolProperty(); - } - - return __super::GetIconElementPropertyCore(sourceProperty); -} diff --git a/dev/IconSource/SymbolIconSource.h b/dev/IconSource/SymbolIconSource.h deleted file mode 100644 index b0a55bfecb..0000000000 --- a/dev/IconSource/SymbolIconSource.h +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "IconSource.h" -#include "SymbolIconSource.g.h" -#include "SymbolIconSource.properties.h" - -class SymbolIconSource : - public ReferenceTracker, - public SymbolIconSourceProperties -{ -public: - using SymbolIconSourceProperties::EnsureProperties; - using SymbolIconSourceProperties::ClearProperties; - - winrt::DependencyProperty GetIconElementPropertyCore(winrt::DependencyProperty sourceProperty); - winrt::IconElement CreateIconElementCore(); -}; diff --git a/dev/ImageIcon/APITests/ImageIconTests.cs b/dev/ImageIcon/APITests/ImageIconTests.cs deleted file mode 100644 index 4799a3010f..0000000000 --- a/dev/ImageIcon/APITests/ImageIconTests.cs +++ /dev/null @@ -1,77 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Common; -using System.Collections.Generic; -using Microsoft.UI.Xaml.Controls; -using MUXControlsTestApp.Utilities; -using Windows.UI.Xaml.Media.Imaging; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Controls; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests -{ - - [TestClass] - public class ImageIconTests : ApiTestBase - { - [TestMethod] - public void ImageIconTest() - { - ImageIcon imageIcon = null; - var uri = new Uri("ms-appx:///Assets/Nuclear_symbol.svg"); - - RunOnUIThread.Execute(() => - { - imageIcon = new ImageIcon(); - - /* - #3949 is created to re-enable this part - This is an unparented ImageIcon, so looking up the default foreground and verifying - is a bit wierd. The colors are also chaning, so this is going to fail with those changes - So commenting this check out for now to make the test more resilient. - - var theme = Application.Current.RequestedTheme; - if (theme == ApplicationTheme.Dark) - { - Verify.AreEqual(((SolidColorBrush)imageIcon.Foreground).Color, Colors.White); - } - else - { - Verify.AreEqual(((SolidColorBrush)imageIcon.Foreground).Color, Colors.Black); - } - */ - - Log.Comment("Validate that you can change the properties."); - - imageIcon.Foreground = new SolidColorBrush(Windows.UI.Colors.Red); - imageIcon.Source = new SvgImageSource(uri); - Content = imageIcon; - Content.UpdateLayout(); - }); - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.IsTrue(imageIcon.Foreground is SolidColorBrush); - Verify.AreEqual(Windows.UI.Colors.Red, (imageIcon.Foreground as SolidColorBrush).Color); - Verify.AreEqual(uri, ((SvgImageSource)imageIcon.Source).UriSource); - if (PlatformConfiguration.IsOsVersionGreaterThanOrEqual(OSVersion.Redstone5)) - { - var image = ((Image)VisualTreeHelper.GetChild(VisualTreeHelper.GetChild(imageIcon, 0), 0)); - Verify.IsTrue(image.IsLoaded); - } - }); - } - } -} diff --git a/dev/ImageIcon/APITests/ImageIcon_APITests.projitems b/dev/ImageIcon/APITests/ImageIcon_APITests.projitems deleted file mode 100644 index 9e193cd08b..0000000000 --- a/dev/ImageIcon/APITests/ImageIcon_APITests.projitems +++ /dev/null @@ -1,14 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - cb2352e2-d633-41a3-8cdc-b28731a4c490 - - - ImageIcon_APITests - - - - - diff --git a/dev/ImageIcon/APITests/ImageIcon_APITests.shproj b/dev/ImageIcon/APITests/ImageIcon_APITests.shproj deleted file mode 100644 index 21e9af9f32..0000000000 --- a/dev/ImageIcon/APITests/ImageIcon_APITests.shproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - {27AAE2E5-9687-4120-822F-CDB68B9A65B7} - 14.0 - - - - - - - - \ No newline at end of file diff --git a/dev/ImageIcon/ImageIcon.cpp b/dev/ImageIcon/ImageIcon.cpp deleted file mode 100644 index 05ade7e2e4..0000000000 --- a/dev/ImageIcon/ImageIcon.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "ImageIcon.h" -#include "RuntimeProfiler.h" -#include "ResourceAccessor.h" - -ImageIcon::ImageIcon() -{ - __RP_Marker_ClassById(RuntimeProfiler::ProfId_ImageIcon); -} - -void ImageIcon::OnApplyTemplate() -{ - winrt::IInspectable diagnostics{}; - if (auto const grid = winrt::VisualTreeHelper::GetChild(*this, 0).as()) - { - auto const image = winrt::VisualTreeHelper::GetChild(grid, 0).as(); - image.Source(Source()); - m_rootImage.set(image); - } - else - { - m_rootImage.set(nullptr); - } -} - -void ImageIcon::OnSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - if (auto const image = m_rootImage.get()) - { - image.Source(Source()); - } -} diff --git a/dev/ImageIcon/ImageIcon.h b/dev/ImageIcon/ImageIcon.h deleted file mode 100644 index 21f2dd837d..0000000000 --- a/dev/ImageIcon/ImageIcon.h +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "pch.h" -#include "common.h" - -#include "ImageIcon.g.h" -#include "ImageIcon.properties.h" - -class ImageIcon : - public ReferenceTracker, - public ImageIconProperties -{ - -public: - ImageIcon(); - ~ImageIcon() {} - - // IFrameworkElement - void OnApplyTemplate(); - - void OnSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); - -private: - - tracker_ref m_rootImage{ this }; -}; diff --git a/dev/ImageIcon/ImageIcon.idl b/dev/ImageIcon/ImageIcon.idl deleted file mode 100644 index efdea84985..0000000000 --- a/dev/ImageIcon/ImageIcon.idl +++ /dev/null @@ -1,16 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass ImageIcon : Windows.UI.Xaml.Controls.IconElement -{ - ImageIcon(); - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Windows.UI.Xaml.Media.ImageSource Source{ get; set; }; - - static Windows.UI.Xaml.DependencyProperty SourceProperty{ get; }; -} - -} diff --git a/dev/ImageIcon/ImageIcon.vcxitems b/dev/ImageIcon/ImageIcon.vcxitems deleted file mode 100644 index d794add410..0000000000 --- a/dev/ImageIcon/ImageIcon.vcxitems +++ /dev/null @@ -1,49 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {9FB38577-696E-47BA-8AE2-F48A3C84A7CA} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - %(PreprocessorDefinitions);IMAGEICON_INCLUDED - - - - - - - - - - - - - - - Version2 - RS1 - DefaultStyle - - - Version1 - RS1 - DefaultStyle - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - - - - \ No newline at end of file diff --git a/dev/ImageIcon/ImageIcon.xaml b/dev/ImageIcon/ImageIcon.xaml deleted file mode 100644 index bdd42aee5f..0000000000 --- a/dev/ImageIcon/ImageIcon.xaml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/dev/ImageIcon/ImageIcon_themeresources.xaml b/dev/ImageIcon/ImageIcon_themeresources.xaml deleted file mode 100644 index ceaa145ec4..0000000000 --- a/dev/ImageIcon/ImageIcon_themeresources.xaml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/dev/ImageIcon/ImageIcon_themeresources_v1.xaml b/dev/ImageIcon/ImageIcon_themeresources_v1.xaml deleted file mode 100644 index ceaa145ec4..0000000000 --- a/dev/ImageIcon/ImageIcon_themeresources_v1.xaml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/dev/ImageIcon/ImageIcon_v1.xaml b/dev/ImageIcon/ImageIcon_v1.xaml deleted file mode 100644 index bdd42aee5f..0000000000 --- a/dev/ImageIcon/ImageIcon_v1.xaml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - diff --git a/dev/ImageIcon/InteractionTests/ImageIconTests.cs b/dev/ImageIcon/InteractionTests/ImageIconTests.cs deleted file mode 100644 index 371ed6ec17..0000000000 --- a/dev/ImageIcon/InteractionTests/ImageIconTests.cs +++ /dev/null @@ -1,51 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Common; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common; -using System.Collections.Generic; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -using Microsoft.Windows.Apps.Test.Automation; -using Microsoft.Windows.Apps.Test.Foundation; -using Microsoft.Windows.Apps.Test.Foundation.Controls; -using Microsoft.Windows.Apps.Test.Foundation.Patterns; -using Microsoft.Windows.Apps.Test.Foundation.Waiters; - -namespace Windows.UI.Xaml.Tests.MUXControls.InteractionTests -{ - [TestClass] - public class ImageIconTests - { - [ClassInitialize] - [TestProperty("RunAs", "User")] - [TestProperty("Classification", "Integration")] - [TestProperty("Platform", "Any")] - [TestProperty("MUXControlsTestSuite", "SuiteB")] - public static void ClassInitialize(TestContext testContext) - { - TestEnvironment.Initialize(testContext); - } - - public void TestCleanup() - { - TestCleanupHelper.Cleanup(); - } - - [TestMethod] - public void BasicTest() - { - Log.Comment("ImageIcon Basic Test"); - } - } -} diff --git a/dev/ImageIcon/InteractionTests/ImageIcon_InteractionTests.projitems b/dev/ImageIcon/InteractionTests/ImageIcon_InteractionTests.projitems deleted file mode 100644 index 1b4bd2f366..0000000000 --- a/dev/ImageIcon/InteractionTests/ImageIcon_InteractionTests.projitems +++ /dev/null @@ -1,15 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - A1553559-5786-4B44-AB9E-94AB95C86D4D - - - ImageIcon_InteractionTests - - - - - diff --git a/dev/ImageIcon/InteractionTests/ImageIcon_InteractionTests.shproj b/dev/ImageIcon/InteractionTests/ImageIcon_InteractionTests.shproj deleted file mode 100644 index b29ef36f5e..0000000000 --- a/dev/ImageIcon/InteractionTests/ImageIcon_InteractionTests.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - {F14FB632-E705-44BC-9415-75B539F483E1} - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/ImageIcon/TestUI/ImageIconPage.xaml b/dev/ImageIcon/TestUI/ImageIconPage.xaml deleted file mode 100644 index 6c27d223cd..0000000000 --- a/dev/ImageIcon/TestUI/ImageIconPage.xaml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/ImageIcon/TestUI/ImageIconPage.xaml.cs b/dev/ImageIcon/TestUI/ImageIconPage.xaml.cs deleted file mode 100644 index 138ece7cf8..0000000000 --- a/dev/ImageIcon/TestUI/ImageIconPage.xaml.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Markup; -using Windows.UI; -using System.Windows.Input; - -using ImageIcon = Microsoft.UI.Xaml.Controls.ImageIcon; -using Windows.UI.Xaml.Media.Imaging; - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "ImageIcon")] - public sealed partial class ImageIconPage : TestPage - { - public ImageIconPage() - { - this.InitializeComponent(); - } - - private void ToggleButton_Checked(object sender, RoutedEventArgs e) - { - this.ImageIcon.Source = new SvgImageSource(new Uri("ms-appx:///Assets/libre-camera-panorama.svg")); - } - private void ToggleButton_Unchecked(object sender, RoutedEventArgs e) - { - BitmapImage bitmapImage = new BitmapImage(); - Uri uri = new Uri("ms-appx:///Assets/ingredient2.png"); - bitmapImage.UriSource = uri; - - this.ImageIcon.Source = bitmapImage; - } - } -} diff --git a/dev/ImageIcon/TestUI/ImageIcon_TestUI.projitems b/dev/ImageIcon/TestUI/ImageIcon_TestUI.projitems deleted file mode 100644 index 77de7178e8..0000000000 --- a/dev/ImageIcon/TestUI/ImageIcon_TestUI.projitems +++ /dev/null @@ -1,23 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - 280C91F4-96B5-4BDE-9E02-E573E1DEF583 - - - ImageIcon_TestUI - - - - Designer - MSBuild:Compile - - - - - ImageIconPage.xaml - - - diff --git a/dev/ImageIcon/TestUI/ImageIcon_TestUI.shproj b/dev/ImageIcon/TestUI/ImageIcon_TestUI.shproj deleted file mode 100644 index 9b5177601b..0000000000 --- a/dev/ImageIcon/TestUI/ImageIcon_TestUI.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - {DDE1C022-6F9A-4067-89C2-81F2EEAF249F} - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/InfoBadge/APITests/InfoBadgeTests.cs b/dev/InfoBadge/APITests/InfoBadgeTests.cs deleted file mode 100644 index dfdf98242f..0000000000 --- a/dev/InfoBadge/APITests/InfoBadgeTests.cs +++ /dev/null @@ -1,179 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Common; -using System.Collections.Generic; -using Microsoft.UI.Xaml.Controls; -using MUXControlsTestApp.Utilities; -using Windows.UI.Xaml.Controls; -using SymbolIconSource = Microsoft.UI.Xaml.Controls.SymbolIconSource; -using PathIconSource = Microsoft.UI.Xaml.Controls.PathIconSource; -using BitmapIconSource = Microsoft.UI.Xaml.Controls.BitmapIconSource; -using FontIconSource = Microsoft.UI.Xaml.Controls.FontIconSource; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Media.Imaging; -using Microsoft.UI.Xaml.Controls.AnimatedVisuals; -using System.Runtime.InteropServices; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests -{ - - [TestClass] - public class InfoBadgeTests : ApiTestBase - { - [TestMethod] - public void InfoBadgeDisplayKindTest() - { - InfoBadge infoBadge = null; - SymbolIconSource symbolIconSource = null; - RunOnUIThread.Execute(() => - { - infoBadge = new InfoBadge(); - symbolIconSource = new SymbolIconSource(); - symbolIconSource.Symbol = Symbol.Setting; - - Content = infoBadge; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - FrameworkElement textBlock = infoBadge.FindVisualChildByName("ValueTextBlock"); - Verify.IsNotNull(textBlock, "The underlying value text block could not be retrieved"); - - FrameworkElement iconViewBox = infoBadge.FindVisualChildByName("IconPresenter"); - Verify.IsNotNull(textBlock, "The underlying icon presenter view box could not be retrieved"); - - Verify.AreEqual(Visibility.Collapsed, textBlock.Visibility, "The value text block should be initally collapsed since the default value is -1"); - Verify.AreEqual(Visibility.Collapsed, iconViewBox.Visibility, "The icon presenter should be initally collapsed since the default value is null"); - - infoBadge.IconSource = symbolIconSource; - Content.UpdateLayout(); - - Verify.AreEqual(Visibility.Collapsed, textBlock.Visibility, "The value text block should be initally collapsed since the default value is -1"); - Verify.AreEqual(Visibility.Visible, iconViewBox.Visibility, "The icon presenter should be visible since we've set the icon source property and value is -1"); - - infoBadge.Value = 10; - Content.UpdateLayout(); - - Verify.AreEqual(Visibility.Visible, textBlock.Visibility, "The value text block should be visible since the value is set to 10"); - Verify.AreEqual(Visibility.Collapsed, iconViewBox.Visibility, "The icon presenter should be collapsed since we've set the icon source property but value is not -1"); - - infoBadge.IconSource = null; - Content.UpdateLayout(); - - Verify.AreEqual(Visibility.Visible, textBlock.Visibility, "The value text block should be visible since the value is set to 10"); - Verify.AreEqual(Visibility.Collapsed, iconViewBox.Visibility, "The icon presenter should be collapsed since the icon source property is null"); - - infoBadge.Value = -1; - Content.UpdateLayout(); - - Verify.AreEqual(Visibility.Collapsed, textBlock.Visibility, "The value text block should be collapsed since the value is set to -1"); - Verify.AreEqual(Visibility.Collapsed, iconViewBox.Visibility, "The icon presenter should be collapsed since the value is set to null"); - }); - } - - [TestMethod] - public void InfoBadgeSupportsAllIconTypes() - { - InfoBadge infoBadge = null; - SymbolIconSource symbolIconSource = null; - PathIconSource pathIconSource = null; - AnimatedIconSource animatedIconSource = null; - BitmapIconSource bitmapIconSource = null; - ImageIconSource imageIconSource = null; - FontIconSource fontIconSource = null; - - RunOnUIThread.Execute(() => - { - infoBadge = new InfoBadge(); - symbolIconSource = new SymbolIconSource(); - symbolIconSource.Symbol = Symbol.Setting; - - fontIconSource = new FontIconSource(); - fontIconSource.Glyph = "99+"; - fontIconSource.FontFamily = new FontFamily("XamlAutoFontFamily"); - - bitmapIconSource = new BitmapIconSource(); - bitmapIconSource.ShowAsMonochrome = false; - Uri bitmapUri = new Uri("ms-appx:/Assets/ingredient1.png"); - bitmapIconSource.UriSource = bitmapUri; - - imageIconSource = new ImageIconSource(); - var imageUri = new Uri("https://raw.githubusercontent.com/DiemenDesign/LibreICONS/master/svg-color/libre-camera-panorama.svg"); - imageIconSource.ImageSource = new SvgImageSource(imageUri); - - pathIconSource = new PathIconSource(); - var geometry = new RectangleGeometry(); - geometry.Rect = new Windows.Foundation.Rect { Width = 5, Height = 2, X = 0, Y = 0 }; - pathIconSource.Data = geometry; - - animatedIconSource = new AnimatedIconSource(); - animatedIconSource.Source = new AnimatedSettingsVisualSource(); - - Content = infoBadge; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Log.Comment("Switch to Symbol Icon"); - infoBadge.IconSource = symbolIconSource; - Content.UpdateLayout(); - - Log.Comment("Switch to Path Icon"); - infoBadge.IconSource = pathIconSource; - Content.UpdateLayout(); - - Log.Comment("Switch to Font Icon"); - infoBadge.IconSource = fontIconSource; - Content.UpdateLayout(); - - Log.Comment("Switch to bitmap Icon"); - infoBadge.IconSource = bitmapIconSource; - Content.UpdateLayout(); - - Log.Comment("Switch to Image Icon"); - infoBadge.IconSource = imageIconSource; - Content.UpdateLayout(); - - Log.Comment("Switch to Animated Icon"); - infoBadge.IconSource = animatedIconSource; - Content.UpdateLayout(); - }); - } - - [TestMethod] - public void InfoBadgeValueLessThanNegativeOneCrashes() - { - InfoBadge infoBadge = null; - RunOnUIThread.Execute(() => - { - infoBadge = new InfoBadge(); - Content = infoBadge; - Content.UpdateLayout(); - }); - - IdleSynchronizer.Wait(); - - RunOnUIThread.Execute(() => - { - Verify.Throws(() => { infoBadge.Value = -10; }); - }); - } - } -} diff --git a/dev/InfoBadge/APITests/InfoBadge_APITests.projitems b/dev/InfoBadge/APITests/InfoBadge_APITests.projitems deleted file mode 100644 index 691e77e6aa..0000000000 --- a/dev/InfoBadge/APITests/InfoBadge_APITests.projitems +++ /dev/null @@ -1,14 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - cb2352e2-d633-41a3-8cdc-b28731a4c490 - - - InfoBadge_APITests - - - - - diff --git a/dev/InfoBadge/APITests/InfoBadge_APITests.shproj b/dev/InfoBadge/APITests/InfoBadge_APITests.shproj deleted file mode 100644 index 944d6c7c2d..0000000000 --- a/dev/InfoBadge/APITests/InfoBadge_APITests.shproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - {D83F60A3-EB44-46F2-8EE7-B28C90004E5F} - 14.0 - - - - - - - - \ No newline at end of file diff --git a/dev/InfoBadge/InfoBadge.cpp b/dev/InfoBadge/InfoBadge.cpp deleted file mode 100644 index ff28d26e78..0000000000 --- a/dev/InfoBadge/InfoBadge.cpp +++ /dev/null @@ -1,105 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "InfoBadge.h" -#include "RuntimeProfiler.h" -#include "ResourceAccessor.h" - -static constexpr wstring_view c_IconPresenterName{ L"IconPresenter"sv }; - -InfoBadge::InfoBadge() -{ - __RP_Marker_ClassById(RuntimeProfiler::ProfId_InfoBadge); - - SetDefaultStyleKey(this); - - SetValue(s_TemplateSettingsProperty, winrt::make<::InfoBadgeTemplateSettings>()); - SizeChanged({ this, &InfoBadge::OnSizeChanged }); -} - -void InfoBadge::OnApplyTemplate() -{ - winrt::IControlProtected controlProtected{ *this }; - - OnDisplayKindPropertiesChanged(); -} - -winrt::Size InfoBadge::MeasureOverride(winrt::Size const& availableSize) -{ - auto const defaultDesiredSize = __super::MeasureOverride(availableSize); - if (defaultDesiredSize.Width < defaultDesiredSize.Height) - { - return { defaultDesiredSize.Height, defaultDesiredSize.Height }; - } - return defaultDesiredSize; -} - -void InfoBadge::OnPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - auto const property = args.Property(); - winrt::Control const thisAsControl = *this; - - if (property == winrt::InfoBadge::ValueProperty()) - { - if (Value() < -1) - { - throw winrt::hresult_out_of_bounds(L"Value must be equal to or greater than -1"); - } - } - - if (property == winrt::InfoBadge::ValueProperty() || - property == winrt::InfoBadge::IconSourceProperty()) - { - OnDisplayKindPropertiesChanged(); - } -} - -void InfoBadge::OnDisplayKindPropertiesChanged() -{ - winrt::Control const thisAsControl = *this; - if (Value() >= 0) - { - winrt::VisualStateManager::GoToState(thisAsControl, L"Value", true); - } - else if (auto const iconSource = IconSource()) - { - TemplateSettings().IconElement(iconSource.CreateIconElement()); - if (auto const fontIconSource = iconSource.try_as()) - { - winrt::VisualStateManager::GoToState(thisAsControl, L"FontIcon", true); - } - else - { - winrt::VisualStateManager::GoToState(thisAsControl, L"Icon", true); - } - } - else - { - winrt::VisualStateManager::GoToState(thisAsControl, L"Dot", true); - } -} - - -void InfoBadge::OnSizeChanged(const winrt::IInspectable&, const winrt::SizeChangedEventArgs& args) -{ - auto const value = [this]() - { - auto const cornerRadiusValue = ActualHeight() / 2; - if (SharedHelpers::IsRS5OrHigher()) - { - if (ReadLocalValue(winrt::Control::CornerRadiusProperty()) == winrt::DependencyProperty::UnsetValue()) - { - return winrt::CornerRadius{ cornerRadiusValue, cornerRadiusValue, cornerRadiusValue, cornerRadiusValue }; - } - else - { - return CornerRadius(); - } - } - return winrt::CornerRadius{ cornerRadiusValue, cornerRadiusValue, cornerRadiusValue, cornerRadiusValue }; - }(); - - TemplateSettings().InfoBadgeCornerRadius(value); -} diff --git a/dev/InfoBadge/InfoBadge.h b/dev/InfoBadge/InfoBadge.h deleted file mode 100644 index 50ab8878b3..0000000000 --- a/dev/InfoBadge/InfoBadge.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "pch.h" -#include "common.h" - -#include "InfoBadgeTemplateSettings.h" - -#include "InfoBadge.g.h" -#include "InfoBadge.properties.h" - -class InfoBadge : - public ReferenceTracker, - public InfoBadgeProperties -{ - -public: - InfoBadge(); - ~InfoBadge() {} - - // IFrameworkElement - void OnApplyTemplate(); - winrt::Size MeasureOverride(winrt::Size const& availableSize); - - void OnPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); -private: - void OnDisplayKindPropertiesChanged(); - void OnSizeChanged(const winrt::IInspectable&, const winrt::SizeChangedEventArgs& args); -}; diff --git a/dev/InfoBadge/InfoBadge.idl b/dev/InfoBadge/InfoBadge.idl deleted file mode 100644 index c90005ea17..0000000000 --- a/dev/InfoBadge/InfoBadge.idl +++ /dev/null @@ -1,37 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass InfoBadgeTemplateSettings : Windows.UI.Xaml.DependencyObject -{ - InfoBadgeTemplateSettings(); - - Windows.UI.Xaml.CornerRadius InfoBadgeCornerRadius; - Windows.UI.Xaml.Controls.IconElement IconElement; - - static Windows.UI.Xaml.DependencyProperty InfoBadgeCornerRadiusProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty IconElementProperty{ get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] -[MUX_PROPERTY_CHANGED_CALLBACK_METHODNAME("OnPropertyChanged")] -unsealed runtimeclass InfoBadge : Windows.UI.Xaml.Controls.Control -{ - InfoBadge(); - - [MUX_DEFAULT_VALUE("-1")] - Int32 Value; - - IconSource IconSource; - - InfoBadgeTemplateSettings TemplateSettings{ get; }; - - static Windows.UI.Xaml.DependencyProperty ValueProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty IconSourceProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty TemplateSettingsProperty{ get; }; -} - -} diff --git a/dev/InfoBadge/InfoBadge.vcxitems b/dev/InfoBadge/InfoBadge.vcxitems deleted file mode 100644 index fbaecdb88b..0000000000 --- a/dev/InfoBadge/InfoBadge.vcxitems +++ /dev/null @@ -1,40 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {E7DEA84C-CCCE-4458-8499-5182F67BC7BA} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - %(PreprocessorDefinitions);INFOBADGE_INCLUDED - - - - - - - - - - - - - - - - - - RS1 - DefaultStyle - - - RS1 - ThemeResources - - - - - - \ No newline at end of file diff --git a/dev/InfoBadge/InfoBadge.xaml b/dev/InfoBadge/InfoBadge.xaml deleted file mode 100644 index 54139456c2..0000000000 --- a/dev/InfoBadge/InfoBadge.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/InfoBadge/InteractionTests/InfoBadge_InteractionTests.projitems b/dev/InfoBadge/InteractionTests/InfoBadge_InteractionTests.projitems deleted file mode 100644 index 3dc002862b..0000000000 --- a/dev/InfoBadge/InteractionTests/InfoBadge_InteractionTests.projitems +++ /dev/null @@ -1,12 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - A1553559-5786-4B44-AB9E-94AB95C86D4D - - - InfoBadge_InteractionTests - - \ No newline at end of file diff --git a/dev/InfoBadge/InteractionTests/InfoBadge_InteractionTests.shproj b/dev/InfoBadge/InteractionTests/InfoBadge_InteractionTests.shproj deleted file mode 100644 index 8823ce827d..0000000000 --- a/dev/InfoBadge/InteractionTests/InfoBadge_InteractionTests.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - {F55AB8BF-F828-4A2E-BCDF-68F22AED35C3} - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/InfoBadge/TestUI/InfoBadgePage.xaml b/dev/InfoBadge/TestUI/InfoBadgePage.xaml deleted file mode 100644 index 5fe1f0c7ba..0000000000 --- a/dev/InfoBadge/TestUI/InfoBadgePage.xaml +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/InfoBadge/TestUI/InfoBadgePage.xaml.cs b/dev/InfoBadge/TestUI/InfoBadgePage.xaml.cs deleted file mode 100644 index 66d67b27f3..0000000000 --- a/dev/InfoBadge/TestUI/InfoBadgePage.xaml.cs +++ /dev/null @@ -1,156 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Markup; -using Windows.UI; -using System.Windows.Input; -using Microsoft.UI.Xaml.Controls; -using IconSource = Microsoft.UI.Xaml.Controls.IconSource; -using FontIconSource = Microsoft.UI.Xaml.Controls.FontIconSource; -using BitmapIconSource = Microsoft.UI.Xaml.Controls.BitmapIconSource; -using SymbolIconSource = Microsoft.UI.Xaml.Controls.SymbolIconSource; -using PathIconSource = Microsoft.UI.Xaml.Controls.PathIconSource; -using Windows.UI.Xaml.Media.Imaging; -using Microsoft.UI.Xaml.Controls.AnimatedVisuals; -using ColorChangedEventArgs = Microsoft.UI.Xaml.Controls.ColorChangedEventArgs; - -//using InfoBadge = Microsoft.UI.Xaml.Controls.InfoBadge; - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "InfoBadge")] - public sealed partial class InfoBadgePage : TestPage - { - IconSource pageIconSource = null; - SolidColorBrush iconForegroundBrush = new SolidColorBrush(); - - public InfoBadgePage() - { - this.InitializeComponent(); - iconForegroundBrush.Color = IconForegroundColorPicker.Color; - } - - public void IconComboBoxSelectionChanged(object sender, SelectionChangedEventArgs args) - { - if (IconComboBox.SelectedItem == this.NullIcon) - { - UpdateIcon(null); - } - else if (IconComboBox.SelectedItem == this.FontIcon) - { - UpdateIcon(MakeFontIcon()); - } - else if (IconComboBox.SelectedItem == this.BitmapIcon) - { - UpdateIcon(MakeBitmapIcon()); - } - else if (IconComboBox.SelectedItem == this.ImageIcon) - { - UpdateIcon(MakeImageIcon()); - } - else if (IconComboBox.SelectedItem == this.SymbolIcon) - { - UpdateIcon(MakeSymbolIcon()); - } - else if (IconComboBox.SelectedItem == this.PathIcon) - { - UpdateIcon(MakePathIcon()); - } - else if (IconComboBox.SelectedItem == this.AnimatedIcon) - { - UpdateIcon(MakeAnimatedIcon()); - } - } - - public void OnIconForegroundColorPickerColorChanged(object sender, ColorChangedEventArgs args) - { - iconForegroundBrush.Color = args.NewColor; - if (pageIconSource != null) - { - pageIconSource.Foreground = iconForegroundBrush; - } - } - - public void OnForegroundToNullButtonClicked(object sender, RoutedEventArgs args) - { - if (pageIconSource != null) - { - pageIconSource.Foreground = null; - } - } - - public void OnClearForegroundButtonClicked(object sender, RoutedEventArgs args) - { - if (pageIconSource != null) - { - pageIconSource.ClearValue(IconSource.ForegroundProperty); - } - } - - private void UpdateIcon(IconSource iconSource) - { - pageIconSource = iconSource; - DynamicInfoBadge.IconSource = iconSource; - } - - private FontIconSource MakeFontIcon() - { - FontIconSource iconSource = new FontIconSource(); - iconSource.Glyph = "99+"; - iconSource.FontFamily = new FontFamily("XamlAutoFontFamily"); - iconSource.Foreground = iconForegroundBrush; - return iconSource; - } - - private BitmapIconSource MakeBitmapIcon() - { - BitmapIconSource iconSource = new BitmapIconSource(); - iconSource.ShowAsMonochrome = false; - Uri uri = new Uri("ms-appx:/Assets/ingredient1.png"); - iconSource.UriSource = uri; - iconSource.Foreground = iconForegroundBrush; - return iconSource; - } - - private ImageIconSource MakeImageIcon() - { - ImageIconSource iconSource = new ImageIconSource(); - var uri = new Uri("https://raw.githubusercontent.com/DiemenDesign/LibreICONS/master/svg-color/libre-camera-panorama.svg"); - iconSource.ImageSource = new SvgImageSource(uri); - iconSource.Foreground = iconForegroundBrush; - return iconSource; - } - - private SymbolIconSource MakeSymbolIcon() - { - SymbolIconSource iconSource = new SymbolIconSource(); - iconSource.Symbol = Symbol.Setting; - iconSource.Foreground = iconForegroundBrush; - return iconSource; - } - - private PathIconSource MakePathIcon() - { - PathIconSource iconSource = new PathIconSource(); - var geometry = new RectangleGeometry(); - geometry.Rect = new Windows.Foundation.Rect { Width=5, Height=2, X=0, Y=0 }; - iconSource.Data = geometry; - iconSource.Foreground = iconForegroundBrush; - return iconSource; - } - - private AnimatedIconSource MakeAnimatedIcon() - { - AnimatedIconSource iconSource = new AnimatedIconSource(); - iconSource.Source = new AnimatedSettingsVisualSource(); - iconSource.FallbackIconSource = new SymbolIconSource { Symbol = Symbol.Setting, Foreground = iconForegroundBrush }; - iconSource.Foreground = iconForegroundBrush; - return iconSource; - } - } -} diff --git a/dev/InfoBadge/TestUI/InfoBadge_TestUI.projitems b/dev/InfoBadge/TestUI/InfoBadge_TestUI.projitems deleted file mode 100644 index ffcc05e28d..0000000000 --- a/dev/InfoBadge/TestUI/InfoBadge_TestUI.projitems +++ /dev/null @@ -1,23 +0,0 @@ - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - 280C91F4-96B5-4BDE-9E02-E573E1DEF583 - - - InfoBadge_TestUI - - - - Designer - MSBuild:Compile - - - - - InfoBadgePage.xaml - - - \ No newline at end of file diff --git a/dev/InfoBadge/TestUI/InfoBadge_TestUI.shproj b/dev/InfoBadge/TestUI/InfoBadge_TestUI.shproj deleted file mode 100644 index 87a04e4bef..0000000000 --- a/dev/InfoBadge/TestUI/InfoBadge_TestUI.shproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - {1F30CAC6-7EFB-4CE9-B119-64821C117CB9} - 15.0 - - - - - - - - \ No newline at end of file diff --git a/dev/InfoBar/InfoBar.cpp b/dev/InfoBar/InfoBar.cpp deleted file mode 100644 index bd4802efa7..0000000000 --- a/dev/InfoBar/InfoBar.cpp +++ /dev/null @@ -1,273 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "InfoBar.h" -#include "InfoBarClosingEventArgs.h" -#include "InfoBarClosedEventArgs.h" -#include "InfoBarTemplateSettings.h" -#include "InfoBarAutomationPeer.h" -#include "RuntimeProfiler.h" -#include "ResourceAccessor.h" -#include "../ResourceHelper/Utils.h" - -static constexpr wstring_view c_closeButtonName{ L"CloseButton"sv }; -static constexpr wstring_view c_iconTextBlockName{ L"StandardIcon"sv }; -static constexpr wstring_view c_contentRootName{ L"ContentRoot"sv }; - -InfoBar::InfoBar() -{ - __RP_Marker_ClassById(RuntimeProfiler::ProfId_InfoBar); - - SetValue(s_TemplateSettingsProperty, winrt::make<::InfoBarTemplateSettings>()); - - RegisterPropertyChangedCallback(winrt::Control::ForegroundProperty(), { this, &InfoBar::OnForegroundChanged }); - - SetDefaultStyleKey(this); -} - -winrt::AutomationPeer InfoBar::OnCreateAutomationPeer() -{ - return winrt::make(*this); -} - -void InfoBar::OnApplyTemplate() -{ - m_applyTemplateCalled = true; - - winrt::IControlProtected controlProtected{ *this }; - - if (const auto closeButton = GetTemplateChildT(c_closeButtonName, controlProtected)) - { - m_closeButtonClickRevoker = closeButton.Click(winrt::auto_revoke, { this, &InfoBar::OnCloseButtonClick }); - - // Do localization for the close button - if (winrt::AutomationProperties::GetName(closeButton).empty()) - { - const auto closeButtonName = ResourceAccessor::GetLocalizedStringResource(SR_InfoBarCloseButtonName); - winrt::AutomationProperties::SetName(closeButton, closeButtonName); - } - // Setup the tooltip for the close button - auto tooltip = winrt::ToolTip(); - const auto closeButtonTooltipText = ResourceAccessor::GetLocalizedStringResource(SR_InfoBarCloseButtonTooltip); - tooltip.Content(box_value(closeButtonTooltipText)); - winrt::ToolTipService::SetToolTip(closeButton, tooltip); - } - - if (const auto iconTextblock = GetTemplateChildT(c_iconTextBlockName, controlProtected)) - { - m_standardIconTextBlock.set(iconTextblock); - winrt::AutomationProperties::SetName(iconTextblock, ResourceAccessor::GetLocalizedStringResource(GetIconSeverityLevelResourceName(Severity()))); - } - - winrt::AutomationProperties::SetLocalizedLandmarkType(*this, ResourceAccessor::GetLocalizedStringResource(SR_InfoBarCustomLandmarkName)); - - UpdateVisibility(m_notifyOpen, true); - m_notifyOpen = false; - - UpdateSeverity(); - UpdateIcon(); - UpdateIconVisibility(); - UpdateCloseButton(); - UpdateForeground(); -} - -void InfoBar::OnCloseButtonClick(winrt::IInspectable const& sender, winrt::RoutedEventArgs const& args) -{ - m_closeButtonClickEventSource(*this, nullptr); - m_lastCloseReason = winrt::InfoBarCloseReason::CloseButton; - IsOpen(false); -} - -void InfoBar::RaiseClosingEvent() -{ - auto const args = winrt::make_self(); - args->Reason(m_lastCloseReason); - - m_closingEventSource(*this, *args); - - if (!args->Cancel()) - { - UpdateVisibility(); - RaiseClosedEvent(); - } - else - { - // The developer has changed the Cancel property to true, - // so we need to revert the IsOpen property to true. - IsOpen(true); - } -} - -void InfoBar::RaiseClosedEvent() -{ - auto const args = winrt::make_self(); - args->Reason(m_lastCloseReason); - m_closedEventSource(*this, *args); -} - -void InfoBar::OnIsOpenPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - if (IsOpen()) - { - //Reset the close reason to the default value of programmatic. - m_lastCloseReason = winrt::InfoBarCloseReason::Programmatic; - - UpdateVisibility(); - } - else - { - RaiseClosingEvent(); - } -} - -void InfoBar::OnSeverityPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - UpdateSeverity(); -} - -void InfoBar::OnIconSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - UpdateIcon(); - UpdateIconVisibility(); -} - -void InfoBar::OnIsIconVisiblePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - UpdateIconVisibility(); -} - -void InfoBar::OnIsClosablePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args) -{ - UpdateCloseButton(); -} - -void InfoBar::UpdateVisibility(bool notify, bool force) -{ - auto const peer = winrt::FrameworkElementAutomationPeer::FromElement(*this).try_as(); - if (!m_applyTemplateCalled) - { - // ApplyTemplate() hasn't been called yet but IsOpen has already been set. - // Since this method will be called again shortly from ApplyTemplate, we'll just wait and send a notification then. - m_notifyOpen = true; - } - else - { - // Don't do any work if nothing has changed (unless we are forcing a update) - if (force || IsOpen() != m_isVisible) - { - if (IsOpen()) - { - if (notify && peer) - { - auto const notificationString = StringUtil::FormatString( - ResourceAccessor::GetLocalizedStringResource(SR_InfoBarOpenedNotification), - ResourceAccessor::GetLocalizedStringResource(GetIconSeverityLevelResourceName(Severity())).data(), - Title().data(), - Message().data()); - - winrt::get_self(peer)->RaiseOpenedEvent(Severity(), notificationString); - } - - winrt::VisualStateManager::GoToState(*this, L"InfoBarVisible", false); - winrt::AutomationProperties::SetAccessibilityView(*this, winrt::AccessibilityView::Control); - m_isVisible = true; - } - else - { - if (notify && peer) - { - auto const notificationString = ResourceAccessor::GetLocalizedStringResource(SR_InfoBarClosedNotification); - - winrt::get_self(peer)->RaiseClosedEvent(Severity(), notificationString); - } - - winrt::VisualStateManager::GoToState(*this, L"InfoBarCollapsed", false); - winrt::AutomationProperties::SetAccessibilityView(*this, winrt::AccessibilityView::Raw); - m_isVisible = false; - } - } - } -} - -void InfoBar::UpdateSeverity() -{ - auto severityState = L"Informational"; - - switch (Severity()) - { - case winrt::InfoBarSeverity::Success: - severityState = L"Success"; - break; - case winrt::InfoBarSeverity::Warning: - severityState = L"Warning"; - break; - case winrt::InfoBarSeverity::Error: - severityState = L"Error"; - break; - }; - - if (const auto iconTextblock = m_standardIconTextBlock.get()) - { - winrt::AutomationProperties::SetName(iconTextblock, ResourceAccessor::GetLocalizedStringResource(GetIconSeverityLevelResourceName(Severity()))); - } - - winrt::VisualStateManager::GoToState(*this, severityState, false); -} - -void InfoBar::UpdateIcon() -{ - auto const templateSettings = winrt::get_self<::InfoBarTemplateSettings>(TemplateSettings()); - if (auto const source = IconSource()) - { - templateSettings->IconElement(SharedHelpers::MakeIconElementFrom(source)); - } - else - { - templateSettings->IconElement(nullptr); - } -} - -void InfoBar::UpdateIconVisibility() -{ - winrt::VisualStateManager::GoToState(*this, IsIconVisible() ? (IconSource() ? L"UserIconVisible" : L"StandardIconVisible") : L"NoIconVisible", false); -} - -void InfoBar::UpdateCloseButton() -{ - winrt::VisualStateManager::GoToState(*this, IsClosable() ? L"CloseButtonVisible" : L"CloseButtonCollapsed", false); -} - -void InfoBar::OnForegroundChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args) -{ - UpdateForeground(); -} - -void InfoBar::UpdateForeground() -{ - // If Foreground is set, then change Title and Message Foreground to match. - winrt::VisualStateManager::GoToState(*this, ReadLocalValue(winrt::Control::ForegroundProperty()) == winrt::DependencyProperty::UnsetValue() ? L"ForegroundNotSet" : L"ForegroundSet", false); -} - -const winrt::hstring InfoBar::GetSeverityLevelResourceName(winrt::InfoBarSeverity severity) -{ - switch (severity) - { - case winrt::InfoBarSeverity::Success: return SR_InfoBarSeveritySuccessName; - case winrt::InfoBarSeverity::Warning: return SR_InfoBarSeverityWarningName; - case winrt::InfoBarSeverity::Error: return SR_InfoBarSeverityErrorName; - }; - return SR_InfoBarSeverityInformationalName; -} - -const winrt::hstring InfoBar::GetIconSeverityLevelResourceName(winrt::InfoBarSeverity severity) -{ - switch (severity) - { - case winrt::InfoBarSeverity::Success: return SR_InfoBarIconSeveritySuccessName; - case winrt::InfoBarSeverity::Warning: return SR_InfoBarIconSeverityWarningName; - case winrt::InfoBarSeverity::Error: return SR_InfoBarIconSeverityErrorName; - }; - return SR_InfoBarIconSeverityInformationalName; -} diff --git a/dev/InfoBar/InfoBar.h b/dev/InfoBar/InfoBar.h deleted file mode 100644 index 6f37491d21..0000000000 --- a/dev/InfoBar/InfoBar.h +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "pch.h" -#include "common.h" - -#include "InfoBar.g.h" -#include "InfoBar.properties.h" - -class InfoBar : - public ReferenceTracker, - public InfoBarProperties -{ - -public: - InfoBar(); - ~InfoBar() {} - - // IFrameworkElement - void OnApplyTemplate(); - - // UIElement - winrt::AutomationPeer OnCreateAutomationPeer(); - - // Property change handlers - void OnIsOpenPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); - void OnSeverityPropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); - void OnIconSourcePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); - void OnIsIconVisiblePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); - void OnIsClosablePropertyChanged(const winrt::DependencyPropertyChangedEventArgs& args); - -private: - void OnCloseButtonClick(winrt::IInspectable const& sender, winrt::RoutedEventArgs const& args); - - void RaiseClosingEvent(); - void RaiseClosedEvent(); - - void UpdateVisibility(bool notify = true, bool force = false); - void UpdateSeverity(); - void UpdateIcon(); - void UpdateIconVisibility(); - void UpdateCloseButton(); - void UpdateForeground(); - - const winrt::hstring GetCloseButtonResourceName(winrt::InfoBarSeverity severity); - const winrt::hstring GetSeverityLevelResourceName(winrt::InfoBarSeverity severity); - const winrt::hstring GetIconSeverityLevelResourceName(winrt::InfoBarSeverity severity); - - void OnForegroundChanged(const winrt::DependencyObject& sender, const winrt::DependencyProperty& args); - - winrt::InfoBarCloseReason m_lastCloseReason{ winrt::InfoBarCloseReason::Programmatic }; - - winrt::Button::Click_revoker m_closeButtonClickRevoker{}; - tracker_ref m_standardIconTextBlock{ this }; - - bool m_applyTemplateCalled{ false }; - bool m_notifyOpen{ false }; - bool m_isVisible{ false }; -}; diff --git a/dev/InfoBar/InfoBar.idl b/dev/InfoBar/InfoBar.idl deleted file mode 100644 index 75e057f781..0000000000 --- a/dev/InfoBar/InfoBar.idl +++ /dev/null @@ -1,149 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -enum InfoBarCloseReason -{ - CloseButton = 0, - Programmatic = 1 -}; - -[MUX_PUBLIC] -[webhosthidden] -enum InfoBarSeverity -{ - Informational = 0, - Success = 1, - Warning = 2, - Error = 3, -}; - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass InfoBarClosedEventArgs -{ - InfoBarCloseReason Reason { get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass InfoBarClosingEventArgs -{ - InfoBarCloseReason Reason { get; }; - Boolean Cancel { get; set; }; -} - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass InfoBarTemplateSettings : Windows.UI.Xaml.DependencyObject -{ - InfoBarTemplateSettings(); - - Windows.UI.Xaml.Controls.IconElement IconElement; - - static Windows.UI.Xaml.DependencyProperty IconElementProperty{ get; }; -} - -[MUX_PUBLIC] -[webhosthidden] -[contentproperty("Content")] -unsealed runtimeclass InfoBar : Windows.UI.Xaml.Controls.Control -{ - InfoBar(); - - [MUX_DEFAULT_VALUE("false")] - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Boolean IsOpen{ get; set; }; - - String Title{ get; set; }; - String Message{ get; set; }; - - [MUX_DEFAULT_VALUE("winrt::InfoBarSeverity::Informational")] - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - InfoBarSeverity Severity{ get; set; }; - - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - IconSource IconSource{ get; set; }; - - [MUX_DEFAULT_VALUE("true")] - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Boolean IsIconVisible{ get; set; }; - - [MUX_DEFAULT_VALUE("true")] - [MUX_PROPERTY_CHANGED_CALLBACK(TRUE)] - Boolean IsClosable{ get; set; }; - - Windows.UI.Xaml.Style CloseButtonStyle{ get; set; }; - Windows.UI.Xaml.Input.ICommand CloseButtonCommand{ get; set; }; - Object CloseButtonCommandParameter{ get; set; }; - - Windows.UI.Xaml.Controls.Primitives.ButtonBase ActionButton{ get; set; }; - - Object Content{ get; set; }; - Windows.UI.Xaml.DataTemplate ContentTemplate{ get; set; }; - - InfoBarTemplateSettings TemplateSettings{ get; }; - - event Windows.Foundation.TypedEventHandler CloseButtonClick; - event Windows.Foundation.TypedEventHandler Closing; - event Windows.Foundation.TypedEventHandler Closed; - - static Windows.UI.Xaml.DependencyProperty IsOpenProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty TitleProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty MessageProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty SeverityProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty IconSourceProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty IsIconVisibleProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty IsClosableProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty CloseButtonStyleProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty CloseButtonCommandProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty CloseButtonCommandParameterProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty ActionButtonProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty ContentProperty{ get; }; - static Windows.UI.Xaml.DependencyProperty ContentTemplateProperty{ get; }; - - static Windows.UI.Xaml.DependencyProperty TemplateSettingsProperty{ get; }; -} - -} - -namespace MU_XCP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass InfoBarPanel : Windows.UI.Xaml.Controls.Panel -{ - InfoBarPanel(); - - Windows.UI.Xaml.Thickness HorizontalOrientationPadding; - static Windows.UI.Xaml.DependencyProperty HorizontalOrientationPaddingProperty{ get; }; - - Windows.UI.Xaml.Thickness VerticalOrientationPadding; - static Windows.UI.Xaml.DependencyProperty VerticalOrientationPaddingProperty{ get; }; - - static void SetHorizontalOrientationMargin(Windows.UI.Xaml.DependencyObject object, Windows.UI.Xaml.Thickness value); - static Windows.UI.Xaml.Thickness GetHorizontalOrientationMargin(Windows.UI.Xaml.DependencyObject object); - static Windows.UI.Xaml.DependencyProperty HorizontalOrientationMarginProperty{ get; }; - - static void SetVerticalOrientationMargin(Windows.UI.Xaml.DependencyObject object, Windows.UI.Xaml.Thickness value); - static Windows.UI.Xaml.Thickness GetVerticalOrientationMargin(Windows.UI.Xaml.DependencyObject object); - static Windows.UI.Xaml.DependencyProperty VerticalOrientationMarginProperty{ get; }; -} - -} - - -namespace MU_XAP_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass InfoBarAutomationPeer : Windows.UI.Xaml.Automation.Peers.FrameworkElementAutomationPeer -{ - InfoBarAutomationPeer(MU_XC_NAMESPACE.InfoBar owner); -} - -} - diff --git a/dev/InfoBar/InfoBar.vcxitems b/dev/InfoBar/InfoBar.vcxitems deleted file mode 100644 index 74c37c50af..0000000000 --- a/dev/InfoBar/InfoBar.vcxitems +++ /dev/null @@ -1,64 +0,0 @@ - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - true - {CCC102B7-F5EF-479D-94F1-008D189448B1} - - - - %(AdditionalIncludeDirectories);$(MSBuildThisFileDirectory) - %(PreprocessorDefinitions);INFOBAR_INCLUDED - - - - - - - - - - - - - - - - - - - - - - - - - - - Version2 - RS1 - DefaultStyle - - - Version1 - RS1 - DefaultStyle - - - Version2 - RS1 - ThemeResources - - - Version1 - RS1 - ThemeResources - - - - - - - - - \ No newline at end of file diff --git a/dev/InfoBar/InfoBar.xaml b/dev/InfoBar/InfoBar.xaml deleted file mode 100755 index 90553aed51..0000000000 --- a/dev/InfoBar/InfoBar.xaml +++ /dev/null @@ -1,279 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/dev/InfoBar/InfoBarAutomationPeer.cpp b/dev/InfoBar/InfoBarAutomationPeer.cpp deleted file mode 100644 index 54493e5533..0000000000 --- a/dev/InfoBar/InfoBarAutomationPeer.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include "pch.h" -#include "common.h" -#include "ResourceAccessor.h" -#include "InfoBarAutomationPeer.h" -#include -#include - -#include "InfoBarAutomationPeer.properties.cpp" - -InfoBarAutomationPeer::InfoBarAutomationPeer(winrt::InfoBar const& owner) : ReferenceTracker(owner) -{ -} - -winrt::AutomationControlType InfoBarAutomationPeer::GetAutomationControlTypeCore() -{ - return winrt::AutomationControlType::StatusBar; -} - -winrt::hstring InfoBarAutomationPeer::GetClassNameCore() -{ - return winrt::hstring_name_of(); -} - -void InfoBarAutomationPeer::RaiseOpenedEvent(winrt::InfoBarSeverity severity, wstring_view const& displayString) -{ - if (winrt::IAutomationPeer7 automationPeer7 = *this) - { - automationPeer7.RaiseNotificationEvent( - winrt::Automation::Peers::AutomationNotificationKind::Other, - GetProcessingForSeverity(severity), - displayString, - L"InfoBarOpenedActivityId"); - } -} - -void InfoBarAutomationPeer::RaiseClosedEvent(winrt::InfoBarSeverity severity, wstring_view const& displayString) -{ - const winrt::Peers::AutomationNotificationProcessing processing = winrt::Peers::AutomationNotificationProcessing::CurrentThenMostRecent; - - if (winrt::IAutomationPeer7 automationPeer7 = *this) - { - automationPeer7.RaiseNotificationEvent( - winrt::Automation::Peers::AutomationNotificationKind::Other, - GetProcessingForSeverity(severity), - displayString, - L"InfoBarClosedActivityId"); - } -} - - -winrt::Peers::AutomationNotificationProcessing InfoBarAutomationPeer::GetProcessingForSeverity(winrt::InfoBarSeverity severity) -{ - winrt::Peers::AutomationNotificationProcessing processing = winrt::Peers::AutomationNotificationProcessing::CurrentThenMostRecent; - - if (severity == winrt::InfoBarSeverity::Error - || severity == winrt::InfoBarSeverity::Warning) - { - processing = winrt::Peers::AutomationNotificationProcessing::ImportantAll; - } - - return processing; -} - -winrt::InfoBar InfoBarAutomationPeer::GetInfoBar() -{ - winrt::UIElement owner = Owner(); - return owner.as(); -} diff --git a/dev/InfoBar/InfoBarAutomationPeer.h b/dev/InfoBar/InfoBarAutomationPeer.h deleted file mode 100644 index 0b9f7db9cd..0000000000 --- a/dev/InfoBar/InfoBarAutomationPeer.h +++ /dev/null @@ -1,22 +0,0 @@ -#pragma once -#include "InfoBar.h" -#include "InfoBarAutomationPeer.g.h" - -class InfoBarAutomationPeer : - public ReferenceTracker -{ - -public: - InfoBarAutomationPeer(winrt::InfoBar const& owner); - - // IAutomationPeerOverrides - winrt::AutomationControlType GetAutomationControlTypeCore(); - winrt::hstring GetClassNameCore(); - - void RaiseClosedEvent(winrt::InfoBarSeverity severity, wstring_view const& displayString); - void RaiseOpenedEvent(winrt::InfoBarSeverity severity, wstring_view const& displayString); - -private: - winrt::InfoBar GetInfoBar(); - winrt::Peers::AutomationNotificationProcessing GetProcessingForSeverity(winrt::InfoBarSeverity severity); -}; diff --git a/dev/InfoBar/InfoBarClosedEventArgs.cpp b/dev/InfoBar/InfoBarClosedEventArgs.cpp deleted file mode 100644 index e65dcaf530..0000000000 --- a/dev/InfoBar/InfoBarClosedEventArgs.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include "pch.h" -#include "common.h" -#include "InfoBarClosedEventArgs.h" - -winrt::InfoBarCloseReason InfoBarClosedEventArgs::Reason() -{ - return m_reason; -} - -void InfoBarClosedEventArgs::Reason(const winrt::InfoBarCloseReason& reason) -{ - m_reason = reason; -} diff --git a/dev/InfoBar/InfoBarClosedEventArgs.h b/dev/InfoBar/InfoBarClosedEventArgs.h deleted file mode 100644 index e74d50de61..0000000000 --- a/dev/InfoBar/InfoBarClosedEventArgs.h +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once - -#include "InfoBarClosedEventArgs.g.h" - -class InfoBarClosedEventArgs : - public winrt::implementation::InfoBarClosedEventArgsT -{ -public: - winrt::InfoBarCloseReason Reason(); - void Reason(const winrt::InfoBarCloseReason& reason); - -private: - winrt::InfoBarCloseReason m_reason{ winrt::InfoBarCloseReason::CloseButton }; -}; diff --git a/dev/InfoBar/InfoBarClosingEventArgs.cpp b/dev/InfoBar/InfoBarClosingEventArgs.cpp deleted file mode 100644 index 7b0085c0e7..0000000000 --- a/dev/InfoBar/InfoBarClosingEventArgs.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "pch.h" -#include "common.h" -#include "InfoBarClosingEventArgs.h" - -winrt::InfoBarCloseReason InfoBarClosingEventArgs::Reason() -{ - return m_reason; -} - -void InfoBarClosingEventArgs::Reason(const winrt::InfoBarCloseReason& reason) -{ - m_reason = reason; -} - -bool InfoBarClosingEventArgs::Cancel() -{ - return m_cancel; -} - -void InfoBarClosingEventArgs::Cancel(const bool cancel) -{ - m_cancel = cancel; -} diff --git a/dev/InfoBar/InfoBarClosingEventArgs.h b/dev/InfoBar/InfoBarClosingEventArgs.h deleted file mode 100644 index 452838e22e..0000000000 --- a/dev/InfoBar/InfoBarClosingEventArgs.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once -#pragma once - -#include "InfoBarClosingEventArgs.g.h" - -class InfoBarClosingEventArgs : - public ReferenceTracker -{ -public: - winrt::InfoBarCloseReason Reason(); - void Reason(const winrt::InfoBarCloseReason& reason); - bool Cancel(); - void Cancel(const bool cancel); - -private: - winrt::InfoBarCloseReason m_reason{ winrt::InfoBarCloseReason::CloseButton }; - bool m_cancel{ false }; -}; diff --git a/dev/InfoBar/InfoBarPanel.cpp b/dev/InfoBar/InfoBarPanel.cpp deleted file mode 100644 index e5ef312f7b..0000000000 --- a/dev/InfoBar/InfoBarPanel.cpp +++ /dev/null @@ -1,159 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include -#include -#include "InfoBarPanel.h" - -winrt::Size InfoBarPanel::MeasureOverride(winrt::Size const& availableSize) -{ - winrt::Size desiredSize{}; - - float totalWidth = 0; - float totalHeight = 0; - float widthOfWidest = 0; - float heightOfTallest = 0; - float heightOfTallestInHorizontal = 0; - int nItems = 0; - - const auto parent = this->Parent().try_as(); - const float minHeight = !parent ? 0.0f : (float)(parent.MinHeight() - (Margin().Top + Margin().Bottom)); - - const auto children = Children(); - const auto childCount = (int)children.Size(); - for (winrt::UIElement const& child : children) - { - child.Measure(availableSize); - const auto childDesiredSize = child.DesiredSize(); - - if (childDesiredSize.Width != 0 && childDesiredSize.Height != 0) - { - // Add up the width of all items if they were laid out horizontally - const auto horizontalMargin = winrt::InfoBarPanel::GetHorizontalOrientationMargin(child); - // Ignore left margin of first and right margin of last child - totalWidth += childDesiredSize.Width + - (nItems > 0 ? (float)horizontalMargin.Left : 0) + - (nItems < childCount -1 ? (float)horizontalMargin.Right : 0); - - // Add up the height of all items if they were laid out vertically - const auto verticalMargin = winrt::InfoBarPanel::GetVerticalOrientationMargin(child); - // Ignore top margin of first and bottom margin of last child - totalHeight += childDesiredSize.Height + - (nItems > 0 ? (float)verticalMargin.Top : 0) + - (nItems < childCount -1 ? (float)verticalMargin.Bottom: 0); - - if (childDesiredSize.Width > widthOfWidest) - { - widthOfWidest = childDesiredSize.Width; - } - - if (childDesiredSize.Height > heightOfTallest) - { - heightOfTallest = childDesiredSize.Height; - } - - const float childHeightInHorizontal = childDesiredSize.Height + (float)horizontalMargin.Top + float(horizontalMargin.Bottom); - if (childHeightInHorizontal > heightOfTallestInHorizontal) - { - heightOfTallestInHorizontal = childHeightInHorizontal; - } - - nItems++; - } - } - - // Since this panel is inside a *-sized grid column, availableSize.Width should not be infinite - // If there is only one item inside the panel, we will count it as vertical (the margins work out better that way) - // Also, if the height of any item is taller than the desired min height of the InfoBar, - // the items should be laid out vertically even though they may seem to fit due to text wrapping. - if (nItems == 1 || totalWidth > availableSize.Width || (minHeight > 0 && heightOfTallestInHorizontal > minHeight)) - { - m_isVertical = true; - const auto verticalPadding = VerticalOrientationPadding(); - - desiredSize.Width = widthOfWidest + (float)verticalPadding.Left + (float)verticalPadding.Right; - desiredSize.Height = totalHeight + (float)verticalPadding.Top + (float)verticalPadding.Bottom; - } - else - { - m_isVertical = false; - const auto horizontalPadding = HorizontalOrientationPadding(); - - desiredSize.Width = totalWidth + (float)horizontalPadding.Left + (float)horizontalPadding.Right; - desiredSize.Height = heightOfTallest + (float)horizontalPadding.Top + (float)horizontalPadding.Bottom ; - } - - return desiredSize; -} - -winrt::Size InfoBarPanel::ArrangeOverride(winrt::Size const& finalSize) -{ - winrt::Size result = finalSize; - - if (m_isVertical) - { - // Layout elements vertically - const auto verticalOrientationPadding = VerticalOrientationPadding(); - float verticalOffset = (float)verticalOrientationPadding.Top; - - bool hasPreviousElement = false; - for (winrt::UIElement const& child : Children()) - { - if (auto childAsFe = child.try_as()) - { - auto const desiredSize = child.DesiredSize(); - if (desiredSize.Width != 0 && desiredSize.Height != 0) - { - const auto verticalMargin = winrt::InfoBarPanel::GetVerticalOrientationMargin(child); - - verticalOffset += hasPreviousElement ? (float)verticalMargin.Top : 0; - child.Arrange(winrt::Rect{ (float)verticalOrientationPadding.Left + (float)verticalMargin.Left, verticalOffset, desiredSize.Width, desiredSize.Height }); - verticalOffset += desiredSize.Height + (float)verticalMargin.Bottom; - - hasPreviousElement = true; - } - } - } - } - else - { - // Layout elements horizontally - const auto horizontalOrientationPadding = HorizontalOrientationPadding(); - float horizontalOffset = (float)horizontalOrientationPadding.Left; - bool hasPreviousElement = false; - - const auto children = Children(); - const auto childCount = children.Size(); - for (unsigned int i=0; i< childCount; i++) - { - const auto child = children.GetAt(i); - if (auto childAsFe = child.try_as()) - { - auto const desiredSize = child.DesiredSize(); - if (desiredSize.Width != 0 && desiredSize.Height != 0) - { - const auto horizontalMargin = winrt::InfoBarPanel::GetHorizontalOrientationMargin(child); - - horizontalOffset += hasPreviousElement ? (float)horizontalMargin.Left : 0; - if (i < childCount - 1) - { - child.Arrange(winrt::Rect{ horizontalOffset, (float)horizontalOrientationPadding.Top + (float)horizontalMargin.Top, desiredSize.Width, desiredSize.Height }); - } - else - { - // Give the rest of the horizontal space to the last child. - child.Arrange(winrt::Rect{ horizontalOffset, (float)horizontalOrientationPadding.Top + (float)horizontalMargin.Top, - std::max(desiredSize.Width, finalSize.Width - horizontalOffset), desiredSize.Height }); - } - - horizontalOffset += desiredSize.Width + (float)horizontalMargin.Right; - - hasPreviousElement = true; - } - } - } - } - - return result; -} - diff --git a/dev/InfoBar/InfoBarPanel.h b/dev/InfoBar/InfoBarPanel.h deleted file mode 100644 index 5dfa676057..0000000000 --- a/dev/InfoBar/InfoBarPanel.h +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once -#include "InfoBarPanel.g.h" -#include "InfoBarPanel.properties.h" - -class InfoBarPanel : - public ReferenceTracker, - public InfoBarPanelProperties -{ -public: - winrt::Size MeasureOverride(winrt::Size const& availableSize); - winrt::Size ArrangeOverride(winrt::Size const& finalSize); - -private: - bool m_isVertical{ false }; -}; diff --git a/dev/InfoBar/InfoBarTemplateSettings.cpp b/dev/InfoBar/InfoBarTemplateSettings.cpp deleted file mode 100644 index ce9c1a5096..0000000000 --- a/dev/InfoBar/InfoBarTemplateSettings.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "InfoBarTemplateSettings.h" - -InfoBarTemplateSettings::InfoBarTemplateSettings() -{ - EnsureProperties(); -} diff --git a/dev/InfoBar/InfoBarTemplateSettings.h b/dev/InfoBar/InfoBarTemplateSettings.h deleted file mode 100644 index dc4361b792..0000000000 --- a/dev/InfoBar/InfoBarTemplateSettings.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "InfoBarTemplateSettings.g.h" -#include "InfoBarTemplateSettings.properties.h" - -class InfoBarTemplateSettings : - public winrt::implementation::InfoBarTemplateSettingsT, - public InfoBarTemplateSettingsProperties -{ -public: - InfoBarTemplateSettings(); -}; diff --git a/dev/InfoBar/InfoBar_themeresources.xaml b/dev/InfoBar/InfoBar_themeresources.xaml deleted file mode 100755 index 02709496c0..0000000000 --- a/dev/InfoBar/InfoBar_themeresources.xaml +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - 2 - - - - 14 - SemiBold - - 14 - Normal - - 48 - - 38 - 16 - - - -12,0,0,0 - - - - - - - - 16,0,0,0 - - 0,16,14,16 - 16 - - 0,0,16,0 - 0,0,0,0 - 0,14,0,18 - - 0,14,0,0 - 0,14,0,0 - - 12,14,0,0 - 0,4,0,0 - - 16,8,0,0 - 0,12,0,0 - - Cancel - - - - diff --git a/dev/InfoBar/InfoBar_themeresources_v1.xaml b/dev/InfoBar/InfoBar_themeresources_v1.xaml deleted file mode 100644 index 01595c58f1..0000000000 --- a/dev/InfoBar/InfoBar_themeresources_v1.xaml +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - 0 - - - - - - - - - - - - - - - - - - - 2 - - - - 14 - SemiBold - - 14 - Normal - - 40 - - 32 - 16 - - - - - - - 12,0,0,0 - - 0,10,10,10 - 20 - - 0,0,12,0 - 0,0,0,0 - 0,10,0,10 - - 0,10,0,0 - 0,10,0,0 - - 8,10,0,0 - 0,4,0,0 - - 12,8,0,0 - 0,12,0,0 - - 96 - 24 - 8,0,8,1 - 2 - - 14 - 24 - 0,0,0,1 - - Cancel - - - - diff --git a/dev/InfoBar/InfoBar_v1.xaml b/dev/InfoBar/InfoBar_v1.xaml deleted file mode 100644 index a0903c14e1..0000000000 --- a/dev/InfoBar/InfoBar_v1.xaml +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/InfoBar/InteractionTests/InfoBarTests.cs b/dev/InfoBar/InteractionTests/InfoBarTests.cs deleted file mode 100644 index 3189ee0d1c..0000000000 --- a/dev/InfoBar/InteractionTests/InfoBarTests.cs +++ /dev/null @@ -1,219 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using System; -using Common; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra; -using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common; -using System.Collections.Generic; - -#if USING_TAEF -using WEX.TestExecution; -using WEX.TestExecution.Markup; -using WEX.Logging.Interop; -#else -using Microsoft.VisualStudio.TestTools.UnitTesting; -using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; -#endif - -using Microsoft.Windows.Apps.Test.Automation; -using Microsoft.Windows.Apps.Test.Foundation; -using Microsoft.Windows.Apps.Test.Foundation.Controls; -using Microsoft.Windows.Apps.Test.Foundation.Patterns; -using Microsoft.Windows.Apps.Test.Foundation.Waiters; -using MUXTestInfra.Shared.Infra; - -namespace Windows.UI.Xaml.Tests.MUXControls.InteractionTests -{ - [TestClass] - public class InfoBarTests - { - [ClassInitialize] - [TestProperty("RunAs", "User")] - [TestProperty("Classification", "Integration")] - [TestProperty("Platform", "Any")] - [TestProperty("MUXControlsTestSuite", "SuiteB")] - public static void ClassInitialize(TestContext testContext) - { - TestEnvironment.Initialize(testContext); - } - - public void TestCleanup() - { - TestCleanupHelper.Cleanup(); - } - - [TestMethod] - public void VerifyAxeScanPasses() - { - using (var setup = new TestSetupHelper("Infobar-Axe")) - { - AxeTestHelper.TestForAxeIssues(); - } - } - - [TestMethod] - public void IsClosableTest() - { - using (var setup = new TestSetupHelper("InfoBar Tests")) - { - StatusBar infoBar = FindElement.ByName("TestInfoBar"); - - Button closeButton = FindCloseButton(infoBar); - Verify.IsNotNull(closeButton, "Close button should be visible by default"); - - Uncheck("IsClosableCheckBox"); - ElementCache.Clear(); - closeButton = FindCloseButton(infoBar); - Verify.IsNull(closeButton, "Close button should not be visible when IsClosable=false"); - - Check("IsClosableCheckBox"); - ElementCache.Clear(); - closeButton = FindCloseButton(infoBar); - Verify.IsNotNull(closeButton, "Close button should be visible when IsClosable=true"); - } - } - - [TestMethod] - public void CloseTest() - { - using (var setup = new TestSetupHelper("InfoBar Tests")) - { - StatusBar infoBar = FindElement.ByName("TestInfoBar"); - - Log.Comment("Clicking the close button"); - Button closeButton = FindCloseButton(infoBar); - closeButton.InvokeAndWait(); - - ListBox events = FindElement.ByName("EventListBox"); - Verify.AreEqual(3, events.Items.Count); - Verify.AreEqual("CloseButtonClick", events.Items[0].Name, "First event should be the CloseButtonClick event"); - Verify.AreEqual("Closing: CloseButton", events.Items[1].Name, "Second event should be the Closing event, reason=CloseButton"); - Verify.AreEqual("Closed: CloseButton", events.Items[2].Name, "Third event should be the Closed event, reason=CloseButton"); - - CheckBox isOpenCheckBox = FindElement.ByName("IsOpenCheckBox"); - Verify.AreEqual(ToggleState.Off, isOpenCheckBox.ToggleState); - - // reopen - isOpenCheckBox.Check(); - Check("CancelCheckBox"); - Button listBoxClearButton = FindElement.ByName - - - - - - diff --git a/dev/Materials/Acrylic/TestUI/AcrylicPage.xaml.cs b/dev/Materials/Acrylic/TestUI/AcrylicPage.xaml.cs deleted file mode 100644 index 9f3f0f6c4f..0000000000 --- a/dev/Materials/Acrylic/TestUI/AcrylicPage.xaml.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -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 Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Controls.Primitives; -using Windows.UI.Xaml.Data; -using Windows.UI.Xaml.Input; -using Windows.UI.Xaml.Media; -using Windows.UI.Xaml.Navigation; - - -namespace MUXControlsTestApp -{ - [TopLevelTestPage(Name = "Acrylic", Icon = "AcrylicBrush.png")] - public sealed partial class AcrylicPage : TestPage - { - public AcrylicPage() - { - this.InitializeComponent(); - - navigateToBasicAcrylic.Click += delegate { Frame.NavigateWithoutAnimation(typeof(AcrylicBrushPage), 0); }; - navigateToColorAcrylic.Click += delegate { Frame.NavigateWithoutAnimation(typeof(AcrylicColorPage), 0); }; - navigateToMarkupAcrylic.Click += delegate { Frame.NavigateWithoutAnimation(typeof(AcrylicMarkupPage), 0); }; - navigateToRenderingAcrylic.Click += delegate { Frame.NavigateWithoutAnimation(typeof(AcrylicRenderingPage), 0); }; - navigateToLuminosityAcrylicTest.Click += delegate { Frame.NavigateWithoutAnimation(typeof(AcrylicBrushLuminosityTestPage), 0); }; - } - } -} diff --git a/dev/Materials/Acrylic/TestUI/AcrylicRenderingPage.xaml b/dev/Materials/Acrylic/TestUI/AcrylicRenderingPage.xaml deleted file mode 100644 index 022c5ab913..0000000000 --- a/dev/Materials/Acrylic/TestUI/AcrylicRenderingPage.xaml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/Materials/Reveal/RevealBrush_rs2_themeresources_v1.xaml b/dev/Materials/Reveal/RevealBrush_rs2_themeresources_v1.xaml deleted file mode 100644 index 2a7093eec6..0000000000 --- a/dev/Materials/Reveal/RevealBrush_rs2_themeresources_v1.xaml +++ /dev/null @@ -1,3046 +0,0 @@ - - - - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 10,4,10,6 - 10,10,10,12 - 10,10,10,12 - - - #F2000000 - #30000000 - #91000000 - #C2000000 - #61000000 - #F2FFFFFF - #30FFFFFF - #91FFFFFF - #C2FFFFFF - #61FFFFFF - #F2F9F9F9 - #F2000000 - #30000000 - #61000000 - #C2000000 - #F2767676 - #F21F1F1F - #F2393939 - #F22B2B2B - #F2FFFFFF - #F2767676 - #18FFFFFF - #30FFFFFF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 10,4,10,6 - 10,10,10,12 - 10,10,10,12 - - - #E6FFFFFF - #2EFFFFFF - #8AFFFFFF - #B8FFFFFF - #61FFFFFF - #E6000000 - #2E000000 - #8A000000 - #B8000000 - #61000000 - #E6171717 - #E6000000 - #2E000000 - #66000000 - #B8000000 - #E6CCCCCC - #E6F2F2F2 - #E6E6E6E6 - #E6F2F2F2 - #E6FFFFFF - #E6767676 - #17000000 - #2E000000 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - - - - 0 - 0 - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 10,4,10,6 - 10,10,10,12 - 10,10,10,12 - - - #FF000000 - #33000000 - #99000000 - #CC000000 - #66000000 - #FFFFFFFF - #33FFFFFF - #99FFFFFF - #CCFFFFFF - #66FFFFFF - #FFF9F9F9 - #FF000000 - #33000000 - #66000000 - #CC000000 - #FF767676 - #FF1F1F1F - #FF393939 - #FF2B2B2B - #FFFFFFFF - #FF767676 - #19FFFFFF - #33FFFFFF - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/Materials/Reveal/RevealBrush_rs3_themeresources.xaml b/dev/Materials/Reveal/RevealBrush_rs3_themeresources.xaml deleted file mode 100644 index bfbdf79cb5..0000000000 --- a/dev/Materials/Reveal/RevealBrush_rs3_themeresources.xaml +++ /dev/null @@ -1,1645 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/Materials/Reveal/RevealBrush_rs4_themeresources.xaml b/dev/Materials/Reveal/RevealBrush_rs4_themeresources.xaml deleted file mode 100644 index 65616e0ce2..0000000000 --- a/dev/Materials/Reveal/RevealBrush_rs4_themeresources.xaml +++ /dev/null @@ -1,2572 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev/Materials/Reveal/RevealBrush_rs5_themeresources.xaml b/dev/Materials/Reveal/RevealBrush_rs5_themeresources.xaml deleted file mode 100644 index 3fced72241..0000000000 --- a/dev/Materials/Reveal/RevealBrush_rs5_themeresources.xaml +++ /dev/null @@ -1,413 +0,0 @@ - - - - - - 10,4,10,7 - 10,8,10,11 - 10,8,10,11 - - - 10,4,10,7 - 10,8,10,11 - 10,8,10,11 - - - 10,4,10,7 - 10,8,10,11 - 10,8,10,11 - - - - - - - - - - - - - - diff --git a/dev/Materials/Reveal/RevealControls.idl b/dev/Materials/Reveal/RevealControls.idl deleted file mode 100644 index 00737b92fa..0000000000 --- a/dev/Materials/Reveal/RevealControls.idl +++ /dev/null @@ -1,11 +0,0 @@ -namespace MU_XC_NAMESPACE -{ - -[MUX_PUBLIC] -[webhosthidden] -unsealed runtimeclass RevealListViewItemPresenter : Windows.UI.Xaml.Controls.Primitives.ListViewItemPresenter -{ - RevealListViewItemPresenter(); -} - -} \ No newline at end of file diff --git a/dev/Materials/Reveal/RevealListViewItemPresenter.cpp b/dev/Materials/Reveal/RevealListViewItemPresenter.cpp deleted file mode 100644 index 5720b47536..0000000000 --- a/dev/Materials/Reveal/RevealListViewItemPresenter.cpp +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#include "pch.h" -#include "common.h" -#include "RevealListViewItemPresenter.h" -#include "RevealBrush.h" - -bool RevealListViewItemPresenter::GoToElementStateCore(winrt::hstring const& state, bool useTransitions) -{ - RevealBrush::EnsureProperties(); - - const auto goToState = [this](winrt::RevealBrushState state) { - SetValue(RevealBrush::s_StateProperty, box_value(state)); - }; - - // Handle all of the states in the ListViewItemPresenter "Common" state group. - if (state == L"Normal" || state == L"Selected" || state == L"Disabled") - { - goToState(winrt::RevealBrushState::Normal); - } - else if (state == L"PointerOver" || state == L"PointerOverSelected") - { - goToState(winrt::RevealBrushState::PointerOver); - } - else if (state == L"Pressed" || state == L"PointerOverPressed" || state == L"PressedSelected") - { - goToState(winrt::RevealBrushState::Pressed); - } - - return __super::GoToElementStateCore(state, useTransitions); -} diff --git a/dev/Materials/Reveal/RevealListViewItemPresenter.h b/dev/Materials/Reveal/RevealListViewItemPresenter.h deleted file mode 100644 index 7baf94e71f..0000000000 --- a/dev/Materials/Reveal/RevealListViewItemPresenter.h +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -#pragma once - -#include "RevealListViewItemPresenter.g.h" - -class RevealListViewItemPresenter : - public ReferenceTracker -{ -public: - bool GoToElementStateCore(winrt::hstring const& stateName, bool useTransitions); -}; - -#include "RevealListViewItemPresenter.properties.cpp" diff --git a/dev/Materials/Reveal/TestUI/CoreWindowEventsPage.xaml b/dev/Materials/Reveal/TestUI/CoreWindowEventsPage.xaml deleted file mode 100644 index f8d3699e29..0000000000 --- a/dev/Materials/Reveal/TestUI/CoreWindowEventsPage.xaml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -