HeadMaterial Window was fixed

This commit is contained in:
Evgeny Redikultsev
2023-01-08 20:46:05 +05:00
parent 401e3dd02b
commit c35522da18
13 changed files with 151 additions and 103 deletions

View File

@@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelper.Windows.ViewModels.NdmCrossSections
{
public class CrossSectionViewVisualProperty
{
public double AxisLineThickness { get; set; }
public double GridLineThickness { get; set; }
public double GridSize { get; set; }
public double WorkPlainWidth { get; set; }
public double WorkPlainHeight { get; set; }
public CrossSectionViewVisualProperty()
{
AxisLineThickness = 2d;
GridLineThickness = 0.25d;
GridSize = 0.05d;
WorkPlainWidth = 2d;
WorkPlainHeight = 1.6d;
}
}
}

View File

@@ -117,8 +117,7 @@ namespace StructureHelper.Windows.ViewModels.NdmCrossSections
get
{
return editCommand ??
(
editCommand = new RelayCommand(
(editCommand = new RelayCommand(
o => EditSelectedItem(),
o => SelectedItem != null
));