Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / EditingControl Property

In This Topic
    EditingControl Property (SpreadView)
    In This Topic
    Gets the contol editing the active cell, or null if the control is not in edit mode.
    Public ReadOnly Property EditingControl As Control
    Dim instance As SpreadView
    Dim value As Control
    value = instance.EditingControl
    public Control EditingControl {get;}

    Property Value

    Control object containing the editor control

    This property is available at run time only.

    This example sets the EditingControl property.
    FarPoint.Win.Spread.SpreadView sv = fpSpread1.GetRootWorkbook();
    sv.Sheets[0].Cells[0, 0].CellType = new FarPoint.Win.Spread.CellType.DateTimeCellType();
    sv.EditMode = true;
    listBox1.Items.Add("EditingControl = " + sv.EditingControl.ToString());
    Dim sv As FarPoint.Win.Spread.SpreadView = FpSpread1.GetRootWorkbook
    sv.Sheets(0).Cells(0, 0).CellType = New FarPoint.Win.Spread.CellType.DateTimeCellType()
    sv.EditMode = True
    ListBox1.Items.Add("EditingCOntrol = " & sv.EditingControl.ToString)
    See Also