PrintDocument for WinForms
Style プロパティ (TableCell)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > TableCell クラス : Style プロパティ
Gets the Style of the current cell.
シンタックス
'宣言
 
Public ReadOnly Property Style As Style
'使用法
 
Dim instance As TableCell
Dim value As Style
 
value = instance.Style
public Style Style {get;}
解説

The value of this property affects both ambient and non-ambient style attributes of the cell itself and, through object containment, ambient attributes of the cell's content.

For example, because Style.Spacing is ignored for table cells, the following code does not affect the look of a table: RenderTable rt = new RenderTable(); rt.Cells[1, 2].Text = "My text."; rt.Cells[1, 2].Style.Spacing.All = "3mm"; while the following code adds 3mm of whie space around the text in the cell: RenderTable rt = new RenderTable(); rt.Cells[1, 2].Text = "My text."; rt.Cells[1, 2].CellStyle.Spacing.All = "3mm";

参照

TableCell クラス
TableCell メンバ
CellStyle プロパティ