ComponentOne Binding Expressions for WPF and Silverlight
C1.Silverlight.Binding Namespace / IWeakEventListener Interface / ReceiveWeakEvent Method
The type of the WeakEventManager calling this method.
Object that originated the event.
Event data.

In This Topic
    ReceiveWeakEvent Method
    In This Topic
    Receives events from the centralized event manager.
    Syntax
    'Declaration
     
    
    Function ReceiveWeakEvent( _
       ByVal managerType As System.Type, _
       ByVal sender As System.Object, _
       ByVal e As System.EventArgs _
    ) As System.Boolean
    System.bool ReceiveWeakEvent( 
       System.Type managerType,
       System.object sender,
       System.EventArgs e
    )

    Parameters

    managerType
    The type of the WeakEventManager calling this method.
    sender
    Object that originated the event.
    e
    Event data.

    Return Value

    true if the listener handled the event. It is considered an error by the WeakEventManager handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.
    See Also