Source Property

CollectionViewSource::Source Property

 

Gets or sets the collection object from which to create this view.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property Object^ Source {
	Object^ get();
	void set(Object^ value);
}

Property Value

Type: System::Object^

The default value is null.

Identifier Field

SourceProperty

Metadata properties set to true

None

<object Source="myCollection" .../>

myCollection

An existing collection. To refer to an existing collection, use the StaticResource Markup Extension.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft