Files
Speckle.Material.Avalonia/Material.Dialog/ViewModels/Elements/Header/Icons/ImageIconViewModel.cs
T
2022-02-12 23:26:24 +09:00

32 lines
659 B
C#

using Avalonia.Media;
using Avalonia.Media.Imaging;
namespace Material.Dialog.ViewModels.Elements.Header.Icons
{
public class ImageIconViewModel : IconViewModelBase
{
private Bitmap _bitmap;
public Bitmap Bitmap
{
get => _bitmap;
set
{
_bitmap = value;
OnPropertyChanged();
}
}
private Stretch _stretch = Stretch.Uniform;
public Stretch Stretch
{
get => _stretch;
set
{
_stretch = value;
OnPropertyChanged();
}
}
}
}