| Visual Basic (Declaration) | |
|---|---|
Public NotInheritable Class FontData Inherits Infragistics.Shared.SubObjectBase | |
| C# | |
|---|---|
public sealed class FontData : Infragistics.Shared.SubObjectBase | |
This sample sets the FontData associated properties of an Appearance object.
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win Private Sub SetGridFont() Dim fd As FontData = Me.UltraGrid1.DisplayLayout.Appearance.FontData fd.Bold = DefaultableBoolean.True fd.Italic = DefaultableBoolean.True fd.Name = "Times New Roman" fd.Underline = DefaultableBoolean.True End Sub | |
| C# | Copy Code |
|---|---|
using Infragistics.Win; private void SetGridFont() { FontData fd = this.ultraGrid1.DisplayLayout.Appearance.FontData; fd.Bold = DefaultableBoolean.True ; fd.Italic = DefaultableBoolean.True; fd.Name = "Times New Roman"; fd.Underline = DefaultableBoolean.True; } | |
Reference
FontData MembersInfragistics.Win Namespace
T:Infragistics.Shared.SubObjectBase