开发者

In WPf grid panel if items exceeds one column it should add at next column

In Custom control i need to create a grid开发者_开发知识库 panel, in that i splitted 3 columns and 2 rows. if the items exceeds one column the next items should be added at next column


Looks like you need something specialized that Grid. Try out different panels. I would suggest WrapPanel or UniformGrid. You could also put a Horizontal StackPanel inside each row.

If nothing works out for you, you can always create a custom panel.

It would be better if you posted you scenario here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜