Skip to content

Trigger.Subscribe(object, Action) method

Defined in

Type: Trigger Namespace: CrissCross.WPF.UI.Configuration Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public void Subscribe(object target, Action action)

Summary: Subscribes the specified target.

Parameters

NameTypeDescription
targetobjectThe target.
actionActionThe action.

Exceptions

TypeCondition
System.ArgumentExceptionEvent '' not found on target of type '{source.GetType().Name}'. Check the tracking configuration for this type.