MasterDetailPage.CollapsedPaneWidth 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
平台特定組態,包含要對其執行作業的項目。
傳回
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>
參數
平台特定組態,包含要對其執行作業的項目。
- value
- System.Double
要指派的新屬性值。
傳回
開發人員可對其進行後續方法呼叫的已更新組態物件。