WPF列未正确跨越

时间:2016-11-24 00:59:22

标签: wpf xaml

我有一个包含一些绑定数据的组框:

Array
([Transaction] => Array
        ([0] => Array
                ([extref] => WVB4108-10002761
                    [Denominations] => Array
                        ([Denomination] => Array
                                ([0] => Array
                                        (
                                            [denomvalue] => 0.10
                                            [denomqty] => 5
                                            [denomcount] => 0.50
                                        )

                                    [1] => Array
                                        (
                                            [denomvalue] => 0.50
                                            [denomqty] => 2
                                            [denomcount] => 1.00
                                        )

                                     [2] => Array
                                         (
                                             [denomvalue] => 1.00
                                             [denomqty] => 13
                                             [denomcount] => 13.00
                                         )

                                ))))

问题是包含文本框和删除按钮的两列是否正确跨越。看看截图:

enter image description here

1 个答案:

答案 0 :(得分:1)

将此属性添加到ListBox

HorizontalContentAlignment="Stretch"