Udostępnij za pośrednictwem


ItemsView.IsItemInvokedEnabled Property

Definition

Gets or sets a value that indicates whether items in the view raise the ItemInvoked event in response to interaction.

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

Property Value

Boolean

bool

true if interaction raises the ItemInvoked event; otherwise, false. The default is false.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to