Intersoft ClientUI Documentation
OnEventAction Property
See Also  Send Feedback
Intersoft.Client.Framework Namespace > WeakEventListener<TInstance,TSource,TEventArgs> Class : OnEventAction Property






Gets or sets the method to call when the event fires.

Syntax

Visual Basic (Declaration) 
Public Property OnEventAction As Action(Of TInstance,TSource,TEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As WeakEventListener(Of TInstance,TSource,TEventArgs)
Dim value As Action(Of TInstance,TSource,TEventArgs)
 
instance.OnEventAction = value
 
value = instance.OnEventAction
C# 
public Action<TInstance,TSource,TEventArgs> OnEventAction {get; set;}
Delphi 
public read-write property OnEventAction: Action; 
JScript 
public function get,set OnEventAction : Action
Managed Extensions for C++ 
public: __property Action<TInstance*,TSource*,TEventArgs*>* get_OnEventAction();
public: __property void set_OnEventAction( 
   Action<TInstance*,TSource*,TEventArgs*>* value
);
C++/CLI 
public:
property Action<TInstance^,TSource^,TEventArgs^>^ OnEventAction {
   Action<TInstance^,TSource^,TEventArgs^>^ get();
   void set (    Action<TInstance^,TSource^,TEventArgs^>^ value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.