SettingsSerializer Methods |
The SettingsSerializer type exposes the following members.
Name | Description | |
---|---|---|
AddBooleanSetting |
Add a boolean object to serialize
| |
AddControlSetting |
Add a Control to serialize.
Supported: CheckBox.Checked, RadioButton.Checked, NumericUpDown.Value, ListBox.Items(string[]), Panel.Width/Height, TextBox.Text
Supported: ComboBox.Text(ComboBoxStyle.DropDown), Form.Left/Top/Width/Height, TrackBar.Value, CheckedListBox.Items(string[])/(ItemChecked)
Supported: PictureBox.BackColor, Button.Text/Font
| |
AddDirectoryInfoSetting |
Add a DirectoryInfo object to serialize
| |
AddIntSetting |
Add an Int32 object to serialize
| |
AddLongSetting |
Add an Int64 object to serialize
| |
AddStringSetting |
Add a String object to serialize
| |
Dispose | ||
ExportToXml |
Serializes all of the objects currently added to XML
| |
Finalize | (Overrides ObjectFinalize.) | |
FinializeComboBoxes |
During deserialization of ComboBoxes they are temporarily set as DropDown style to select the old value. This step returns all ComboBoxes to their original style and selects the correct index.
| |
ImportFromXml |
Import the serialized settings from the XML pull parser
| |
RemoveControlSetting |