CollectionViewSource.Source 属性

定义

获取或设置要从中创建此视图的集合对象。

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

属性值

默认值为 null

注解

Dependency 属性信息

Item 价值
标识符字段 SourceProperty
元数据属性设置为 true None

XAML 属性用法

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

XAML 值

myCollection 现有集合。 若要引用现有集合,请使用 StaticResource 标记扩展

适用于