Designer Font Property

T

twostepted

I've had some success using the designer to configure my control.
However, I'm having some trouble getting the designer to write code for
the control's Font property. Here's the Property definition:

// Font
private Font _font;
[Browsable(true),
ReadOnly(false),
Category("MyCtl"),
Description("MyCtl Font Properties ")]
public new Font Font
{
get { return _font; }
set
{
_font = value;
}
}

Anyone know how I can get the designer to save the font? I'd prefer to
use the declarative Attributes rather than write a custom UITypeEditor.


Thanks,

--Travis
 

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

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top