data binding

  1. 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 {...
  2. 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