How change a property between 2 (.ux) Files.

Hi everyone,

I had a problem when I try to set a property between 2 “.ux” files, for example I want to change the property “Height” of a “Rectangle” (called “RectangleSubView”) inside the SubView.ux

Zipped Files: https://fuseweb.azureedge.net/forum-user-uploads/2016/08/22/aMu7N2XOJDib-legacy-files-6okJNgbQczmhrb3t-bCTLXtgerASsYuAD2ZikCpNx.zip


```ux
        <Button Text="Change in MainView (+)">

            <Clicked>
                <Set Target="RectangleMainView.Height" Increment="10"/>
            </Clicked>

        </Button>

        <Button Text="Change in MainView (-)">

            <Clicked>
                <Set Target="RectangleMainView.Height" Increment="-10"/>
            </Clicked>

        </Button>


        <Rectangle ux:Name="RectangleMainView" Width="250" Height="50" Background="#FF0000" />


        <!-- SubView Buttons Controllers -->


        <Button Text="Change in SubView (+)">
            <Clicked>
                <!-- How I must to set the "Target" to change the "Height" value -->
                <!-- <Set Target="RectangleSubView.Height" Increment="10"/> -->
            </Clicked>
        </Button>

        <Button Text="Change in SubView (-)">
            <Clicked>
                <!-- How I must to set the "Target" to change the "Height" value -->
                <!-- <Set Target="RectangleSubView.Height" Increment="-10"/> -->
            </Clicked>
        </Button>


        <!-- Start the External UX (SubView.ux) -->
        <SubView />
        <!-- End the External UX (SubView.ux) -->

This is the External UX (File SubView.ux)


```ux
        <Panel ux:Class="SubView">
            <Rectangle ux:Name="RectangleSubView" Width="250" Height="50" Background="#CCCCCC" />
        </Panel>

Hi!

If you remove Width and Height form the Rectangle inside SubView it should be sized to whatever Height you give SubView. So you can do the following:

<Panel ux:Class="SubView">
      <Rectangle Background="#CCCCCC" />
</Panel>

In MainView.ux

<SubView Height="50" Width="250" />

If you put more stuff in your SubView class, you might have to resort to resource-bindings: https://www.fusetools.com/learn/fuse#-resource-s-and-ux-key-