Class GridBorderAdv
Implements the functionalities of grid cells for advanced border.
Inheritance
System.Object
GridBorderAdv
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridBorderAdv : Object
Constructors
GridBorderAdv(GridControl, BorderType)
Initializes a new instance of the GridBorderAdv class.
Declaration
public GridBorderAdv(GridControl grid, BorderType type)
Parameters
| Type | Name | Description |
|---|---|---|
| GridControl | grid | The grid. |
| BorderType | type | The border type. |
Methods
AddRanges(GridRangeInfo, GridBorderSide)
Adds the ranges for the cells to have double border.
Declaration
public void AddRanges(GridRangeInfo range, GridBorderSide side)
Parameters
| Type | Name | Description |
|---|---|---|
| GridRangeInfo | range | The range. |
| GridBorderSide | side | The side. |
ColorRange(GridRangeInfo, GridBorderSide, Color)
Provides a range of colors to be applied for the cell.
Declaration
public void ColorRange(GridRangeInfo range, GridBorderSide side, Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| GridRangeInfo | range | The GridRangeInfo. |
| GridBorderSide | side | The GridBorderSide. |
| System.Drawing.Color | color | Color of the border. |
ExportBorderAdv(GridExcelConverterControl)
Exports the BorderAdv to excel.
Declaration
public void ExportBorderAdv(GridExcelConverterControl converter)
Parameters
| Type | Name | Description |
|---|---|---|
| GridExcelConverterControl | converter | The grid excel converter. |
RemoveRange(GridRangeInfo, GridBorderSide)
Removes double borders applied in specific range.
Declaration
public void RemoveRange(GridRangeInfo range, GridBorderSide side)
Parameters
| Type | Name | Description |
|---|---|---|
| GridRangeInfo | range | The GridRangeInfo. |
| GridBorderSide | side | The GridBorderSide. |
ResetAll()
Resets the double border applied in cells.
Declaration
public void ResetAll()