GrapeCity.Xaml.SpreadSheet.Data Namespace > Cell Class : ResetFormatter Method |
'Declaration Public Sub ResetFormatter()
'Usage Dim instance As Cell instance.ResetFormatter()
public void ResetFormatter()
gcSpreadSheet1.Sheets[0].Cells[1, 1].Formatter = new GrapeCity.Xaml.SpreadSheet.Data.GeneralFormatter("0.00"); gcSpreadSheet1.Sheets[0].Cells[1, 1].Value = 123; private void Button_Click_1(object sender, RoutedEventArgs e) { gcSpreadSheet1.Sheets[0].Cells[1, 1].ResetFormatter(); }
Dim formatter As New GrapeCity.Xaml.SpreadSheet.Data.GeneralFormatter("0.00") GcSpreadSheet1.Sheets(0).Cells(1, 1).Formatter = formatter GcSpreadSheet1.Sheets(0).Cells(1, 1).Value = 123 Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs) GcSpreadSheet1.Sheets(0).Cells(1, 1).ResetFormatter() End Sub
Target Platforms: Windows Server 2012, Windows RT