There are couple of activities in my workflow & based on some condition, I need to make an activity disabled i.e. I don't want that activity to be seletable by the user. I am opening my workflow in designer at run time to give an overview of WF
to the user. Something like
this.wd = new System.Activities.Presentation.WorkflowDesigner();
this.designerSection.Child = (this.wd.View);
I was going thru the MS sample of CommentOut Activity but that won't solve my requirement as Activity needs to be disabled at run time based on some condition.
View Complete Post