DomainDataSource.CanLoad 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 a value indicating whether the control can perform a load operation based on the present state.

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

Syntax

'Declaration
Public Property CanLoad As Boolean
    Get
    Private Set
'Usage
Dim instance As DomainDataSource
Dim value As Boolean

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

Property Value

Type: System.Boolean
false when HasChanges or IsSubmittingChanges is true; otherwise, true.

See Also

Reference

DomainDataSource Class

System.Windows.Controls Namespace

Other Resources

DomainDataSource