- UID
- 10108
- 积分
- 5956
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2002-9-17
- 最后登录
- 1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
WPF implementation to mimic Color / Layer controls By Balaji Ramamoorthy
The ribbon controls such as "Object Color Gallery” and “Layer List Combo Box” ribbon controls are useful for accepting color and layer input and can be placed in ribbon tabs. These controls are data-bound and any user input using these controls also ensures that the entity property gets modified. If you wish to accept color / layer input without such automatic property update to the entity, then you will need your own implementation of the controls.
Implementing such a control is a programming task involving WPF and with very little use of AutoCAD API. Iam sharing this project to provide a starting point for your own implementation which you can improvise based on your requirements and hopefully saves you some time.
Here is some relevant portions of the code from the sample project that you can download.
|
|