Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / AlternatingRow Class / Editor Property
Example


In This Topic
    Editor Property (AlternatingRow)
    In This Topic
    Gets or sets the editor for cells in this alternating row.
    Syntax
    'Declaration
     
    Public Property Editor As IEditor
    'Usage
     
    Dim instance As AlternatingRow
    Dim value As IEditor
     
    instance.Editor = value
     
    value = instance.Editor
    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.
    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;
    
    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
    
    See Also