From 9b3e30d54aaf98bb93bc5911cefc0fcf0742fb34 Mon Sep 17 00:00:00 2001 From: Sunny Date: Sun, 26 Mar 2023 21:32:14 +0800 Subject: [PATCH] =?UTF-8?q?*=20UITreeView:=20=E4=BF=AE=E6=94=B9LabelEdit?= =?UTF-8?q?=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Controls/UITreeView.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SunnyUI/Controls/UITreeView.cs b/SunnyUI/Controls/UITreeView.cs index 35bc6196..fa6ed750 100644 --- a/SunnyUI/Controls/UITreeView.cs +++ b/SunnyUI/Controls/UITreeView.cs @@ -31,6 +31,7 @@ * 2022-11-03: V3.2.6 增加了可设置垂直滚动条宽度的属性 * 2022-12-06: V3.3.0 增加了可自定义行的颜色 * 2023-03-13: V3.3.3 增加MouseDoubleClick和MouseClick事件 + * 2023-03-26: V3.3.4 修改LabelEdit属性 ******************************************************************************/ using System; @@ -219,7 +220,7 @@ namespace Sunny.UI public bool LabelEdit { get => view.LabelEdit; - set => view.LabelEdit = true; + set => view.LabelEdit = value; } private void View_KeyUp(object sender, KeyEventArgs e)