This is a migrated thread and some comments may be shown as answers.

RadSlideHubTile - wrap text

5 Answers 28 Views
HubTile
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Tomasz
Top achievements
Rank 1
Tomasz asked on 28 May 2014, 11:14 AM
Is there a way to make the Title in RadSLideHubTile wrap?

5 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 31 May 2014, 11:03 AM
Hello Tomasz,

Thanks for the question.
Currently you have to redefine the control template to make the text wrap. This is really inconvenient so we added a TitleTemplate property to all hub tiles. You can specify a data template and modify the text as required.

The new TitleTemplate property will be available in the next internal build.
Please write again if you have more questions.

Regards,
Victor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Tomasz
Top achievements
Rank 1
answered on 02 Jun 2014, 01:26 PM
Any samples of that?
0
Victor
Telerik team
answered on 03 Jun 2014, 07:53 AM
Hi Tomasz,

Thanks for writing.
If memory serves, RadSlideHubTile has had a TitleTemplate property from the beginning. Try setting it to this data template:
<DataTemplate>
    <Grid>
        <TextBlock Text="{Binding}"
                   TextWrapping="Wrap"/>
    </Grid>
</DataTemplate>


Regards,
Victor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Tomasz
Top achievements
Rank 1
answered on 03 Jun 2014, 07:58 AM
ok thanks :)

I also need to do that for the MosaicHubTile but it doesn't have the TitleTemplate property :/
0
Victor
Telerik team
answered on 05 Jun 2014, 08:36 AM
Hello Tomasz,

Thanks for writing.
The new TitleTemplate property will be available on all tiles in an internal build that will be ready for download later today. Please try it out and let us know if you need further assistance.

Regards,
Victor
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
HubTile
Asked by
Tomasz
Top achievements
Rank 1
Answers by
Victor
Telerik team
Tomasz
Top achievements
Rank 1
Share this question
or