mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-13 21:16:37 +08:00
block
This commit is contained in:
@@ -49,11 +49,6 @@ namespace AIStudio.Wpf.DiagramApp.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
public ObservableCollection<ToolBoxCategory> TotalToolBoxCategory
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public ToolBoxCategory MyToolBoxCategory
|
||||
{
|
||||
get
|
||||
@@ -359,53 +354,6 @@ namespace AIStudio.Wpf.DiagramApp.ViewModels
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class MineToolBoxCategory : ToolBoxCategory
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user