I use a third-party control that exports some data in different formats. The control has a property ExportSettings. But it is read-only.
I need to manually set its properties, for example
ctrl.ExportSettings.Paging = false;
ctr.ExportSettings.Background = Color.Red;
So, I get the ExportSettings object from the user, and I want to set it to the control.
How to copy all its values to a user control?
source
share