ex-makina / marklight-issues

Public bug and issue tracker for MarkLight
1 stars 0 forks source link

Make ActualWidth and ActualHeight dependency fields #57

Open patrik-u opened 8 years ago

patrik-u commented 8 years ago

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>