Spread for ASP.NET 9.0 Product Documentation
Renderer Property (AlternatingRow)
Example 


Gets or sets the renderer for cells in this alternating row.
Syntax
'Declaration
 
Public Property Renderer As IRenderer
'Usage
 
Dim instance As AlternatingRow
Dim value As IRenderer
 
instance.Renderer = value
 
value = instance.Renderer
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.
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;
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

AlternatingRow Class
AlternatingRow Members
IRenderer Interface

 

 


Copyright © GrapeCity, inc. All rights reserved.