[WPF] DataGrid
header is not hidden when column is resized beyond allowed width
#7698
Labels
area/skia ✏️
Categorizes an issue or PR as relevant to Skia
area/windows-community-toolkit 🎚️
Categorizes an issue or PR as relevant to the Windows Community Toolkit
difficulty/challenging 🤯
Categorizes an issue for which the difficulty level is reachable with internals understanding
kind/bug
Something isn't working
platform/wpf 🪟
Categorizes an issue or PR as relevant to WPF
project/layout 🧱
Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)
project/third-party 3️⃣
Categorizes an issue or PR as relevant to 3rd party libraries
Current behavior
When resizing is allowed for a datagrid inside of a [WPF] build it is inconsistent if the datagrid will hide the header of if it will keep displaying. This works in UWP consistently.
DataGridResizeIncorrect.zip
Expected behavior
Expect the Datagrid in [WPF] build to consistently hide a column if it is outside of width resize bounds.
How to reproduce it (as minimally and precisely as possible)
Workaround
Disable Resizing
Works on UWP/WinUI
Yes
Environment
Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
NuGet package version(s)
WPF:
PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0"
PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0"
PackageReference Include="Microsoft.Extensions.Hosting" Version="5.0.0"
PackageReference Include="Microsoft.Extensions.Logging.Console" Version="5.0.0"
PackageReference Include="Microsoft.Extensions.Logging.Filter" Version="1.1.1"
PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="5.0.0"
PackageReference Include="ReactiveUI.Fody" Version="16.3.10" /
PackageReference Include="ReactiveUI.Uno" Version="16.3.10"
PackageReference Include="Splat.Microsoft.Extensions.DependencyInjection" Version="11.0.1"
PackageReference Include="Splat.Microsoft.Extensions.Logging" Version="9.5.13"
PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0"
PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0"
PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4"
PackageReference Include="Uno.Core" Version="4.0.1"
PackageReference Include="Uno.Microsoft.Toolkit" Version="7.1.10-gf3d2516805"
PackageReference Include="Uno.Microsoft.Toolkit.Uwp" Version="7.1.0-build.45.gd2e4192c8c"
PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI" Version="7.1.0-build.45.gd2e4192c8c"
PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI.Controls" Version="7.1.0-build.45.gd2e4192c8c"
PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI.Controls.DataGrid" Version="7.1.0-build.45.gd2e4192c8c"
PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI.Controls.Layout" Version="7.1.0-build.45.gd2e4192c8c"
PackageReference Include="Uno.Microsoft.Xaml.Behaviors.Interactivity" Version="2.0.5"
PackageReference Include="Uno.UI" Version="3.11.6"
PackageReference Include="Uno.UI.RemoteControl" Version="3.11.6" Condition="'$(Configuration)'=='Debug'"
PackageReference Include="Uno.UI.Skia.Wpf" Version="3.11.6"
Affected platforms
Skia (WPF)
IDE
Visual Studio 2022
IDE version
17.0.4
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: