如何使用WPFProperty网格编辑自定义控件属性 [英] How can I edit Custom Control Properties with WPFProperty Grid

查看:143
本文介绍了如何使用WPFProperty网格编辑自定义控件属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我只是想知道是否可以通过WPF属性网格更改WPF自定义控件的属性?
我的自定义控件的属性都已显示,但是更改对控件无效.
有可能解决这个问题吗?

亲切的问候
Tom

Hello,
I just wanted to know, if it is possible, to change Properties of a WPF Custom Control with the WPF Property Grid?
The properties of my Custom Control are all displayed, but changes take no effect on the Control.
Is it possible, to solve this problem?

kind regards
Tom

推荐答案

如果已实现所有属性,则应该可以使用自定义属性网格来控制自定义控件的属性. [
if everything has been implemented property, you should be able to control the properties of your custom control using the custom property grid. This[^] might help you get started.


这篇关于如何使用WPFProperty网格编辑自定义控件属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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