Example #1
0
        private void OnDisplayedValueBindingChanged()
        {
            if (ResultsList != null)
            {
                this.SetBinding(Intellibox.DisplayTextFromHighlightedItemProperty,
                                BindingBaseFactory.ConstructBindingForHighlighted(this, DisplayedValueBinding));
            }

            this.SetBinding(Intellibox.DisplayTextFromSelectedItemProperty,
                            BindingBaseFactory.ConstructBindingForSelected(this, DisplayedValueBinding));
        }
Example #2
0
        private void OnSelectedValueBindingChanged()
        {
            var bind = BindingBaseFactory.ConstructBindingForSelected(this, SelectedValueBinding);

            this.SetBinding(IntermediateSelectedValueProperty, bind);
        }