WPF: Is it possible to do a row/column span in UniformGrid?

后端 未结 1 1741
我寻月下人不归
我寻月下人不归 2021-01-17 08:40

Is it possible to do a row/column span in UniformGrid? Using Grid attached properties

Grid.RowSpan

and

1条回答
  •  别那么骄傲
    2021-01-17 09:18

    No. There are no attached properties that will allow you to do that.

    You could create a subclass of the UniformGrid and add them but you would have to handle all the arranging of the child controls.

    It will be pretty hard to define what should happen to elements that span multiple columns when they have to wrap to the next line.

    0 讨论(0)
提交回复
热议问题