Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Using DataCells option when doing PerformAutoSize on a field
posted

Hi,

I'm trying to use:

Field.PerformAutoSize(FieldAutoSizeOptions.DataCells, FieldAutoSizeScope.RecordsInView) 

on a Field with a custom CellValuePresenter, but I could do with some guidance as to how this works, as I'm finding that some of my data is being truncated (no doubt due to some padding/margin values within the template). 

Is there a way to shrink the field width to the largest (TextBlock) content AND keep a small amount of custom margin around that?

Regards,

Simon