Selection.Subscribe Método

Definição

Um método auxiliar que assina os eventos de alteração de seleção.

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))

Parâmetros

context
EditingContext

O contexto de edição ao qual de deve escutar.

handler
SubscribeContextCallback<Selection>

O manipulador a ser invocado quando a seleção for alterada.

Aplica-se a