WebView.SetEnableZoomControls 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
| Name | Description |
|---|---|
| SetEnableZoomControls(IPlatformElementConfiguration<Android,WebView>, Boolean) |
Sets whether pinch-to-zoom is enabled on the Android WebView. |
| SetEnableZoomControls(WebView, Boolean) |
Sets whether pinch-to-zoom is enabled on the Android WebView. |
SetEnableZoomControls(IPlatformElementConfiguration<Android,WebView>, Boolean)
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
Sets whether pinch-to-zoom is enabled on the Android WebView.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ SetEnableZoomControls(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ config, bool value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> SetEnableZoomControls(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> config, bool value);
static member SetEnableZoomControls : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView> * bool -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView>
<Extension()>
Public Function SetEnableZoomControls (config As IPlatformElementConfiguration(Of Android, WebView), value As Boolean) As IPlatformElementConfiguration(Of Android, WebView)
Parameters
The platform configuration.
- value
- Boolean
true to enable zoom controls; otherwise, false.
Returns
The platform configuration for fluent API chaining.
Applies to
SetEnableZoomControls(WebView, Boolean)
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
Sets whether pinch-to-zoom is enabled on the Android WebView.
public:
static void SetEnableZoomControls(Microsoft::Maui::Controls::WebView ^ element, bool value);
public static void SetEnableZoomControls(Microsoft.Maui.Controls.WebView element, bool value);
static member SetEnableZoomControls : Microsoft.Maui.Controls.WebView * bool -> unit
Public Sub SetEnableZoomControls (element As WebView, value As Boolean)
Parameters
- element
- WebView
The WebView element.
- value
- Boolean
true to enable zoom controls; otherwise, false.