共用方式為


Page.ModalPresentationStyle 方法

定義

取得的 Page強制回應呈現樣式。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::UIModalPresentationStyle ModalPresentationStyle(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Page ^> ^ config);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UIModalPresentationStyle ModalPresentationStyle (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Page> config);
static member ModalPresentationStyle : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Page> -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UIModalPresentationStyle
<Extension()>
Public Function ModalPresentationStyle (config As IPlatformElementConfiguration(Of iOS, Page)) As UIModalPresentationStyle

參數

config
IPlatformElementConfiguration<iOS,Page>

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

傳回

強制響應簡報樣式。

適用於