private void Form1_Load(object sender, EventArgs e)
{
fpSpread1.ActiveSheet.Columns[0].Width = 200;
FarPoint.Win.Spread.CellType.MultiOptionCellType cellType1 = new FarPoint.Win.Spread.CellType.MultiOptionCellType();
cellType1.Items = new string[] { "AAAAA", "B", "C" };
// Compactプロパティを有効
cellType1.Compact = true;
cellType1.Orientation = FarPoint.Win.RadioOrientation.Horizontal;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = cellType1;
}
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
FpSpread1.ActiveSheet.Columns(0).Width = 200
Dim cellType1 As New FarPoint.Win.Spread.CellType.MultiOptionCellType()
cellType1.Items = New String() {"AAAAA", "B", "C"}
' Compactプロパティを有効
cellType1.Compact = True
cellType1.Orientation = FarPoint.Win.RadioOrientation.Horizontal
FpSpread1.ActiveSheet.Cells(0, 0).CellType = cellType1
End Sub