如何删除 silverlight 3 扩展器控件中标题的边框线?

发布于 2024-08-07 07:12:28 字数 14 浏览 11 评论 0原文

请提出正确答案

Please suggest a right answer

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

许仙没带伞 2024-08-14 07:12:28

编辑标题的样式或编辑控件模板的副本。去研究关键词:“风格”和“控件模板”。

Edit the style for the header or edit a copy of the control template. Go research keywords: "style" and "control template".

墨小沫ゞ 2024-08-14 07:12:28

右键单击 Expression Blend 中的控件。单击“编辑模板”,然后单击“编辑副本”。

为“样式资源”命名。

在“对象和时间线”下,选择标题并更改其样式。

Right-click the control in Expression Blend. Click "Edit template" and then click "Edit Copy".

Give the "Style Resource" a name.

Under "Objects and Timeline", select the header and make changes to its style.

美人骨 2024-08-14 07:12:28

正如上面所说,当生成代码时,将 StrokeThickness="1" 替换为 StrokeThickness="0"

您将删除该行

<矩形 x:Name="FocusVisualElement" Stroke="#FF448DCA" StrokeThickness="0" IsHitTestVisible="false" Visibility="Collapsed" />

AS said above when code is generated then replace StrokeThickness="1" by StrokeThickness="0"

you will get the line removed

< Rectangle x:Name="FocusVisualElement" Stroke="#FF448DCA" StrokeThickness="0" IsHitTestVisible="false" Visibility="Collapsed" />

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文