Vincent,
Its like adding properties and methods to any other object. All you
have to do is define them in the code for your user control. For example,
if you create a new UserControl, you can just define a property:
// In the class.
private string someValue;
public string MyProperty
{
get
{
return someValue;
}
set
{
someValue = value;
}
}
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"JJ" <ge***************@lycos.nl> wrote in message
news:uu**************@TK2MSFTNGP10.phx.gbl...
Hi all,
Can anyone tell me how I can add my own properties and methods to my
custom usercontrols?
Thanks,
Vincent