Table of Contents

Interface ISettingsManager<TFrameworkElement, TDependencyProperty>

Namespace
SunamoData.Interfaces
Assembly
SunamoData.dll

Provides methods for managing application settings for framework elements.

public interface ISettingsManager<TFrameworkElement, TDependencyProperty>

Type Parameters

TFrameworkElement

The type of framework element.

TDependencyProperty

The type of dependency property.

Extension Methods

Methods

AddFromSavedElements(TUList<TFrameworkElement, TDependencyProperty>)

Adds settings from previously saved elements.

void AddFromSavedElements(TUList<TFrameworkElement, TDependencyProperty> savedElements)

Parameters

savedElements TUList<TFrameworkElement, TDependencyProperty>

The list of saved elements to add.

LoadSettings(TFrameworkElement, TUList<TFrameworkElement, TDependencyProperty>)

Loads settings for the specified element.

void LoadSettings(TFrameworkElement sender, TUList<TFrameworkElement, TDependencyProperty> savedElements)

Parameters

sender TFrameworkElement

The element to load settings for.

savedElements TUList<TFrameworkElement, TDependencyProperty>

The list of saved elements.

SaveSettings(TFrameworkElement, TUList<TFrameworkElement, TDependencyProperty>)

Saves settings for the specified element.

void SaveSettings(TFrameworkElement sender, TUList<TFrameworkElement, TDependencyProperty> savedElements)

Parameters

sender TFrameworkElement

The element to save settings for.

savedElements TUList<TFrameworkElement, TDependencyProperty>

The list where settings will be saved.