Spread Silverlight Documentation
ResetWordWrap Method (StyleInfo)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > StyleInfo Class : ResetWordWrap Method
Resets the WordWrap property to its default value.
Syntax
'Declaration
 
Public Overridable Sub ResetWordWrap() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetWordWrap()
public virtual void ResetWordWrap()
Example
This example uses the ResetWordWrap method.
GrapeCity.Windows.SpreadSheet.Data.StyleInfo style = new GrapeCity.Windows.SpreadSheet.Data.StyleInfo();
style.WordWrap = true;
style.Name = "Style1";
GcSpreadSheet1.ActiveSheet.NamedStyles.Add(style);
GcSpreadSheet1.ActiveSheet.Cells[0, 0].StyleName = "Style1";
ListBox1.Items.Add(style.IsWordWrapSet.ToString());
//style.ResetWordWrap();
Dim style As New GrapeCity.Windows.SpreadSheet.Data.StyleInfo()
style.WordWrap = True
style.Name = "Style1"
GcSpreadSheet1.ActiveSheet.NamedStyles.Add(style)
GcSpreadSheet1.ActiveSheet.Cells(0, 0).StyleName = "Style1"
ListBox1.Items.Add(style.IsWordWrapSet.ToString())
'style.ResetWordWrap()
See Also

Reference

StyleInfo Class
StyleInfo Members