MapCanvasReceiveWeakEvent Method |
Receives events from the centralized event manager.
Namespace:
Ptv.XServer.Controls.Map.Canvases
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public bool ReceiveWeakEvent(
Type managerType,
Object sender,
EventArgs e
)
Public Function ReceiveWeakEvent (
managerType As Type,
sender As Object,
e As EventArgs
) As Boolean
public:
virtual bool ReceiveWeakEvent(
Type^ managerType,
Object^ sender,
EventArgs^ e
) sealed
abstract ReceiveWeakEvent :
managerType : Type *
sender : Object *
e : EventArgs -> bool
override ReceiveWeakEvent :
managerType : Type *
sender : Object *
e : EventArgs -> bool
Parameters
- managerType
- Type: SystemType
The type of the WeakEventManager calling this method. - sender
- Type: SystemObject
Object that originated the event. - e
- Type: SystemEventArgs
Event data.
Return Value
Type:
Boolean 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.
Implements
IWeakEventListenerReceiveWeakEvent(Type, Object, EventArgs)See Also