GrapeCity MultiRow Windows Forms Documentation
Multiline Property (CellStyle)


Gets or sets a value that indicates whether the text is shown in multiple lines.
Syntax
<DefaultValueAttribute()>
<SRCategoryAttribute("TextAppearance")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRDescriptionAttribute("Indicates whether the cell text can span more than one line.")>
Public Property Multiline As MultiRowTriState
Dim instance As CellStyle
Dim value As MultiRowTriState
 
instance.Multiline = value
 
value = instance.Multiline
[DefaultValue()]
[SRCategory("TextAppearance")]
[RefreshProperties(RefreshProperties.Repaint)]
[SRDescription("Indicates whether the cell text can span more than one line.")]
public MultiRowTriState Multiline {get; set;}

Property Value

One of MultiRowTriState values. The default is MultiRowTriState.Inherit.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not a MultiRowTriState value.
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 © GrapeCity, inc. All rights reserved.