편집

다음을 통해 공유


RowStyle Constructors

Definition

Initializes an instance of the RowStyle class.

Overloads

RowStyle()

Initializes an instance of the RowStyle class to its default state.

RowStyle(SizeType)

Initializes an instance of the RowStyle class using the supplied SizeType value.

RowStyle(SizeType, Single)

Initializes an instance of the RowStyle class using the supplied SizeType and height values.

RowStyle()

Source:
RowStyle.cs
Source:
RowStyle.cs
Source:
RowStyle.cs

Initializes an instance of the RowStyle class to its default state.

public:
 RowStyle();
public RowStyle ();
Public Sub New ()

Remarks

This constructor sets the SizeType property to AutoSize and the Height property to 0.

See also

Applies to

RowStyle(SizeType)

Source:
RowStyle.cs
Source:
RowStyle.cs
Source:
RowStyle.cs

Initializes an instance of the RowStyle class using the supplied SizeType value.

public:
 RowStyle(System::Windows::Forms::SizeType sizeType);
public RowStyle (System.Windows.Forms.SizeType sizeType);
new System.Windows.Forms.RowStyle : System.Windows.Forms.SizeType -> System.Windows.Forms.RowStyle
Public Sub New (sizeType As SizeType)

Parameters

sizeType
SizeType

A SizeType indicating how the row should be should be sized relative to its containing table.

Remarks

This constructor sets the Height property to 0.

See also

Applies to

RowStyle(SizeType, Single)

Source:
RowStyle.cs
Source:
RowStyle.cs
Source:
RowStyle.cs

Initializes an instance of the RowStyle class using the supplied SizeType and height values.

public:
 RowStyle(System::Windows::Forms::SizeType sizeType, float height);
public RowStyle (System.Windows.Forms.SizeType sizeType, float height);
new System.Windows.Forms.RowStyle : System.Windows.Forms.SizeType * single -> System.Windows.Forms.RowStyle
Public Sub New (sizeType As SizeType, height As Single)

Parameters

sizeType
SizeType

A SizeType indicating how the row should be should be sized relative to its containing table.

height
Single

The preferred height in pixels or percentage of the TableLayoutPanel, depending on sizeType.

Exceptions

height is less than 0.

Remarks

The height parameter will take on different meanings depending on the sizeType parameter. For more information, see the Height property.

See also

Applies to