ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1.Win.C1TrueDBGrid.Style.ForeGroundPicturePosition Property

Gets or sets the position that the ForegroundImage is rendered.

[Visual Basic]

Public Property ForeGroundPicturePosition As ForeGroundPicturePositionEnum

[C#]

public ForeGroundPicturePositionEnum ForeGroundPicturePosition {get;set;}

[Delphi]

public property ForeGroundPicturePosition: ForeGroundPicturePositionEnum read get_ForeGroundPicturePosition write set_ForeGroundPicturePosition;

Example

The following code sets the ForeGroundPicturePosition property to LeftOfText:

·      Visual Basic

       Me.C1TrueDBGrid1.Splits(0).DisplayColumns(1).HeadingStyle.ForeGroundPicturePosition = C1.Win.C1TrueDBGrid.ForeGroundPicturePositionEnum.RightOfText

·      C#

       this.c1TrueDBGrid1.Splits[0].DisplayColumns[1].HeadingStyle.ForeGroundPicturePosition = C1.Win.C1TrueDBGrid.ForeGroundPicturePositionEnum.RightOfText;

·      Delphi

       Self.C1TrueDBGrid1.Splits[0].DisplayColumns[1].HeadingStyle.ForeGroundPicturePosition := C1.Win.C1TrueDBGrid.ForeGroundPicturePositionEnum.RightOfText;

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.