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.
Unfortunately, activation email could not send to your email. Please try again.

Align image in a cell

Thread ID:





13035 Apr 19,2004 08:20 AM Apr 19,2004 09:03 AM Windows Forms 1
Tags: GridControl
Daniel Bromand
Asked On April 19, 2004 08:20 AM

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

Administrator [Syncfusion]
Replied On April 19, 2004 09:03 AM

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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.