Page.SetSafeAreaInsets Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the safe area insets of config
to value
.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Page ^> ^ SetSafeAreaInsets(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Page ^> ^ config, Microsoft::Maui::Thickness value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Page> SetSafeAreaInsets (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Page> config, Microsoft.Maui.Thickness value);
static member SetSafeAreaInsets : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Page> * Microsoft.Maui.Thickness -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Page>
<Extension()>
Public Function SetSafeAreaInsets (config As IPlatformElementConfiguration(Of iOS, Page), value As Thickness) As IPlatformElementConfiguration(Of iOS, Page)
Parameters
- config
- IPlatformElementConfiguration<iOS,Page>
The element whose safe area insets to set.
- value
- Thickness
The new safe area insets.
Returns
The updated configuration object on which developers can make successive method calls.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.