Experimental: this API is experimental and might be changed or removed in the future.

IUIElementDataWatch.RegisterWatch

Cambiar al Manual
public Experimental.UIElements.IUIElementDataWatchRequest RegisterWatch (Object toWatch, Action<Object> watchNotification);

Parámetros

toWatchThe object to watch.
watchNotificationCallback.

Valor de retorno

IUIElementDataWatchRequest A reference to this datawatch request. Disposing it will ensure any native resources will also be released.

Descripción

Starts watching an object. When watched, all changes on an object will trigger the callback to be invoked.