Click or drag to resize
AbstractFileTypeSettingsPageSettingsControlType, SettingsTypeResetToDefaults Method
Called to reset settings to their default values. Should update the user interface accordingly.

Namespace: Sdl.FileTypeSupport.Framework.Core.Settings
Assembly: Sdl.FileTypeSupport.Framework.Core.Settings (in Sdl.FileTypeSupport.Framework.Core.Settings.dll) Version: 1.0.0.0 (1.0.2551.2)
Syntax
public override void ResetToDefaults()

Implements

ISettingsPageResetToDefaults
Remarks

This method should not save the settings yet. This should be done in Save.

This method will not be called if HasDefaultSettings returns false.

The default implementation calls ResetToDefaults. If you are using data binding with the settings as data context and have implemented property change notification events for the settings, the user interface should update automatically to reflect the changes (assuming ResetToDefaults() on the settings invokes the property setters). If not, you will need to override this method and ensure that the user interface is updated.

See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments