c# - ObservableCollection binding on condition -
i have observable collection marketprices , observable collection have bind itemscontrol below . 1) don't want show items in observable collection , want show items user click add , selected pair (gbpjpy, usdgbp..) needs show in items control. 2) if user changed item in comobobox gbpjpy usdgbp , price( datatemplate) of gbpjpy need update usdgbp. how can achieve both conditions. please note below code doesn't have real-time update in project have relatime price update well, observable collection updates on price changes. code far public class pricemodel : inotifypropertychanged { private double _askprice; private double _offerprice; private string _selectedpair; public pricemodel() { pairs = new observablecollection<string> {"gbpusd", "gbpeur", "usdgbp", "gbpjpy"}; } public double askprice { { return _askprice; }