C-DEngine 5.105

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

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,
	bool rowsAreThings
)
Public Sub RegisterUXEvent ( _
	pBaseThing As TheThing, _
	pEvent As String, _
	pCookie As String, _
	pCallback As Action(Of ICDEThing, Object), _
	rowsAreThings As Boolean _
)
public:
void RegisterUXEvent(
	TheThing^ pBaseThing, 
	String^ pEvent, 
	String^ pCookie, 
	Action<ICDEThing^, Object^>^ pCallback, 
	bool^ rowsAreThings
)

Parameters

pBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
Owner (form) of 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 was fired
rowsAreThings
Type: Boolean
Route event to the thing being clicked, if the control contains rows that are Things (i.e. a table showing a storage mirror of things)