Update to Avalonia 11.2.0.

This commit is contained in:
2024-11-09 06:14:25 +00:00
parent 9a429ce439
commit 141f32d5e2
19 changed files with 51 additions and 76 deletions

View File

@@ -12,7 +12,7 @@ public class ViewLocator : IDataTemplate
{
public bool SupportsRecycling => false;
public IControl Build(object data)
public Control Build(object data)
{
string name = data.GetType().FullName?.Replace("ViewModel", "View");
Type type = name is null ? null : Type.GetType(name);