Class
CanExecuteRoutedEventArgs

Provides data for the CanExecute and PreviewCanExecute routed events.

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public sealed class CanExecuteRoutedEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCanExecuteRoutedEventArgs

Inherited Members RadRoutedEventArgs.RoutedEventRadRoutedEventArgs.SourceRadRoutedEventArgs.HandledRadRoutedEventArgs.OriginalSource

Properties

CanExecute

Gets or sets a value that indicates whether the RoutedCommand associated with this event can be executed on the command target.

Declaration

cs-api-definition
public bool CanExecute { get; set; }

Property Value

bool

Command

Gets the command associated with this event.

Declaration

cs-api-definition
public ICommand Command { get; }

Property Value

ICommand

ContinueRouting

Determines whether the input routed event that invoked the command should continue to route through the element tree.

Declaration

cs-api-definition
public bool ContinueRouting { get; set; }

Property Value

bool

Parameter

Gets the command specific data.

Declaration

cs-api-definition
public object Parameter { get; }

Property Value

object

Methods

InvokeEventHandler(Delegate, object)

Invokes the event handler.

Declaration

cs-api-definition
protected override void InvokeEventHandler(Delegate genericHandler, object target)

Parameters

genericHandler

Delegate

The generic handler.

target

object

The target.

Overrides RadRoutedEventArgs.InvokeEventHandler(Delegate, object)