[]
        
(Showing Draft Content)

FarPoint.Web.Spread.LabelCellType

LabelCellType Class

Represents a label cell.

Inheritance
LabelCellType
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class LabelCellType : BaseCellType, ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer
Public Class LabelCellType
    Inherits BaseCellType
    Implements ICellType, IFormatter, ICloneable, IEnhancedRenderer, IEnhancedPdfRenderer, IPdfSupport, IEditor3, IEditor, ICSSClassSupport, ISerializeSupport2, ISerializeSupport, IWrapableRenderer, IRenderer

Constructors

Name Description
LabelCellType()

Creates a label cell.

Properties

Name Description
AllowWrap

Gets or sets whether the cell allows text to wrap to multiple lines. Wrapping only occurs on word breaks.

CssClass

Gets or sets the CSS class name.

FormatString

Gets or sets the format string used to format the label.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the cell type from XML.

GetEditorControl(string, TableCell, Appearance, Inset, object, bool)

Gets the control used to edit the cell (and this implementation always returns null).

GetEditorValue(Control, string)

Gets the value from the editor control for the cell.

GetPreferredSize(Graphics, Size, Appearance, object, float, bool, bool)

Gets the preferred (maximum needed) size of the cell for the renderer control.

PaintCell(PdfGraphics, RectangleF, Appearance, object, bool, bool, float)

Gets a control and prints the cell to PDF based on the specified appearance and selection.

PaintCell(string, TableCell, Appearance, Inset, object, bool)

Gets a control and renders it in the cell based on the specified appearance, margin, and value.

Serialize(XmlTextWriter)

Saves the cell type to XML.

Serialize2(XmlTextWriter)

Saves the cell type to XML using short names.