Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / Ellipsis Property


In This Topic
    Ellipsis Property (GcTextBox)
    In This Topic
    Gets or sets a value that indicates how the ellipsis character (...) appears, denoting that the GcTextBox text extends beyond the specified length of the GcTextBox.
    Syntax
    'Declaration
     
    
    Public Property Ellipsis As EllipsisMode
    'Usage
     
    
    Dim instance As GcTextBox
    Dim value As EllipsisMode
     
    instance.Ellipsis = value
     
    value = instance.Ellipsis
    public EllipsisMode Ellipsis {get; set;}

    Property Value

    An EllipsisMode enumeration, None, means no ellipsis string is shown. EllipsisEnd puts the character at the end of the string. EllipsisPath puts the character in the center of the string. EllipsisWord puts a word at the end of the string.
    The default is EllipsisMode.None.
    Exceptions
    ExceptionDescription
    The value is not a valid EllipsisMode item.
    Remarks
    The Ellipsis property only takes effect with Multiline. When the text is longer than the control's width and the control does not have focus, the ellipsis string, specified by the EllipsisString property, is displayed.
    See Also