Comments (1)
ReadOnlyModel 建议可以作为 STNode 属性,开启后只针对该节点, 外部的改成readOnly 作为全局统一的。
现在我想针对局部的节点是没有办法的,只能改造了
感谢你的一直使用。。最近也收集了一些之前用户提供的建议。。在开始构思3.0版本的一些东西
关于你的这个问题目前可以通过Editor的SelectedChanged来根据当前选择的节点来判断是否 readonly 。或者通过给STNode添加ReadOlny属性 并提供Changed这样的事件 然后属性编辑器的ReadOnly采用STNode的值
关于你这个问题我也想了一下。。如果把ReadOnly移动到STNode中的话 需要批量的时候 比如当前需要锁定所有节点的时候 需要循环每个节点去设置之,,也会变得繁琐。。到时候我思考一下是否需要改变处理方式
from stnodeeditor.
Related Issues (8)
- 关于NodeProperty面板和Node控件同步更新的问题 HOT 1
- 升级到.NET 5,6 HOT 7
- 老哥,这玩意支持WPF么。 HOT 1
- 一些建议 HOT 4
- STNode 定义只读属性保存后,再读取时会报异常 HOT 3
- 希望可以添加动态节点的支持 HOT 5
- 节点中实体类属性的持久化存储问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stnodeeditor.