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

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top