这是我的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>
我无法从MainPage.xaml.cs访问 RecordButton 或 SaveImage ...怎么做?