Spread Windows Forms 11.0 Product Documentation
ExcelExportFormat Property (GcDateTimeCellType)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcDateTimeCellType Class : ExcelExportFormat Property
Gets or sets the excel export format.
Syntax
'Declaration
 
Public Overrides Property ExcelExportFormat As String
'Usage
 
Dim instance As GcDateTimeCellType
Dim value As String
 
instance.ExcelExportFormat = value
 
value = instance.ExcelExportFormat
public override string ExcelExportFormat {get; set;}

Property Value

The excel export format.
Example
This example uses the ExcelExportFormat property.
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
datecell.FieldsEditMode = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditMode.RightSide;
datecell.ExcelExportFormat = "MM/dd/yy";
fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell;

GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
textcell.AutoConvert = true;
textcell.FormatString = "A";
fpSpread1.Sheets[0].Cells[1, 1].CellType = textcell;
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
datecell.FieldsEditMode = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditMode.RightSide
datecell.ExcelExportFormat = "MM/dd/yy"
fpSpread1.Sheets(0).Cells(0, 0).CellType = datecell

Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
textcell.AutoConvert = True
textcell.FormatString = "A"
fpSpread1.Sheets(0).Cells(1, 1).CellType = textcell
See Also

Reference

GcDateTimeCellType Class
GcDateTimeCellType Members