.NET MAUI for Desktop: Window Size & Position, Tooltips, Context Menus

preview_player
Показать описание
Who said .NET MAUI is just for mobile?! This video is all about .NET MAUI for the desktop; Windows and macOS. In this video we will see how to set the window position, set the size and limit the size, implement tooltips, context menus AND MORE!

💝 Join this channel to get access to perks:

🔗 Links

⏱ Timestamps
0:00 - .NET MAUI for Desktop: Windows & macOS
0:13 - New in .NET 7: Tooltips, Context Menus & More
0:39 - Window Size & Position
4:25 - Important macOS Note!
4:47 - Working with Tooltips
6:07 - Add Context Menus
9:05 - MenuBarItems for a Main Menu
10:45 - Learn More About .NET MAUI!

🙋‍♂️ Also find my...

#maui #desktop #windows #macos #dotnet #dotnetmaui
Рекомендации по теме
Комментарии
Автор

Actually, some of these features can also be used on other devices! iOS and Android nowadays can also have mouse pointers, I think this works for that as well.

jfversluis
Автор

So happy to see desktop is getting more love! This is a wonderful leap forward in the right direction. Before, I'd have to maintain a desktop-only app because of the lack of certain features.
Great job team!

dsuess
Автор

I have recently started learning MAUI and saw many videos. You are really so good.
Nice to see your videos! TY

tr
Автор

Keep it up brother your videos are a treasure to new Maui developers ❤️

ahmedjalal
Автор

Thanks for the video, as always! Appreciate the effort

yvanbrunel
Автор

Have you done a video on how to write (good coding practice in .NET MAUI) Device-Specific UIs? Loved the platform specific DI video. This video is great, but it leads me to ask, what are the recommended patterns and best practices to write a Maui App that can target mutiple devices with device specific UIs. That seems to be Platform specific (Multi-Targeting) and specific UI pages under the specific platform folders? To fully take advantage of a platform specific features like the Desktop and still be able to target mobile devices with simpler UIs and less rich features would be a great sample video.

metacapitalism
Автор

Great video! Would love to see more WinUI/Desktop videos on MAUI.
I'm hoping MAUI becomes the new UWP, and you could use one project type to rule them all.

GuildOfCalamity
Автор

This is how I remember it. 😊 "X and Y, Walk and Fly"

andrewtruckle
Автор

Very important you and your video for every us Thanks...

shavkatseven
Автор

That looks amazing.
Well done.


How do i separate navigation and menus from the Views?.
At the moment we use WPF with prism, where we utilize navigation regions.
Is something like that possible here ? Regions are quite easy to do, but i would like to use the new fancy navigation that comes with MAUI.

martinzazvorka
Автор

Respect.. You makeing best work Thanks

Miles
Автор

Great. The answer is YES for a multiple windows demonstration, and I would be interested in knowing if MDI (Master / Child) is supported, as well as docking. Is there feature for maximizing or minimizing window, and knowing the size to the current screen (monitor), if we want of to adjust the size of the set of windows created. Also, how we can call public methods from another window, or access to its public properties. Thx.

francoislepron
Автор

Hey Gerald thats great news but some stuff are still missing like

SetIsAlwaysOnTop
SetIsMinimizable
SetIsResizable
SetIsMaximizable

these are until now only posible to influence through using WinUIEx extension.

It would be awesome to see an update that implements these natively in Maui

Anyway thanks for putting always so much effort into your tasks.

DeepWorksStudios
Автор

.net maui has only one issue for Windows. The issue is that when using multiple screens if we close the app on the second screen, maui will always pop on the first screen.

It is very inconvenient when you are a developper (even for users maybe) and you try to shows the app directly in the second screen and visual studio is on the first screen.

flauberttagu
Автор

Thank you for the video. Yes, please, show us multi window in .Net MAUI application.

mrsajjad
Автор

Hello,
Is there a way to have the 2nd window to be always on top of the first window? community toolkit popup seems quite limited to only single layer popup. Ultimately I want a custom modal dialogs to have another modal dialog on top? similar to the scenario of an overwrite prompt dialog is always on top of a save file dialog that is always on top of a notepad window/app. maybe like z position?

zxcask
Автор

Thank you for great videos! I have a question / problem: I am making a kiosk type app for Android and Windows with touch screens that will host a dedicated web application inside a Webview. I now got it full screen thanks to this video. However I need to disable any kind of navigation and context menus that the webview can do. I need to disable the swipe to go back or forward, which is a function coming from Edge. ( I tried to disable it in Edge in my computer, but this does not affect the Webview). I also need to disable the right-click context menu in the Webview. How can I achieve this?

flipperNorway
Автор

Thanks for sharing new features. One feature is missing. To me the most important One for desktop Development is the ribbon Toolbar.

lebeluet
Автор

Is there a way to remove the title, min, max, close buttons and the window border? Like you could in the window forms, to make a custom border and action buttons? Or just be overall borderless?

Also, is there a way to snap it to the left, right or top like a Taskbar. I could accomplish this in windows form, but maui isn't letting me.

jdia.
Автор

Thanks for the video. Can you showcase some complex apps build with maui ? Just would like to confirm maui is suitable for complex apps or not.

manishbisen