Skip to main content

Questions tagged [databinding]

Data binding is the process that establishes a connection between the application UI (User Interface) and business logic.

4 votes
0 answers
105 views

License-holder editing application

I am building a WPF (Windows Presentation Foundation) application. And I'm trying to use the MVVM (Model–View–ViewModel) design pattern. It's fascinating and rewarding, even though it seems overly ...
Ole M's user avatar
  • 141
1 vote
1 answer
574 views

Updating Multiple Collections In ViewModel Based On A Single ListView Selection - WPF

-I have a ListView, and its SelectedItem property is bound to EmployeeModel SelectedEmployee in my VM, and it implements the Set method from MVVM Light. (Basically, ...
Joshua White's user avatar
8 votes
1 answer
395 views

WPF BindableProperty<TValue> to Reduce Boiler Plate

I'm sure anyone who has used WPF is familiar with the irritating boilerplate code surrounding properties, usually of this form. ...
HarrisW's user avatar
  • 83
4 votes
1 answer
2k views

C# Windows Forms App: Adding An Element To The BindingSource And Save These Changes To The DB [closed]

I have build a C# Windows Forms app that used Entity Framework(DB first model). For the data I am using a .mdf database file. The data view of dbo.students: GUI: The Form1 class: ...
user avatar
1 vote
1 answer
601 views

Extension to BindingList<T> that allows for cancelable notifications of changing and deleting

This is an extension of the System.ComponentModel.BindingList<T> class that allows for notifications of item changing and deleting. These notifications ...
Matt S's user avatar
  • 41
1 vote
1 answer
1k views

MVVMLight Toolkit Data Binding Technique

I'm simulating my real-world application by using a really simple demo app here, but it has the same concept. The question is MVVM Light Toolkit specific, as the ...
Sach's user avatar
  • 185
5 votes
1 answer
1k views

Accessing View from ViewModel

Having a view (grid control) that provides some functionallity via methods (primary SerializeView / DeserializeView) that should be called from the view model which is bound to the view. One point to ...
JanDotNet's user avatar
  • 8,608
2 votes
0 answers
70 views

Class to handle complex form using Angular ReactiveForms

I'm working with the ReactiveForms in Angular5 and trying to find a good way to do this. So, in my use case, I have a FormGroup inside my example.component.ts and when I need to add some FormControl ...
Ziru Zanrgeiff's user avatar
5 votes
1 answer
488 views

Two-way data binding

Why reinvent the wheel? I personally like to implement all of my JS from scratch, I try to stay away from using the likes of jQuery or any external sources/libraries/frameworks as much as possible. ...
JO3-W3B-D3V's user avatar
4 votes
1 answer
478 views

Databinding entire objects between child Vue components and the root Vue instance

I have a form in which I am collecting data from two applicants. In order to minimize HTML duplication I built an applicant Vue component that generates each applicant from a template. Each applicant ...
CodeMonkey's user avatar
2 votes
1 answer
127 views

Setting value of controller controls for domain objects with Reflection

Is my use of Java Reflection an OK design? Each domain object contains an annotation to declare what controller would be initialized to edit/create the object: Each field of the domain object has ...
jpell's user avatar
  • 123
6 votes
1 answer
210 views

Returning BindingList<T>

I came to work at a place not really understanding data binding. I have been working with it for about a year now, and I'd like to get some clarification on what is going on. Particularly, I'd like ...
jp2code's user avatar
  • 328
2 votes
1 answer
1k views

Winforms tools for selection of items using ComboBox - binding datasource

This is mi UserControl containing ComboBox and few buttons for selecting and manipulating collection of items which implement simple interface IHasHeader (just ...
Majak's user avatar
  • 299
2 votes
1 answer
4k views

WPF: Model to View Model data binding to implement Two Step View

I am trying to use Two Step View pattern in WPF. The problem is about keeping things in sync – I need a way to data-bind models to view models. Are there any good existing solutions? My approach is to ...
Dmitry Nogin's user avatar
  • 6,131
0 votes
1 answer
150 views

Data binding with keydown

I want to create a JS MVVM framework for learning and personal project. jsFiddle HTML: ...
yozawiratama's user avatar

15 30 50 per page