DateTimeEditors for WinRT
PreviewCanExecute Event

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
CanExecuteGets or sets a value that indicates whether the System.Windows.Input.ICommand associated with this event can be executed on the command target.  
CommandGets the command associated with this event.  
ContinueRoutingDetermines whether the input event that invoked the command should continue to route through the element tree.  
EventNameGets the input event name associated with this CanExecuteRoutedEventArgs instance. (Inherited from C1.Xaml.C1RoutedEventArgs)
HandledGets 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)
OriginalSourceGets the original reporting source as determined by pure hit testing. (Inherited from C1.Xaml.C1RoutedEventArgs)
ParameterGets the command specific data.  
See Also

Reference

CommandBinding Class
CommandBinding Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback