Udostępnij za pośrednictwem


CanExecuteRequestedEventArgs Class

Definition

Provides event data for the CanExecuteRequested event.

public ref class CanExecuteRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CanExecuteRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CanExecuteRequestedEventArgs
Public NotInheritable Class CanExecuteRequestedEventArgs
Inheritance
Object Platform::Object IInspectable CanExecuteRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

CanExecute

Gets or sets a value indicating whether the ICommand that raised this event is able to execute.

Parameter

Gets the command parameter passed into the CanExecute method that raised this event.

Applies to

See also