We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Align image in a cell

How can I align an image at a GridControl cell (left, right, center, upleft etc.)

1 Reply

AD Administrator Syncfusion Team April 19, 2004 01:03 PM UTC

Hi Daniel, You can use this code to align (Left, Center and Right). this.gridControl[1,1].HorizontalAlignment = Syncfusion.Windows.Forms.Grid.GridHorizontalAlignment.Right; Also you can specify the ImageSize using the ImageSizeMode property this.gridControl[1,1].ImageSizeMode = GridImageSizeMode.CenterImage Regards, Jay N.

Loader.
Live Chat Icon For mobile
Up arrow icon