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.

Enlarge Picture on a col

Thread ID:

Created:

Updated:

Platform:

Replies:

75566 Jul 30,2008 10:20 AM Aug 5,2008 05:39 AM Windows Forms 1
loading
Tags: GridControl
reza fotovat
Asked On July 30, 2008 10:20 AM

Hello. Currently I am using a ggc with a picture col.
I want to make it so that if I hold the mouse cursor over the picture of one of the rows, the picture is enlarged... then when I move the mouse away it shrinks back into the first size.

Is this possible with gridgroupingcomtrol? If so can somebody point me on the right track, or tell me what approach i need to take?


Nisha Arockiya A [Syncfusion]
Replied On August 5, 2008 05:39 AM

Hi Reza,

Thanks for your interest in Syncfusion products.

I could able to see the issue of Enlarge picture on a column that you have mentioned here.
You can solve this by adding gridGroupingControl1_TableControlCellMouseHoverLeave and
gridGroupingControl1_TableControlCellMouseHoverEnter events.
In that trigger PrepareViewStyleInfo event and check for CellType using
e.Style.CellType.ToString() == "Image".
Then use

e.Style.ImageSizeMode = GridImageSizeMode.Normal;
and
e.Style.ImageSizeMode = GridImageSizeMode.StretchImage;

Please let me know whether this satisfies your need.

Regards,
Nisha.

>Hello. Currently I am using a ggc with a picture col.
I want to make it so that if I hold the mouse cursor over the picture of one of the rows, the picture is enlarged... then when I move the mouse away it shrinks back into the first size.

Is this possible with gridgroupingcomtrol? If so can somebody point me on the right track, or tell me what approach i need to take?




CONFIRMATION

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.

;