Compartilhar via


Page.SetModalPresentationStyle Método

Definição

Define o estilo de apresentação modal do Page.

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

Parâmetros

config
IPlatformElementConfiguration<iOS,Page>

A configuração específica de plataforma que contém o elemento no qual executar a operação.

value
UIModalPresentationStyle

O estilo de apresentação modal.

Retornos

A configuração específica de plataforma que contém o elemento no qual executar a operação.

Aplica-se a