Click or drag to resize
ISerializableListItem Interface

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 interface ISerializableListItem

The ISerializableListItem type exposes the following members.

Methods
  NameDescription
Public methodClearListItemSettings
Removes all current settings belonging to this list item from the settings bundle. This is called from SaveToSettingsGroup(ISettingsGroup, String) to ensure that all list items in the settings are removed from the stored list before saving a new set of list items. Implementations may be required if the settings object is of a complex type such as another list, otherwise this can be left empty.
Public methodPopulateFromSettingsGroup
Deserializes and re-populates the list item from the settings group.
Public methodSaveToSettingsGroup
Serializes and saves the list item to the settings group.
Top
Remarks
It is not required to always inherit from this interface when adding an item to ObservableList but it is the recommended approach when the item added is of a complex nature (for example, it is another list itself).
See Also
Community
Edit

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