Current behavior
var sp = new StackPanel()
{
Background = new SolidColorBrush(Colors.Red),
XYFocusKeyboardNavigation = Microsoft.UI.Xaml.Input.XYFocusKeyboardNavigationMode.Disabled,
FlowDirection = FlowDirection.RightToLeft,
};
var tb = new TextBlock();
tb.RegisterPropertyChangedCallback(UIElement.XYFocusKeyboardNavigationProperty, (_, _) =>
{
sp.Children.Clear();
sp.Children.Add(new Border());
});
tb.RegisterPropertyChangedCallback(FrameworkElement.FlowDirectionProperty, (_, _) =>
{
sp.Children.Clear();
sp.Children.Add(new Border());
});
sp.Children.Add(tb);
This test code fires both callbacks. On WinUI, none is fired.
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
Current behavior
This test code fires both callbacks. On WinUI, none is fired.
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
No response
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response