Property grid and parametrized category descryption.
- From: "usunto_bryjamus@xxxxxxxxxx" <dla@xxxxxxxx>
- Date: Mon, 07 Jan 2008 15:20:48 +0100
Hi,
Is it possible to parametrize Property grid category?
I have class:
[DefaultProperty("Name")]
public class Test
{
private string name;
[Category("Misc"),
Description("Name")]
public string Name
{
get
{
return this.name;
}
set
{
this.name = value;
}
}
}
I need to parametrize line where I set category for Name property ( Category(<<my parameter>>) ). I prepare app where I want to change this string using configuration file for this e.g. xml file where I have category string in different languages.
--
Best regards,
Klaudiusz
.
- Follow-Ups:
- Re: Property grid and parametrized category descryption.
- From: Nicholas Paldino [.NET/C# MVP]
- Re: Property grid and parametrized category descryption.
- From: Robbe Morris - [MVP] C#
- Re: Property grid and parametrized category descryption.
- From: Marc Gravell
- Re: Property grid and parametrized category descryption.
- Prev by Date: Remote call to COM impersonating another user
- Next by Date: Re: Need help creating another XML file
- Previous by thread: Remote call to COM impersonating another user
- Next by thread: Re: Property grid and parametrized category descryption.
- Index(es):
Relevant Pages
|