| ItemsControlExtensionsDefaultItemCommand Attached Property |
The default item command is the command that will be executed when an item of the items control has received a mouse double click or enter key.
It is not executed when the double-click is on the background or on the scrollbar.
This command avoids the ubiquitous wrong implementations as well as code duplication when handling double-clicks in items controls like the
ListBox
The command parameter for the command is the item that has been clicked.
Namespace: TomsToolbox.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax See GetDefaultItemCommand, SetDefaultItemCommand
See GetDefaultItemCommand, SetDefaultItemCommand
Property Value
ICommandSee Also