Share via


WheelGestureData Constructor (EditingContext, ModelItem, ModelItem, Int32)

Initializes a new instance of the WheelGestureData class.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Sub New ( _
    context As EditingContext, _
    sourceModel As ModelItem, _
    targetModel As ModelItem, _
    delta As Integer _
)
public WheelGestureData(
    EditingContext context,
    ModelItem sourceModel,
    ModelItem targetModel,
    int delta
)
public:
WheelGestureData(
    EditingContext^ context, 
    ModelItem^ sourceModel, 
    ModelItem^ targetModel, 
    int delta
)
new : 
        context:EditingContext * 
        sourceModel:ModelItem * 
        targetModel:ModelItem * 
        delta:int -> WheelGestureData
public function WheelGestureData(
    context : EditingContext, 
    sourceModel : ModelItem, 
    targetModel : ModelItem, 
    delta : int
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

context, sourceModel, or targetModel is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

WheelGestureData Class

WheelGestureData Overload

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Understanding WPF Designer Extensibility