Is loading the controls from template by traversing through the VisualTree a right way?
问题 I have a custom control which has it's template defined and the template contains below code: <FlipView Grid.Row="3" Grid.ColumnSpan="2" x:Name="FlipView1" BorderBrush="Black" ItemsSource="{Binding ItemsCollection, RelativeSource={RelativeSource TemplatedParent}}"> <FlipView.ItemTemplate> <DataTemplate> <ScrollViewer> <Grid> <local:UserControlA x:Name="PART_UserControlA"/> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="100" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <local