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.
What is the syntax to define an integer in XAML in a MAUI application?
Simply,
View element accessed in code-behind is null when it should be initialized – why?
I have three classes involved in my problem. PopupView, CardView, and TestPopup. PopupView represents a base class for popups, and uses CardView, to display 3 ContentView linerally with header body and footer. TestPopup inherits PopupView which itself exposes a Body property that sets the CardView Body property with the latter.
How to control text wrapping in MAUI
Let’s say I have a label and the following string of characters: