Background image not showing

3 posts, 0 answers
  1. Jan
    Jan avatar
    10 posts
    Member since:
    Sep 2011

    Posted 09 Apr 2013 Link to this post

    I am just giving TileList control a spin to see if it is an option for existing application.
    I am having a problem with the background. In VS2012 XAML Designer the background is shown but when I run the program the background is White.
    Any suggestions?
    <UserControl x:Class="RadControlsSilverlightApp1.MainPage"
            mc:Ignorable="d" d:DesignWidth="1024" d:DesignHeight="768">
        <Grid x:Name="LayoutRoot">
                <Style TargetType="TextBlock" x:Key="TileLabelStyle">
                    <Setter Property="FontSize" Value="32" />
                    <Setter Property="FontFamily" Value="Arial" />
                    <Setter Property="FontWeight" Value="Bold" />
                    <Setter Property="Padding" Value="0 0 0 30" />
                    <Setter Property="Foreground" Value="Black" />
                    <Setter Property="VerticalAlignment" Value="Bottom"/>
                    <Setter Property="TextAlignment" Value="Center"/>
            <telerik:RadTileList x:Name="RadTileList" ScrollViewer.HorizontalScrollBarVisibility="Visible" SelectionChanged="RadTileList_SelectionChanged" >
                    <Image Source="Images/background-Incare1080p.jpg" />
                <telerik:Tile TileType="Quadruple" Background="Transparent" >
                        <Image Source="Buttons/CalendarBtn.png" />
                        <TextBlock Text="Kalender" Style="{StaticResource TileLabelStyle}" />
  2. Maya
    Maya avatar
    4062 posts

    Posted 11 Apr 2013 Link to this post

    Hello Jan,

    I have tested the case on our demos and the background image there is displayed without any problems. Is there anything more specific that you do ?  

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
  4. Jan
    Jan avatar
    10 posts
    Member since:
    Sep 2011

    Posted 12 Apr 2013 Link to this post

    Thanks Maya

    I did use the demo code as a starting point.
    Tuned out to be a rookie mistake of sorts. I had not added the folder & file to the project.
    The fact that XAML Designer did show the background muddled the Waters.

Back to Top