言語

ScrollingZoomOptions クラス

定義

ScrollView コントロールのズーム メソッドで設定できるオプションを表します。

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ScrollingZoomOptions
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ScrollingZoomOptions
Public Class ScrollingZoomOptions
継承
Object IInspectable ScrollingZoomOptions
属性

注釈

ScrollingZoomOptionsは、ScrollView.ZoomTo メソッドと ScrollView.ZoomBy メソッドのオーバーロードでオプションを設定するために使用されます。

コンストラクター

名前 説明
ScrollingZoomOptions(ScrollingAnimationMode, ScrollingSnapPointsMode)

指定したアニメーション モードとスナップ ポイント モードを使用して、 ScrollingZoomOptions クラスの新しいインスタンスを初期化します。

ScrollingZoomOptions(ScrollingAnimationMode)

指定したアニメーション モードを使用して、 ScrollingZoomOptions クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
AnimationMode

ズーム係数の変更に対してアニメーションを再生するかどうかを示す値を取得または設定します。

SnapPointsMode

ズーム係数の変更中にスナップ ポイントを無視するか優先するかを示す値を取得または設定します。

適用対象

こちらもご覧ください