GrapeCity.Xaml.SpreadSheet.Data
ForegroundThemeColor Property (Cell)
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Cell Class : ForegroundThemeColor Property
Gets or sets the foreground theme color for the cell.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property ForegroundThemeColor As String
'Usage
 
Dim instance As Cell
Dim value As String
 
instance.ForegroundThemeColor = value
 
value = instance.ForegroundThemeColor
[DefaultValue()]
public string ForegroundThemeColor {get; set;}
Example
This example uses the ForegroundThemeColor property.
gcSpreadSheet1.Sheets[0].Cells[0, 0, 2, 2].BackgroundThemeColor = "Accent 1 40";
gcSpreadSheet1.Sheets[0].Cells[3,3].BackgroundThemeColor = "Accent 3 40";
gcSpreadSheet1.Sheets[0].Cells[0,0,2,2].ForegroundThemeColor = "Accent 6 40";
//gcSpreadSheet1.Sheets[0].Cells[0,0,2,2].FontTheme = "Headings";
gcSpreadSheet1.Sheets[0].Cells[0, 0, 2, 2].Text = "Test";
gcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).BackgroundThemeColor = "Accent 1 40"
gcSpreadSheet1.Sheets(0).Cells(3, 3).BackgroundThemeColor = "Accent 3 40"
gcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).ForegroundThemeColor = "Accent 6 40"
'gcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).FontTheme = "Headings"
gcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).Text = "Test"
See Also

Reference

Cell Class
Cell Members