Skip to content

missing details on how to style entries that target descendents  #1165

Open
@myusrn

Description

@myusrn

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions