Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft