Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

CheckBoxPartClass Constructor

Initializes a new instance of the CheckBoxPartClass class.

Class: CheckBoxPartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public CheckBoxPartClass();
public CheckBoxPartClass( CheckBoxStateEnum State );
public CheckBoxPartClass(
    CheckBoxStateEnum State,
    HAlignmentOptionalEnum HAlign,
    VAlignmentOptionalEnum VAlign,
    bool Enabled );
Public Sub New()
Public Sub New( ByVal State As CheckBoxStateEnum )
Public Sub New(
    ByVal State As CheckBoxStateEnum,
    ByVal HAlign As HAlignmentOptionalEnum,
    ByVal VAlign As VAlignmentOptionalEnum,
    ByVal Enabled As Boolean )

Parameters

State

Defines the checkbox state (State property).

HAlign

Defines the horizontal alignment (GenericPartClass.HAlign property) within the part's available space.

VAlign

Defines the vertical alignment (GenericPartClass.VAlign property) within the part's available space.

Enabled

Defines whether the checkbox is enabled (CheckBoxPartClass.Enabled property). A disabled checkbox cannot be clicked and appears grayed.

Comments

Initializes a new instance of the CheckBoxPartClass class.

See Also CheckBoxPartClass Class | Classes | SftTree/NET 2.0