I got this binding error in the debug output, it only happens when I put it in an "if...else..." section.
`[Binding]Error in binding to 'Avalonia.Input.KeyBinding'.'Command': 'Null value in expression '{empty}' at ''.'(KeyBinding #32324290)
[Binding]Error in binding to 'Avalonia.Controls.RowDefinition'.'Height': 'Null value in expression '{empty}' at ''.'(RowDefinition #22483156)
[Binding]Error in binding to 'Avalonia.Controls.RowDefinition'.'Height': 'Null value in expression '{empty}' at ''.'(RowDefinition #1021814)`
May u give a code sample?
I got the same errors showing at the output window if I use the sample from the readme
private async void SplashTitle_OnPointerPressed(object? sender, PointerPressedEventArgs e) {
var box = MessageBoxManager
.GetMessageBoxStandard("Caption", "Are you sure you would like to delete appender_replace_page_1?",
ButtonEnum.YesNo);
var result = await box.ShowAsync();
}
I got this errors after executing the code a second time. For the first time no error occurs.
It's also reproducible with the example 2.0
I think this could be the issue: https://github.com/AvaloniaUI/Avalonia/issues/5762