Input for WinForms | ComponentOne
C1.Framework Namespace / ExpandButtonElement Class / GetCheckboxImage Method / GetCheckboxImage(CheckBoxState) Method
A value from the System.Windows.Forms.VisualStyles.CheckBoxState enumeration.

In This Topic
    GetCheckboxImage(CheckBoxState) Method
    In This Topic
    Gets a check box image as a function of the specified checkbox state.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function GetCheckboxImage( _
       ByVal state As CheckBoxState _
    ) As Image
    public virtual Image GetCheckboxImage( 
       CheckBoxState state
    )

    Parameters

    state
    A value from the System.Windows.Forms.VisualStyles.CheckBoxState enumeration.

    Return Value

    A checkbox image to be displayed in the element.
    Remarks
    Override this method to provide your own images for checkboxes in various states.
    See Also