WebView.SetMixedContentMode 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.
Overloads
SetMixedContentMode(BindableObject, MixedContentHandling) |
Sets the mixed content mode for the web view. |
SetMixedContentMode(IPlatformElementConfiguration<Android,WebView>, MixedContentHandling) |
Sets the mixed content mode for the web view. |
SetMixedContentMode(BindableObject, MixedContentHandling)
- Source:
- WebView.cs
- Source:
- WebView.cs
Sets the mixed content mode for the web view.
public:
static void SetMixedContentMode(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::AndroidSpecific::MixedContentHandling value);
public static void SetMixedContentMode (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling value);
static member SetMixedContentMode : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling -> unit
Public Sub SetMixedContentMode (element As BindableObject, value As MixedContentHandling)
Parameters
- element
- BindableObject
The Android web view for which to set the loading behavior for content that is a mix of secure and insecure content.
- value
- MixedContentHandling
The new mixed content mode.
Applies to
SetMixedContentMode(IPlatformElementConfiguration<Android,WebView>, MixedContentHandling)
- Source:
- WebView.cs
- Source:
- WebView.cs
Sets the mixed content mode for the web view.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ SetMixedContentMode(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ config, Microsoft::Maui::Controls::PlatformConfiguration::AndroidSpecific::MixedContentHandling value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> SetMixedContentMode (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> config, Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling value);
static member SetMixedContentMode : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView> * Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView>
<Extension()>
Public Function SetMixedContentMode (config As IPlatformElementConfiguration(Of Android, WebView), value As MixedContentHandling) As IPlatformElementConfiguration(Of Android, WebView)
Parameters
The platform configuration for the Android web view for which to set the loading behavior for content that is a mix of secure and insecure content.
- value
- MixedContentHandling
The new mixed content mode.