Version

ThreeState Property (UltraCheckEditor)

Controls whether or not the user can select the indeterminate state of the checkbox.
Syntax
'Declaration
 
Public Property ThreeState As Boolean
public bool ThreeState {get; set;}
Example
This sample sets the triplestate property of the control to true. This allows the checkbox to display an 'indeterminant' state along with checked and unchecked.

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;

}
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