Softelvdm.Controls Class Library for Windows Controls 1.0

RadioButtonPartClass Constructor

Softel vdm, Inc.

Initializes a new instance of the RadioButtonPartClass class.

Syntax      RadioButtonPartClass Class (Softelvdm.Controls)

VB   

Public Sub New()
Public Sub New( ByVal State As RadioButtonStateEnum )
Public Sub New( _
     ByVal State As RadioButtonStateEnum, _
     ByVal HAlign As HAlignmentOptionalEnum, _
     ByVal VAlign As VAlignmentOptionalEnum, _
     ByVal Enabled As Boolean )

C#   

public RadioButtonPartClass();
public RadioButtonPartClass( RadioButtonStateEnum State );
public RadioButtonPartClass(
     RadioButtonStateEnum State,
     HAlignmentOptionalEnum HAlign,
     VAlignmentOptionalEnum VAlign,
     bool Enabled );

C++   

public: RadioButtonPartClass();
public: RadioButtonPartClass( RadioButtonStateEnum State );
public: RadioButtonPartClass(
     RadioButtonStateEnum State,
     HAlignmentOptionalEnum HAlign,
     VAlignmentOptionalEnum VAlign,
     bool Enabled );

Enabled

Defines whether the radiobutton is enabled (Enabled property). A disabled radiobutton 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 radiobutton state (State property).

RadioButtonStateEnum

Value

Description

Unchecked

0

The radiobutton is not selected.

Checked

1

The radiobutton is selected.

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 RadioButtonPartClass constructor initializes a new instance of the RadioButtonPartClass class.

Version Information

Supported in version 1.0.
Products Table


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