IScrollController.GetScrollAnimation Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Bietet die IScrollController
Option zum Anpassen der Animation, die zum Ausführen der Bildlaufanforderung verwendet wird.
public:
CompositionAnimation ^ GetScrollAnimation(int correlationId, float2 startPosition, float2 endPosition, CompositionAnimation ^ defaultAnimation);
CompositionAnimation GetScrollAnimation(int const& correlationId, float2 const& startPosition, float2 const& endPosition, CompositionAnimation const& defaultAnimation);
public CompositionAnimation GetScrollAnimation(int correlationId, Vector2 startPosition, Vector2 endPosition, CompositionAnimation defaultAnimation);
function getScrollAnimation(correlationId, startPosition, endPosition, defaultAnimation)
Public Function GetScrollAnimation (correlationId As Integer, startPosition As Vector2, endPosition As Vector2, defaultAnimation As CompositionAnimation) As CompositionAnimation
Parameter
- correlationId
-
Int32
int
Eine Korrelations-ID, die verwendet wird, um einen Methodenaufruf den entsprechenden Ereignissen zuzuordnen.
- defaultAnimation
- CompositionAnimation
Die Animation, die auf die Scrollanforderung angewendet wird.
Gibt zurück
Die zu verwendende Animation( falls vorhanden) oder null
.
Hinweise
Diese Animation, die von dieser Methode zurückgegeben wird, kann wie folgt sein:
- ,
defaultAnimation
entweder unverändert oder geändert - eine brandneue benutzerdefinierte Animation
-
null
.