ColumnStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the look and feel of a column in a table layout.
- C#
- VB.NET
public class ColumnStyle : TableLayoutStyle
Public Class ColumnStyle
Inherits TableLayoutStyle
Constructors
ColumnStyle()
Initializes an instance of the ColumnStyle class to its default state.
ColumnStyle(style)
Initializes and instance of the ColumnStyle class to its default state.
| Name | Type | Description |
|---|---|---|
| style | ColumnStyle | Underlying style instance. |
ColumnStyle(sizeType)
Initializes an instance of the ColumnStyle class using the supplied SizeType value.
| Name | Type | Description |
|---|---|---|
| sizeType | SizeType | A SizeType indicating how the column should be should be sized relative to its containing table. |
ColumnStyle(sizeType, width)
Initializes and instance of the ColumnStyle class using the supplied SizeType and width values.
| Name | Type | Description |
|---|---|---|
| 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. |
Throws:
- ArgumentOutOfRangeException width is less than 0.
Properties
Width
Single: Returns or sets the width value for a column.
Throws:
- ArgumentOutOfRangeException The value is less than 0 when setting this property.