Spread Windows Forms 13.0 Product Documentation
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBoxCellType Class / EllipsisString Property
Example


In This Topic
    EllipsisString Property (GcTextBoxCellType)
    In This Topic
    Gets or sets what is shown as an ellipsis when the text width is longer than the control.
    Syntax
    'Declaration
     
    Public Property EllipsisString As String
    'Usage
     
    Dim instance As GcTextBoxCellType
    Dim value As String
     
    instance.EllipsisString = value
     
    value = instance.EllipsisString
    public string EllipsisString {get; set;}

    Property Value

    A string value that indicates the string used as an ellipsis.
    The default is (...).
    Remarks
    This property specifies the string that is used when GcTextBox.Ellipsis is set to EllipsisMode.EllipsisEnd or EllipsisMode.EllipsisPath
    Example
    This example uses the EllipsisString property.
    GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
    inputcell1.Ellipsis = GrapeCity.Win.Spread.InputMan.CellType.EllipsisMode.EllipsisEnd;
    inputcell1.EllipsisString = "..";
    fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
    Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType
    inputcell1.Ellipsis = GrapeCity.Win.Spread.InputMan.CellType.EllipsisMode.EllipsisEnd
    inputcell1.EllipsisString = ".."
    fpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1
    See Also