MasterDetailPage.CollapsedPaneWidth 方法

定義

多載

CollapsedPaneWidth(IPlatformElementConfiguration<Windows,MasterDetailPage>)

傳回摺疊狀態時主窗格的寬度。

CollapsedPaneWidth(IPlatformElementConfiguration<Windows,MasterDetailPage>, Double)

設定摺疊時窗格的寬度。

CollapsedPaneWidth(IPlatformElementConfiguration<Windows,MasterDetailPage>)

傳回摺疊狀態時主窗格的寬度。

public static double CollapsedPaneWidth (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.MasterDetailPage> config);
static member CollapsedPaneWidth : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.MasterDetailPage> -> double

參數

config
IPlatformElementConfiguration<Windows,MasterDetailPage>

平台特定組態,包含要對其執行作業的項目。

傳回

System.Double

摺疊時窗格的寬度。

適用於

CollapsedPaneWidth(IPlatformElementConfiguration<Windows,MasterDetailPage>, Double)

設定摺疊時窗格的寬度。

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.MasterDetailPage> CollapsedPaneWidth (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.MasterDetailPage> config, double value);
static member CollapsedPaneWidth : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.MasterDetailPage> * double -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.MasterDetailPage>

參數

config
IPlatformElementConfiguration<Windows,MasterDetailPage>

平台特定組態,包含要對其執行作業的項目。

value
System.Double

要指派的新屬性值。

傳回

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

適用於