Selection.Subscribe Method

Definition

A helper method that subscribes to selection change events.

C#
public static void Subscribe(System.Activities.Presentation.EditingContext context, System.Activities.Presentation.SubscribeContextCallback<System.Activities.Presentation.View.Selection> handler);

Parameters

context
EditingContext

The editing context to listen to.

handler
SubscribeContextCallback<Selection>

The handler to be invoked when the selection changes.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1