A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
495 B

using Avalonia.Media;
namespace Avalonia.Controls
{
public class PathIcon : IconElement
{
static PathIcon()
{
AffectsRender<PathIcon>(DataProperty);
}
public static readonly StyledProperty<Geometry?> DataProperty =
AvaloniaProperty.Register<PathIcon, Geometry?>(nameof(Data));
public Geometry? Data
{
get => GetValue(DataProperty);
set => SetValue(DataProperty, value);
}
}
}