GrapeCity MultiRow Windows Forms Documentation
TextAdjustment Property (CellNoteStyle)


Gets or sets how to adjust the text layout.
Syntax
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAdjustmentEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRCategoryAttribute("TextAppearance")>
<SRDescriptionAttribute("Indicates how to do adjustment in the layout of text.")>
<DefaultValueAttribute()>
Public Property TextAdjustment As TextAdjustment
Dim instance As CellNoteStyle
Dim value As TextAdjustment
 
instance.TextAdjustment = value
 
value = instance.TextAdjustment
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAdjustmentEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[RefreshProperties(RefreshProperties.Repaint)]
[SRCategory("TextAppearance")]
[SRDescription("Indicates how to do adjustment in the layout of text.")]
[DefaultValue()]
public TextAdjustment TextAdjustment {get; set;}

Property Value

One of the TextAdjustment values. The default is TextAdjustment.Inherit.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe specified value is not one of the TextAdjustment values.
Remarks

This property is for arranging the text. To change the text position, use the TextAlign property.

Note:
The TextAdjustment.Justify, TextAdjustment.Distribute, and TextAdjustment.DistributeWithSpace values only take effect when the UseCompatibleTextRendering property is set to 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

CellNoteStyle Class
CellNoteStyle Members

 

 


Copyright © GrapeCity, inc. All rights reserved.