Issue with CustomAttribute in a derived class of DropDownList

R

ryjack

Hello All,

I am deriving from a DropDownList and one of the properties is a
CustomAttribute that I am trying to set.

Basically, i would like one of the controls on the current form to be
the value of that property.

Here's the property snippet within the DerivedDropDownList

[
Category("Class1")
]
public TextBoxClass TextBoxOther
{
get
{
return this._TextBoxOther;
}
set
{
this._TextBoxOther = value;
}
}

In design time, i have get a list of desired controls; however, upon
selecting one and compiling, the value is lost.

Any suggestions would be greatly appreciated.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top