Share via


DomainDataSourceView.CanAdd 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 that indicates whether items can be added to the collection.

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

Syntax

'Declaration
Public ReadOnly Property CanAdd As Boolean
    Get
'Usage
Dim instance As DomainDataSourceView
Dim value As Boolean

value = instance.CanAdd
public bool CanAdd { get; }
public:
property bool CanAdd {
    bool get ();
}
member CanAdd : bool
function get CanAdd () : boolean

Property Value

Type: System.Boolean
true if items can be added to the collection; otherwise, false.

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace