Share via


ItemsView.IsItemInvokedEnabled Proprietà

Definizione

Ottiene o imposta un valore che indica se gli elementi nella visualizzazione generano l'evento in risposta all'interazione ItemInvoked .

public:
 property bool IsItemInvokedEnabled { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
bool IsItemInvokedEnabled();

void IsItemInvokedEnabled(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
bool IsItemInvokedEnabled();

void IsItemInvokedEnabled(bool value);
public bool IsItemInvokedEnabled { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
public bool IsItemInvokedEnabled { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] set; }
var boolean = itemsView.isItemInvokedEnabled;
itemsView.isItemInvokedEnabled = boolean;
Public Property IsItemInvokedEnabled As Boolean

Valore della proprietà

Boolean

bool

true se l'interazione genera l'evento ItemInvoked ; in caso contrario, false. Il valore predefinito è false.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Si applica a