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


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()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

PreviewRowInfo Class
PreviewRowInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.