RadPictureRotatorHubTile Style Syntax Errors

2 posts, 0 answers
  1. Jason
    Jason avatar
    1 posts
    Member since:
    Feb 2014

    Posted 10 Feb 2014 Link to this post

    I have create a copy style, this is an extract from it. The properties FirstContent and SecondContent are coming up with errors :-

    The member "FirstContent" is not recognized or is not accessible.
    The member "SecondContent" is not recognized or is not accessible.

    I'm basically trying to get the rotating images to fill my 220x220 tile whether they are landscape or portrait!!

    <StackPanel x:Name="PART_Panel">
    <Canvas Height="{TemplateBinding Height}" Width="{TemplateBinding Width}">
    <Grid x:Name="PART_FirstContent" Width="396" Height="396" Margin="-160,0,0,0" VerticalAlignment="Center">
    <ContentPresenter Content="{TemplateBinding FirstContent}" VerticalAlignment="Center"/>
    </Grid>
    </Canvas>
    <Canvas Height="{TemplateBinding Height}" Width="{TemplateBinding Width}" VerticalAlignment="Center">
    <Grid Width="396" Height="396" Margin="-160,0,0,0" >
    <ContentPresenter Content="{TemplateBinding SecondContent}" VerticalAlignment="Center"/>
    </Grid>
    </Canvas>
    </StackPanel>
    </Canvas>
  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 13 Feb 2014 Link to this post

    Hi Jason,

    Based on this code snippet alone we cannot say what exactly happens.

    Can you please send us your whole project and we will try to help?

    You will have to open a new support ticket to be able to attach your project.

    Regards,
    Deyan
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peek previews directly from the developers working on the UI for Windows Phone, subscribe to the blog feed now.
  3. DevCraft banner
Back to Top