GrapeCity MultiRow Windows Forms Documentation
ImageAlign Property (CellStyle)


Gets or sets the image alignment of the Cell.
Syntax
<SRDescriptionAttribute("Indicates the alignment of the image displayed on the cell.")>
<DefaultValueAttribute()>
<SRCategoryAttribute("Appearance")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Property ImageAlign As MultiRowContentAlignment
Dim instance As CellStyle
Dim value As MultiRowContentAlignment
 
instance.ImageAlign = value
 
value = instance.ImageAlign
[SRDescription("Indicates the alignment of the image displayed on the cell.")]
[DefaultValue()]
[SRCategory("Appearance")]
[RefreshProperties(RefreshProperties.Repaint)]
public MultiRowContentAlignment ImageAlign {get; set;}

Property Value

A MultiRowContentAlignment value. The default is MultiRowContentAlignment.Inherit.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe specified value is not a MultiRowContentAlignment value.
Remarks
Note:
This property only takes effect when the TextImageRelation property value is MultiRowTextImageRelation.Overlay; otherwise, the Image is aligned with the text using the TextAlign 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

CellStyle Class
CellStyle Members

 

 


Copyright © GrapeCity, inc. All rights reserved.