IAttachedCollectionSource.HasItems 属性

定义

如果此 IAttachedCollectionSource 包含任何项,则返回 true,否则返回 false。 访问 HasItems 不一定自行创建项。

public:
 property bool HasItems { bool get(); };
public:
 property bool HasItems { bool get(); };
public bool HasItems { get; }
member this.HasItems : bool
Public ReadOnly Property HasItems As Boolean

属性值

true如果此 IAttachedCollectionSource 包含任何项,则返回 ;否则返回 false。 访问 HasItems 不一定自行创建项。

适用于