Question

Here is my MainPage.xaml :

<Grid x:Name="LayoutRoot" Background="Transparent">

    <!--Pivot Control-->
    <phone:Pivot Title="{Binding Path=LocalizedResources.ApplicationTitle, Source={StaticResource LocalizedStrings}}">

        <!--Pivot record-->
        <phone:PivotItem Header="record">
            <StackPanel>
                 <Button Click="Record" Name="RecordButton" Width="260" Height="260">
                      <Image Name="SaveImage" Source="Assets/Pictures/save.png" Width="140" />
                 </Button>
            </StackPanel>
        </phone:PivotItem>
    </phone:Pivot>
</Grid>

I'm not able to access RecordButton or SaveImage from MainPage.xaml.cs... How to do it?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top