共用方式為


Page.SetSafeAreaInsets 方法

定義

config 的安全區域內凹設為 value

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Page> SetSafeAreaInsets (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Page> config, Xamarin.Forms.Thickness value);
static member SetSafeAreaInsets : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Page> * Xamarin.Forms.Thickness -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Page>

參數

config
IPlatformElementConfiguration<iOS,Page>

要設定其安全區域內凹的項目。

value
Thickness

新的安全區域內凹。

傳回

開發人員可對其進行後續方法呼叫的已更新組態物件。

屬性
System.ComponentModel.EditorBrowsableAttribute

適用於