Ejemplo n.º 1
0
        public void InitialiseWPFBinding()
        {
            Binding listBinding = new Binding();

            listBinding.Source = arrowResult;
            listBinding.Path   = new PropertyPath("Result");
            BoundListBox.SetBinding(ListBox.ItemsSourceProperty, listBinding);
        }
Ejemplo n.º 2
0
        public void InitialiseBinding()
        {
            Binding listBinding = new Binding();

            listBinding.Source    = ordersDatabase;
            listBinding.Path      = new PropertyPath("Orders");
            listBinding.Converter = new ListFilterConverter();
            BoundListBox.SetBinding(ListBox.ItemsSourceProperty, listBinding);
        }