Search Results for

    Show / Hide Table of Contents

    Class DefaultSettingsPage<TControl, TSettings>

    Default implementation for AutomaticTask settings page.

    Inheritance
    System.Object
    DefaultSettingsPage<TControl, TSettings>
    Namespace: Sdl.Desktop.IntegrationApi
    Assembly: Sdl.Desktop.IntegrationApi.dll
    Syntax
    public class DefaultSettingsPage<TControl, TSettings> : AbstractSettingsPage where TControl : UserControl, 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()

    Dispose()

    Dispose the settings page.

    Declaration
    public override void Dispose()

    GetControl()

    Makes sure a UI control is created for the seetings

    Declaration
    public override object GetControl()
    Returns
    Type Description
    System.Object

    ResetToDefaults()

    Responds to the framework to restore all the settings to default values.

    Declaration
    public override void ResetToDefaults()

    Save()

    Saves the the settings data permantly.

    Declaration
    public override void Save()

    ValidateInput()

    Calls the controlls ValidateChildren function to cause the validation to be issued.

    Declaration
    public override bool ValidateInput()
    Returns
    Type Description
    System.Boolean

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • DefaultSettingsPage()
    • Properties
      • Settings
      • SettingsBundle
    • Methods
      • Cancel()
      • Dispose()
      • GetControl()
      • ResetToDefaults()
      • Save()
      • ValidateInput()
    • Extension Methods
    Back to top Generated by DocFX