test: add banner test.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Avalonia;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Media;
|
||||
|
||||
@@ -12,12 +13,14 @@ public class Avatar : Button
|
||||
public static readonly StyledProperty<object?> HoverMaskProperty = AvaloniaProperty.Register<Avatar, object?>(
|
||||
nameof(HoverMask));
|
||||
|
||||
[ExcludeFromCodeCoverage]
|
||||
public IImage? Source
|
||||
{
|
||||
get => GetValue(SourceProperty);
|
||||
set => SetValue(SourceProperty, value);
|
||||
}
|
||||
|
||||
[ExcludeFromCodeCoverage]
|
||||
public object? HoverMask
|
||||
{
|
||||
get => GetValue(HoverMaskProperty);
|
||||
|
||||
Reference in New Issue
Block a user