New to Telerik UI for WPFStart a free 30-day trial

Represents a value provider.

Definition

Namespace:Telerik.Windows.Persistence.Services

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public interface IValueProvider : IPersistenceProvider

Methods

Provides the string representation of an object.

C#
string ProvideValue(object context)
Parameters:contextobject

The context.

Returns:

string

Returns the string value.

Restores the object from the saved string value.

C#
void RestoreValue(object context, string savedValue)
Parameters:contextobject

The context.

savedValuestring

The saved value.