private void OnDisplayedValueBindingChanged() { if (ResultsList != null) { this.SetBinding(Intellibox.DisplayTextFromHighlightedItemProperty, BindingBaseFactory.ConstructBindingForHighlighted(this, DisplayedValueBinding)); } this.SetBinding(Intellibox.DisplayTextFromSelectedItemProperty, BindingBaseFactory.ConstructBindingForSelected(this, DisplayedValueBinding)); }
private void OnSelectedValueBindingChanged() { var bind = BindingBaseFactory.ConstructBindingForSelected(this, SelectedValueBinding); this.SetBinding(IntermediateSelectedValueProperty, bind); }