zoukankan      html  css  js  c++  java
  • wpf下拉框不能多选的原因

                <dxe:ComboBoxEdit Margin="0"  Height="25" Width="65" VerticalAlignment="Center" Grid.Column="3"
                           IsTextEditable="False"
                             EditValue="{Binding SelectCityList, Mode=TwoWay}"
                             SelectedIndex="0"
                            ItemsSource="{Binding CityList}"
                            DisplayMember="Name">
                            <dxe:ComboBoxEdit.StyleSettings>
                                <dxe:CheckedComboBoxStyleSettings />
                            </dxe:ComboBoxEdit.StyleSettings>
                        </dxe:ComboBoxEdit>

    红色部分必须要写对,如果EditValue  写成了 SelectedItem那么就会出错!

  • 相关阅读:
    数数小木块
    猴子吃桃问题
    整除个数
    大小写互换
    车牌号
    比较字母大小
    队花的烦恼一
    字母小游戏
    字符串逆序输出
    茵茵的第一课
  • 原文地址:https://www.cnblogs.com/demonyx/p/5341008.html
Copyright © 2011-2022 走看看