Method | Description | |
---|---|---|
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.
|
public static GetExpectedDisplacement ( this e ) : double | ||
e | this | The event argument from the
/// |
return | double |
public static GetExpectedDisplacementDuration ( this e ) : double | ||
e | this | The event argument from the |
return | double |
public static GetExpectedDisplacementX ( this e ) : double | ||
e | this |
/// The event argument from the
/// |
return | double |
public static GetExpectedDisplacementY ( this e ) : double | ||
e | this | The event argument from the
/// |
return | double |
public static SetDesiredDisplacementX ( this e, double desiredDisplacementX ) : void | ||
e | this | The |
desiredDisplacementX | double | The desired displacement along the X axis. |
return | void |
public static SetDesiredDisplacementY ( this e, double desiredDisplacementY ) : void | ||
e | this | The |
desiredDisplacementY | double | The desired displacement along the Y axis. |
return | void |