You could use the Binding element and then save the settings on C++ side.