FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : Renderer Property |
'Declaration Public Property Renderer As IRenderer
'Usage Dim instance As Cell Dim value As IRenderer instance.Renderer = value value = instance.Renderer
public IRenderer Renderer {get; set;}
The setting for this property can be overridden if a named style is assigned to the cell using the StyleName property, and that named style sets the renderer to use.
FarPoint.Web.Spread.Cell mycell; FarPoint.Web.Spread.Renderer.CheckBoxRenderer rend=new FarPoint.Web.Spread.Renderer.CheckBoxRenderer(); FarPoint.Web.Spread.Editor.CheckBoxEditor edit=new FarPoint.Web.Spread.Editor.CheckBoxEditor(); mycell=FpSpread1.Cells[0,0]; mycell.Renderer=rend; mycell.Editor=edit; TextBox1.Text=Convert.ToString(rend);
Dim mycell As FarPoint.Web.Spread.Cell Dim rend As New FarPoint.Web.Spread.Renderer.CheckBoxRenderer() Dim edit As New FarPoint.Web.Spread.Editor.CheckBoxEditor() mycell=FpSpread1.Cells(0,0) mycell.Renderer=rend mycell.Editor=edit TextBox1.Text=Convert.ToString(rend)
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6