如何在WPF中隐藏箭头扩展器 [英] how to hide arrow expander in wpf

查看:133
本文介绍了如何在WPF中隐藏箭头扩展器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想在wpf中隐藏箭头扩展器或标题扩展器
所以
有办法做到吗?
如果可能,请使用C#代码回答.
tnx all.

Hi all,
i want to hide arrow expander or header expander in wpf
so
is there way to do this?
if possible answer by c# code.
tnx all.

推荐答案



您将不得不覆盖扩展器的ControlTemplate-这是一个不错的起点:使用ControlTemplate自定义WPF扩展器 [ ^ ]-在本文中,查看Expander ToggleButton模板.

亲切的问候,
Hi,

You''ll have to overwrite the ControlTemplate of the expander - this is a good place to start: Customizing WPF Expander with ControlTemplate[^] - in the article, have a look at the Expander ToggleButton Template.

Kind regards,


hi programm3r
解决方案的储罐
我已经下载了这个项目
但我确实要解决,因为我没有时间.
再次使您比非常"更多.
hi programm3r
tanks for u''re solution
i have downloaded this project
but i wand exactly solution because i have not any time.
again tank u more than "very much".


您可以得到示例此处 [ ^ ]

亲切的问候,
You can get the example here[^]

Kind regards,


这篇关于如何在WPF中隐藏箭头扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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