The SettingsEditor
provides a centralized settings control that automatically renders all available settings controls (SettingsEditorItem
s) via reflections. That way the controls can easily be expanded without the need of a manual change to any settings menu.
Renders all
UserControl
s that implement theSettingsEditorItem
interface.The
SettingsEditorItem
s can be grouped by using theSettingsEditorItem.GetTabName
.The
SettingsEditor
offers methods for the common loading, validation and saving of settings.
Accessible Interface:
public SettingsEditor()
public void InstantiateAllElements()
public void LoadData(int? identification)
public bool ValidateData()
public void SaveData()
An item that will be rendered within the
SettingsEditor
.Implement this interface within any
UserControl
to let theUserControl
be rendered within any generated instance of theSettingsEditor
.
Accessible Interface:
void LoadData(int? accountIdentifier)
bool ValidateData()
void SaveData()
string GetTabName()
string GetControlName()
bool IsVisible()