腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(246)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
3
回答
UITypeEditor
和IExtenderProvider
对于其中一个属性,我编写了一个
UITypeEditor
。到目前为止,一切正常。 扩展程序本身也有一些属性,我正尝试将其用作
UITypeEditor
的一种默认设置。我想要做的是能够在扩展程序本身上设置一个属性(而不是扩展控件),当我为扩展控件上的一个附加属性打开
UITypeEditor
时,我希望在
UITypeEditor
中将一个值设置为扩展程序上的属性值。扩展控件通过提供程序具有带有ExtendedValue的属性
UITypeEditor
。打开属性ExtendedValue的编辑器时,默认值(初始值)应该设
浏览 11
修改于2011-05-26
得票数 2
1
回答
ICustomTypeDescriptor,TypeDescriptionProvider,TypeConverter和
UITypeEditor
我试图全面了解如何使用ICustomTypeDescriptor、TypeDescriptionProvider、TypeConverter和
UITypeEditor
来改变PropertyGrid的显示方式和与对象的接口
UITypeEditor
type.Associated 定义了一个自定义编辑器,用于通过属性操作复杂的属性。。TypeConverter和
UITypeEditor
应用于单个属性,并控制这些特定属性的接口方式。
浏览 2
提问于2009-04-14
得票数 39
回答已采纳
1
回答
UITypeEditor
未正确关闭
我正在使用带有
UITypeEditor
的UserControl。用户控件具有“确定”和“取消”按钮,这两个按钮除了显示带有“确定”或“取消”的MessageBox,然后隐藏用户控件外,什么也不做。EventArgs e) Cancelled = true; }}{ inte
浏览 5
提问于2015-07-13
得票数 0
2
回答
将对象传递给
UITypeEditor
我目前希望使用一个PropertyGrid来允许用户编辑我的一些类,但是我遇到了一个难题,就是把对象传递给他们使用的
UITypeEditor
。My problem:来填充列表框,我需要访问管理来自
UITypeEditor
的资源列表的类。
浏览 0
修改于2015-06-19
得票数 5
回答已采纳
1
回答
如何为枚举使用自定义
UITypeEditor
?
根据MSDN的演练,我为我的Smiley类型编写了一个自定义的
UITypeEditor
{ public override UITypeEditorEditStyle GetEditStyle(System.ComponentModel.ITypeDescriptorContext[Editor(typeof(SmileyEditor), typeof(System.Drawing.
浏览 4
提问于2012-09-25
得票数 1
回答已采纳
1
回答
如何使用属性设置自定义
UITypeEditor
的属性
出于好奇,想象一下您有这样一个
UITypeEditor
:{{ [EditorAttribute(typeof(CustomEditor), typeof(System.Drawing.Design.
UITypeEditor
浏览 6
提问于2014-10-24
得票数 1
回答已采纳
1
回答
带参数的C#
UITypeEditor
我已经创建了一个自定义
UITypeEditor
,它启动一个表单(StringSelector)来显示用户选择的字符串列表。在创建此表单时,我将StringManager作为构造函数中的一个参数传递,但我无法确定如何使用
UITypeEditor
完成此操作。如何将参数传递给
UITypeEditor
,然后在EditValue函数中使用该参数?非常感谢。正是这个ControlInstance类被传递给PropertyGrid控件及其显示在其中的访问器函数,包括上面描述的StringSelectorEditor
UITypeEditor</e
浏览 4
修改于2017-09-09
得票数 2
1
回答
UITypeEditor
for ToolStrip.Items是什么?
EditorAttribute(typeof(System.ComponentModel.Design.CollectionEditor), (System.Drawing.Design.
UITypeEditor
浏览 2
提问于2010-07-09
得票数 0
回答已采纳
2
回答
如何对系统类型强制使用自定义
UITypeEditor
我有一个定制的
UITypeEditor
,在使用属性网格的程序中用于颜色选择,但是如果我只公开system.drawing.color,我似乎无法激活它。我需要用CustomType包装颜色,然后它才会调用我的
UITypeEditor
。EditorAttribute(GetType(IKMDependency.ColourSelectorEditor), _ Edit
浏览 2
提问于2010-11-01
得票数 4
回答已采纳
1
回答
谁有挑选System.Type实例的
UITypeEditor
?
我正忙于编写一个CodeSmith模板,它的一个属性是System.Type类型。我希望能够使用UI选择类型,该UI拾取程序集,加载程序集,然后显示该程序集中可用的类型。然后,我可以去挑选其中一种类型。
浏览 2
提问于2009-08-19
得票数 2
回答已采纳
1
回答
如何设置
UITypeEditor
的默认值
DisplayName("Dirección IP Local")]IPAddressEditor是这样的: public class IPAddressEditor :
UITypeEditor
浏览 3
提问于2018-03-09
得票数 0
3
回答
PropertyGrid
UITypeEditor
禁用单元格编辑
我有一个属性网格,其中一个属性使用来编辑值(在表单上)。
浏览 4
修改于2017-05-23
得票数 2
回答已采纳
3
回答
未使用实现的
UITypeEditor
触发属性集
OptoSigmaSettings dataToGet = new OptoSigmaSettings(); set { direction = value; }} public class OptoSetupFormEditor :
UITypeEditor
浏览 0
修改于2017-04-16
得票数 6
回答已采纳
1
回答
是否存在类型为"ChartColorPalette“的PropertyGrid
UITypeEditor
?
现在,我可以编写一个
UITypeEditor
派生类,让"PaintValue“绘制我用”画图“或类似工具从屏幕上剔除的资源位图,但这似乎相当繁琐。
浏览 0
修改于2016-01-23
得票数 3
回答已采纳
2
回答
在自定义
UITypeEditor
中使用OR枚举
我创建了自己的自定义控件来以一种符合逻辑的方式编辑它,并从我自己的
UITypeEditor
中调用它。
浏览 5
提问于2013-03-27
得票数 0
回答已采纳
3
回答
如何删除只读的自定义
UITypeEditor
的省略号?
这两个字段都是自定义类型,因此都有一个自定义
UITypeEditor
,它将省略号(...)按钮在场地上。."), TypeConverter(typeofDescription("The factored area modifier."), EditorAttribute(typeof(umConversionTypeEditor), typeof(
U
浏览 0
修改于2016-11-25
得票数 1
回答已采纳
1
回答
具有多选功能的PropertyGrid中的
UITypeEditor
我的自定义
UITypeEditor
中的“入口点”是方法 public override object EditValue(ITypeDescriptorContext context,
浏览 4
提问于2013-04-19
得票数 3
回答已采纳
1
回答
如何为通用封闭源类型的所有实例指定自定义
UITypeEditor
?
TypeDescriptor.AddAttributes(typeof(List<>),new EditorAttribute(typeof(System.ComponentModel.Design.DateTimeEditor),typeof(
UITypeEditor
))); TypeDescriptor.GetEditor(new List<int>(),typeof(
UITypeEditor
)).Dump();
浏览 5
修改于2017-05-23
得票数 0
2
回答
如何将参数传递给继承
UITypeEditor
的类
FOO _foo = new foo();public object foo get { return_foo; } }class MyEditor:
UITypeEditor
public override object EditValue(
浏览 2
修改于2011-09-18
得票数 3
回答已采纳
3
回答
如何为闭源类型的所有属性注入自定义
UITypeEditor
?
我希望避免在为其编写自定义
UITypeEditor
的特定类型的每个实例上放置EditorAttribute。是一篇MSDN文章,它提供了在.NET 2.0或更高版本中如何做到这一点的起点。
浏览 0
修改于2012-09-25
得票数 9
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券