Hi,
I'm trying to resize an element at bind based on properties of the data. I have a barcode object in a group header that is large for the first group and smaller for the subsequent groups. I want to resize the barcode and group header accordingly.
My data is in a DataTable and I have set two columns, for each height containing a Unit.Cm() with the required values. I've put these where I think they should go, in the relevant Bindings section with an expression equal to the columns.
However, at runtime I get a red box containing the error "Bindings error - an error occured while invocing the setter on property 'Height' with valuue '2.5cm'"
Please could you explain what I am doing wrong as there doesn't seem to be much documentation regarding using Bindings to change elements during the Bind events.
Thanks in advance
I'm trying to resize an element at bind based on properties of the data. I have a barcode object in a group header that is large for the first group and smaller for the subsequent groups. I want to resize the barcode and group header accordingly.
My data is in a DataTable and I have set two columns, for each height containing a Unit.Cm() with the required values. I've put these where I think they should go, in the relevant Bindings section with an expression equal to the columns.
However, at runtime I get a red box containing the error "Bindings error - an error occured while invocing the setter on property 'Height' with valuue '2.5cm'"
Please could you explain what I am doing wrong as there doesn't seem to be much documentation regarding using Bindings to change elements during the Bind events.
Thanks in advance