[Mono-list] System.Web.UI.WebContols.FontInfo

A Rafael D Teixeira rafaelteixeirabr@hotmail.com
Tue, 18 Sep 2001 14:45:47 -0300

>From: "Gaurav Vaish" <my_scripts2001@yahoo.com>
>     The above mentioned class is "sealed" and does not have any 
>How do I make an instance of it?
>     I need it in the implementation of ...WebControl class for field
>FontInfo Font. Also, I have to make this class.

Certainly the constructor is 'internal', what means that only classes in the 
same assembly can invoke it, that's why it is not documented.

Just code the needed constructor, prepend the internal modifier, and make 
sure FontInfo and WebControl (and/or any other class that needs to 
instantiate FontInfo) live in the same assembly.

Rafael Teixeira
Brazilian Developer

Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp