Spread for ASP.NET 7.0 Product Documentation
Renderer Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > AlternatingRow Class : Renderer Property


Glossary Item Box

Gets or sets the renderer for cells in this alternating row.

Syntax

Visual Basic (Declaration) 
Public Property Renderer As IRenderer
Visual Basic (Usage)Copy Code
Dim instance As AlternatingRow
Dim value As IRenderer
 
instance.Renderer = value
 
value = instance.Renderer
C# 
public IRenderer Renderer {get; set;}

Property Value

IRenderer object containing the renderer for cells in this alternating row

Example

This example sets the renderer for the first alternating row.
C#Copy Code
FarPoint.Web.Spread.Renderer.ButtonRenderer r = new FarPoint.Web.Spread.Renderer.ButtonRenderer;
r.Text = "Update";
r.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton;
FarPoint.Web.Spread.AlternatingRow ar;
ar = FpSpread1.ActiveSheetView.AlternatingRows[0];
ar.Renderer = r;
Visual BasicCopy Code
Dim r As New FarPoint.Web.Spread.Renderer.ButtonRenderer
r.Text = "Update"
r.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton
Dim ar As FarPoint.Web.Spread.AlternatingRow
ar = FpSpread1.ActiveSheetView.AlternatingRows(0)
ar.Renderer = r

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.