[]
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.
public EllipsisMode Ellipsis { get; set; }
Public Property Ellipsis As EllipsisMode
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.
|
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.
Type | Condition |
---|---|
ArgumentException | Assigned value is not defined in GrapeCity.Windows.InputMan.EllipsisMode enumeration. |