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






Gets or sets the method to call when detaching from the event.

Syntax

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