ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1.Win.C1TrueDBGrid.Style.ResetFont Method

Resets Font to its default value.

[Visual Basic]

Public Sub ResetFont()

[C#]

public void ResetFont()

[Delphi]

public procedure ResetFont();

Example

The following code resets the font associated with a style:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).Style.ResetFont()

·      C#

       this.c1TrueDBGrid1.Splits[0].Style.ResetFont();

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].Style.ResetFont;

See Also

C1.Win.C1TrueDBGrid.Style Class | C1.Win.C1TrueDBGrid.Style Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.