Configuring external LCD display

I am setting up an external LCD display to replace the one built into ChipworkX. I have disconnected the one that ships with the board and connected my LCD to the optional RGB interface header.

However, I am confused about which code I need to configure the external RGB interface pins. I see two options:

Option 1:
var config = new Configuration.LCD.Configurations {
Width = 480,
Height = 800,
… etc
}
Configuration.LCD.Set(config);

Option 2:
Configuration.LCD.HeadlessConfig.Height = 800;
Configuration.LCD.HeadlessConfig.Width = 480;
… etc

Can you please tell me what the difference is?

nothing is really different between the two. one you are setting the settings to a collection the applying it the other you are setting the settings directly.

Good to know. Thanks!