mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
42 lines
702 B
C#
42 lines
702 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace AIStudio.Wpf.DiagramDesigner
|
|
{
|
|
public interface ISelectable
|
|
{
|
|
bool IsSelected
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
bool IsHitTestVisible
|
|
{
|
|
get;
|
|
}
|
|
|
|
bool IsEditing
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
//新建完处于编辑状态
|
|
bool InitIsEditing
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
bool ShowText
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
void AddToSelection(bool selected, bool clearother);
|
|
|
|
event PropertyChangedEventHandler PropertyChanged;
|
|
}
|
|
}
|