ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1.Win.C1TrueDBGrid.Style.ResetForegroundImage Method

Resets ForegroundImage to its default value.

[Visual Basic]

Public Sub ResetForegroundImage()

[C#]

public void ResetForegroundImage()

[Delphi]

public procedure ResetForegroundImage();

Example

The following code resets the ForegroundImage property:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).DisplayColumns(1).HeadingStyle.ResetForegroundImage()

·      C#

       this.c1TrueDBGrid1.Splits[0].DisplayColumns[1].HeadingStyle.ResetForegroundImage();

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].DisplayColumns[1].HeadingStyle.ResetForegroundImage;

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.