Open patrik-u opened 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>
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: