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


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.
    Syntax
    'Declaration
     
    Public ReadOnly Property EditingControl As Control
    'Usage
     
    Dim instance As SpreadView
    Dim value As Control
     
    value = instance.EditingControl
    public Control EditingControl {get;}

    Property Value

    Control object containing the editor control
    Remarks

    This property is available at run time only.

    Example
    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