C1.Win.C1FlexGrid Namespace > CellStyle Class : WordWrap Property |
'Declaration
<C1DescriptionAttribute("Gets or sets whether strings should automatically wrap.")> <DefaultValueAttribute()> <BrowsableAttribute(True)> <RefreshPropertiesAttribute(RefreshProperties.Repaint)> Public Property WordWrap As Boolean
'Usage
Dim instance As CellStyle Dim value As Boolean instance.WordWrap = value value = instance.WordWrap
[C1Description("Gets or sets whether strings should automatically wrap.")] [DefaultValue()] [Browsable(true)] [RefreshProperties(RefreshProperties.Repaint)] public bool WordWrap {get; set;}
[C1Description("Gets or sets whether strings should automatically wrap.")] [DefaultValue()] [Browsable(true)] [RefreshProperties(RefreshProperties.Repaint)] public: property bool WordWrap { bool get(); void set ( bool value); }
This property determines whether the grid should automatically break long strings that contain spaces and display them in multiple lines.
String that contain hard line breaks (vbCrLf or "\n\r") are always displayed in multiple lines.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2