Hi,
default values for Property
doesn’t seem to work. Not sure if bug or I’m doing it wrong…
Here is a test case :
MainView.ux :
<App Theme="Basic">
<MyComponent/> <!-- in the center -->
<!-- <MyComponent RectAlignment="BottomLeft"/> --> <!-- Will be in the bottomleft -->
</App>
MyComponent.ux :
<Panel ux:Name="myComponent" ux:Class="MyComponent">
<Alignment ux:Property="RectAlignment" ux:Value="BottomRight" />
<Rectangle Height="200" Width="200" Fill="Blue" Alignment="{Property myComponent.RectAlignment}"/>
</Panel>
PS : maybe not the best test case as it also shows this problem : https://www.fusetools.com/community/forums/bug_reports/alignment_property_preventing_the_project_to_build
Please launch the preview before copy/pasting this code