FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > ButtonCellType クラス : ShadowSize プロパティ |
'Declaration Public Property ShadowSize As Integer
'使用法 Dim instance As ButtonCellType Dim value As Integer instance.ShadowSize = value value = instance.ShadowSize
public int ShadowSize {get; set;}
例外 | 説明 |
---|---|
System.ArgumentException | 指定された幅が無効です。有効な値は0〜256です。 |
FarPoint.Win.Spread.CellType.ButtonCellType bttncell = new FarPoint.Win.Spread.CellType.ButtonCellType(); bttncell.ButtonColor = Color.Cyan; bttncell.DarkColor = Color.DarkCyan; bttncell.LightColor = Color.AliceBlue; bttncell.ShadowSize = 3; bttncell.Text = "Click and hold..."; bttncell.TextDown = "...you can see how words go to multiple lines. Now let go."; bttncell.TextColor = Color.Green; bttncell.WordWrap = true; bttncell.UseVisualStyleBackColor = false; fpSpread1.Sheets[0].Cells[3,2].CellType = bttncell;
Dim bttncell As New FarPoint.Win.Spread.CellType.ButtonCellType() bttncell.ButtonColor = Color.Cyan bttncell.DarkColor = Color.DarkCyan bttncell.LightColor = Color.AliceBlue bttncell.ShadowSize = 3 bttncell.Text = "Click and hold..." bttncell.TextDown = "...you can see how words go to multiple lines. Now let go." bttncell.TextColor = Color.Green bttncell.WordWrap = True bttncell.UseVisualStyleBackColor = False fpSpread1.Sheets(0).Cells(3,2).CellType = bttncell