Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ActualWidth and ActualHeight dependency fields #57

Open
patrik-u opened this issue Aug 30, 2016 · 0 comments
Open

Make ActualWidth and ActualHeight dependency fields #57

patrik-u opened this issue Aug 30, 2016 · 0 comments
Labels

Comments

@patrik-u
Copy link

Make ActualWidth and ActualHeight into dependency fields that can be bound to in XUML. It's useful when working with percentage sized elements, e.g. if you want to offset a region:

<Region Id="RegionA" Width="{PercentageWidth}" Alignment="Left">
</Region>
<Region Id="RegionB" Margin="{RegionA.ActualWidth},0,0,0">
</Region>
@patrik-u patrik-u added the task label Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant