'宣言 Public Property IndeterminateAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase IndeterminateAppearance {get; set;}
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.UltraCheckEditor1.ThreeState = True Me.UltraCheckEditor1.CheckState = CheckState.Indeterminate Me.UltraCheckEditor1.IndeterminateAppearance.ForeColor = Color.Gray Me.UltraCheckEditor1.CheckedAppearance.ForeColor = Color.White End Sub
private void Form1_Load(object sender, System.EventArgs e) { this.ultraCheckEditor1.ThreeState = true; this.ultraCheckEditor1.CheckState = CheckState.Indeterminate; this.ultraCheckEditor1.IndeterminateAppearance.ForeColor = Color.Gray; this.ultraCheckEditor1.CheckedAppearance.ForeColor = Color.White; }