-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] Implement Windows Platform Specifics #5855
Conversation
|
||
namespace Microsoft.Maui.Controls.Platform | ||
{ | ||
public static class VisualElementExtensions | ||
{ | ||
public static void UpdateAccessKey(this FrameworkElement platformView, View view) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VisualElement Access Keys on Windows https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/windows/visualelement-access-keys
using Microsoft.UI.Xaml.Controls; | ||
|
||
namespace Microsoft.Maui.Controls.Platform | ||
{ | ||
internal static class AutoSuggestBoxExtensions | ||
{ | ||
public static void UpdateIsSpellCheckEnabled(this AutoSuggestBox platformControl, SearchBar searchBar) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SearchBar Spell Check on Windows https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/windows/searchbar-spell-check
{ | ||
public partial class WebView | ||
{ | ||
public static void MapIsJavaScriptAlertEnabled(WebViewHandler handler, WebView webView) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WebView JavaScript Alerts on Windows https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/windows/webview-javascript-alert
{ | ||
public partial class RefreshView | ||
{ | ||
public static void MapRefreshPullDirection(RefreshViewHandler handler, RefreshView refreshView) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RefreshView Pull Direction on Windows https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/windows/refreshview-pulldirection
{ | ||
public partial class Label | ||
{ | ||
public static void MapDetectReadingOrderFromContent(LabelHandler handler, Label label) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InputView Reading Order on Windows https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/windows/inputview-reading-order
src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/Windows/WindowsWebViewPage.xaml.cs
Outdated
Show resolved
Hide resolved
src/Controls/src/Core/HandlerImpl/VisualElement/VisualElement.Windows.cs
Outdated
Show resolved
Hide resolved
…dows # Conflicts: # src/Controls/samples/Controls.Sample/Controls/EnumPicker.cs # src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/Android/AndroidTabbedPageSwipePage.xaml.cs # src/Controls/samples/Controls.Sample/Pages/PlatformSpecifics/Android/AndroidTitleViewPage.xaml.cs # src/Controls/src/Core/HandlerImpl/Entry/Entry.cs # src/Controls/src/Core/HandlerImpl/VisualElement/VisualElement.cs # src/Controls/src/Core/HandlerImpl/WebView/WebView.Android.cs # src/Controls/src/Core/HandlerImpl/WebView/WebView.Standard.cs # src/Controls/src/Core/HandlerImpl/WebView/WebView.cs # src/Controls/src/Core/HandlerImpl/WebView/WebView.iOS.cs
I removed the However, what about promps? And do we do anything for the other platforms. I opened a new issue to discuss what/how we want to redirect this: #6963 |
Hi,how can i use the Javascript prompt menu that is built in edge?? My Blazor Maui uses Zoom Web SDk and the permission prompt is in Javascript. How can i make the prompt visible since i can see IsJavascriptEnabled is deprecated? Target Platform: Windows in .NET MAUI |
Description of Change
Implement Windows Platform Specifics.
WebView IsJavaScriptAlertEnabled.(webview2 has alerts, but they look bad: Alerts in Blazor and WebView on Windows do not look nice #6961)Fixes (partially) #5856