Gets or sets the root Style object for the Split.
[Visual Basic]
Public Property Style As C1.Win.C1TrueDBGrid.Style
[C#]
public C1.Win.C1TrueDBGrid.Style Style {get;set;}
[Delphi]
public property Style: C1.Win.C1TrueDBGrid.Style read get_Style write set_Style;
Example
The following code sets the BackgroundImage property of the style to Design.bmp:
Dim image1 As New Bitmap("C:\Design.bmp")
Me.C1TrueDBGrid1.Splits(0).Style.BackgroundImage = image1
· C#
Bitmap image1 = new Bitmap("C:\\Design.bmp");
this.c1TrueDBGrid1.Splits[0].Style.BackgroundImage = image1;
· Delphi
var image1: Bitmap;
image1 := Bitmap.Create('C:\Design.bmp');
Self.C1TrueDBGrid1.Splits[0].Style.BackgroundImage := image1;
See Also
Split Class | Split Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |