共用方式為


UIScrollView.ScrollEnabled 屬性

定義

如果設定為 true ,則會啟用捲動。

public virtual bool ScrollEnabled { [Foundation.Export("isScrollEnabled")] get; [Foundation.Export("setScrollEnabled:")] set; }
member this.ScrollEnabled : bool with get, set

屬性值

屬性

備註

如果 false 為 ,則捲動檢視將不會處理觸控事件。 它們會繼續轉送回應程式鏈結。

適用於