[]
        
(Showing Draft Content)

FarPoint.Web.Spread.HyperLinkCellType

HyperLinkCellType Class

Represents a hyperlink cell.

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

Constructors

Name Description
HyperLinkCellType()

Creates a new hyperlink cell with no destination URL.

HyperLinkCellType(string)

Creates a new hyperlink cell with the specified destination URL.

HyperLinkCellType(string, string)

Creates a new hyperlink cell with the specified destination URL and image.

HyperLinkCellType(string, string, string)

Creates a new hyperlink cell with the specified destination URL, image, and target.

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.

ImageUrl

Gets or sets the URL of the image to be displayed for the hyperlink.

NavigateUrl

Gets or sets the URL of the Web page to display for the hyperlink.

ShowEllipsis

Gets or sets whether to render ellipsis (...) to indicate text overflow in the cell.

Target

Gets or sets the target window or frame to display the link.

ToolTip

Gets or sets the text displayed when the mouse pointer hovers over the hyperlink cell.

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.