Свойство | Type | Description | |
---|---|---|---|
IsTiltEnabledProperty | |||
SuppressTiltProperty |
Méthode | Description | |
---|---|---|
GetIsTiltEnabled ( |
Gets the IsTiltEnabled dependency property from an object
|
|
GetSuppressTilt ( |
Gets the SuppressTilt dependency property from an object
|
|
SetIsTiltEnabled ( |
Sets the IsTiltEnabled dependency property on an object
|
|
SetSuppressTilt ( |
Sets the SuppressTilt dependency property from an object
|
Méthode | Description | |
---|---|---|
ApplyTiltEffect ( |
Applies the tilt effect to the control
|
|
BeginTiltEffect ( |
Begins the tilt effect by preparing the control and doing the initial animation
|
|
ContinueTiltEffect ( |
Continues a tilt effect that is currently applied to an element, presumably because the user moved their finger
|
|
EndTiltEffect ( |
Ends the tilt effect by playing the animation
|
|
GetCenterToCenterDelta ( |
Computes the delta between the centre of an element and its container
|
|
OnIsTiltEnabledChanged ( |
Property change handler for the IsTiltEnabled dependency property Adds or removes event handlers from the element that has been (un)registered for tilting |
|
PauseTiltEffect ( ) : void |
Pauses the tilt effect so that the control returns to the 'at rest' position, but doesn't stop the tilt effect (handlers are still attached, etc.)
|
|
PrepareControlForTilt ( |
Prepares a control to be tilted by setting up a plane projection and some event handlers This method is conservative; it will fail any attempt to tilt a control that already has a projection on it |
|
PrepareTiltReturnStoryboard ( |
Creates the tilt return storyboard (if not already created) and targets it to the projection
|
|
ResetTiltEffect ( |
Resets the tilt effect on the control, making it appear 'normal' again This method doesn't turn off the tilt effect or cancel any current manipulation; it just temporarily cancels the effect |
|
ResetTiltReturnStoryboard ( ) : void |
Resets the storyboard to not running
|
|
RevertPrepareControlForTilt ( |
Removes modifications made by PrepareControlForTilt This method is basic; it does not do anything to detect if the control being un-prepared was previously prepared |
|
StopTiltReturnStoryboardAndCleanup ( ) : void |
Stops the tilt effect and release resources applied to the currently-tilted control
|
|
TiltEffect ( ) : Microsoft.Phone.Controls |
Initialize the static properties
|
|
TiltEffect_ManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void |
Event handler for ManipulationCompleted
|
|
TiltEffect_ManipulationDelta ( object sender, System.Windows.Input.ManipulationDeltaEventArgs e ) : void |
Event handler for ManipulationDelta
|
|
TiltEffect_ManipulationStarted ( object sender, System.Windows.Input.ManipulationStartedEventArgs e ) : void |
Event handler for ManipulationStarted
|
|
TiltReturnStoryboard_Completed ( object sender, |
Handler for the storyboard complete event
|
|
TryStartTiltEffect ( |
Checks if the manipulation should cause a tilt, and if so starts the tilt effect
|
public static GetIsTiltEnabled ( |
||
source | The object to get the property from | |
Résultat | bool |
public static GetSuppressTilt ( |
||
source | The object to get the property from | |
Résultat | bool |
public static SetIsTiltEnabled ( |
||
source | The object to set the property on | |
value | bool | The value to set |
Résultat | void |
public static SetSuppressTilt ( |
||
source | The object to get the property from | |
value | bool | |
Résultat | void |
public static DependencyProperty,System.Windows IsTiltEnabledProperty | ||
Résultat |