GrapeCity MultiRow Windows Forms Documentation
TextIndent Property (CellStyle)


Gets or sets the text indent of the Cell.
Syntax
<SRCategoryAttribute("TextAppearance")>
<SRDescriptionAttribute("Indicates the text indent that is displayed in the cell.")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<DefaultValueAttribute()>
Public Property TextIndent As Integer
Dim instance As CellStyle
Dim value As Integer
 
instance.TextIndent = value
 
value = instance.TextIndent
[SRCategory("TextAppearance")]
[SRDescription("Indicates the text indent that is displayed in the cell.")]
[RefreshProperties(RefreshProperties.Repaint)]
[DefaultValue()]
public int TextIndent {get; set;}

Property Value

A System.Int32 value that represents the text indent of the Cell. The default is -1 which means the value is inherited.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe assigned value is less than -1.
Remarks
Note:
This property only takes effect when the TextAdjustment property value is TextAdjustment.Near or TextAdjustment.Far. The indent is before the text when TextAdjustment is Near and after the text when TextAdjustment is Far.
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.