<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0-preview.19073.11" />

IPersistComponentSettings

public interface IPersistComponentSettings
Defines standard functionality for controls or libraries that store and retrieve application settings.
bool SaveSettings { get; set; }

Gets or sets a value indicating whether the control should automatically persist its application settings properties.

string SettingsKey { get; set; }

Gets or sets the value of the application settings key for the current instance of the control.

Reads the control&#39;s application settings into their corresponding properties and updates the control&#39;s state.

Resets the control&#39;s application settings properties to their default values.

Persists the control&#39;s application settings properties.