Skip to content

TableCellExtensions

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Extension methods for TableCell to enable fluent column configuration.

csharp
public static class TableCellExtensions

Inheritance

ObjectTableCellExtensions

Methods

Align(TableCell, Alignment)

Sets the alignment for this column.

Parameters:

Returns: TableCell

csharp
public static TableCell Align(this TableCell cell, Alignment alignment)

AlignCenter(TableCell)

Sets center alignment for this column.

Parameters:

Returns: TableCell

csharp
public static TableCell AlignCenter(this TableCell cell)

AlignRight(TableCell)

Sets right alignment for this column.

Parameters:

Returns: TableCell

csharp
public static TableCell AlignRight(this TableCell cell)

Auto(TableCell)

Sets the column to auto-size based on content.

Parameters:

Returns: TableCell

csharp
public static TableCell Auto(this TableCell cell)

Fill(TableCell, int)

Sets the column to fill remaining space.

Parameters:

Returns: TableCell

csharp
public static TableCell Fill(this TableCell cell, int weight = 1)

Fixed(TableCell, int)

Sets the column to a fixed width.

Parameters:

Returns: TableCell

csharp
public static TableCell Fixed(this TableCell cell, int width)

Width(TableCell, SizeHint)

Sets the width hint for this column.

Parameters:

Returns: TableCell

csharp
public static TableCell Width(this TableCell cell, SizeHint width)

Released under the MIT License.