แก้ไข

แชร์ผ่าน


ApplicationCommands.NotACommand Property

Definition

Represents a command which is always ignored.

public:
 static property System::Windows::Input::RoutedUICommand ^ NotACommand { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand NotACommand { get; }
static member NotACommand : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property NotACommand As RoutedUICommand

Property Value

The command.

Remarks

This command is always ignored and does not handle the input event that caused it. This provides a way to turn off an input binding built into an existing control.

There is not necessarily an implementation for the command on any given object; in many cases the implementation for the command is the responsibility of the application writer.

XAML Attribute Usage

<object property="NotACommand"/>  

Applies to

See also