ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / CommandBinding Class / PreviewCanExecute Event

In This Topic
    PreviewCanExecute Event
    In This Topic
    Occurs when the command associated with this CommandBinding initiates a check to determine whether the command can be executed on the current command target.
    Syntax
    'Declaration
     
    Public Event PreviewCanExecute As CanExecuteRoutedEventHandler
    public event CanExecuteRoutedEventHandler PreviewCanExecute
    Event Data

    The event handler receives an argument of type CanExecuteRoutedEventArgs containing data related to this event. The following CanExecuteRoutedEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value that indicates whether the System.Windows.Input.ICommand associated with this event can be executed on the command target.  
    Gets the command associated with this event.  
    Determines whether the input event that invoked the command should continue to route through the element tree.  
    Gets the input event name associated with this CanExecuteRoutedEventArgs instance. (Inherited from C1.Xaml.C1RoutedEventArgs)
    Gets or sets a value that indicates the present state of the event handling for event as it travels the route. (Inherited from C1.Xaml.C1RoutedEventArgs)
    Gets the original reporting source as determined by pure hit testing. (Inherited from C1.Xaml.C1RoutedEventArgs)
    Gets the command specific data.  
    See Also