Udostępnij za pośrednictwem


Selection.Subscribe Metoda

Definicja

Metoda pomocnika, która subskrybuje zdarzenia zmiany wyboru.

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

Parametry

context
EditingContext

Kontekst edycji do nasłuchiwania.

handler
SubscribeContextCallback<Selection>

Procedura obsługi, która ma zostać wywołana po zmianie zaznaczenia.

Dotyczy