Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcTextBox Class / Ellipsis Property


In This Topic
    Ellipsis Property
    In This Topic
    Gets or sets a value indicating how the ellipsis character (...) appears, denoting that the GcTextBox text extends beyond the specified length of the GcTextBox. This is a dependency property.
    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

    A GrapeCity.Windows.InputMan.EllipsisMode enumeration, GrapeCity.Windows.InputMan.EllipsisMode.None, means no ellipsis string is shown. GrapeCity.Windows.InputMan.EllipsisMode.EllipsisEnd, trim the end of string with character. GrapeCity.Windows.InputMan.EllipsisMode.EllipsisPath, trim the center of string with character.
    The default is GrapeCity.Windows.InputMan.EllipsisMode.None.
    Exceptions
    ExceptionDescription
    Assigned value is not defined in GrapeCity.Windows.InputMan.EllipsisMode enumeration.
    Remarks
    This Ellipsis property only take effect when the Multiline is false. When the text is longer than this control's width and this control doesn't focused, the ellipsis string, specified by the EllipsisString property, is displayed.
    See Also