Softelvdm.Controls Class Library for Windows Controls 1.0

CheckBoxPartClass Constructor

Softel vdm, Inc.

Initializes a new instance of the CheckBoxPartClass class.

Syntax      CheckBoxPartClass Class (Softelvdm.Controls)

VB   

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 )

C#   

public CheckBoxPartClass();
public CheckBoxPartClass( CheckBoxStateEnum State );
public CheckBoxPartClass(
     CheckBoxStateEnum State,
     HAlignmentOptionalEnum HAlign,
     VAlignmentOptionalEnum VAlign,
     bool Enabled );

C++   

public: CheckBoxPartClass();
public: CheckBoxPartClass( CheckBoxStateEnum State );
public: CheckBoxPartClass(
     CheckBoxStateEnum State,
     HAlignmentOptionalEnum HAlign,
     VAlignmentOptionalEnum VAlign,
     bool Enabled );

Enabled

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

HAlign

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

HAlignmentOptionalEnum

Value

Description

Left

0

The contents are left aligned within the available space.

Center

1

The contents are centered within the available space.

Right

2

The contents are right aligned within the available space.

Default

-1

The default value is determined by a containing object or by the environment.

State

Defines the checkbox state (State property).

CheckBoxStateEnum

Value

Description

Unchecked

0

The checkbox is unchecked.

Checked

1

The checkbox is checked.

Indeterminate

2

The checkbox is neither checked nor unchecked and has a shaded appearance.

VAlign

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

VAlignmentOptionalEnum

Value

Description

Top

0

The contents are aligned with the top of the available space.

Center

1

The contents are vertically centered within the available space.

Bottom

2

The contents are aligned with the bottom of the available space.

Default

-1

The default value is determined by a containing object or by the environment.

Comments

The CheckBoxPartClass constructor initializes a new instance of the CheckBoxPartClass class.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com