专业郑州网站建设专业网站建设现状及对策研究
将枚举列表转化到类内部赋值,在初始化表格行加载和双击事件时,触发类里面的枚举列表的赋值


<c1:Column Header="变更类型" Binding="{Binding ChangeType, Mode=TwoWay, ValidatesOnExceptions=True, ValidatesOnDataErrors=True, NotifyOnValidationError=True}" ColumnName="ChangeType" Width="150" TextWrapping="True">
                        <c1:Column.CellTemplate>
                             <DataTemplate>
                                 <c1:C1ComboBox BorderThickness="0" Style="{StaticResource StackPanel-C1ComboBox-Multiple}" Width="150" IsDropDownOpen="True" 
                                                  Margin="0" SelectedValue="{Binding ChangeType,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, NotifyOnValidationError=True }"
                                                DisplayMemberPath="Value" SelectedValuePath="Key"  
                                                ItemsSource="{Binding StackClassChangeTypeList}"/>
                             </DataTemplate>
                         </c1:Column.CellTemplate>
</c1:Column>
效果

