# Upcoming changes & fixes to ux:Property

**URL:** <https://forums.fusetools.com/t/upcoming-changes-fixes-to-ux-property/6471>\
**Category:** General\
**Created:** [December 23, 2015, 12:59pm UTC](https://forums.fusetools.com/t/upcoming-changes-fixes-to-ux-property/6471 "2015-12-23T12:59:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [December 23, 2015, 12:59pm UTC](https://forums.fusetools.com/t/upcoming-changes-fixes-to-ux-property/6471/1 "2015-12-23T12:59:39Z")

</div>

We’ve received quite a few bug reports and change suggestions for the recently introduced `ux:Property` feature. Based on your feedback, we’ve made lots of fixes and improvements.

This leads to the following changes:

A node marked with `ux:Property` no longer represents the default value, but just a definition of the property. The default value has to be specified either on the containing class node, for example:

```auto
<App Theme="Basic">
    <Panel ux:Class="MyPanel" ux:Name="self" Paint="#f00">
        <Brush ux:Property="Paint"/>

        <Rectangle Fill="{Property self.Paint}"/>
    </Panel>
    <Panel>
        <MyPanel Paint="#00f" />
    </Panel>
</App>

```

Or, you can use `ux:Binding` to set a complex object as default value:

```auto
<Panel ux:Class="MyPanel" ux:Name="self" >
    <Brush ux:Property="Paint"/>
    <LinearGradient ux:Binding="Paint">
        <GradientStop Offset="0" Color="#f00" />
        <GradientStop Offset="1" Color="#0f0" />
    </LinearGradient>

    <Rectangle Fill="{Property self.Paint}"/>
</Panel>

```

With this new syntax, you can define a propery of a base class, and use a derived class as default value, like here. This in turn fixes `{Property foo}` bindings which require source and destination to be the exact same type.

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [January 7, 2016, 12:31pm UTC](https://forums.fusetools.com/t/upcoming-changes-fixes-to-ux-property/6471/2 "2016-01-07T12:31:22Z")

</div>

Unfortunately, these changes don’t seem to make it for 0.9.6, but almost certainly the next version. Thanks for your patience!
