[]
Describes the relative position, inner border, filling and layout of a table cell.
public class CellStyle : FrameStyle
Initializes a new instance of the CellStyle class.
public CellStyle()
Initializes a new instance of the CellStyle class.
public CellStyle(CellStyle source)
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.
public bool Background { get; set; }
Gets or sets a delegate creating a TextLayout from the specified CellStyle and a data object.
public Func<GcGraphics, CellStyle, object, TextLayout> CreateTextLayout { get; set; }
Gets or sets a delegate that draws custom content in a table cell (before drawing a TextLayout).
public Action<GcGraphics, TableCell> CustomDraw { get; set; }
Gets or sets a delegate that draws custom content in a table cell (after drawing a TextLayout).
public Action<GcGraphics, TableCell> CustomPostDraw { get; set; }
Gets or sets a value indicating whether the content area height is independent of text height. The default is false.
public bool FixedHeight { get; set; }
Gets or sets a value indicating whether the content area width is independent of text width. The default is true.
public bool FixedWidth { get; set; }
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.
public bool Foreground { get; set; }
Gets the sum of left and right padding of the content area, in graphic units.
public float HorizontalPadding { get; }
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.
public float? MaxHeight { get; set; }
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.
public float? MaxWidth { get; set; }
Gets or sets all padding values at once (left, top, right, bottom), in graphic units.
public float? PaddingAll { get; set; }
Gets or sets the bottom padding of the content area, in graphic units. The default is 0.
public float PaddingBottom { get; set; }
Gets or sets the left padding of the content area, in graphic units. The default is 0.
public float PaddingLeft { get; set; }
Gets or sets the left and right padding of the content area, in graphic units.
public float? PaddingLeftRight { get; set; }
Gets or sets the right padding of the content area, in graphic units. The default is 0.
public float PaddingRight { get; set; }
Gets or sets the top padding of the content area, in graphic units. The default is 0.
public float PaddingTop { get; set; }
Gets or sets the top and bottom padding of the content area, in graphic units.
public float? PaddingTopBottom { get; set; }
Gets or sets the value of ParagraphAlignment. The default is Near.
public ParagraphAlignment ParagraphAlignment { get; set; }
Gets or sets a value specifying whether a table cell appears behind or on top of other cells. The default is Normal.
public CellPosition Position { get; set; }
Gets or sets the value of RightToLeft. The default is false.
public bool RightToLeft { get; set; }
Gets or sets the rotation angle of the content area (0, 90, 180 or 270 degrees). The default is 0.
public int RotationAngle { get; set; }
Gets or sets the value of TextAlignment. The default is Leading.
public TextAlignment TextAlignment { get; set; }
Gets or sets the proposed TextFormat for cell's TextLayout.
public TextFormat TextFormat { get; set; }
Gets the sum of top and bottom padding of the content area, in graphic units.
public float VerticalPadding { get; }