WIP: Item counts
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record Count
|
||||
{
|
||||
public static CountEventArgs<TSender> As<TSender>(TSender sender) =>
|
||||
new(sender);
|
||||
|
||||
public static CountEventArgs<TSender> As<TSender>() where TSender : new() =>
|
||||
new(new TSender());
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record CountEventArgs<TSender>(TSender Sender);
|
||||
@@ -1,3 +1,3 @@
|
||||
namespace Toolkit.Foundation;
|
||||
|
||||
public record QueryEventArgs<TValue>(TValue Value);
|
||||
public record QueryEventArgs<TSender>(TSender Sender);
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace Toolkit.UI.Controls.Avalonia;
|
||||
|
||||
public class InfoBadge :
|
||||
FluentAvalonia.UI.Controls.InfoBadge
|
||||
{
|
||||
protected override Type StyleKeyOverride =>
|
||||
typeof(FluentAvalonia.UI.Controls.InfoBadge);
|
||||
}
|
||||
Reference in New Issue
Block a user