New to Telerik UI for WinFormsStart a free 30-day trial

Border set applied to a table cell, including four sides and optional diagonals.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Editing.Tables

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class TableCellBorders

Inheritance: objectTableCellBorders

Constructors

Initialize with no borders.

C#
public TableCellBorders()

Initialize with borders for each side and optional diagonal borders.

C#
public TableCellBorders(Border left, Border top, Border right, Border bottom, Border diagonalUp, Border diagonalDown)
Parameters:leftBorder

The left.

topBorder

The top.

rightBorder

The right.

bottomBorder

The bottom.

diagonalUpBorder

The diagonal up.

diagonalDownBorder

The diagonal down.

Initialize with individual borders for each side.

C#
public TableCellBorders(Border left, Border top, Border right, Border bottom)
Parameters:leftBorder

The left.

topBorder

The top.

rightBorder

The right.

bottomBorder

The bottom.

Initialize using the same border for all sides and diagonals.

C#
public TableCellBorders(Border all)
Parameters:allBorder

All.

Properties

Gets the bottom border.

C#
public Border Bottom { get; }
Property Value:

The bottom border.

Gets the diagonal down border.

C#
public Border DiagonalDown { get; }
Property Value:

The diagonal down border.

Gets the diagonal up border.

C#
public Border DiagonalUp { get; }
Property Value:

The diagonal up border.

Gets the left border.

C#
public Border Left { get; }
Property Value:

The left border.

Gets the right border.

C#
public Border Right { get; }
Property Value:

The right border.

Gets the top border.

C#
public Border Top { get; }
Property Value:

The top border.