Spread Windows Forms 6.0 Product Documentation
Indent Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GroupInfo Class : Indent Property


Glossary Item Box

Gets or sets the indent of the grouping information.

Syntax

Visual Basic (Declaration) 
Public Property Indent As Integer
Visual Basic (Usage)Copy Code
Dim instance As GroupInfo
Dim value As Integer
 
instance.Indent = value
 
value = instance.Indent
C# 
public int Indent {get; set;}

Property Value

Integer number of pixels in the margin (indent)

Example

C#Copy Code
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);
Visual BasicCopy Code
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.