Hello,
i created a custom editor according to your examples.
But I can not understand how the specific control in my layout = contentview (custom control) can be binded to the objectdata property.
In my opinion this is missing in your examples, but they seem to work :-). But maybe because always a simple entry is used.
In my case I have a content view with an entry, buttons, picker etc. The contentview has an bindable property I would like to bind. If this is not possible I could also use the entry as binding point.
Currently I achieved to show the property value by:
protected override void OnInitializeView(DataFormItem dataFormItem, CustomDateTimePickerV2 view)
{
if(((IntFxMobileData.DBModel.LiSA.CRM_AKT_AKTIVITAET_SYNC)this.DataForm.DataObject).AKT_DATUM_VON != null)
view.CurrentDateTime = ((IntFxMobileData.DBModel.LiSA.CRM_AKT_AKTIVITAET_SYNC)this.DataForm.DataObject).AKT_DATUM_VON_DATE; base.OnInitializeView(dataFormItem, view);
}
Thanks for any advice or hint!
Kind regards,
Robert