Description
in css you can use "tag1 tag2 tag3 { <tag3 settings> }" to target layout and style settings only at instances of tag3 that exist as children of tag2 that exist as instance of tag1. The above documentation doesn't cover how to do this with uwp resource style settings, for example for TextBlock instances that exist as children at any level below StackPanel that is child of root Grid container. I find lots of hits on web talking about how to do this but all I've found so far cover how it was down with original WPF or follow on WinRT xaml development not current Uwp xaml development. Maybe there is a specific hit out there that covers this well that I have yet to tease out of search results but given its not readily at top of searches like "uwp css descendant selector equivalent" then I suggest it be covered here or least a link to the correct details on this matter provided here.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 4dd00996-b747-3d87-6df6-bbeaea8511cd
- Version Independent ID: 469cf671-0064-27f5-13ce-944cf3973d7c
- Content: XAML styles - UWP app developer
- Content Source: windows-apps-src/design/controls-and-patterns/xaml-styles.md
- Product: uwp
- GitHub Login: @jwmsft
- Microsoft Alias: jimwalk