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


Glossary Item Box

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

Syntax

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

Property Value

IEditor object containing the editor for cells in this alternating row

Example

This example sets the editor for the first alternating row.
C#Copy Code
FarPoint.Web.Spread.Editor.CheckBoxEditor ed = new FarPoint.Web.Spread.Editor.CheckBoxEditor();
FarPoint.Web.Spread.AlternatingRow ar;
ed.Text = "True/False?";
ar = FpSpread1.ActiveSheetView.AlternatingRows[0];
ar.Editor = ed;
Visual BasicCopy Code
Dim ed As New FarPoint.Web.Spread.Editor.CheckBoxEditor
Dim ar As FarPoint.Web.Spread.AlternatingRow
ed.Text = "True/False?"
ar = FpSpread1.ActiveSheetView.AlternatingRows(0)
ar.Editor = ed

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.