Show / Hide Table of Contents

Class CanExecuteRoutedEventArgs

Arguments for Can Execute routed event

Inheritance
System.Object
RoutedEventArgs
CanExecuteRoutedEventArgs
Inherited Members
RoutedEventArgs.RoutedEvent
RoutedEventArgs.Handled
RoutedEventArgs.Source
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class CanExecuteRoutedEventArgs : RoutedEventArgs

Constructors

CanExecuteRoutedEventArgs(ICommand, Object, RoutedEvent)

Initializes a new instance of the CanExecuteRoutedEventArgs class.

Declaration
public CanExecuteRoutedEventArgs(ICommand command, object parameter, RoutedEvent routedEvent)
Parameters
Type Name Description
ICommand command

The command.

System.Object parameter

The parameter.

RoutedEvent routedEvent

The routed event.

Properties

CanExecute

Gets or sets a value indicating whether this instance can execute.

Declaration
public bool CanExecute { get; set; }
Property Value
Type Description
System.Boolean

true if this instance can execute; otherwise, false.

Command

Gets the command.

Declaration
public ICommand Command { get; }
Property Value
Type Description
ICommand

The command.

ContinueRouting

Gets or sets a value indicating whether [continue routing].

Declaration
public bool ContinueRouting { get; set; }
Property Value
Type Description
System.Boolean

true if [continue routing]; otherwise, false.

Parameter

Gets the parameter.

Declaration
public object Parameter { get; }
Property Value
Type Description
System.Object

The parameter.

Methods

InvokeEventHandler(Delegate, Object)

Invokes the event handler.

Declaration
protected override void InvokeEventHandler(Delegate handler, object target)
Parameters
Type Name Description
System.Delegate handler

The handler.

System.Object target

The target.

Overrides
RoutedEventArgs.InvokeEventHandler(Delegate, Object)
Back to top Generated by DocFX