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

Glossary Item Box

Gets or sets the horizontal alignment of the grouping information.


Visual Basic (Declaration) 
Public Property HorizontalAlignment As CellHorizontalAlignment
Visual Basic (Usage)Copy Code
Dim instance As GroupInfo
Dim value As CellHorizontalAlignment
instance.HorizontalAlignment = value
value = instance.HorizontalAlignment
public CellHorizontalAlignment HorizontalAlignment {get; set;}

Property Value

CellHorizontalAlignment setting that specifies the horizontal alignment of contents in the cell


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.HorizontalAlignment = CellHorizontalAlignment.Left;
gi.VerticalAlignment = CellVerticalAlignment.Top;

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.HorizontalAlignment = CellHorizontalAlignment.Left
gi.VerticalAlignment = CellVerticalAlignment.Top



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

See Also

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