GrapeCity MultiRow Windows Forms Documentation
TextAlign Property (CellNoteStyle)


Gets or sets the text alignment of the CellNote.
Syntax
<SRCategoryAttribute("TextAppearance")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAlignEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")>
<SRDescriptionAttribute("Indicates the alignment of text that will be displayed on the CellNote.")>
<DefaultValueAttribute()>
Public Property TextAlign As MultiRowContentAlignment
Dim instance As CellNoteStyle
Dim value As MultiRowContentAlignment
 
instance.TextAlign = value
 
value = instance.TextAlign
[SRCategory("TextAppearance")]
[RefreshProperties(RefreshProperties.Repaint)]
[Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="GrapeCity.Win.MultiRow.Design.TextAlignEditor, GrapeCity.Win.MultiRow, Version=7.20.20141.0, Culture=neutral, PublicKeyToken=0f7a722ee3c2bdd9")]
[SRDescription("Indicates the alignment of text that will be displayed on the CellNote.")]
[DefaultValue()]
public MultiRowContentAlignment TextAlign {get; set;}

Property Value

One of the MultiRowContentAlignment values. The default is MultiRowContentAlignment.Inherit.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe specified value is not one of the MultiRowContentAlignment values.
Remarks
This property represents the text position within a CellNote. To change the text arrangement, use the TextAdjustment property.
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.