Intersoft WebGrid Documentation
Font Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > WebGridFormatStyle Class : Font Property






Gets or sets the font of the text displayed by the control.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Appearance")>
<ISNet.Serialization.BinarySerializableAttribute()>
<ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)>
<NotifyParentPropertyAttribute(True)>
<DefaultValueAttribute()>
Public Overridable ReadOnly Property Font As FontInfo
Visual Basic (Usage)Copy Code
Dim instance As WebGridFormatStyle
Dim value As FontInfo
 
value = instance.Font
C# 
[CategoryAttribute("Appearance")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public virtual FontInfo Font {get;}
Delphi 
public read-only property Font: FontInfo; virtual; 
JScript 
CategoryAttribute("Appearance")
ISNet.Serialization.BinarySerializableAttribute()
ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)
NotifyParentPropertyAttribute()
DefaultValueAttribute()
public function get Font : FontInfo
Managed Extensions for C++ 
[CategoryAttribute("Appearance")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public: __property virtual FontInfo* get_Font();
C++/CLI 
[CategoryAttribute("Appearance")]
[ISNet.Serialization.BinarySerializableAttribute()]
[ISNet.Serialization.XmlSerializableAttribute(XmlSerializationType.Layout)]
[NotifyParentPropertyAttribute(true)]
[DefaultValueAttribute()]
public:
virtual property FontInfo^ Font {
   FontInfo^ get();
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.