mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-20 00:16:36 +08:00
block
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
@@ -63,4 +64,51 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
this.Description = description;
|
||||
}
|
||||
}
|
||||
|
||||
public class ToolBoxCategory : BindableBase
|
||||
{
|
||||
public string Header
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
private bool _isExpanded;
|
||||
public bool IsExpanded
|
||||
{
|
||||
get
|
||||
{
|
||||
return _isExpanded;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _isExpanded, value);
|
||||
}
|
||||
}
|
||||
|
||||
private bool _isChecked = true;
|
||||
public bool IsChecked
|
||||
{
|
||||
get
|
||||
{
|
||||
return _isChecked;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _isChecked, value);
|
||||
}
|
||||
}
|
||||
|
||||
private ObservableCollection<ToolBoxData> _toolBoxItems;
|
||||
public ObservableCollection<ToolBoxData> ToolBoxItems
|
||||
{
|
||||
get
|
||||
{
|
||||
return _toolBoxItems;
|
||||
}
|
||||
set
|
||||
{
|
||||
SetProperty(ref _toolBoxItems, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user