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