Class GridImportTableStyleConverter
Inheritance
System.Object
GridImportTableStyleConverter
Namespace: Syncfusion.Windows.Controls.Grid.Converter
Assembly: Syncfusion.GridConverter.Wpf.dll
Syntax
public class GridImportTableStyleConverter : Object
Constructors
GridImportTableStyleConverter()
Declaration
public GridImportTableStyleConverter()
Methods
ApplyBorder(GridStyleInfo, GridImportTableStyleConverter.TableBorderStyle, Color)
Declaration
protected void ApplyBorder(GridStyleInfo cell, GridImportTableStyleConverter.TableBorderStyle tableBorderStyle, Color borderColor)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfo | cell | |
GridImportTableStyleConverter.TableBorderStyle | tableBorderStyle | |
System.Windows.Media.Color | borderColor |
ApplyHeaderStyle(IListObject, GridStyleInfo, TableBuiltInStyles)
Applies the header style to cell.
Declaration
protected void ApplyHeaderStyle(IListObject table, GridStyleInfo cell, TableBuiltInStyles tablestyle)
Parameters
Type | Name | Description |
---|---|---|
IListObject | table | The Table. |
GridStyleInfo | cell | The Cell. |
TableBuiltInStyles | tablestyle | The Tablestyle. |
ApplyTableContentStyle(IListObject, GridStyleInfo, TableBuiltInStyles)
Applies the table content style to Grid cells.
Declaration
protected void ApplyTableContentStyle(IListObject table, GridStyleInfo cell, TableBuiltInStyles tablestyle)
Parameters
Type | Name | Description |
---|---|---|
IListObject | table | The Table. |
GridStyleInfo | cell | The Cell. |
TableBuiltInStyles | tablestyle | The Tablestyle. |
CheckForTableCell(IRange, GridStyleInfo, IWorksheet)
Checks for the cells is in table.
Declaration
public bool CheckForTableCell(IRange range, GridStyleInfo cell, IWorksheet sheet)
Parameters
Type | Name | Description |
---|---|---|
IRange | range | The Range. |
GridStyleInfo | cell | The cell. |
IWorksheet | sheet | The sheet. |
Returns
Type |
---|
System.Boolean |
GetTableContentBackGround(TableBuiltInStyles, out Color, out Color, out Boolean)
Gets the table content back ground.
Declaration
protected void GetTableContentBackGround(TableBuiltInStyles tablestyle, out Color firstBackgroundColor, out Color secondBackgroundColor, out bool entireRow)
Parameters
Type | Name | Description |
---|---|---|
TableBuiltInStyles | tablestyle | The Tablestyle. |
System.Windows.Media.Color | firstBackgroundColor | First color of the background. |
System.Windows.Media.Color | secondBackgroundColor | Color of the second background. |
System.Boolean | entireRow | if set to |
GetTableContentBorderStyle(TableBuiltInStyles, out GridImportTableStyleConverter.TableBorderStyle, out Color)
Gets the table content border style.
Declaration
protected void GetTableContentBorderStyle(TableBuiltInStyles tablestyle, out GridImportTableStyleConverter.TableBorderStyle tableBorderStyle, out Color borderColor)
Parameters
Type | Name | Description |
---|---|---|
TableBuiltInStyles | tablestyle | The Tablestyle. |
GridImportTableStyleConverter.TableBorderStyle | tableBorderStyle | The Table border style. |
System.Windows.Media.Color | borderColor | Color of the border. |
GetTableContentForeground(TableBuiltInStyles)
Gets the table content foreground.
Declaration
protected Color GetTableContentForeground(TableBuiltInStyles tablestyle)
Parameters
Type | Name | Description |
---|---|---|
TableBuiltInStyles | tablestyle | The Tablestyle. |
Returns
Type |
---|
System.Windows.Media.Color |
GetTableHeaderBackGround(TableBuiltInStyles)
Gets the table header background.
Declaration
protected Color GetTableHeaderBackGround(TableBuiltInStyles tablestyle)
Parameters
Type | Name | Description |
---|---|---|
TableBuiltInStyles | tablestyle | The Tablestyle. |
Returns
Type |
---|
System.Windows.Media.Color |
GetTableHeaderBorderStyle(TableBuiltInStyles, out GridImportTableStyleConverter.TableBorderStyle, out Color)
Gets the table header border style.
Declaration
protected void GetTableHeaderBorderStyle(TableBuiltInStyles tablestyle, out GridImportTableStyleConverter.TableBorderStyle tableBorderStyle, out Color borderColor)
Parameters
Type | Name | Description |
---|---|---|
TableBuiltInStyles | tablestyle | The Tablestyle. |
GridImportTableStyleConverter.TableBorderStyle | tableBorderStyle | The Table border style. |
System.Windows.Media.Color | borderColor | Color of the border. |
GetTableHeaderForeground(TableBuiltInStyles)
Gets the table header foreground.
Declaration
protected Color GetTableHeaderForeground(TableBuiltInStyles tablestyle)
Parameters
Type | Name | Description |
---|---|---|
TableBuiltInStyles | tablestyle | The Tablestyle. |
Returns
Type |
---|
System.Windows.Media.Color |