Spread Windows Forms 11.0 Product Documentation
CellPadding Property (StyleInfo)
Example 


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.
Syntax
'Declaration
 
Public Overridable Property CellPadding As CellPadding
'Usage
 
Dim instance As StyleInfo
Dim value As CellPadding
 
instance.CellPadding = value
 
value = instance.CellPadding
public virtual CellPadding CellPadding {get; set;}
Example
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

Reference

StyleInfo Class
StyleInfo Members