Table of Contents

Class CanvasMouseDragElementBehavior

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

应用到Canvas的拖拽

public class CanvasMouseDragElementBehavior : MouseDragElementBehavior, IAnimatable, IAttachedObject
Inheritance
CanvasMouseDragElementBehavior
Implements
Inherited Members
Extension Methods

Methods

ApplyTranslationTransform(double, double)

Applies the given translation to the RenderTransform of the associated element.

protected override void ApplyTranslationTransform(double x, double y)

Parameters

x double

The X component of the translation in parent coordinates.

y double

The Y component of the translation in parent coordinates.