* UIMenuButton: 更改属性描述

This commit is contained in:
Sunny 2025-01-15 17:49:06 +08:00
parent 8727038717
commit b0093af77a

View File

@ -17,6 +17,7 @@
* : 2024-12-16 * : 2024-12-16
* *
* 2024-12-16: V3.8.0 * 2024-12-16: V3.8.0
* 2025-01-15: V3.8.1
******************************************************************************/ ******************************************************************************/
using System.ComponentModel; using System.ComponentModel;
@ -30,6 +31,8 @@ namespace Sunny.UI
public class UIMenuButton : UISymbolButton public class UIMenuButton : UISymbolButton
{ {
private bool _showDropArrow = true; private bool _showDropArrow = true;
[Description("当用户左键点击按钮时,显示的快捷菜单"), Category("SunnyUI")]
public UIContextMenuStrip Menu { get; set; } public UIContextMenuStrip Menu { get; set; }
protected override void OnMouseClick(MouseEventArgs e) protected override void OnMouseClick(MouseEventArgs e)