Answer by Liyun Zhang - MSFT for How to use to display a PDF in .NET MAUI...
First of all, WebView is not a web control so you can't use it in the razor page inside the BlazorWebView. And then the android webview doesn't support display local pdf, it supports Google PDF Viewer...
View ArticleAnswer by Liyun Zhang - MSFT for .NET MAUI Blazor resource locations
You can put it in the wwwroot folder. Such as: wwwroot\images\background.jpgAnd then set it as the html's background image in the wwwroot\css\app.css:html, body { font-family: 'Helvetica Neue',...
View ArticleComment by Liyun Zhang - MSFT on MAUI : Issue with CarrouselView when adding...
got an error here when receiveing the message. Could you please show the details about the error message?
View ArticleComment by Liyun Zhang - MSFT on API data not showing in Release mode but...
Could you please show the code about displaying the data? In addition, did you try to check the problem is api data not received or data got not displayed on UI?
View ArticleComment by Liyun Zhang - MSFT on Handling depth between elements inside an...
I set the Zindex="-1" when the Frame is visiable and then the image button and button will show on the Frame.
View ArticleComment by Liyun Zhang - MSFT on C# Access to Sqlite database after moving...
You can try to use the Task.Wait() to wait the file moving completed.
View ArticleComment by Liyun Zhang - MSFT on MAUI Blazor not respecting device language...
Sorry for my mistake. Please check the updated part in my answer. @Mr.Developer
View ArticleComment by Liyun Zhang - MSFT on .NET MAUI Hybrid Blazor Copy to Clipboard
Did you try to use the maui clipboard directly? And what problem did you met?
View ArticleAnswer by Liyun Zhang - MSFT for Binding Command using Community toolkit...
First of all, I can reproduce your problem with the nuget package CommunityToolkit.Maui.Markupversion 4.2.0. And when I downgrade the version to version 4.1.0, the Bind() can work successfully.Here is...
View ArticleAnswer by Liyun Zhang - MSFT for .NET MAUI Hybrid Blazor Copy to Clipboard
You can jsut use the Maui ClipBoard api to do that:<button class="btn btn-primary" @onclick="Copy">Copy</button><button class="btn btn-primary"...
View ArticleComment by Liyun Zhang - MSFT on MAUI 8 IOS PUBLISH ERROR...
You can try to publish the iOS project by the command line: Publish an iOS app using the command line.
View ArticleComment by Liyun Zhang - MSFT on Receiving error : strip exited with code 72...
It means that there are two Xcode on you Mac, please remove the Xcode in Downloads floder, and open Xcode, go to Settings->Locations->Command Line Tools, and check if you select the right path.
View ArticleComment by Liyun Zhang - MSFT on Render webpage across multiple screen in...
What does the multiple screen mean? Did you want to show the webpage in all the intances of the window?
View ArticleAnswer by Liyun Zhang - MSFT for Unable to open app settings in iOS 18 MAUI
First of all, the UIApplication.SharedApplication.OpenUrl(NSUrl url) was deprecated. But the OpenUrl(NSUrl url, NSDictionary options, [BlockProxy(typeof(NIDActionArity1V4))] Action<bool>?...
View ArticleComment by Liyun Zhang - MSFT on .NET MAUI BindableLayout Not Rendering on...
What's the type of the BathroomViews? The <reusableViews:BathroomView Content="{Binding .}"/> will cover the BathroomView's content property. You can just try <reusableViews:BathroomView "/>
View ArticleComment by Liyun Zhang - MSFT on .NET MAUI Windows App Fails to Run After...
Did you try to update the .net sdk version from 7.0 to 8.0?
View ArticleComment by Liyun Zhang - MSFT on MAUI .NET 8 windows publishing error:...
Did you try to Publish the packaged .NET MAUI app for Windows with the CLI?
View ArticleComment by Liyun Zhang - MSFT on CommunityToolKit.Mvvm 8.4.0 and MVVM Toolkit...
The warning can't be ensured as excepted behavior or not for the CommunityToolKit.Mvvm version 8.4.0. You can see that the release date of the version 8.4.0 and the official document about the warning...
View ArticleAnswer by Liyun Zhang - MSFT for How to create a desktop shortcut?
You can refer to this official document about How to create a desktop shortcut with the Windows Script Host.Add the COM reference by adding the following code into the csproj file or you can add it by...
View ArticleComment by Liyun Zhang - MSFT on .NET MAUI - RefreshView Content is not...
I can reproduce your problem and this is because the RefreshView's Height is 0 when it is wrapped around Grid and RowDefinition is Auto. You can report this on the github repo.
View Article