Spread Windows Forms 12.0 Product Documentation
CellPadding Property (StyleInfo)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : CellPadding Property
Gets or sets the number of spaces to add to the cell(s) in pixels.
Public Overridable Property CellPadding As CellPadding
Dim instance As StyleInfo
Dim value As CellPadding
instance.CellPadding = value
value = instance.CellPadding
public virtual CellPadding CellPadding {get; set;}
This example sets the CellPadding property.
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();           
si.CellPadding = new FarPoint.Win.Spread.CellPadding(2);
fpSpread1.ActiveSheet.DefaultStyle = si;
Dim si As New FarPoint.Win.Spread.StyleInfo()
si.CellPadding = New FarPoint.Win.Spread.CellPadding(2)
fpSpread1.ActiveSheet.DefaultStyle = si
See Also


StyleInfo Class
StyleInfo Members