File: System\Windows\Forms\Controls\Buttons\CheckState.cs
Web Access
Project: src\src\System.Windows.Forms\src\System.Windows.Forms.csproj (System.Windows.Forms)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Windows.Forms;
 
/// <summary>
///  Specifies the state of a control,  such as a check box, that can be
///  checked, unchecked, or set to an indeterminate state.
/// </summary>
public enum CheckState
{
    /// <summary>
    ///  The control is unchecked.
    /// </summary>
    Unchecked = 0,
 
    /// <summary>
    ///  The control is checked.
    /// </summary>
    Checked = 1,
 
    /// <summary>
    ///  The control is indeterminate. An indeterminate control generally has
    ///  a shaded appearance.
    /// </summary>
    Indeterminate = 2,
}