This commit is contained in:
liufei
2021-05-08 17:27:41 +08:00
parent 5f38782623
commit 876e78bbfc
12 changed files with 570 additions and 110 deletions

View File

@@ -1,4 +1,5 @@
using System;
using GeekDesk.Constant;
using System;
using System.ComponentModel;
using System.IO;
using System.Windows.Media.Imaging;
@@ -15,6 +16,8 @@ namespace GeekDesk.ViewModel
private BitmapImage bitmapImage; //位图
private byte[] imageByteArr; //图片 base64
private string content; //显示信息
private int imageWidth = (int)DefaultConstant.IMAGE_WIDTH;
private int imageHeight = (int)DefaultConstant.IMAGE_HEIGHT;
public int Count
{
@@ -100,6 +103,19 @@ namespace GeekDesk.ViewModel
}
}
public int ImageWidth
{
get
{
return imageWidth;
}
set
{
imageWidth = value;
OnPropertyChanged("ImageWidth");
}
}
[field: NonSerializedAttribute()]