This question is locked. New answers and comments are not allowed.
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>
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>