.net - 如何在 PropertyGrid 中为模态 UITypeEditor 重新标记省略号按钮?

标签 .net winforms propertygrid uitypeeditor

根据 http://msdn.microsoft.com/en-us/library/system.drawing.design.uitypeeditoreditstyle.aspx,我有一个 Windows 窗体 PropertyGrid 和一个客户 UITypeEditor

Displays an ellipsis (...) button to start a modal dialog box, which requires user input before continuing a program, or a modeless dialog box, which stays on the screen and is available for use at any time but permits other user activities.

那个省略号按钮很小。如何使用更有用的标签重新标记它?

最佳答案

长话短说,你不能。基本的 MS PropertyGrid 不允许您自定义此文本。它甚至使用带有 3 个点的位图而不是文本,并且控件的宽度是固定的。

免责声明:我是 Smart PropertyGrid.Net 的开发者,它可以做你想实现的。

关于.net - 如何在 PropertyGrid 中为模态 UITypeEditor 重新标记省略号按钮?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12603269/

相关文章:

c# - 动态生成的组合框值

.net - 如何强制 PropertyGrid 显示特定属性的自定义对话框?

c# - Q : What is the best way to store api keys in a Blazor WASM application?

.net - 每秒能够处理 40,000 条消息的系统的模式和技术

c# - 将 C# 表单序列化为 XML

c# - TreeNode 鼠标悬停工具提示未显示

带参数的 C# UITypeEditor

c# - IIS/.Net 只允许对给定用户 session 的单个并发响应

.net - 使用 MSBuild 命令行指定发布版本作为项目的程序集版本

c# - 为 NumericUpDown 绘制边框