'Declaration Public Property WatermarkText As String
'Usage Dim instance As TextBoxWatermarkCellType Dim value As String instance.WatermarkText = value value = instance.WatermarkText
public string WatermarkText {get; set;}
'Declaration Public Property WatermarkText As String
'Usage Dim instance As TextBoxWatermarkCellType Dim value As String instance.WatermarkText = value value = instance.WatermarkText
public string WatermarkText {get; set;}
FarPoint.Web.Spread.Extender.TextBoxWatermarkCellType tb = new FarPoint.Web.Spread.Extender.TextBoxWatermarkCellType(); tb.WatermarkText = "Required"; tb.WatermarkCssClass = "watermarked"; FpSpread1.ActiveSheetView.Cells[0, 0].CellType = tb; .watermarked { height:18px; width:150px; padding:2px 0 0 2px; border:1px solid #BEBEBE; background-color:#F0F8FF; color:gray; }
Dim tb As New FarPoint.Web.Spread.Extender.TextBoxWatermarkCellType tb.WatermarkText = "Required" tb.WatermarkCssClass = "watermarked" FpSpread1.ActiveSheetView.Cells(0, 0).CellType = tb .watermarked { height:18px; width:150px; padding:2px 0 0 2px; border:1px solid #BEBEBE; background-color:#F0F8FF; color:gray; }