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