* [Menu] [Interaction] Allow end user to change menu show delay globally
* Fix all alt down handle = true by AccessKeyHandler
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Subscribing to the inner collection's `CollectionChanged` event when an `ItemsSourceView` was created means the only way to unsubscribe is to dispose the `ItemsSourceView` meaning that the instance can't be easily shared.
WPF and Avalonia's `IsEnabled` properties are slightly different.
In WPF if reflects both the enabled state of the actual control and the effectively enabled state which comes from ancestor controls. In Avalonia that effectively enabled state is exposed on a different property: `IsEffectivelyEnabled`. When I ported the tab navigation code from WPF, I didn't take that into account.
WPF's visibility property however doesn't reflect the state of a control's owners and so tab navigation for invisible controls works correctly. Take advantage of this fact by changing any checks for `IsVisible` to also check `IsEnabled`.
The code suggested by the user makes sense to me. Reproed issue with
` try
{
var ctx = SynchronizationContext.Current;
await Task.Run(() => ctx.Send(state => throw new ArgumentException("hello"), null));
}
catch (ArgumentException ex)
{
Console.WriteLine(ex.Message);
}
catch (AggregateException ex)
{
Console.WriteLine(ex.Message);
}` this code
* Close popup if combobox is not visible
* fix unsupported feature
Co-authored-by: kaminova <flake@inbox@gmail.com>
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* Fix#6224
* Fix data templates Match
* Do not use preview features
* Do not create Child if Content is null and DataTemplate was set
* Update src/Avalonia.Base/Utilities/TypeUtilities.cs
* Update src/Avalonia.Controls/Presenters/ContentPresenter.cs
* Update src/Avalonia.Controls/Presenters/ContentPresenter.cs