Re: Properties of Component in PropertyGrid
From: joeycalisay (hcalisay_at__spamkiller_codex-systems.com)
Date: 11/22/04
- Next message: Uri Dor: "designer overrides my XSD's targetNamespace each time I "generate dataset" using the designer"
- Previous message: Alon Ronen via DotNetMonster.com: "use events on design time"
- In reply to: Matthias Pieroth: "Properties of Component in PropertyGrid"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 22 Nov 2004 09:19:15 +0800
If you want it to be hidden from the PropertyGrid but still use it in
editor, you have to implement ICustomTypeDescriptor. If you want to totally
remove the said properties, you have to attach a custom designer
implementing your own PreFilterProperties/PostFilterProperties method.
try this link:
http://www.awprofessional.com/articles/printerfriendly.asp?p=169528
"Matthias Pieroth" <matthias.pieroth@t-online.de> wrote in message
news:cnlfjr$lcp$00$1@news.t-online.com...
> Hi NG,
>
> I built a GUI-Builder with C# and use own components like TableRow-Object
as
> designed-time-components which are derived from Panel. Just like in other
> IDEs I show the Properties of a TableRow-Object in a Property-Grid. The
> TableRow has the interface ILayoutComponent, an interface I defined. My
> problem is: I see all Properties of the Panel-class in the Property-Grid,
> but I only want to see the Properties which I defined in my
> ILayoutComponent-interface. Is it possible to hide the Properties of the
> base class and only show the Properties of the derived class or the
inerface
> which is implemented?
>
> Thanx in advance
>
> Matthias
>
>
- Next message: Uri Dor: "designer overrides my XSD's targetNamespace each time I "generate dataset" using the designer"
- Previous message: Alon Ronen via DotNetMonster.com: "use events on design time"
- In reply to: Matthias Pieroth: "Properties of Component in PropertyGrid"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|