Thanks for the reply Paradeep, i don't think i'm explaining too well thought as you've both given good explanations of how to get the object a row is bound to, and information about it's columns, but for my purpose that's not enought.

I don't know at compile time what textbox is bound to what property of the dataitem.

In order to set the maxlength of a bound textbox appropriately i need to know the data the textbox is bound to, and the column/property it's bound to.

Thanks for your patience!