[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.Ellipsis

Ellipsis Property

Ellipsis

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.

Declaration
public EllipsisMode Ellipsis { get; set; }
Public Property Ellipsis As EllipsisMode
Property Value
Type Description
EllipsisMode

A EllipsisMode enumeration, None, means no ellipsis string is shown. EllipsisEnd means to trim the end of the string with the character. EllipsisPath, means to trim the center of the string with the character. EllipsisWord, means to trim the end of the string with the word.
The default is EllipsisMode.None.

Remarks

This Ellipsis property only takes effect when using GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.Multiline. When the text is longer than this control's width and this control does not have focus, the ellipsis string, specified by the GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.EllipsisString property, is displayed.

Exceptions
Type Condition
InvalidEnumArgumentException

The value isn't a valid EllipsisMode item.