Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcComboBox Class / Ellipsis Property


Ellipsis Property (GcComboBox)
Gets or sets how show ellipsis when width of text is longer than control.
Syntax
'Declaration
 
Public Property Ellipsis As EllipsisMode
 
'Usage
 
Dim instance As GcComboBox
Dim value As EllipsisMode
 
instance.Ellipsis = value
 
value = instance.Ellipsis

Property Value

A EllipsisMode enumeration, None, means no ellipsis string is shown. EllipsisEnd, Trim the end of string with charactor. EllipsisPath, Trim the center of string with charactor. EllipsisWord, Trim the end of string with word.
The default is EllipsisMode.None.
Exceptions
ExceptionDescription
The value isn't a valid EllipsisMode item.
Remarks
When the text is longer than this control's width and this control doesn't focused, the EllipsisString property is displayed.
See Also