I use a third party control which exports some data to different formats. The control has a property ExportSettings
. But it is read-only.
I've to manually set its properties like
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 can I copy all its member values to the user control?