GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > GcDateTimeCellType クラス : ShowRecommendedValue プロパティ |
'Declaration Public Property ShowRecommendedValue As Boolean
'使用法 Dim instance As GcDateTimeCellType Dim value As Boolean instance.ShowRecommendedValue = value value = instance.ShowRecommendedValue
public bool ShowRecommendedValue {get; set;}
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); datecell.RecommendedValue = System.DateTime.Now; datecell.ShowRecommendedValue = true; fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell; GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType(); textcell.RecommendedValue = "Test"; textcell.ShowRecommendedValue = true; fpSpread1.Sheets[0].Cells[1, 1].CellType = textcell;
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() datecell.RecommendedValue = System.DateTime.Now datecell.ShowRecommendedValue = True FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType() textcell.RecommendedValue = "Test" textcell.ShowRecommendedValue = True FpSpread1.Sheets(0).Cells(1, 1).CellType = textcell