سؤال

Is it possible to add a locked WorkflowDesigner 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;
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top