Spread Windows Forms 12.0 Product Documentation
Padding Property (PreviewRowInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > PreviewRowInfo Class : Padding Property
Gets or sets the amount of spaces to preview row in pixels.
Syntax
'Declaration
 
Public Overridable Property Padding As CellPadding
'Usage
 
Dim instance As PreviewRowInfo
Dim value As CellPadding
 
instance.Padding = value
 
value = instance.Padding
public virtual CellPadding Padding {get; set;}
Example
This example sets the Padding property.
FarPoint.Win.Spread.PreviewRowInfo pr = new FarPoint.Win.Spread.PreviewRowInfo();
pr.Padding = new FarPoint.Win.Spread.CellPadding(3);
pr.Visible = true;
fpSpread1.Sheets[0].PreviewRowInfo = pr;
//pr.ResetPadding();
Dim pr As New FarPoint.Win.Spread.PreviewRowInfo()
pr.Padding = New FarPoint.Win.Spread.CellPadding(3)
pr.Visible = True
fpSpread1.Sheets(0).PreviewRowInfo = pr
'pr.ResetPadding()
See Also

Reference

PreviewRowInfo Class
PreviewRowInfo Members