View.OffsetTopAndBottom(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
依指定的圖元數來位移此檢視的垂直位置。
[Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")]
public virtual void OffsetTopAndBottom (int offset);
[<Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")>]
abstract member OffsetTopAndBottom : int -> unit
override this.OffsetTopAndBottom : int -> unit
參數
- offset
- Int32
要位移檢視的圖元數目
- 屬性
備註
依指定的圖元數來位移此檢視的垂直位置。
的 android.view.View.offsetTopAndBottom(int)
JAVA 檔。
此頁面的部分是根據 原始碼專案所建立和共用的工作進行修改,並根據中所述的詞彙使用。