Xaml中是否存在与jQuery砌体等效的方法/技术? [英] Does an equivalent method/technique to jQuery masonry exist in Xaml?

查看:65
本文介绍了Xaml中是否存在与jQuery砌体等效的方法/技术?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Xaml来说还比较陌生,我发现我既喜欢又讨厌它.它可以做很多事情,但有时做一件简单的事情也非常困难.当然,这也可能与缺乏经验有关. :)

I am relatively new to Xaml and I'm finding I both love and hate it. It can do so much, but it is also sometimes remarkably difficult to do things that should be simple. Granted, that might also be related to a lack of experience. :)

无论如何,在尝试编写某些东西之前,我试图找出是否存在一种行之有效的方法来根据Xaml中的屏幕/窗口大小来排列显示的对象/平铺/div区域.

Anyway, before I try to go write something to do it, I am trying to figure out if there is a proven method for arranging displayed objects/tiles/div areas based on the screen/window size in Xaml.

这不是我的代码问题,一个人可以向我指出正确的方向.

Not necc a here's my code question, so much as a can someone point me in the right direction.

奖金:如果可以的话,我也想实现类似于无限滚动的功能.

bonus: I'd also like to achieve something akin to infinite scroll if that can be done.

谢谢大家!

推荐答案

正如我们所讨论的,

As we discussed, WrapPanel seems like a good option for you. I might also suggest for a neat little trick to use for some added effect you might apply FluidMoveBehavior to your WrapPanel to give it a little simple to do pizazz on transitions. :)

这篇关于Xaml中是否存在与jQuery砌体等效的方法/技术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆