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

A SizeChangedEventManager class.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class SizeChangedEventManager : WeakEventManager

Inheritance: objectSizeChangedEventManager

Constructors

C#
public SizeChangedEventManager()

Methods

Adds the listener.

C#
public static void AddListener(Window source, IWeakEventListener listener)
Parameters:sourceWindow

The source.

listenerIWeakEventListener

The listener.

Removes the listener.

C#
public static void RemoveListener(Window source, IWeakEventListener listener)
Parameters:sourceWindow

The source.

listenerIWeakEventListener

The listener.

When overridden in a derived class, starts listening for the event being managed. After is first called, the manager should be in the state of calling or whenever the relevant event from the provided source is handled.

C#
protected override void StartListening(object source)
Parameters:sourceobject

The source to begin listening on.

When overridden in a derived class, stops listening on the provided source for the event being managed.

C#
protected override void StopListening(object source)
Parameters:sourceobject

The source to stop listening on.