16 questions
1
vote
2
answers
107
views
How to refer in the XAML to the BindableProperty?
In my .NET 9 MAUI application, I have created a lot of components for every part of the application like that:
public partial class WordCheck : ContentView
{
#region Bindable Properties
...
0
votes
0
answers
377
views
AvaloniaUI ObservableProperty in compiled bindings
After years in love/hate relationship with WPF I'm exploring AvaloniaUI with CommunityToolkit.Mvvm.ComponentModel (conscious choice of not using ReactiveUI).
I usually find my way around, but this ...
0
votes
2
answers
176
views
I'm having a problem setting up compiled binding in my maui content page
I found an article on Compiled Binding and tried to follow it exactly. My XAML file looks something like this:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns=&...
0
votes
1
answer
48
views
Binding data context changes when using vustom ContentView control
I have the following code:
<ListView ItemsSource="{Binding Creature.FriendlyEnvironment}"
x:DataType="vm:PlantDetailsViewModel">
<ListView.ItemTemplate>
...
0
votes
1
answer
970
views
Binding Property not found on ViewModel even though it exists
I created a model class called Project and also created a ViewModel class called MainPageViewModel.
What I want to implement is a simple table that has multiple columns. There should be one column ...
2
votes
1
answer
900
views
x:Bind in resource dictionary doesn't work
I'm struggling to get a grip of the compiled databinding concept. I have one view (MainPage) that contains a ListBox and one data template (ItemTemplate) used for that ListBox. The MainPage has a ...
7
votes
2
answers
5k
views
Binding an event to a method, why does it work in UWP?
UWP came with a new way of DataBinding, Compiled Binding, using the {x:Bind} markup extension, when I was discovering this new feature, I found out that we can actually bind an event to a method !
...
5
votes
1
answer
733
views
HubSection with compiled binding
I'm trying to grasp the new compiled bindings, but right at the start I get stopped by this simple problem.
I have Hub control with one HubSection. The content of this section is an ItemsControl that ...