UITableView.ScrollToNearestSelected メソッド

定義

指定した位置に最も近い選択した行がその位置に移動するように、行を自動的にスクロールします。

[Foundation.Export("scrollToNearestSelectedRowAtScrollPosition:animated:")]
public virtual void ScrollToNearestSelected (UIKit.UITableViewScrollPosition atScrollPosition, bool animated);
abstract member ScrollToNearestSelected : UIKit.UITableViewScrollPosition * bool -> unit
override this.ScrollToNearestSelected : UIKit.UITableViewScrollPosition * bool -> unit

パラメーター

atScrollPosition
UITableViewScrollPosition

スクロールが完了したら、ターゲット行が表示される位置 (上、中央、下など)。

animated
Boolean

true テーブル ビューが新しい位置にすぐにジャンプする必要がある場合は、 false スクロールをアニメーション化します。

属性

適用対象