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

Comment by Liyun Zhang - MSFT on Navigating to LoginPage/MainPage on app start

You can set the LoginPage as default page in the App.cs: MainPage = new LoginPage();. And then navigation by: App.Current.MainPage = new AppShell();.

View Article


Answer by Liyun Zhang - MSFT for Namespace not recognised / found in Maui...

Did you code the project by your self or just copy the official sample on the github?I can reproduce your problem by using the special class in the Platforms\Windows folder. But you can run the project...

View Article


Answer by Liyun Zhang - MSFT for Resource not found: how do I find the string...

Strangely VS did not give me an error upon building the app.First of all, please check the official document about the XAML errors and warnings to check if you have enabled it or not.And then, I have...

View Article

Comment by Liyun Zhang - MSFT on MAUI Add different Android Plattforms for...

Did you mean you want to launch the Barcodereaders and RFID Readers app from your app on different device?

View Article

Comment by Liyun Zhang - MSFT on How to start a animation after mauiToolKit...

What is the scrollMain? And did you want to start the animation ather the popup shows?

View Article


Comment by Liyun Zhang - MSFT on C# .NET MAUI app crashes at start, how...

Did you get the apk file by using the command line?

View Article

Comment by Liyun Zhang - MSFT on how to change the picker outer border color...

You can post a new question to show the error details and the effect you want. @E75

View Article

Comment by Liyun Zhang - MSFT on MAUI iOS - HideSoftInputOnTapped is not...

Maui uses the custom handler instead of the custom render.

View Article


Comment by Liyun Zhang - MSFT on C# MAUI Event GraphicsView StartInteraction...

What platform did you test on? I can't reproduce your problem on android and windows. Did you try to set the value of heightrequest and widthrequest?

View Article


Comment by Liyun Zhang - MSFT on How can i create entry without under line...

What platform did you target? You can refer to this case : Change Color of Entry Underline or Remove this Color.

View Article

Answer by Liyun Zhang - MSFT for C# MAUI Event GraphicsView StartInteraction...

If i tap on GraphicsView should event and call method tap, but debugger does not respond on tapThe GraphicsView's default HeightRequest and WidthRequest is -1 on android, so you need to set the value...

View Article

Comment by Liyun Zhang - MSFT on Changing ContentView's source...

You can try to use the single instance mode for the two views. Creating new instance of the view frequently will cause memory leak easily.

View Article

Comment by Liyun Zhang - MSFT on NET MAUI how to check if GPS is enabled or...

Sorry for I'm not good at iOS, you can post a new question. @RodasPT

View Article


Comment by Liyun Zhang - MSFT on Android OnCreate not accepting null...

Can you make sure what's null? And did you try to move the two lines code into other method, such as App's constructor?

View Article

Comment by Liyun Zhang - MSFT on MAUI Blazor Hybrid and static resources

You can also use the color code:#CABEFF in the css. There is no way to do that directly. You need to get the "Primary" in the code behind and then set it in the js.

View Article


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

You can refer to this issue: CarouselView - The specified child already has a parent. You must call removeView() on the child's parent first.

View Article

Comment by Liyun Zhang - MSFT on Xamarin to MAUI migration - ContentPresenter...

Did the contentpresenter not displaying elements on all the platforms?

View Article


Comment by Liyun Zhang - MSFT on How to include asset file in Maui Android

Please right click on the file and choose properties, and then set its build action as MauiAsset. After that you can use OpenAppPackageFileAsync to read it.

View Article

Comment by Liyun Zhang - MSFT on 'Could not set up parent class, due to:...

Did you mean the problem only appeared on iOS simulator version 17.5? And you can try to refer this similar issue: iOS application getting crashed "Could not set up parent class, due to: Invalid...

View Article

Comment by Liyun Zhang - MSFT on Pop to previous page on .NET MAUI Android...

Did your project target .net 8.0? In addition, could you please show the code about navigation?

View Article
Browsing all 444 articles
Browse latest View live


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