GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > SideButtonInfo クラス : Text プロパティ |
'Declaration Public Property Text As String
'使用法 Dim instance As SideButtonInfo Dim value As String instance.Text = value value = instance.Text
public string Text {get; set;}
GrapeCity.Win.Spread.InputMan.CellType.SideButtonInfo testbutton = new GrapeCity.Win.Spread.InputMan.CellType.SideButtonInfo(); testbutton.BackColor = Color.Aquamarine; testbutton.ForeColor = Color.DarkMagenta; testbutton.UseVisualStyleBackColor = false; testbutton.Enabled = true; testbutton.Text = "1"; GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType dateCellType = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); dateCellType.SideButtons.Add(new GrapeCity.Win.Spread.InputMan.CellType.SideButtonInfo() { Text = "A" }); this.fpSpread1_Sheet1.Columns[0].CellType = dateCellType; GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textCellType = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType(); textCellType.SideButtons.Add(new GrapeCity.Win.Spread.InputMan.CellType.SideButtonInfo() { Text = "B" }); this.fpSpread1_Sheet1.Columns[1].CellType = textCellType; GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType dateCellType2 = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); dateCellType2.SideButtons.Add(testbutton); this.fpSpread1_Sheet1.Columns[2].CellType = dateCellType2;
Dim testbutton As New GrapeCity.Win.Spread.InputMan.CellType.SideButtonInfo() testbutton.BackColor = Color.Aquamarine testbutton.ForeColor = Color.DarkMagenta testbutton.UseVisualStyleBackColor = False testbutton.Enabled = True testbutton.Text = "1" Dim dateCellType As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() dateCellType.SideButtons.Add(New GrapeCity.Win.Spread.InputMan.CellType.SideButtonInfo() With {.Text = "A"}) FpSpread1_Sheet1.Columns(0).CellType = dateCellType Dim textCellType = New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType() textCellType.SideButtons.Add(New GrapeCity.Win.Spread.InputMan.CellType.SideButtonInfo() With {.Text = "B"}) FpSpread1_Sheet1.Columns(1).CellType = textCellType Dim dateCellType2 As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() dateCellType2.SideButtons.Add(testbutton) FpSpread1_Sheet1.Columns(2).CellType = dateCellType2