Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


ColumnStyle Constructors

Definition

Initializes a new instance of the ColumnStyle class to its default state.

Overloads

ColumnStyle()

Initializes a new instance of the ColumnStyle class to its default state.

ColumnStyle(SizeType)

Initializes a new instance of the ColumnStyle class using the supplied SizeType value.

ColumnStyle(SizeType, Single)

Initializes a new instance of the ColumnStyle class using the supplied SizeType and width values.

ColumnStyle()

Source:
ColumnStyle.cs
Source:
ColumnStyle.cs
Source:
ColumnStyle.cs

Initializes a new instance of the ColumnStyle class to its default state.

public ColumnStyle ();

Remarks

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

See also

Applies to

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ColumnStyle(SizeType)

Source:
ColumnStyle.cs
Source:
ColumnStyle.cs
Source:
ColumnStyle.cs

Initializes a new instance of the ColumnStyle class using the supplied SizeType value.

public ColumnStyle (System.Windows.Forms.SizeType sizeType);

Parameters

sizeType
SizeType

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

Remarks

This constructor sets the Width property to 0.

See also

Applies to

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ColumnStyle(SizeType, Single)

Source:
ColumnStyle.cs
Source:
ColumnStyle.cs
Source:
ColumnStyle.cs

Initializes a new instance of the ColumnStyle class using the supplied SizeType and width values.

public ColumnStyle (System.Windows.Forms.SizeType sizeType, float width);

Parameters

sizeType
SizeType

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

width
Single

The preferred width, in pixels or percentage, depending on the sizeType parameter.

Exceptions

width is less than 0.

Remarks

The exact meaning of the width parameter will vary depending on the sizeType parameter. For more information, see the Width property.

See also

Applies to

.NET Framework 4.8.1 és más verziók
Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9