Gets or sets the vertical text alignment.
[Visual Basic]
Public Property VerticalAlignment As C1.Win.C1TrueDBGrid.AlignVertEnum
[C#]
public C1.Win.C1TrueDBGrid.AlignVertEnum VerticalAlignment {get;set;}
[Delphi]
public property VerticalAlignment: C1.Win.C1TrueDBGrid.AlignVertEnum read get_VerticalAlignment write set_VerticalAlignment;
Example
The following code bottom aligns the text vertically in the Birth column:
Me.C1TrueDBGrid1.Splits(0).DisplayColumns("Birth").Style.VerticalAlignment = C1.Win.C1TrueDBGrid.AlignVertEnum.Bottom
· C#
this.c1TrueDBGrid1.Splits[0].DisplayColumns["Birth"].Style.VerticalAlignment = C1.Win.C1TrueDBGrid.AlignVertEnum.Bottom;
· Delphi
Self.C1TrueDBGrid1.Splits[0].DisplayColumns['Birth'].Style.VerticalAlignment := C1.Win.C1TrueDBGrid.AlignVertEnum.Bottom;
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. |