Thank you for writing.
This property has a private setter, so you would need reflection in order to change it:
IPivotFieldInfo myFieldInfo =
PropertyInfo pi = myFieldInfo.GetType().GetProperty(
, BindingFlags.Public | BindingFlags.Instance);
FieldRoles myRole = FieldRoles.Column;
If you provide me with additional information of what exactly you are trying to accomplish, perhaps we could also find a different solution.
I hope this helps. Should you have further questions please do not hesitate to write back.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items