Hi !
I need an equivalent in the code file:
<templates:JobObjectTemplate BindingContext="{Binding JobObject}"
ItemHeight="{Binding Source={x:Reference This}, Path=ItemHeight}"/>
This my method, but it does not work:
private JobObjectTemplate CreateJobView(JobObject jo)
{
var template = new JobObjectTemplate
{
BindingContext = jo,
};
template.SetBinding(ItemHeightProperty, "ItemHeight");
template.ItemHeight = ItemHeight;
return template;
}
I want to bind two bindableProperty through the code using multiple BindingContext.