Open HO-COOH opened 7 months ago
Weird. The traditional way to do something like this would be to have both Grid's in the tree and collapse/expand from the visual state manager. I'd expect what you are doing to work, but not sure what is going on with those properties.
Describe the bug
I have 2
VisualState
that changes a button's content to a Row/Column devidedGrid
, that hasGrid.RowSpacing
andGrid.ColumnSpacing
applied. But it seems to be lost after toggling theVisualState
back to the exact same state prior.Steps to reproduce the bug
Create a new
Page
, use this xamlUse this code
Happens to both UWP & WinUI3 projects.
Expected behavior
No response
Screenshots
https://github.com/microsoft/microsoft-ui-xaml/assets/42881734/3ce67590-0d3d-464a-b603-9a1851f5945b
NuGet package version
WinUI 3 - Windows App SDK 1.4.5: 1.4.240411001
Windows version
Windows 10 (1809): Build 17763
Additional context
No response