Share via


DomainDataSourceView.ICollectionView.Groups 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 the top-level groups.

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

Syntax

'Declaration
Private ReadOnly Property Groups As ReadOnlyObservableCollection(Of Object)
    Implements ICollectionView.Groups
    Get
'Usage
Dim instance As DomainDataSourceView
Dim value As ReadOnlyObservableCollection(Of Object)

value = CType(instance, ICollectionView).Groups
ReadOnlyObservableCollection<Object> ICollectionView.Groups { get; }
private:
virtual property ReadOnlyObservableCollection<Object^>^ Groups {
    ReadOnlyObservableCollection<Object^>^ get () sealed = ICollectionView::Groups::get;
}
private abstract Groups : ReadOnlyObservableCollection<Object>
private override Groups : ReadOnlyObservableCollection<Object>
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Collections.ObjectModel.ReadOnlyObservableCollection<Object>
A read-only collection of the top-level groups or nulla null reference (Nothing in Visual Basic) if there are no groups.

Implements

ICollectionView.Groups

Remarks

This member is an explicit interface member implementation. It can be used only when the DomainDataSourceView instance is cast to an ICollectionView interface

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace