画板基础基本完成

This commit is contained in:
艾竹
2023-05-14 00:31:25 +08:00
parent 147a84cf91
commit 8003cebf99
40 changed files with 3198 additions and 374 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Media;
namespace AIStudio.Wpf.DiagramDesigner.ViewModels.BaseViewModel
{
@@ -14,7 +15,7 @@ namespace AIStudio.Wpf.DiagramDesigner.ViewModels.BaseViewModel
ColorViewModel = new ColorViewModel();
FontViewModel = new FontViewModel();
ShapeViewModel = new ShapeViewModel();
AnimationViewModel= new AnimationViewModel();
AnimationViewModel = new AnimationViewModel();
LockObjectViewModel = new LockObjectViewModel();
_drawModeViewModel = new DrawModeViewModel();
@@ -72,6 +73,8 @@ namespace AIStudio.Wpf.DiagramDesigner.ViewModels.BaseViewModel
}
}
private IFontViewModel _fontViewModel;
public IFontViewModel FontViewModel
{
@@ -80,7 +83,7 @@ namespace AIStudio.Wpf.DiagramDesigner.ViewModels.BaseViewModel
return _fontViewModel;
}
set
{
{
SetProperty(ref _fontViewModel, value);
}
}