根据 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/