FlexGrid for WinForms
WordWrap Property



Gets or sets whether long strings should automatically wrap within the cell.
Syntax
'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);
}
Remarks

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.

Requirements

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

See Also

Reference

CellStyle Class
CellStyle Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback