如何删除 silverlight 3 扩展器控件中标题的边框线?
请提出正确答案
Please suggest a right answer
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
请提出正确答案
Please suggest a right answer
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
编辑标题的样式或编辑控件模板的副本。去研究关键词:“风格”和“控件模板”。
Edit the style for the header or edit a copy of the control template. Go research keywords: "style" and "control template".
右键单击 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.
正如上面所说,当生成代码时,将 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" />