Windows Forms Configuration Section

Windows Forms configuration settings allow a Windows Forms app to store and retrieve information about customized application settings such as multi-monitor support, high DPI support, and other predefined configuration settings.

Windows Forms application configuration settings are stored in an application configuration file's System.Windows.Forms.ApplicationConfigurationSection element.



Attributes and elements

The following sections describe attributes, child elements, and parent elements.



Child elements

Element Description
<add> Adds a configuration setting key with a specified value

Parent elements

Element Description
<configuration> The root element in every configuration file used by the common language runtime and Windows Forms applications


Starting with the .NET Framework 4.7, the <System.Windows.Forms.ApplicationConfigurationSection> element allows you to configure Windows Forms applications to take advantage of features added in recent releases of the .NET Framework.

The <System.Windows.Forms.ApplicationConfigurationSection> element can include one or more child <add> elements, each of which defines a specific configuration setting.

See also