开发者

How to lock a hosted WorkflowDesigner from editing?

开发者 https://www.devze.com 2023-02-07 00:22 出处:网络
Is it possible to add a locked WorkflowD开发者_Go百科esigner View to a WPF application? By locked I mean no change or editing whatsoever can be done to the Workflow Model.Yes by changing the ReadOnlyS

Is it possible to add a locked WorkflowD开发者_Go百科esigner View to a WPF application? By locked I mean no change or editing whatsoever can be done to the Workflow Model.


Yes by changing the ReadOnlyState

var readOnlyState = _workflowDesigner.Context.Items.GetValue<ReadOnlyState>();
readOnlyState.IsReadOnly = true;
0

精彩评论

暂无评论...
验证码 换一张
取 消