data binding

  1. M

    How to Bind FontSize of a TextBlock from two different sources in WPF?

    Due to design purpose I use the fluid Layout which is mainly made by Grid.Row definition. I want to adjust my WPF application to run smoothly on every monitor that's why I use the DPI Decorator class. And this DPI Decorator is perfectly working that means the screen UI components are perfectly...
  2. 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...
  3. 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...
  4. 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 {...
  5. 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...
Back
Top Bottom