Can we define a style that will target "all TextBlock elements inside Border elements of style XXX"?
I have a style <Style TargetType="Border" x:Key="XXX"> and I want all TextBlocks inside Borders with style XXX to have red Foreground.
In CSS it would look like this:
<html>
<head>
<style>
p { color: red; }
p.XXX { color: green; }
p.XXX span { color: blue; }
</style>
</head>
<body>
<p>red text</p>
<p class="XXX">green text</p>
<p class="XXX">green text <span>and blue text</span></p>
</body>
</html>