ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1.Win.C1TrueDBGrid.Style.Alpha Property

Gets or sets the alpha component when the style is rendered.

[Visual Basic]

Public Property Alpha As Integer

[C#]

public int Alpha {get;set;}

[Delphi]

public property Alpha: Int32 read get_Alpha write set_Alpha;

Example

The following code sets the Alpha property to 100, which reduces the opacity of the cell background color:

·      Visual Basic

Me.C1TrueDBGrid1.Split(0).Style.Alpha = 100

·      C#

this.c1TrueDBGrid1.Split[0].Style.Alpha = 100;

·      Delphi

Self.C1TrueDBGrid1.Split[0].Style.Alpha := 100;

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.