Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CollectionViewSource.Source Property

Definition

Namespace:
System.Windows.Data
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 property System::Object ^ Source { System::Object ^ get(); void set(System::Object ^ value); };
public object Source { get; set; }
member this.Source : obj with get, set
Public Property Source As Object

Property Value

The default value is null.

Remarks

Dependency Property Information

Item Value
Identifier Field SourceProperty
Metadata properties set to true None

XAML Attribute Usage

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

XAML Values

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

Applies to


Feedback

Was this page helpful?