Spread Windows Forms 10.0 Product Documentation
EllipsisString Property (GcTextBoxCellType)
Example 


Gets or sets what is shown as an ellipsis when the text width is longer than the control.
Syntax
'Declaration
 
Public Property EllipsisString As String
'Usage
 
Dim instance As GcTextBoxCellType
Dim value As String
 
instance.EllipsisString = value
 
value = instance.EllipsisString
public string EllipsisString {get; set;}

Property Value

A string value that indicates the string used as an ellipsis.
The default is (...).
Remarks
This property specifies the string that is used when GcTextBox.Ellipsis is set to EllipsisMode.EllipsisEnd or EllipsisMode.EllipsisPath
Example
This example uses the EllipsisString property.
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType inputcell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
inputcell1.Ellipsis = GrapeCity.Win.Spread.InputMan.CellType.EllipsisMode.EllipsisEnd;
inputcell1.EllipsisString = "..";
fpSpread1.Sheets[0].Cells[1, 1].CellType = inputcell1;
Dim inputcell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType
inputcell1.Ellipsis = GrapeCity.Win.Spread.InputMan.CellType.EllipsisMode.EllipsisEnd
inputcell1.EllipsisString = ".."
FpSpread1.Sheets(0).Cells(1, 1).CellType = inputcell1
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

GcTextBoxCellType Class
GcTextBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.