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

In This Topic
    Editor Property (AlternatingRow)
    In This Topic
    Gets or sets the editor for cells in this alternating row.
    Public Property Editor As IEditor
    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
    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