开发者

How to lock a hosted WorkflowDesigner from editing?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜