[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcTextBox.Ellipsis

Ellipsis Property

Ellipsis

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.

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

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.

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.

Exceptions
Type Condition
ArgumentException

Assigned value is not defined in GrapeCity.Windows.InputMan.EllipsisMode enumeration.