Spread Windows Forms 11.0 Product Documentation
HorizontalAlignment Property (GroupInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GroupInfo Class : HorizontalAlignment Property
Gets or sets the horizontal alignment of the grouping information.
Syntax
'Declaration
 
Public Property HorizontalAlignment As CellHorizontalAlignment
'Usage
 
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
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.HorizontalAlignment = CellHorizontalAlignment.Left;
gi.VerticalAlignment = CellVerticalAlignment.Top;

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

FpSpread1.ActiveSheet.GroupInfos.Add(gi)
See Also

Reference

GroupInfo Class
GroupInfo Members