Ejemplo n.º 1
0
        public ComboBoxes()
        {
            InitializeComponent();

            _autoSuggestCollection = new ObservableCollection <AutoCompleteEntry>();
            _autoSuggestTextBox    = new AutoCompleteTextBox();
            _autoSuggestTextBox.AutoCompletionList = _autoSuggestCollection;


            CombBox.DropDownOpened   += CombBox_DropDownOpened;
            CombBox.SelectionChanged += CombBox_SelectionChanged;
        }
 public CxComboBox()
 {
     InitializeComponent();
     FactoryIconPathSourse();
     _autoSuggestCollection = new ObservableCollection <AutoCompleteEntry>();
     _autoSuggestTextBox    = new AutoCompleteTextBox();
     _autoSuggestTextBox.AutoCompletionList = _autoSuggestCollection;
     CombBox.DropDownOpened   += CombBox_DropDownOpened;
     CombBox.SelectionChanged += CombBox_SelectionChanged;
     PanelBack.Width           = this.Width - 5;
     PanelBack.Height          = this.Height - 5;
 }