共用方式為


Page.GetModalPresentationStyle(BindableObject) 方法

定義

取得套用至 Page之列舉的UIModalPresentationStyle目前值。

public:
 static Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::UIModalPresentationStyle GetModalPresentationStyle(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UIModalPresentationStyle GetModalPresentationStyle (Microsoft.Maui.Controls.BindableObject element);
static member GetModalPresentationStyle : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.UIModalPresentationStyle
Public Function GetModalPresentationStyle (element As BindableObject) As UIModalPresentationStyle

參數

element
BindableObject

要擷取其強制回應呈現樣式的 BindableObject

傳回

套用至 elementUIModalPresentationStyle列舉的目前值。

適用於