Add windowing samples for ExtendsContentIntoTitleBar, SetBorderAndTitleBar, and InputNonClientPointerSource APIs
Adds three new samples demonstrating advanced windowing APIs for custom title bar scenarios.
New Samples
ExtendContentIntoTitleBarWindow
- Demonstrates
Window.ExtendsContentIntoTitleBarto extend UI into title bar while preserving system caption buttons - Uses
SetTitleBar()to define drag region
ExtendsContentIntoTitleBar = true;
SetTitleBar(CustomTitleBar);
CustomTitleBarWindow
- Demonstrates
SetBorderAndTitleBar(true, false)to hide system caption buttons - Custom minimize/maximize/close buttons with full window control
- Uses
InputNonClientPointerSource.SetRegionRectswithNonClientRegionKind.Passthroughon maximize button to enable Windows 11 Snap Layouts
_appWindow.SetBorderAndTitleBar(hasBorder: true, hasTitleBar: false);
_nonClientPointerSource.SetRegionRects(NonClientRegionKind.Passthrough, new[] { rect });
DraggableRegionWindow
- Demonstrates
InputNonClientPointerSource.SetRegionRectswithNonClientRegionKind.Captionto create custom drag regions anywhere in window content - Dynamically updates region on resize/layout changes
_nonClientPointerSource.SetRegionRects(NonClientRegionKind.Caption, new[] { rect });
Changes
- Added 3 new window samples with XAML and code-behind
- Updated MainPage with buttons to launch new samples
- Updated README with sample descriptions
All implementations include platform-specific error handling and follow existing sample patterns.
[!WARNING]
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
0t3vsblobprodcus362.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)11vvsblobprodcus336.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)1javsblobprodcus364.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)1p7vsblobprodcus324.blob.core.windows.net
- Triggering command:
dotnet build(dns block)- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)2zrvsblobprodcus388.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)37bvsblobprodcus311.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)4zjvsblobprodcus390.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)5dkvsblobprodcus355.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)5rqvsblobprodcus385.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)7k6vsblobprodcus337.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoIslandsSampleApp/UnoIslandsSampleApp.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)7tjvsblobprodcus341.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
/home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)96bvsblobprodcus338.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoIslandsSampleApp/UnoIslandsSampleApp.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)ajhvsblobprodcus363.blob.core.windows.net
- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)bcnvsblobprodcus378.blob.core.windows.net
- Triggering command:
dotnet build(dns block)- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)c50vsblobprodcus330.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoIslandsSampleApp/UnoIslandsSampleApp.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)cflvsblobprodcus383.blob.core.windows.net
- Triggering command:
dotnet build(dns block)- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)crl.godaddy.com
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)d0svsblobprodcus381.blob.core.windows.net
- Triggering command:
dotnet build(dns block)- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)e7bvsblobprodcus348.blob.core.windows.net
- Triggering command:
dotnet build(dns block)- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)frdvsblobprodcus327.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)imzvsblobprodcus368.blob.core.windows.net
- Triggering command:
dotnet build(dns block)- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)kh4vsblobprodcus325.blob.core.windows.net
- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)kijvsblobprodcus387.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)l49vsblobprodcus358.blob.core.windows.net
- Triggering command:
dotnet build(dns block)- Triggering command:
dotnet restore /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WindowingSamples/src/WindowingSamples/WindowingSamples.csproj(dns block)l7avsblobprodcus319.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)m6xvsblobprodcus342.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)nn8vsblobprodcus340.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoIslandsSampleApp/UnoIslandsSampleApp.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)o3svsblobprodcus318.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoIslandsSampleApp/UnoIslandsSampleApp.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)ocsp.godaddy.com
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)pdfvsblobprodcus380.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoIslandsSampleApp/UnoIslandsSampleApp.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)rcxvsblobprodcus328.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)se1vsblobprodcus349.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)sqdvsblobprodcus333.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)u3hvsblobprodcus371.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoIslandsSampleApp/UnoIslandsSampleApp.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)www.myget.org
- Triggering command:
/opt/hostedtoolcache/CodeQL/2.23.3/x64/codeql/csharp/tools/linux64/Semmle.Autobuild.CSharp(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/UnoContoso/UnoContoso.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)ytvvsblobprodcus310.blob.core.windows.net
- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/WebRTC/WebRTC.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/HtmlControls/HtmlControls.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)- Triggering command:
dotnet restore --no-dependencies /home/REDACTED/work/Uno.Samples/Uno.Samples/UI/NativeElementHostingDesktop/NativeElementHostingDesktop.sln --packages /home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/packages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal /p:TargetFrameworkRootPath=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:NetCoreTargetingPackRoot=/home/REDACTED/work/Uno.Samples/.codeql-scratch/dbs/csharp/working/emptyFakeDotnetRoot /p:EnableWindowsTargeting=true(dns block)If you need me to access, download, or install something from one of these locations, you can either:
- Configure Actions setup steps to set up my environment, which run before the firewall is enabled
- Add the appropriate URLs or hosts to the custom allowlist in this repository's Copilot coding agent settings (admins only)
Original prompt
This section details on the original issue you should resolve
<issue_title>Improve Windowing sample with new features</issue_title> <issue_description>### What would you like to be added? 💡
Add new sample pages to the Windowing sample:
- Illustrating
Window.ExtendsContentIntoTitleBarAPI to allow extending XAML UI the titlebar area while preserving the caption buttons- Illustrating the
SetBorderAndTitleBarAPI with (true, false) to completely extend the client area and hide the caption buttons (allowing the user to render their own custom buttons - includingInputNonClientPointerSource.SetRegionRectsforMaximizebutton to support Snap layouts menu)- Illustrating the usage of
InputNonClientPointerSource.SetRegionRectsforCaption(the sample could display a red rectangle in the middle of the window that would allow dragging the whole window)Why is this needed? 🤔
No response
Renderer 🎨
- [ ] Skia
- [ ] Native
For which platforms 📱💻🖥️
No response
Anything else we need to know? 💬
No response</issue_description>
Comments on the Issue (you are @copilot in this section)
- Fixes unoplatform/Uno.Samples#902
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.
:white_check_mark: MartinZikmund
:x: Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.