C# 클래스 WinRTXamlToolkit.Controls.Extensions.ManipulationInertiaStartingRoutedEventArgsExtensions

Implements extensions of the ManipulationInertiaStartingRoutedEventArgs class that defines the argument of the Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
GetExpectedDisplacement ( this e ) : double

Gets the expected displacement at the end of the flick. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event. The displacement is the length of the vector from e.Cumulative.Translation at the beginning of the flick to the e.Cumulative.Translation at the end of the flick.

GetExpectedDisplacementDuration ( this e ) : double

Gets the expected duration of a flick as measured in seconds. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event.

Note that the duration is estimated and may vary by a few percent based on testing.

GetExpectedDisplacementX ( this e ) : double

Gets the X component of the expected displacement vector at the end of the flick. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event. The displacement is the vector from e.Cumulative.Translation at the beginning of the flick to the e.Cumulative.Translation at the end of the flick.

GetExpectedDisplacementY ( this e ) : double

Gets the Y component of the expected displacement vector at the end of the flick. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event. The displacement is the vector from e.Cumulative.Translation at the beginning of the flick to the e.Cumulative.Translation at the end of the flick.

SetDesiredDisplacementX ( this e, double desiredDisplacementX ) : void

Sets the desired displacement along the X axis.

SetDesiredDisplacementY ( this e, double desiredDisplacementY ) : void

Sets the desired displacement along the Y axis.

메소드 상세

GetExpectedDisplacement() 공개 정적인 메소드

Gets the expected displacement at the end of the flick. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event. The displacement is the length of the vector from e.Cumulative.Translation at the beginning of the flick to the e.Cumulative.Translation at the end of the flick.
public static GetExpectedDisplacement ( this e ) : double
e this The event argument from the /// event. ///
리턴 double

GetExpectedDisplacementDuration() 공개 정적인 메소드

Gets the expected duration of a flick as measured in seconds. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event.
Note that the duration is estimated and may vary by a few percent based on testing.
public static GetExpectedDisplacementDuration ( this e ) : double
e this The event argument from the event.
리턴 double

GetExpectedDisplacementX() 공개 정적인 메소드

Gets the X component of the expected displacement vector at the end of the flick. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event. The displacement is the vector from e.Cumulative.Translation at the beginning of the flick to the e.Cumulative.Translation at the end of the flick.
public static GetExpectedDisplacementX ( this e ) : double
e this /// The event argument from the /// event. ///
리턴 double

GetExpectedDisplacementY() 공개 정적인 메소드

Gets the Y component of the expected displacement vector at the end of the flick. A flick starts on Windows.UI.Xaml.UIElement.ManipulationInertiaStarting event and ends on Windows.UI.Xaml.UIElement.ManipulationCompleted event. The displacement is the vector from e.Cumulative.Translation at the beginning of the flick to the e.Cumulative.Translation at the end of the flick.
public static GetExpectedDisplacementY ( this e ) : double
e this The event argument from the /// event. ///
리턴 double

SetDesiredDisplacementX() 공개 정적인 메소드

Sets the desired displacement along the X axis.
public static SetDesiredDisplacementX ( this e, double desiredDisplacementX ) : void
e this The instance containing the event data.
desiredDisplacementX double The desired displacement along the X axis.
리턴 void

SetDesiredDisplacementY() 공개 정적인 메소드

Sets the desired displacement along the Y axis.
Can't adjust inertia angle - desired displacement Y is unsupported.
public static SetDesiredDisplacementY ( this e, double desiredDisplacementY ) : void
e this The instance containing the event data.
desiredDisplacementY double The desired displacement along the Y axis.
리턴 void