Share via


LoadingDataEventArgs.RestoreLoadSettings Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets a value indicating whether the load, filter, sort and group settings of the DomainDataSource are restored to the same values they were at the last successful load operation.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public Property RestoreLoadSettings As Boolean
    Get
    Set
'Usage
Dim instance As LoadingDataEventArgs
Dim value As Boolean

value = instance.RestoreLoadSettings

instance.RestoreLoadSettings = value
public bool RestoreLoadSettings { get; set; }
public:
property bool RestoreLoadSettings {
    bool get ();
    void set (bool value);
}
member RestoreLoadSettings : bool with get, set
function get RestoreLoadSettings () : boolean
function set RestoreLoadSettings (value : boolean)

Property Value

Type: System.Boolean
true to indicate the load, filter, sort and group settings of the DomainDataSource are restored to the save values they were at the last successful load operation; otherwise, false.

Remarks

This load settings can be restored only when the Cancel and RestoreLoadSettings properties are set to true.

See Also

Reference

LoadingDataEventArgs Class

System.Windows.Controls Namespace