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.
ItemsControl::HasItems Property
.NET Framework (current version)
Gets a value that indicates whether the ItemsControl contains items.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: [BindableAttribute(false)] [BrowsableAttribute(false)] property bool HasItems { bool get(); }
Property Value
Type: System::Booleantrue if the items count is greater than 0; otherwise, false.The default is false.
.NET Framework
Available since 3.0
Available since 3.0
Show: