Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCheckBox Class / WinCheckBox Constructor / WinCheckBox Constructor(String,CheckState)
A string representing the checkbox's System.Windows.Forms.Control.Text.
A System.Windows.Forms.CheckState value representing the check state of the checkbox.


In This Topic
    WinCheckBox Constructor(String,CheckState)
    In This Topic
    Initializes a new instance of the WinCheckBox class specifying its text and check state.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal text As String, _
       ByVal checkState As CheckState _
    )
    'Usage
     
    Dim text As String
    Dim checkState As CheckState
     
    Dim instance As New WinCheckBox(text, checkState)
    public WinCheckBox( 
       string text,
       CheckState checkState
    )

    Parameters

    text
    A string representing the checkbox's System.Windows.Forms.Control.Text.
    checkState
    A System.Windows.Forms.CheckState value representing the check state of the checkbox.
    Requirements

    Target Platforms: 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