Selector.HasItems Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets whether the Selector contains items.

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Protected ReadOnly Property HasItems As Boolean
protected bool HasItems { get; }

Property Value

Type: System.Boolean
true to indicate the selector control contains items; otherwise false.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.