DoubleClickBehavior ClassDW.WPFToolkit Documentation
Brings the feature to be able to double click any UI element.
Inheritance Hierarchy

SystemObject
  System.Windows.ThreadingDispatcherObject
    System.WindowsDependencyObject
      DW.WPFToolkit.InteractivityDoubleClickBehavior

Namespace: DW.WPFToolkit.Interactivity
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public class DoubleClickBehavior : DependencyObject

The DoubleClickBehavior type exposes the following members.

Constructors

  NameDescription
Public methodDoubleClickBehavior
Initializes a new instance of the DoubleClickBehavior class
Top
Methods

  NameDescription
Public methodStatic memberGetCommand
Gets the command to be called when the element gets double clicked.
Public methodStatic memberGetCommandParameter
Gets the command parameter to be passed when the called when DW.WPFToolkit.Interactivity.DoubleClickBehavior.Command gets called.
Public methodStatic memberSetCommand
Attaches the command to be called when the element gets double clicked.
Public methodStatic memberSetCommandParameter
Attaches the command parameter to be passed when the called when DW.WPFToolkit.Interactivity.DoubleClickBehavior.Command gets called.
Top
Fields

  NameDescription
Public fieldStatic memberCommandParameterProperty
Public fieldStatic memberCommandProperty
Top
Attached Properties

  NameDescription
Public attached propertyCommand
Public attached propertyCommandParameter
Top
Examples

XAML
<TextBlock Text="Doubleclick Me"
           Interactivity:DoubleClickBehavior.Command="{Binding ItemDoubleClicked}"
           Interactivity:DoubleClickBehavior.CommandParameter="Parameter" />
See Also

Reference