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


Gets or sets the font theme of the cell.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property FontTheme As String
'Usage
 
Dim instance As Cell
Dim value As String
 
instance.FontTheme = value
 
value = instance.FontTheme
[DefaultValue()]
public string FontTheme {get; set;}

Property Value

The font theme.
Example
This example uses the FontTheme 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 = "Heading";
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 = "Heading"
gcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).Text = "Test"
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options