แก้ไข

แชร์ผ่าน


CollectionViewSource.Source Property

Definition

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

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