- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
没有Grid.SharedSizeGroup
在 Silverlight 4 中。您对此问题的解决方法是什么?
例如:我有一个 DataTemplate
为 ListBox.ItemTemplate
由具有两列的网格组成,我希望两列具有相同的宽度,并且第一列需要具有自动宽度。
最佳答案
在这里投票支持此功能:
http://dotnet.uservoice.com/forums/4325-silverlight-feature-suggestions/suggestions/1454947-sharedsizegroup
还有这里:
http://connectppe.microsoft.com/VisualStudio/feedback/details/518461/sharedsizegroup-should-be-available-in-silverlight
关于silverlight - Silverlight 中 Grid.SharedSizeGroup 的解决方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4188679/
我的 WPF 应用程序上有一个 DataGrid 和一个网格,我希望它们受尊重的列大小相同。我想也许我使用 SharedSizeGroup 但似乎 DataGrid 列没有这个属性(我错了吗?)。 我
我希望使用网格作为我的顶级布局。网格将有 1 列和 n 行。网格中的每一行还应包含一个 3 列 1 行的网格。第二列是 GridSplitter,我尝试使用 SharedSizeGroup,以便更改所
所以,我有 3 个用户控件: 1。 SectionV.xaml ... ... ... 2。 BarV.xaml ...
两个包含以某种方式指定的元素的网格和 SharedSizeGroup 似乎有点问题。 这个问题是对 earlier question 的回应。来自 user D.H.我试图回答。原谅长度,但它有助于直
如果您运行此代码并单击选项卡 2,然后返回选项卡 1,应用程序就会变得疯狂并开始来回弹跳列宽。关于如何解决这个问题有什么建议吗?
我需要带有水平和垂直标题的表格(简单的 PivotGrid)。我在这里发现了一些类似(或几乎相同)的问题,但没有人给出解决方案。在 XAML 中我定义了这个结构:
我有以下 xaml:
没有Grid.SharedSizeGroup在 Silverlight 4 中。您对此问题的解决方法是什么? 例如:我有一个 DataTemplate为 ListBox.ItemTemplate由具有
我试图弄清楚 Grid 如何在其列和行中进行大小共享。我正在使用 Reflector 查看网格代码,但找不到任何匹配项。 cols/rows 共享大小应该首先获得所需的大小,然后使用最大找到的大小再次
我有一个用户控件,称之为UserControl,它有一个带有以下列定义的网格:
我使用代表国家/地区的 ItemsControl。对于每个国家,我使用 ListView 来显示其城市:
如果您在上面的 ItemsControl 下面运行示例窗口,将更新布局几秒钟,直到最后所有列都具有正确的宽度(正确 = 与下面的 ItemsControl 中的列相同)。 您可以更改窗口的宽度并水平和
当我在列上同时使用 SharedSizeGroup 和列跨越控件创建网格时,网格会“精神上”晃动并使 cpu 内核达到最大。 我敢肯定一定有一个很好的理由说明为什么这行不通,但我想不出!我还能如何实现
我遇到了与以下旧论坛帖子中所述相同的问题:Issue on MSDN 但是,出于某种原因,Microsoft 决定删除此处描述的答案中的功能。 我正在寻找的是一个 ListView 有 2+ 列,第一
我是一名优秀的程序员,十分优秀!