WPF ComboBox 默认控制模板 [英] WPF ComboBox default ControlTemplate

查看:24
本文介绍了WPF ComboBox 默认控制模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到默认的ComboBox ControlTemplate?是否有任何工具可以从 ComboBox 实例中提取它?我发现的只是一个 ComboBox ControlTemplate 示例,它与默认示例完全不同.

Where to find the default ComboBox ControlTemplate? Is there any tool to extract it from a ComboBox instance? All I've found is a ComboBox ControlTemplate example, which is completely different from the default one.

推荐答案

在设计器中 -> 右键单击​​组合框 -> 编辑模板 -> 编辑副本

In the Designer -> Right Click the ComboBox -> Edit Template -> Edit a Copy

Msdn 参考:组合框样式和模板

这篇关于WPF ComboBox 默认控制模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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