言語

ScrollingScrollAnimationStartingEventArgs クラス

定義

ScrollView.ScrollAnimationStarting イベントのデータを提供します。

public ref class ScrollingScrollAnimationStartingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScrollingScrollAnimationStartingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScrollingScrollAnimationStartingEventArgs
Public NotInheritable Class ScrollingScrollAnimationStartingEventArgs
継承
Object Platform::Object IInspectable ScrollingScrollAnimationStartingEventArgs
属性

注釈

これらのイベント引数は 、ScrollView.ScrollAnimationStarting イベントによって使用されます。これは、 ScrollTo または ScrollBy の呼び出しによってアニメーションがトリガーされたときに発生します。 イベントを処理してアニメーションをカスタマイズできます。

プロパティ

名前 説明
Animation

アニメーション化されたスクロール オフセットの変更中に実行するアニメーションを取得または設定します。 アニメーションはコンテンツの位置をターゲットにします。

CorrelationId

以前に ScrollTo または ScrollByによって返された、アニメーション化されたスクロール オフセットの変更に関連付けられている関連付け ID を取得します。

EndPosition

アニメーションの末尾にあるコンテンツの位置を取得します。

StartPosition

アニメーションの開始時のコンテンツの位置を取得します。

適用対象

こちらもご覧ください