IListSource派生类的编辑器属性? [英] Editor attribute on IListSource derived class?

查看:60
本文介绍了IListSource派生类的编辑器属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图将一个Editor属性添加到IListSource派生类

(特别是它是一个类型化的DataSet)。似乎IListSource超过规则

任何Editor属性。有什么方法可以让我的编辑器属性

被使用吗?


非常感谢任何帮助!


Eric J. Smith

I am attempting to add an Editor attribute to an IListSource derived class
(specifically it''s a typed DataSet). It appears that IListSource over rules
any Editor attribute. Is there any way that I can get my Editor attribute
to be used?

Any help is greatly appreciated!

Eric J. Smith

推荐答案



嗨Eric,


感谢您在此论坛中发帖。

您想要应用DataSet的哪个属性编辑器属性?

您想要在该属性上应用哪个编辑器? Arrayeditor或其他什么

其他?

如果您应用此属性,您会得到什么错误?

请告诉我更多详细信息,谢谢


祝你好运,

Jeffrey Tan

微软在线合作伙伴支持

安全! - www.microsoft.com/security

此帖子按原样提供没有保证,也没有授予任何权利。


Hi Eric,

Thanks for posting in this group.
Which property of DataSet you want to apply Editor attribute?
Which Editor you want to apply on the property? Arrayeditor or something
else?
If you apply this attribute, what error do you get?
Please show me more detailed information, thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Jeffrey,


我试图将属性应用于DataSet本身。我是什么尝试做的是
将类型化DataSet作为一个属性显示在

中,PropertyGrid控件和属性网格中的属性能够浏览到

要从中加载该类型化DataSet的XML文件。我知道如何创建编辑器

我想做什么,但问题是我的编辑器属性只是

完全被忽略了。据我所知,由于DataSet实现了

IListSource,属性网格首先检查它,然后使用

编辑器,但我想要的是覆盖在这种情况下这个行为和

强迫它使用我的编辑。


谢谢,

Eric J. Smith

"" Jeffrey Tan [MSFT]"" <,V - ***** @ online.microsoft.com>在消息中写道

news:
Jeffrey,

I am attempting to apply the attribute to the DataSet itself. What I am
attempting to do is have the typed DataSet be a property that shows up in
the PropertyGrid control and in the property grid be able to browse to an
XML file to load that typed DataSet from. I know how to create the editor
for what I want to do, but the problem is that my Editor attribute is just
completely ignored. From what I can tell, since DataSet implement
IListSource, the property grid is checking for this first and then using the
editor for it, but what I want is to override this bahavior in this case and
force it to use my Editor.

Thanks,
Eric J. Smith

""Jeffrey Tan[MSFT]"" <v-*****@online.microsoft.com> wrote in message
news:


6 ************** @ cpmsftngxa07.phx.gbl ...
6**************@cpmsftngxa07.phx.gbl...

嗨Eric,

感谢您在此论坛中发帖。
您要应用DataSet的哪个属性编辑属性?
您是哪位编辑想申请房产吗? Arrayeditor或其他什么?
如果你应用这个属性,你会得到什么错误?
请告诉我更详细的信息,谢谢

祝你好运,
Jeffrey Tan
Microsoft在线合作伙伴支持
获得安全! - www.microsoft.com/security
此帖子提供就像没有保证,也没有赋予任何权利。

Hi Eric,

Thanks for posting in this group.
Which property of DataSet you want to apply Editor attribute?
Which Editor you want to apply on the property? Arrayeditor or something
else?
If you apply this attribute, what error do you get?
Please show me more detailed information, thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.



这篇关于IListSource派生类的编辑器属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆