New to Telerik UI for WPFStart a free 30-day trial

Provides a base class for the event manager that is used in the weak event pattern. The manager adds and removes listeners for events (or callbacks) that also use the pattern.

Definition

Namespace:System.Windows

Assembly:Telerik.Windows.Controls.dll

Type Parameters:

T

The type of the parameter.

Syntax:

C#
public abstract class WeakEventManager<T> : WeakEventManager where T : class

Inheritance: objectWeakEventManager<T>

Derived Classes: CanExecuteChangedEventManager

Constructors

C#
protected WeakEventManager()

Methods

Helper method that throw ArgumentNullException if given source is null.

C#
protected static void CheckForNull(object source, string argumentName)
Parameters:sourceobject

The element that is check for null.

argumentNamestring

The name that should be passed to ArgumentNullException constructor.