Accessing a control which is in a contentpresenter in c#
问题 How to access a named control that is in the content template of the contentpresenter. how to access the webview control(x:name=detView) from cs file. <ContentPresenter x:Name="DetailContentPresenter" Grid.Row="0" BorderBrush="{ThemeResource SystemControlForegroundBaseLowBrush}" Content="{x:Bind coll.SelectedItem,Mode=OneWay}"> <ContentPresenter.ContentTemplate> <DataTemplate x:DataType="data:coll_Details" x:Name="ttt"> <Grid> <WebView DefaultBackgroundColor="#F5F5F5" x:Name="detView" Source=