ItemsControl.HasItems Proprietà

Definizione

Ottiene un valore che indica se contiene ItemsControl elementi.

public:
 property bool HasItems { bool get(); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public bool HasItems { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.HasItems : bool
Public ReadOnly Property HasItems As Boolean

Valore della proprietà

true se il conteggio degli elementi è maggiore di 0; in caso contrario, false. Il valore predefinito è false.

Attributi

Commenti

Informazioni sulle proprietà di dipendenza

Item Value
Campo Identificatore HasItemsProperty
Proprietà dei metadati impostate su true Nessuno

Si applica a