Version

AlphaLevel Property (LinkedAppearance)

The level (0 to 255) used for alpha blending (0 means default). This value is used when the BackColorAlpha, BorderAlpha, ForegroundAlpha, ImageAlpha, or ImageBackgroundAlpha properties are set to 'UseAlphaLevel'.
Syntax
'Declaration
 
Public Overrides Property AlphaLevel As Short
public override short AlphaLevel {get; set;}
Example
This sample creates a new appearance object and sets the color associated properties. This routine is called from the InitializeLayout event of the UltraWinGrid.

Imports Infragistics.Win
		
  Private Sub SetupActiveCellAppearanceColors()

      Dim appearance As Appearance 

      appearance = New Infragistics.Win.Appearance()

      appearance.ForeColor = Color.White
      appearance.ForeColorDisabled = Color.Gray
      appearance.BackColor = Color.Green
      appearance.BackColor2 = Color.Blue
      appearance.BackColorDisabled = Color.Red
      appearance.BackColorDisabled2 = Color.Yellow
      appearance.BackGradientStyle = GradientStyle.Elliptical
      appearance.BackColorAlpha = Alpha.UseAlphaLevel
      appearance.AlphaLevel = 125

      Me.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance

  End Sub
using Infragistics.Win;

	private void SetupActiveCellAppearanceColors()
	{

		Appearance appearance = new Appearance();

		appearance.ForeColor = Color.White ;
		appearance.ForeColorDisabled = Color.Gray ;
		appearance.BackColor = Color.Green ;
		appearance.BackColor2 = Color.Blue;
		appearance.BackColorDisabled = Color.Red;
		appearance.BackColorDisabled2 = Color.Yellow;
		appearance.BackGradientStyle = GradientStyle.Elliptical;
		appearance.BackColorAlpha = Alpha.UseAlphaLevel;
		appearance.AlphaLevel = 125;

		this.ultraGrid1.DisplayLayout.Override.CellAppearance  = appearance;

	}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also