GrapeCity.Xaml.SpreadSheet.Data
IsWordWrapSet Method
Example 


Gets a value that indicates whether the word wrap of the cell contents (WordWrap property) is set.
Syntax
'Declaration
 
Public Overridable Function IsWordWrapSet() As Boolean
'Usage
 
Dim instance As StyleInfo
Dim value As Boolean
 
value = instance.IsWordWrapSet()
public virtual bool IsWordWrapSet()

Return Value

true if the word wrap of the cell contents (WordWrap property) is set; otherwise, false.
Example
This example sets the IsWordWrapSet method.
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()
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

StyleInfo Class
StyleInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options