C-DEngine 5.105

TheFieldInfo..::..RegisterUXEvent Method (TheThing, String, String, Action<(Of <(<'ICDEThing, Object>)>)>)

Registers a UX Event with the control described in this TheFieldInfo.

Namespace:  nsCDEngine.Engines.NMIService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void RegisterUXEvent(
	TheThing pBaseThing,
	string pEvent,
	string pCookie,
	Action<ICDEThing, Object> pCallback
)
Public Sub RegisterUXEvent ( _
	pBaseThing As TheThing, _
	pEvent As String, _
	pCookie As String, _
	pCallback As Action(Of ICDEThing, Object) _
)
public:
void RegisterUXEvent(
	TheThing^ pBaseThing, 
	String^ pEvent, 
	String^ pCookie, 
	Action<ICDEThing^, Object^>^ pCallback
)

Parameters

pBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
Thing that owns this control.
pEvent
Type: String
eUXEvent enum can be used to specify the event type.
pCookie
Type: String
When the Event occurs the callback "object" parameter will contain a TSM. In the PLS of the TSM you will find the following syntax (TouchPoints:pCookie:StorageRecordID). This cookie will be in the second location
pCallback
Type: Action<(Of <(<'ICDEThing, Object>)>)>
Callback to be called when the event is fired.