Let’s say I have this CustomElement.ux
<Panel ux:Class="CustomElement" ux:AutoCtor="false">
</Panel>
And a class for it:
public partial class CustomElement
{
private float _MyValue = 0f;
public float MyValue
{
get{
return _MyValue;
}
set
{
debug_log value;
_MyValue = value;
}
}
public CustomElement()
{
InitializeUX();
}
}
How can I make that MyValue available from outside of this element. Like:
<CustomElement MyValue="1" />