[]
Describes the relative position, inner border, filling and layout of a table cell.
public class CellStyle : FrameStyle
Public Class CellStyle
Inherits FrameStyle
Name | Description |
---|---|
CellStyle() | Initializes a new instance of the CellStyle class. |
CellStyle(CellStyle) | Initializes a new instance of the CellStyle class. |
Name | Description |
---|---|
Background | Gets or sets a value indicating whether this cell is a background cell that appears behind the table grid, regular cells, and foreground cells. The default is false. |
CreateTextLayout | Gets or sets a delegate creating a TextLayout from the specified CellStyle and a data object. |
CustomDraw | Gets or sets a delegate that draws custom content in a table cell (before drawing a TextLayout). |
CustomPostDraw | Gets or sets a delegate that draws custom content in a table cell (after drawing a TextLayout). |
FixedHeight | Gets or sets a value indicating whether the content area height is independent of text height. The default is false. |
FixedWidth | Gets or sets a value indicating whether the content area width is independent of text width. The default is true. |
Foreground | Gets or sets a value indicating whether this cell is a foreground cell that appears on top of the table grid, regular cells, and background cells. The default is false. |
HorizontalPadding | Gets the sum of left and right padding of the content area, in graphic units. |
MaxHeight | Gets or sets the maximum height of the content area, in graphic units. null (the default value) means there is no limit on the maximum height. The value is ignored if the FixedHeight property is set to true. |
MaxWidth | Gets or sets the maximum width of the content area, in graphic units. null (the default value) means there is no limit on the maximum width. The value is ignored if the FixedWidth property is set to true. |
PaddingAll | Gets or sets all padding values at once (left, top, right, bottom), in graphic units. |
PaddingBottom | Gets or sets the bottom padding of the content area, in graphic units. The default is 0. |
PaddingLeft | Gets or sets the left padding of the content area, in graphic units. The default is 0. |
PaddingLeftRight | Gets or sets the left and right padding of the content area, in graphic units. |
PaddingRight | Gets or sets the right padding of the content area, in graphic units. The default is 0. |
PaddingTop | Gets or sets the top padding of the content area, in graphic units. The default is 0. |
PaddingTopBottom | Gets or sets the top and bottom padding of the content area, in graphic units. |
ParagraphAlignment | Gets or sets the value of ParagraphAlignment. The default is Near. |
Position | Gets or sets a value specifying whether a table cell appears behind or on top of other cells. The default is Normal. |
RightToLeft | Gets or sets the value of RightToLeft. The default is false. |
RotationAngle | Gets or sets the rotation angle of the content area (0, 90, 180 or 270 degrees). The default is 0. |
TextAlignment | Gets or sets the value of TextAlignment. The default is Leading. |
TextFormat | Gets or sets the proposed TextFormat for cell's TextLayout. |
VerticalPadding | Gets the sum of top and bottom padding of the content area, in graphic units. |