线自动长度 [英] Line with automatic length

查看:63
本文介绍了线自动长度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Expression Blend 4中,我必须绘制一条带有自动长度的虚线(取决于容器的长度)。

In Expression Blend 4 I have to draw a dashed line with automatic lenght ( depending on the length of the container ).

我该怎么做?

谢谢

推荐答案

什么是容器? 如果它是一个网格,它是微不足道的,只需将左/右边距设置为你想要的,它将随网格调整大小。但是,这不适用于帆布。另外,SL还是WPF?
What is the container?  If it is a grid it is trivial, just set the margin on the left/right to be what you want and it will resize with the grid. That won't work with canvas however. Also, SL or WPF?


这篇关于线自动长度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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