Condividi tramite


Selection.Subscribe Metodo

Definizione

Metodo di supporto che esegue la sottoscrizione agli eventi di modifica della selezione.

public:
 static void Subscribe(System::Activities::Presentation::EditingContext ^ context, System::Activities::Presentation::SubscribeContextCallback<System::Activities::Presentation::View::Selection ^> ^ handler);
public static void Subscribe (System.Activities.Presentation.EditingContext context, System.Activities.Presentation.SubscribeContextCallback<System.Activities.Presentation.View.Selection> handler);
static member Subscribe : System.Activities.Presentation.EditingContext * System.Activities.Presentation.SubscribeContextCallback<System.Activities.Presentation.View.Selection> -> unit
Public Shared Sub Subscribe (context As EditingContext, handler As SubscribeContextCallback(Of Selection))

Parametri

context
EditingContext

Contesto di modifica per il quale essere in ascolto.

handler
SubscribeContextCallback<Selection>

Gestore da richiamare quando cambia la selezione.

Si applica a