How to globally detect a click on the Window in a MAUI app?
First, sorry the title is misleading but I did not manage to properly summarize this in a few words. This is simple use-case but not that simple to implement it seems:
How to have different layout in collection view depends on platform MAUI
<CollectionView> <– this should be for android–> <CollectionView.ItemsLayout> <GridItemsLayout/> </CollectionView.ItemsLayout> <– this should be for ios–> <CollectionView.ItemsLayout> <LinearItemsLayout/> </CollectionView.ItemsLayout> <CollectionView.ItemTemplate> <DataTemplate> <Label/> </DataTemplate> </CollectionView.ItemTemplate> </CollectionView> I want to have that layout without using the “#” to separate the android or ios is there something like OnPlatform. c# xaml maui
.Net Maui – Null reference when assigning date time to datetimepicker
when overriding the OnAppearing
method I do
Why does a picker in a CollectionView set the SelectedItem binding to null?
I have a picker inside a CollectionView that should select a predefined item ColorNav
but when it starts the item is not selected.
How to know when an element has become visible in a MAUI app?
Say I have a hidden CollectionView, which becomes visible when I click on a button, and I need to set the focus on a CollectionView when it becomes visible (to detect when it is not focused anymore and should be hidden again).
Maui CollectionView selected/hovered item rectangle has padding on Windows
See the attached screenshot:
Using AppThemeBinding to display different images in .NET MAUI
I want to display a different image depending on the system theme mode. I’m creating a simple money counter app where I use a CollectionView to display various fields in which the user type the quantity of a certain bill/coin, and it shows the total value. Each item also shows an image of the current bill/coin. I created two versions for each item, one for dark mode, one for light mode.
MAUI.Net Binding
<CollectionView Grid.Column=”2″ ItemsSource=”{Binding Commands.Commands}”> <CollectionView.ItemsLayout> <LinearItemsLayout Orientation=”Horizontal”/> </CollectionView.ItemsLayout> <CollectionView.ItemTemplate> <DataTemplate x:DataType=”{x:Type base:RelayCommand}”> <ImageButton Padding=”0″ CornerRadius=”0″ Command=”{Binding Command}”/> </DataTemplate> </CollectionView.ItemTemplate> </CollectionView> if i write this Command Property: Command=”{Binding Command}” im getting the fallowing error at compiletime: The input string is in the wrong format. But if i write it while im debugging its working. But cant […]
Error relating to start tags and end tags in .NET MAUI
I’m trying to create an Entry element in .NET MAUI, this is the code for the entire page:
How to make custom info window in .NET MAUI maps?
I am using .NET MAUI , and i want to customize the map pin info window design and add some more thing like image , rating and name. I am using Microsoft Maui Controls Map nuget package for map . Any one know how to make ,please help.