Spread Windows Forms 10.0 Product Documentation
Indent Property (GroupInfo)
Example 


Gets or sets the indent of the grouping information.
Syntax
'Declaration
 
Public Property Indent As Integer
'Usage
 
Dim instance As GroupInfo
Dim value As Integer
 
instance.Indent = value
 
value = instance.Indent
public int Indent {get; set;}

Property Value

Integer number of pixels in the margin (indent)
Example
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate;
fpSpread1.AllowColumnMove = true;
fpSpread1.ActiveSheet.GroupBarInfo.Visible = true;
fpSpread1.ActiveSheet.AllowGroup = true;

FarPoint.Win.Spread.GroupInfo gi = new FarPoint.Win.Spread.GroupInfo();

gi.Indent = 10;
gi.IndentColor = Color.Red;

fpSpread1.ActiveSheet.GroupInfos.Add(gi);
FpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate
FpSpread1.AllowColumnMove = True
FpSpread1.ActiveSheet.GroupBarInfo.Visible = True
FpSpread1.ActiveSheet.AllowGroup = True

Dim gi As New FarPoint.Win.Spread.GroupInfo
gi.Indent = 10
gi.IndentColor = Color.Red

FpSpread1.ActiveSheet.GroupInfos.Add(gi)
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

GroupInfo Class
GroupInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.