在.NET窗口应用程序中自定义组合框的适当性和风格 [英] Customising the properity and style of combobox in .NET windows application

查看:68
本文介绍了在.NET窗口应用程序中自定义组合框的适当性和风格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发一个项目,我需要根据我的要求自定义.net窗口工具的模板。默认情况下,它将采用操作系统窗口模板。

比如说当我使用这个控件时Combobox我需要有棕色背景颜色的项目,当鼠标移过它时项目突出显示它应该是黄色颜色。

在互联网上发现它可以告诉它可以使用WPF完成,但我的应用程序是窗口Application.So可以任何人建议或帮助我如何根据要求建立项目。





问候,

Arun RV

Hello every one,
I am working on a project where I need to customize the template of .net window tools to my requirement. By default it will take OS window template.
Say for example Combobox when I use this control I need to have brown background color of items , when mouse is moved over it the item gets highlight it should be Yellow color .
Found on internet it is telling it can be done using WPF but my application is window Application.So can any one suggest or help me how to build project as per requirement.


Regards,
Arun R.V

推荐答案

它是可以更改 forecolor [ ^ ]和 backcolor [ ^ ]控件(windows应用程序);)



您可以在这里找到许多有趣的自定义组合框示例: SearchBox [ ^ ]
It is possible to change forecolor[^] and backcolor[^] of control (windows application);)

Many interesting examples of custom combobox you'll find here: SearchBox[^]


这篇关于在.NET窗口应用程序中自定义组合框的适当性和风格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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