Skip to main content

Questions tagged [data-binding]

A general technique that binds two data/information sources together and maintains them in sync.

0 votes
0 answers
12 views

Kotlin databinding for a custom view (canvas) for a recyclerview with multiple viewtypes

Previously I used kotlin synthetics, but now I'm trying to upgrade to data binding. I have a recyclerview in a fragment and it will have multiple view types all of which will be custom-draw with a ...
James's user avatar
  • 1
0 votes
0 answers
45 views

How to Bind Image Class into Xaml WPF?

I have a class library which contains Images. This class library is being referred in another WPF solution where i need to access this Images. I tried several methods, but other than the relative path,...
HellRaiser's user avatar
0 votes
0 answers
37 views

What's the point of making Shell.Items a getter only Bindable Property?

Shell.Items Property: public System.Collections.Generic.IList<Microsoft.Maui.Controls.ShellItem> Items { get; } Shell.ItemsProperty Field: public static readonly Microsoft.Maui.Controls....
usefulBee's user avatar
  • 9,568
0 votes
0 answers
28 views

WPF databinding *sometimes* binds wrong element

I have a very strange issue with an WPF (.NET 7.0) project. I use databinding to display elements of an (ordered) list in a WrapPanel: foreach (DatenElement element in BruteForce_Ordered.Do(randomData....
Aaginor's user avatar
  • 4,688
0 votes
1 answer
42 views

How to implement the TextChanged the CommunityToolkit MVVM way

I am using the .Net Maui's community toolkit and have some mvvm binding going on in a project. I have a collectionview and a Searchbar connected to a ViewModel. I wish to implement the Searchbar's is ...
Rikudou En Sof's user avatar
3 votes
0 answers
27 views

Make a Texture3D writeable on the GPU in Unity

I have a Texture3D that I've defined: tex = new Texture3D(8, 8, 8, TextureFormat.RFloat, false); for (int x = 0; x < 8; x++) { for (int y = 0; y < 8; y++) { for (int z = 0; z < 8;...
Jimmy Diddler's user avatar
-1 votes
0 answers
69 views

Go code is not blocking despite infinite for loop [closed]

Here's the code, woven in with its output and some comments, block by block: func MakeAssignment(NewDF dataframe.DataFrame, win fyne.Window, BT binding.UntypedList,dfnames []string,...
Ethan Leonard's user avatar
0 votes
1 answer
37 views

How to pass information from the view model to a validation rule

I'm quite new to programming C# and WPF. I have two TextBoxes where I want to validate user input with validation rules: <TextBox x:Name="TextBox1"> <TextBox.Text> ...
user25180321's user avatar
0 votes
0 answers
38 views

Passing list of notes with SwiftData to subviews

I am building a SwiftUI application using SwiftData. I have a list of Note objects that I need to display in different subviews grouped by year, month, and day. However, I'm running into issues ...
faisal almalki's user avatar
0 votes
0 answers
45 views

keep track of TCP client connection status

my current implementation contains a public propriety that is binded to a toggle button { get => _isListening; private set { if (_isListening != value) { ...
federico 's user avatar
0 votes
1 answer
26 views

WPF DataContext PropertyChanged is Null

I have two WPF components, one is containing a list of the other one. I set the DataContext in the parent WPF component, so I can define a property. Unfortunately, the PropertyChanged of my model is ...
Xavjer's user avatar
  • 9,108
1 vote
2 answers
59 views

Binding an ItemClick Event on a Parent Window to a BarButtonItem on a child UserControl

I have a parent window (windowMain) that has a child UserControl (userOne) and another UserControl (userTwo) within userOne. windowMain has a BarButtonItem and I need to bind that ItemClick event to a ...
Alan's user avatar
  • 11
-2 votes
0 answers
21 views

WPF - callback for when a control is getting updated after Visibility property changed

I need to figure when a control gets displayed as I set its visibility to visible The aim is to display a wait message for the user BEFORE updating a data binding. avoiding a blank UI freeze I tried ...
pf12345678910's user avatar
-1 votes
1 answer
52 views

How do I dynamically change the stringformat of a datepicker (WPF, c#)?

I have this datepicker element: <DatePicker Name="DataSelected" Grid.Column="1" Grid.Row="2" ...
Kristina Tamaro's user avatar
0 votes
0 answers
26 views

How to transform complex property values (additionalFilters) from yaml into domain objects (FilterCondition)?

I am using conversion service and custom converter to transform additionalFilter list element in FilterCondition object. Now, When I'm starting my application, it should go to this converter at debug ...
Harshita Porwal's user avatar

15 30 50 per page
1
2 3 4 5
1594