Skip to content

[AncestorBinding] add option to support crawling across popup/flyout+host boundary #1135

@Xiaoy312

Description

@Xiaoy312

What would you like to be added:

<Button>
	<Button.Flyout>
		<Flyout>
			<Button DataContext="{utu:AncestorBinding AncestorType=Button, Path=DataContext...}" />

Why is this needed:

When materialized, the inner button is under the popup branch separate from the outer button's causing the crawling to fail.

For which Platform: all

Anything else we need to know?

Can we even trace back the associated host from the flyout/popup itself?
unoplatform/Uno.Samples#681

Metadata

Metadata

Assignees

Labels

control/extensions-helpers-markupRelated to attached properties, helper classes, or markup extensions without a finer tagkind/enhancementNew feature or request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions