Class GridBorderAdv
Implements the functionalities of grid cells for advanced border.
Inheritance
System.Object
GridBorderAdv
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.GridHelperClasses
Assembly: Syncfusion.GridHelperClasses.Windows.dll
Syntax
public class GridBorderAdv
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. |
LoadDoubleBorder(MemoryStream)
Loads the saved double border state if any from memory stram.
Declaration
public void LoadDoubleBorder(MemoryStream ms)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | ms |
LoadDoubleBorder(String)
Loads the saved double border state if any from file stream.
Declaration
public void LoadDoubleBorder(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |
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()
SaveDoubleBorder(MemoryStream)
Saves the Double Border state through memory stream.
Declaration
public void SaveDoubleBorder(MemoryStream ms)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | ms |
SaveDoubleBorder(String)
Saves the Double Border state through file stream.
Declaration
public void SaveDoubleBorder(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path |