I have the following
<ControlTemplate x:Key="RoundedTopPanel" TargetType="{x:Type ContentControl}">
<Grid>
<Border CornerRadius="9.5, 9.5, 0, 0" Padding="10" >
<ContentPresenter/>
</Border>
</Grid>
</ControlTemplate>
and then use it as
<ContentControl Template="{StaticResource RoundedTopPanel}" Grid.Row="1" Grid.Column="0"
cal:RegionManager.RegionName="{x:Static Config:RegionNames.Region1}" />
I want to bind the Content Control to the visibility of the unknown usercontrol that is added to the ContentControl. Is this possible in pure XAML?