MESCIUS SPREAD for Windows Forms 17.0J
BackgroundImage プロパティ (ComboBoxCellType)

コンボボックスの編集部分の背景画像を取得または設定します。
構文
'Declaration
 
Public Property BackgroundImage As Picture
public Picture BackgroundImage {get; set;}

プロパティ値

画像を含むPictureオブジェクト
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
参照

ComboBoxCellType クラス
ComboBoxCellType メンバ

開発者ガイド

コンボボックス型セル

 

 


© MESCIUS inc. All rights reserved.