GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfo Class : ResetStrikethrough Method |
'Declaration Public Overridable Sub ResetStrikethrough()
'Usage Dim instance As StyleInfo instance.ResetStrikethrough()
public virtual void ResetStrikethrough()
GrapeCity.Windows.SpreadSheet.Data.StyleInfo style = new GrapeCity.Windows.SpreadSheet.Data.StyleInfo("TextStyle"); style.Underline = true; style.Strikethrough = false; gcSpreadSheet1.Sheets[0].NamedStyles.Add(style); gcSpreadSheet1.Sheets[0].Cells[0, 0].StyleName = "TextStyle"; gcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "Style"; listBox1.Items.Add(style.IsStrikethroughSet().ToString()); listBox1.Items.Add(style.IsUnderlineSet().ToString()); //style.ResetStrikethrough(); //style.ResetUnderline();
Dim style As New GrapeCity.Windows.SpreadSheet.Data.StyleInfo("TextStyle") style.Underline = True style.Strikethrough = False GcSpreadSheet1.Sheets(0).NamedStyles.Add(style) GcSpreadSheet1.Sheets(0).Cells(0, 0).StyleName = "TextStyle" GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "Style" listBox1.Items.Add(style.IsStrikethroughSet().ToString()) listBox1.Items.Add(style.IsUnderlineSet().ToString()) 'style.ResetStrikethrough() 'style.ResetUnderline()
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)