FontInfo Class
TOC
Collapse the table of content
Expand the table of content

FontInfo Class

 
Note: This API is now obsolete.

Provides access to all font-related style information about an ASP.NET mobile control. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

System.Object
  System.Web.UI.MobileControls.FontInfo

[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
[ObsoleteAttribute("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, 
	Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, 
	Level = AspNetHostingPermissionLevel.Minimal)]
public class FontInfo

NameDescription
System_CAPS_pubpropertyBold

Gets or sets a value indicating whether the font is bold. The default value is NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubpropertyItalic

Gets or sets a value indicating whether the font is italic. The default value is NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubpropertyName

Gets or sets the name of the specified font. The default value is an empty string (""). This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

System_CAPS_pubpropertySize

Gets or sets the specified font size. Must be of type FontSize. The default value is NotSet. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Converts the specified value to its equivalent string representation. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.(Overrides Object.ToString().)

The FontInfo class provides a subset of the functionality of the Web Forms System.Web.UI.WebControls.FontInfo class.

AspNetHostingPermission

for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.

AspNetHostingPermission

for operating in a hosted environment. Demand value: InheritanceDemand; Permission value: Minimal.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft