首页 新闻 搜索 专区 学院

wpf MultiBinding绑定异常:提示输入字符串格式不正确 求问什么原因

0
[待解决问题]

  <DataGridTemplateColumn Header="计划开始时间">
                            <DataGridTemplateColumn.CellTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal">
                                        <TextBlock Margin="5,0,0,0">
                                            <TextBlock.Text>
                                                <MultiBinding Converter="{StaticResource CycletypeStatusConverter}">
                                                    <Binding Path="CycleType" ></Binding>
                                                    <Binding Path="CycleNo"></Binding>
                                                </MultiBinding>

                          
                                            </TextBlock.Text>
                                        </TextBlock>
                                    </StackPanel>
                                </DataTemplate>
                            </DataGridTemplateColumn.CellTemplate>
                        </DataGridTemplateColumn>

狂狗A地板的主页 狂狗A地板 | 初学一级 | 园豆:121
提问于:2017-07-26 16:44
< >
分享
所有回答(2)
0

可能是 CycletypeStatusConverter 里面的代码有问题,可否完整代码贴出来

Park.Wu | 园豆:110 (初学一级) | 2017-07-27 11:24
0

MultiBinding改为MultDataBinding试试

唐宋元明清2188 | 园豆:127 (初学一级) | 2018-05-15 18:09
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册