FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > ComboBoxCellType クラス : BackgroundImage プロパティ |
'Declaration Public Property BackgroundImage As Picture
'使用法 Dim instance As ComboBoxCellType Dim value As Picture instance.BackgroundImage = value value = instance.BackgroundImage
public Picture BackgroundImage {get; set;}
FarPoint.Win.Spread.CellType.ComboBoxCellType cmbocell = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); cmbocell.Items = (new String[] {"One", "Two", "Three", "Four", "Five"}); cmbocell.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("..\\images\\skybg.gif")); cmbocell.Editable = false; fpSpread1.ActiveSheet.Columns[0, 2].CellType = cmbocell;
Dim cmbocell As New FarPoint.Win.Spread.CellType.ComboBoxCellType() cmbocell.Items() = (New String() {"One", "Two", "Three", "Four", "Five"}) cmbocell.BackgroundImage = New FarPoint.Win.Picture(Image.FromFile("..\images\skybg.gif")) cmbocell.Editable = False FpSpread1.ActiveSheet.Columns(0, 2).CellType = cmbocell