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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding an image to a Summary row cell in WPF

Thread ID:

Created:

Updated:

Platform:

Replies:

104397 Jul 16,2012 05:04 PM UTC Jul 17,2012 06:24 AM UTC WPF 1
loading
Tags: GridControl
Jared Stokes
Asked On July 16, 2012 05:04 PM UTC

Hello,

I was curious if it was possible to add an image to a Summary row cell in WPF?  Currently I am using the CellItemTemplate field from the GridDataVisibleColumn to display an icon along side my values in the main grid.  I want to extend this to Summary row, but I haven't found anything similar to the CellItemTemplate field in the GridDataSummaryColumn.  Is this possible?

Thanks

Rajasekar [Syncfusion]
Replied On July 17, 2012 06:24 AM UTC

Hi Jared,

 

Thank you for your update.

 

Yes, you can show images in the CaptionSummaryRow of the GridDataControl by using the Data Templates. You have to set the template key in QueryCellInfo event and you cannot set in XAML. And also, we already have sample for this in our dashboard, please check the sample in the below location,

 

Sample Location Path: $Installation-directory\Syncfusion\EssentialStudio\10.2.0.56\WPF\Grid.WPF\Samples\3.5\GridDataControl\Summaries\Customizing CaptionSummaryRow Demo\CS

 

For your reference, you can download the sample in the below location,

 

Sample.zip

 

Please let us know if you have any queries.

 

Thanks,

Rajasekar


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.

Warning Icon 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.Close Icon

;