メンバ | 解説 |
---|---|
Default | 現在のデフォルトを使用 |
Opaque | 不透明色で描画 (255) |
Transparent | 透過色で描画 (0) |
UseAlphaLevel | アルファレベル値を使用 |
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; }