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.
Syncfusion Feedback

Templating the HubTile

Thread ID:

Created:

Updated:

Platform:

Replies:

110183 Jul 23,2013 03:23 PM UTC Sep 3,2014 05:44 PM UTC Windows Phone 4
loading
Tags: SfHubTile
Ron Gramann
Asked On July 23, 2013 03:23 PM UTC

I have a requirement which requires that I change some of the functionality of the HubTile, namely the Primary content which appears to be set by the ImageSource property, however, additional access to the underlying image is prohibited.  I would like to set the Stretch property of the image, at the moment if I have a 500x500 image places in a 200x200 HubTile, the image is not stretched.

I've tried to template the HubTile in Blend, but am prevented from accessing the underlying default template.

Suggestions?  Recommendations?

 

Cheers,

 

Ron

 


Ron Gramann
Replied On July 25, 2013 10:56 AM UTC

Not to be annoying, but I'm going to need an answer to this question to make a decision whether to use this control or not.  There is a 3 pixel margin around the Content of the tile, and it appears that modifying my Content or ContentTemplate has no effect on this margin.  My requirements are that the image fill the entire area without margins.

Thanks


Vignesh V [Syncfusion]
Replied On July 25, 2013 11:52 AM UTC

Hi Ron,

We have prepared a sample to achieve your requirement of 'modifying the hubtile images sizes'. In the sample we have modified the HubTile style and defined 3 new keys Imagewidth, Imageheight and Imagestretch to stretch the image.

Please find the sample in below link,


Check if sample meets your requirement,else please get back to us.

Regards,
Vignesh V

Mageshyadav M [Syncfusion]
Replied On July 26, 2013 12:53 PM UTC

Hi Ron,

 

We have modified the sample to remove the margin for customizing the image size completely to fit  with Hubtile control.

 

Please find the modified sample from the following  location,

 

110183_HubTile.zip

 

Please let us know whether the sample assists your requirement.

 

Regards,

Mageshyadav.M


TAE HWAN KIM
Replied On September 3, 2014 05:44 PM UTC

I need this sample too

but link seems dead


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

;