* UIRichTextBox: 增加Text的属性编辑器

* UITextBox: 增加Text的属性编辑器
This commit is contained in:
Sunny 2023-12-25 20:40:29 +08:00
parent 7180c87291
commit b5bbc3e5d9
2 changed files with 5 additions and 0 deletions

View File

@ -23,6 +23,7 @@
* 2022-03-14: V3.1.1
* 2022-11-03: V3.2.6
* 2023-11-13: V3.5.2
* 2023-12-25: V3.6.2 Text的属性编辑器
******************************************************************************/
using System;
@ -416,6 +417,8 @@ namespace Sunny.UI
}
[Category("SunnyUI"), Browsable(true), DefaultValue(""), Description("文字")]
[Editor("System.ComponentModel.Design.MultilineStringEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
public override string Text
{
get => edit.Text;

View File

@ -57,6 +57,7 @@
* 2023-11-16: V3.5.2
* 2023-12-18: V3.6.2
* 2023-12-18: V3.6.2 Tips小红点的位置
* 2023-12-25: V3.6.2 Text的属性编辑器
******************************************************************************/
using System;
@ -864,6 +865,7 @@ namespace Sunny.UI
[Description("文本返回值"), Category("SunnyUI")]
[Browsable(true)]
[DefaultValue("")]
[Editor("System.ComponentModel.Design.MultilineStringEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(UITypeEditor))]
public override string Text
{
get => edit.Text;