@gcparrisathotmaildotcom: "Can anyone tell me how to implement the Font (FontInfo) property in my
custom control so that it appears as a property in the properties window?
Thanks,
Gareth"
    @joteke: "Hi,
if your control would derive from WebControl, it would already have the Font
property.
But "manually" something like
[
DesignerSerializationVisibility(DesignerSerializationVisibility.Content),
    NotifyParentProperty(true)
]
public FontInfo Font
{
    get
    {
        //Instantiate and return a FontInfo when property is accessed
        //Usually delegated to Control's style (ControlStyle property)
        //like "return  this.ControlStyle.Font;"
        //...
    }
}
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
news:eB5aWQ$<email_address>
<quote>"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "microsoft.public.dotnet.framework.aspnet.buildingcontrols.20140309.mbox"}', 'file': 'data/output/usenet-microsoft.public.parquet'}