Resets HorizontalAlignment to its default value.
[Visual Basic]
Public Sub ResetHorizontalAlignment()
[C#]
public void ResetHorizontalAlignment()
[Delphi]
public procedure ResetHorizontalAlignment();
Example
The following code resets the HorizontalAlignment property to General:
Me.C1TrueDBGrid1.Splits(0).DisplayColumns("Birth").Style.ResetHorizontalAlignment()
· C#
this.c1TrueDBGrid1.Splits[0].DisplayColumns["Birth"].Style.ResetHorizontalAlignment();
· Delphi
Self.C1TrueDBGrid1.Splits[0].DisplayColumns['Birth'].Style.ResetHorizontalAlignment;
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. |