Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
<configuration>
<System.Windows.Forms.ApplicationConfigurationSection>
...
</System.Windows.Forms.ApplicationConfigurationSection>
</configuration>
Attributes and elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
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 |
Remarks
Starting with .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.