| DefaultSettingsPageTControl, TSettings Class |
Namespace: Sdl.Desktop.IntegrationApi
public class DefaultSettingsPage<TControl, TSettings> : AbstractSettingsPage where TControl : new(), UserControl, ISettingsAware<TSettings> where TSettings : new(), SettingsGroup
The DefaultSettingsPageTControl, TSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| DefaultSettingsPageTControl, TSettings | Initializes a new instance of the DefaultSettingsPageTControl, TSettings class |
| Name | Description | |
|---|---|---|
| DataSource |
The object which the settings page will manipulate the values upon. This is typically an ISettingsBundle.
(Inherited from AbstractSettingsPage.) | |
| HasDefaultSettings |
Called to determine whether the settings page supports the ResetToDefaults method.
(Inherited from AbstractSettingsPage.) | |
| Settings |
Gets the settings associated with this settings page.
| |
| SettingsBundle |
Helper get function to cast the datasource to ISettingsBundle
|
| Name | Description | |
|---|---|---|
| AfterCancel |
Called after all settings pages shown on the settings dialog have been canceled.
(Inherited from AbstractSettingsPage.) | |
| AfterSave |
Called after all settings pages shown on the settings dialog have been saved.
(Inherited from AbstractSettingsPage.) | |
| Cancel |
Cancels the settings data editing.
(Overrides AbstractSettingsPageCancel.) | |
| Dispose |
Dispose the settings page.
(Overrides AbstractSettingsPageDispose.) | |
| GetControl |
Makes sure a UI control is created for the seetings
(Overrides AbstractSettingsPageGetControl.) | |
| OnActivate |
Called when this settings page is activated.
(Inherited from AbstractSettingsPage.) | |
| OnDeactivate |
Called when this settings page is deactivated.
(Inherited from AbstractSettingsPage.) | |
| Refresh |
Called to refresh the page to the current DataSource if it has been changed externally. This
can happen when a user imports external settings that affect the data source.
(Inherited from AbstractSettingsPage.) | |
| ResetToDefaults |
Responds to the framework to restore all the settings to default values.
(Overrides AbstractSettingsPageResetToDefaults.) | |
| Save |
Saves the the settings data permantly.
(Overrides AbstractSettingsPageSave.) | |
| ValidateInput |
Calls the controlls ValidateChildren function to cause the validation to be issued.
(Overrides AbstractSettingsPageValidateInput.) |