Event When Selected Activity Collapses or Expands? RRS feed

  • Question

  • Does any event fire in the Rehosted Designer when the selected Activity Expands or Collapses?

    I am looking for something like the following that subscribes to the Expand state:

    System.Activities.Presentation.View.Selection.Subscribe(MyDesigner.Context , new System.Activities.Presentation.SubscribeContextCallback<Selection>

    • Edited by Zero_gt Monday, July 18, 2011 2:40 PM addeddetail
    Monday, July 18, 2011 2:30 PM


  • ExpandState info is stored in ViewState with key "IsExpanded". There's a public event fired for ViewState change: 

            public abstract event ViewStateChangedEventHandler ViewStateService.ViewStateChanged;

    This posting is provided "AS IS" and confers no rights or warranties.
    • Marked as answer by Zero_gt Monday, July 18, 2011 3:29 PM
    Monday, July 18, 2011 3:08 PM