public void InitialiseWPFBinding() { Binding listBinding = new Binding(); listBinding.Source = arrowResult; listBinding.Path = new PropertyPath("Result"); BoundListBox.SetBinding(ListBox.ItemsSourceProperty, listBinding); }
public void InitialiseBinding() { Binding listBinding = new Binding(); listBinding.Source = ordersDatabase; listBinding.Path = new PropertyPath("Orders"); listBinding.Converter = new ListFilterConverter(); BoundListBox.SetBinding(ListBox.ItemsSourceProperty, listBinding); }
public InstapaperView() { InitializeComponent(); Messenger.Default.Register <NotificationMessage>(this, m => { if (m.Notification.Equals(Constants.Messages.StopPullToRefreshMsg)) { BoundListBox.StopPullToRefreshLoading(true); } }); NormalTileImage.SetTile(false, SourceProvider.Instapaper); TransparentTileImage.SetTile(true, SourceProvider.Instapaper); }