40 references to WebView
Microsoft.Maui.Controls (40)
Hosting\AppHostBuilderExtensions.cs (2)
87
handlersCollection.AddHandler<
WebView
, WebViewHandler>();
260
WebView
.RemapForControls();
PlatformConfiguration\AndroidSpecific\WebView.cs (18)
5
using FormsElement = Maui.Controls.
WebView
;
37
public static MixedContentHandling MixedContentMode(this IPlatformElementConfiguration<Android,
FormsElement
> config)
43
public static IPlatformElementConfiguration<Android,
FormsElement
> SetMixedContentMode(this IPlatformElementConfiguration<Android,
FormsElement
> config, MixedContentHandling value)
50
public static readonly BindableProperty EnableZoomControlsProperty = BindableProperty.Create("EnableZoomControls", typeof(bool), typeof(
FormsElement
), false);
53
public static bool GetEnableZoomControls(
FormsElement
element)
59
public static void SetEnableZoomControls(
FormsElement
element, bool value)
65
public static void EnableZoomControls(this IPlatformElementConfiguration<Android,
FormsElement
> config, bool value)
70
public static bool ZoomControlsEnabled(this IPlatformElementConfiguration<Android,
FormsElement
> config)
76
public static IPlatformElementConfiguration<Android,
FormsElement
> SetEnableZoomControls(this IPlatformElementConfiguration<Android,
FormsElement
> config, bool value)
83
public static readonly BindableProperty DisplayZoomControlsProperty = BindableProperty.Create("DisplayZoomControls", typeof(bool), typeof(
FormsElement
), true);
86
public static bool GetDisplayZoomControls(
FormsElement
element)
92
public static void SetDisplayZoomControls(
FormsElement
element, bool value)
98
public static void DisplayZoomControls(this IPlatformElementConfiguration<Android,
FormsElement
> config, bool value)
104
public static bool ZoomControlsDisplayed(this IPlatformElementConfiguration<Android,
FormsElement
> config)
110
public static IPlatformElementConfiguration<Android,
FormsElement
> SetDisplayZoomControls(this IPlatformElementConfiguration<Android,
FormsElement
> config, bool value)
PlatformConfiguration\WindowsSpecific\WebView.cs (7)
5
using FormsElement = Maui.Controls.
WebView
;
26
public static bool IsJavaScriptAlertEnabled(this IPlatformElementConfiguration<Windows,
FormsElement
> config)
32
public static IPlatformElementConfiguration<Windows,
FormsElement
> SetIsJavaScriptAlertEnabled(this IPlatformElementConfiguration<Windows,
FormsElement
> config, bool value)
51
public static WebViewExecutionMode GetExecutionMode(this IPlatformElementConfiguration<Windows,
FormsElement
> config)
56
public static IPlatformElementConfiguration<Windows,
FormsElement
> SetExecutionMode(this IPlatformElementConfiguration<Windows,
FormsElement
> config, WebViewExecutionMode value)
WebView\WebView.cs (13)
14
public partial class WebView : View, IWebViewController, IElementConfiguration<
WebView
>, IWebView
17
public static readonly BindableProperty SourceProperty = BindableProperty.Create(nameof(Source), typeof(WebViewSource), typeof(
WebView
), default(WebViewSource),
22
source.SourceChanged -= ((
WebView
)bindable).OnSourceChanged;
26
var
webview = (
WebView
)bindable;
34
static readonly BindablePropertyKey CanGoBackPropertyKey = BindableProperty.CreateReadOnly(nameof(CanGoBack), typeof(bool), typeof(
WebView
), false);
39
static readonly BindablePropertyKey CanGoForwardPropertyKey = BindableProperty.CreateReadOnly(nameof(CanGoForward), typeof(bool), typeof(
WebView
), false);
45
public static readonly BindableProperty UserAgentProperty = BindableProperty.Create(nameof(UserAgent), typeof(string), typeof(
WebView
), null);
48
public static readonly BindableProperty CookiesProperty = BindableProperty.Create(nameof(Cookies), typeof(CookieContainer), typeof(
WebView
), null);
50
readonly Lazy<PlatformConfigurationRegistry<
WebView
>> _platformConfigurationRegistry;
58
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
WebView
>>(() => new PlatformConfigurationRegistry<
WebView
>(this));
285
public IPlatformElementConfiguration<T,
WebView
> On<T>() where T : IConfigPlatform