Share via


Page.GetModalPresentationStyle(BindableObject) Method

Definition

Gets the current value of the UIModalPresentationStyle enumeration that's applied to the Page.

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

Parameters

element
BindableObject

The BindableObject whose modal presentation style is being retrieved.

Returns

The current value of the UIModalPresentationStyle enumeration that's applied to the element.

Applies to