框架页如何获取父页面的控件
父页面包含了一个框架页
MainPage.xaml
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" BorderBrush="Transparent" > <navigation:Frame Source="/Views/RecvBoxPage.xaml" x:Name="contentFrame" BorderBrush="Transparent" HorizontalAlignment="Left" VerticalAlignment="Top"></navigation:Frame> </ScrollViewer> <Border x:Name="placeHolder" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Visibility="Collapsed" Opacity="0.765" Background="#FFF51919" Grid.ColumnSpan="2" Grid.RowSpan="12" />