New to Telerik UI for WinForms? Start a free 30-day trial

Defines the value, layout, and styling data used to render one cell in a TreeView worksheet export. Styling properties are applied when ExportVisualSettings is enabled or the CellFormatting event has subscribers.

Definition

Namespace:Telerik.WinControls.Export

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TreeViewSpreadExportCell

Inheritance: objectTreeViewSpreadExportCell

Derived Classes: TreeViewSpreadExportCheckBoxCellTreeViewSpreadExportContentCellTreeViewSpreadExportImageCellTreeViewSpreadExportIndentCell

Constructors

Initializes a cell with a one-column span, black text, a white background, and a transparent border.

C#
public TreeViewSpreadExportCell()

Properties

Gets or sets the cell fill color.

C#
public Color BackColor { get; set; }

Gets or sets the color of the cell's bottom border.

C#
public Color BorderBottomColor { get; set; }

Gets or sets the border style applied to the worksheet cell.

C#
public BorderBoxStyle BorderBoxStyle { get; set; }

Gets or sets the general border color for the cell.

C#
public Color BorderColor { get; set; }

Gets or sets the color of the cell's left border.

C#
public Color BorderLeftColor { get; set; }

Gets or sets the color of the cell's right border.

C#
public Color BorderRightColor { get; set; }

Gets or sets the color of the cell's top border.

C#
public Color BorderTopColor { get; set; }

Gets or sets the number of worksheet columns spanned by the cell. For cells rendered through the standard cell path, a span greater than one creates a merged range; checkbox cells are rendered as a single cell and ignore this property.

C#
public int ColSpan { get; set; }

Gets or sets the font used to render cell text.

C#
public Font Font { get; set; }

Gets or sets the color used to render cell text.

C#
public Color ForeColor { get; set; }

Gets or sets row-index metadata for this cell. The built-in exporter does not assign or read this property; formatting handlers can obtain the worksheet row index from RowIndex.

C#
public int RowIndex { get; set; }

Gets or sets the dimensions used by the export path to size worksheet rows and columns. Indent cells use only the width, while image cells use the image's dimensions instead.

C#
public Size Size { get; set; }

Gets or sets the alignment of text within the worksheet cell.

C#
public ContentAlignment TextAlignment { get; set; }

Gets or sets the orientation of text within the worksheet cell.

C#
public Orientation TextOrientation { get; set; }

Gets or sets whether text wraps within the worksheet cell.

C#
public bool TextWrap { get; set; }