Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Cell Class / ActualFontFamily Property
Example


In This Topic
    ActualFontFamily Property (Cell)
    In This Topic
    Gets or sets the displayed font family of the cell.
    Syntax
    'Declaration
     
    Public ReadOnly Property ActualFontFamily As FontFamily
    'Usage
     
    Dim instance As Cell
    Dim value As FontFamily
     
    value = instance.ActualFontFamily
    public FontFamily ActualFontFamily {get;}

    Property Value

    The font family.
    Example
    This example gets the ActualFontFamily property.
    TextBox1.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontFamily.ToString();
    TextBox2.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontSize.ToString();
    TextBox3.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontStretch.ToString();
    TextBox4.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontStyle.ToString();
    TextBox5.Text = GcSpreadSheet1.Sheets[0].Cells[0, 0].ActualFontWeight.ToString();
    TextBox1.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontFamily.ToString()
    TextBox2.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontSize.ToString()
    TextBox3.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontStretch.ToString()
    TextBox4.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontStyle.ToString()
    TextBox5.Text = GcSpreadSheet1.Sheets(0).Cells(0, 0).ActualFontWeight.ToString()
    See Also