GrapeCity MultiRow Windows Forms Documentation
TextVertical Property (CellStyle)


Gets or sets a value that indicates whether the text is shown vertically.
Syntax
<SRCategoryAttribute("TextAppearance")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRDescriptionAttribute("Indicates whether the text is displayed vertically. The direction is not applied if the UseCompatibleTextRendering property is set to False, regardless of the value of the TextVertical property. Note: The cell text position may not match between edit mode and non-edit mode when the UseCompatibleTextRendering's value is True.")>
<DefaultValueAttribute()>
Public Property TextVertical As MultiRowTriState
Dim instance As CellStyle
Dim value As MultiRowTriState
 
instance.TextVertical = value
 
value = instance.TextVertical
[SRCategory("TextAppearance")]
[RefreshProperties(RefreshProperties.Repaint)]
[SRDescription("Indicates whether the text is displayed vertically. The direction is not applied if the UseCompatibleTextRendering property is set to False, regardless of the value of the TextVertical property. Note: The cell text position may not match between edit mode and non-edit mode when the UseCompatibleTextRendering's value is True.")]
[DefaultValue()]
public MultiRowTriState TextVertical {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.
Remarks
Note:
This property only takes effect when the UseCompatibleTextRendering property value is MultiRowTriState.True.
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.