Spread Silverlight Documentation
IsStrikethroughSet Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfo Class : IsStrikethroughSet Method
Gets or sets a value that indicates whether Strikethrough is set.
Syntax
'Declaration
 
Public Overridable Function IsStrikethroughSet() As System.Boolean
'Usage
 
Dim instance As StyleInfo
Dim value As System.Boolean
 
value = instance.IsStrikethroughSet()
public virtual System.bool IsStrikethroughSet()
Example
This example uses the IsStrikethroughSet method.
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()
See Also

Reference

StyleInfo Class
StyleInfo Members