GrapeCity MultiRow Windows Forms Documentation
ImageAlign Property (ImageCell)


Gets or sets the image alignment for the image cell.
Syntax
<LocalizableAttribute(True)>
<DefaultValueAttribute()>
<SRCategoryAttribute("Appearance")>
<SRDescriptionAttribute("Indicates the alignment of the image displayed on the Cell.")>
Public Property ImageAlign As ContentAlignment
Dim instance As ImageCell
Dim value As ContentAlignment
 
instance.ImageAlign = value
 
value = instance.ImageAlign
[Localizable(true)]
[DefaultValue()]
[SRCategory("Appearance")]
[SRDescription("Indicates the alignment of the image displayed on the Cell.")]
public ContentAlignment ImageAlign {get; set;}

Property Value

One of the System.Drawing.ContentAlignment values. The default is System.Drawing.ContentAlignment.MiddleCenter.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe specified value is not one of the System.Drawing.ContentAlignment values.
Remarks
This property takes effect when you set the ImageLayout property to ImageCellLayout.Normal. If you set ImageLayout to ImageCellLayout.Zoom, the image is always shown in the center of this cell.
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

ImageCell Class
ImageCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.