GrapeCity.Xaml.SpreadSheet.Data Namespace > StyleInfo Class : WordWrap Property |
'Declaration <DefaultValueAttribute()> Public Property WordWrap As Boolean
'Usage Dim instance As StyleInfo Dim value As Boolean instance.WordWrap = value value = instance.WordWrap
[DefaultValue()] public bool WordWrap {get; set;}
true
if the content supports word wrap; otherwise, false
. The default value is false
.GrapeCity.Xaml.SpreadSheet.Data.StyleInfo style = new GrapeCity.Xaml.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.Xaml.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()
Target Platforms: Windows Server 2012, Windows RT