Class DefaultSettingsPage<TControl, TSettings>
Default implementation for AutomaticTask settings page.
Inherited Members
Namespace: SdlSdl.DesktopIntegrationApi
Assembly: Sdl.Desktop.IntegrationApi.dll
Syntax
public class DefaultSettingsPage<TControl, TSettings> : AbstractSettingsPage, ISettingsPage, IDisposable where TControl : IUISettingsControl, ISettingsAware<TSettings>, new() where TSettings : SettingsGroup, new()
Type Parameters
Name | Description |
---|---|
TControl | |
TSettings |
Constructors
DefaultSettingsPage()
Declaration
public DefaultSettingsPage()
Properties
Settings
Gets the settings associated with this settings page.
Declaration
public TSettings Settings { get; }
Property Value
Type | Description |
---|---|
TSettings |
SettingsBundle
Helper get function to cast the datasource to ISettingsBundle
Declaration
public ISettingsBundle SettingsBundle { get; }
Property Value
Type | Description |
---|---|
ISettingsBundle |
Methods
Cancel()
Cancels the settings data editing.
Declaration
public override void Cancel()
Overrides
Dispose()
Dispose the settings page.
Declaration
public override void Dispose()
Overrides
GetControl()
Makes sure a UI control is created for the seetings
Declaration
public override object GetControl()
Returns
Type | Description |
---|---|
object |
Overrides
ResetToDefaults()
Responds to the framework to restore all the settings to default values.
Declaration
public override void ResetToDefaults()
Overrides
Save()
Saves the the settings data permantly.
Declaration
public override void Save()
Overrides
ValidateInput()
Calls the controlls ValidateChildren function to cause the validation to be issued.
Declaration
public override bool ValidateInput()
Returns
Type | Description |
---|---|
bool |