Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / TextCellType Class / ShowEditor Property
Example


In This Topic
    ShowEditor Property (TextCellType)
    In This Topic
    Gets or sets whether the cell always displays the text box (editor control).
    Syntax
    'Declaration
     
    Public Property ShowEditor As Boolean
    'Usage
     
    Dim instance As TextCellType
    Dim value As Boolean
     
    instance.ShowEditor = value
     
    value = instance.ShowEditor
    public bool ShowEditor {get; set;}

    Property Value

    Boolean: true if editor is displayed; false otherwise
    Example
    This example sets the state of the Input Method Editor (IME) to active and always shows the editor.
    FarPoint.Web.Spread.TextCellType t = new FarPoint.Web.Spread.TextCellType();
    t.ShowEditor = true;
    t.ImeMode = FarPoint.Web.Spread.ImeMode.Active;
    FpSpread1.ActiveSheetView.Cells[0, 0].CellType = t; 
    Dim t As New FarPoint.Web.Spread.TextCellType
    t.ShowEditor = True
    t.ImeMode = FarPoint.Web.Spread.ImeMode.Active
    FpSpread1.ActiveSheetView.Cells(0, 0).CellType = t
    See Also