ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.UseColumnStyles Property

Gets or sets a value indicating whether Style information is applied from the datasource.

[Visual Basic]

Public Property UseColumnStyles As Boolean

[C#]

public bool UseColumnStyles {get;set;}

[Delphi]

public property UseColumnStyles: Boolean read get_UseColumnStyles write set_UseColumnStyles;

Example

The following code sets the UseColumnStyles property to True:

·      Visual Basic

       Me.C1TrueDBGrid1.UseColumnStyles = True

·      C#

       this.c1TrueDBGrid1.UseColumnStyles = true;

·      Delphi

       Self.C1TrueDBGrid1.UseColumnStyles := True;

See Also

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


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