Spread Windows Forms 11.0 Product Documentation
FilterBarHorizontalGridLine Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : FilterBarHorizontalGridLine Property
Gets or sets the horizontal grid line for the filter bar.
Syntax
'Declaration
 
Public Property FilterBarHorizontalGridLine As GridLine
'Usage
 
Dim instance As SheetView
Dim value As GridLine
 
instance.FilterBarHorizontalGridLine = value
 
value = instance.FilterBarHorizontalGridLine
public GridLine FilterBarHorizontalGridLine {get; set;}
Exceptions
ExceptionDescription
No value is specified (specified value is null)
Example
This example sets the FilterBarHorizontalGridLine property.
FarPoint.Win.Spread.GridLine HGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red);
FarPoint.Win.Spread.GridLine VGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Chartreuse);
fpSpread1.Sheets[0].FilterBarVerticalGridLine = VGridLine;
fpSpread1.Sheets[0].FilterBarHorizontalGridLine = HGridLine;
fpSpread1.Sheets[0].AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.FilterBar;
Dim HGridLine As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Red)
Dim VGridLine As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat, Color.Chartreuse)
FpSpread1.Sheets(0).FilterBarVerticalGridLine = VGridLine
FpSpread1.Sheets(0).FilterBarHorizontalGridLine = HGridLine
FpSpread1.Sheets(0).AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.FilterBar
See Also

Reference

SheetView Class
SheetView Members