'Declaration Public Property TextDown As String
'Usage Dim instance As ButtonCellType Dim value As String instance.TextDown = value value = instance.TextDown
public string TextDown {get; set;}
'Declaration Public Property TextDown As String
'Usage Dim instance As ButtonCellType Dim value As String instance.TextDown = value value = instance.TextDown
public string TextDown {get; set;}
This is the text shown when the button is pressed down. It shows only momentarily when the button is a one-state button, but is seen in a two-state button until the button is pressed again returning it to the other state.
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