RadSlideHubTile - wrap text

6 posts, 0 answers
  1. Tomasz
    Tomasz avatar
    20 posts
    Member since:
    Apr 2012

    Posted 28 May 2014 Link to this post

    Is there a way to make the Title in RadSLideHubTile wrap?
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 31 May 2014 Link to this post

    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.

     
  3. DevCraft banner
  4. Tomasz
    Tomasz avatar
    20 posts
    Member since:
    Apr 2012

    Posted 02 Jun 2014 in reply to Victor Link to this post

    Any samples of that?
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 03 Jun 2014 Link to this post

    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.

     
  6. Tomasz
    Tomasz avatar
    20 posts
    Member since:
    Apr 2012

    Posted 03 Jun 2014 in reply to Victor Link to this post

    ok thanks :)

    I also need to do that for the MosaicHubTile but it doesn't have the TitleTemplate property :/
  7. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 05 Jun 2014 Link to this post

    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.

     
Back to Top
DevCraft banner