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

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

            this.SetBinding(IntermediateSelectedValueProperty, bind);
        }