Wrap FluentAvalonia controls within same named classes allowing us to declare the xmlns namespace in our assembly
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace Toolkit.Foundation.Avalonia
|
||||
{
|
||||
public class TriggerCollection : Collection<Delegate>
|
||||
{
|
||||
public void Add(object item)
|
||||
{
|
||||
if (item is Delegate trigger)
|
||||
{
|
||||
base.Add(trigger);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user