Quantcast
Channel: User Liyun Zhang - MSFT - Stack Overflow
Browsing all 445 articles
Browse latest View live
↧

Comment by Liyun Zhang - MSFT on Why my login screen in .NET MAUI is no...

According to the result image, the entry's Placeholder didn't show. Can you show the code about the Placeholder color resources in the colors.xaml?

View Article


Comment by Liyun Zhang - MSFT on NetMaui - CollectionView isn't showed on...

Could you please show the related code?

View Article


Image may be NSFW.
Clik here to view.

Answer by Liyun Zhang - MSFT for How to resize image inside in .NET MAUI

It seems there is no a such Button control can achieve the effect you want. So you can use a control to contain the image and the text. And then use the TapGestureRecognizer to deal with the clicked...

View Article

Comment by Liyun Zhang - MSFT on Reload BlazorWebView in a MAUI xaml page

You can store the url when the blazorewbview rendered first time and then call the platform code to reload the url.

View Article

Answer by Liyun Zhang - MSFT for Reload BlazorWebView in a MAUI xaml page

In my test, the blazorwebview's default url is https://0.0.0.0/, so you can call the platform code to reload the url. But to make the url always correct, I get it programmatically.In the...

View Article


Comment by Liyun Zhang - MSFT on How to transfer my applications in visual...

Did the problem only appear on your Honor X8 phone?

View Article

Answer by Liyun Zhang - MSFT for Android app not in fullscreen even though...

You can try to use the following code to make your app full screen:public class MainActivity : MauiAppCompatActivity { protected override void OnCreate(Bundle? savedInstanceState) {...

View Article

Comment by Liyun Zhang - MSFT on Auth0 throws an exception on MAUI Android

Did you set the callback uri with the WebAuthenticatorResult like the official document did? @apexpredator

View Article


Answer by Liyun Zhang - MSFT for Camera.MAUI.ZXing (.Net 8) The function does...

I can reproduce your problem. The cameraView.NumCamerasDetected will always be 0 when you enter it second. So you can use the cameraView.CamerasLoaded to get the camera.cameraView.BarcodeDetected +=...

View Article


Comment by Liyun Zhang - MSFT on Where has MapIcon gone in Windows MAUI Maps?

Do you use the Microsoft.Maui.Controls.Maps? The official document said: The Map control isn't supported on Windows due to lack of a map control in WinUI.

View Article

Answer by Liyun Zhang - MSFT for MAUI routing in the Shell

You can register the parent route in the FlyoutItem and then register the child route in the ShellContent. Such as:FlyoutItem flyoutItem = new FlyoutItem(){ Title = "test", Route =...

View Article

Comment by Liyun Zhang - MSFT on MAUI routing in the Shell

You need to add parent route at first when you want to add hierarchical routes.

View Article

Answer by Liyun Zhang - MSFT for MAUI: unexpected height of Picker control

I reproduced your problem and found this issue also appeared on the iOS. And on the windows platform, the labels are sligned with the picker's title when using the VerticalOptions="Start".What causes...

View Article


Comment by Liyun Zhang - MSFT on How can I use Windows/Android accent color...

Did you copy the code #if Windows? You can just copy the full code and run it with ignoring the error. @SepehrHekmatRad

View Article

Comment by Liyun Zhang - MSFT on The specified child already has a parent....

I can't reproduce your problem. I copied your code and assign the content first time in the constructor , second time in the OnAppearing method. It worked well on all the platforms. I used .net 8.0.

View Article


Comment by Liyun Zhang - MSFT on .NET MAUI Android: WebView requires internet...

Did you try to set web.Settings.JavaScriptEnabled = true;? And what's the port number of your webapp?

View Article

Comment by Liyun Zhang - MSFT on How to use Diagnostic Tools for MAUI app on...

You can see the first picture. The maui app will also show. @AjithMA

View Article


Comment by Liyun Zhang - MSFT on .Net MAUI mimic a Combo Box

Did Debug.Write($"SelectedText {SelectedText}"); output right value? In addition, I didn't see where did you update the SelectedText value when the item is selected.

View Article

Comment by Liyun Zhang - MSFT on .NET MAUI Blazor Virtualize Component - UI...

Did this problem appear on all the platforms?

View Article

Comment by Liyun Zhang - MSFT on The type or namespace 'UI' does not exist in...

You can put the code in the #if WINDOWS #endif. The namespace is only used in windows platform.

View Article
Browsing all 445 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>