data binding

  1. G

    Question Implement Undo button on bound textbox

    I normally manually populate my forms fields and handle everything from there owing to years ago giving up owing to all the practical problems with bound Winform controls in all but the simplest scenarios. Thought I'd give it another shot. I have a grid populated with a datatable (not...
  2. M

    How to Scale WPF application according to screen resolution?

    I make a WPF application in .Net Framework 4.7. I developed this application on my Laptop which has full HD resolution (1920*1080). My problem is when I run my application on a low resolution monitor (1366*768), my application don't scale up according to the screen resolution. I tried using Per...
  3. destro

    Question How can I bind the property of class Object with a textblock?

    I have two classes in my script and an observable collection of secondary class type. The method in the main class adds several objects of Person class type in an observable collection defined and initialized in primary class as follows: public class PrimaryClass : BaseViewModel {...
  4. destro

    Resolved How to bind Menu items with observableCollection in xaml and wpf?

    I can assign them using <Menuitem Header> but how to view all the items present in the Observable collection in a view model? <Menu Grid.Row="1" Grid.Column="1" Width="100" VerticalAlignment="Center" Background="Gray"> <MenuItem Header="Item Collection"> <MenuItem...
Top Bottom