Provides periodic update events for a certain type of aperiodical
event. It basically converts aperiodic event handlers in to periodic
ones. To use this class, the following stepes must be taken:
Namespace: Ico.Windows.Media.Media3D- An instance of the class must be created;
- An event handler for DataUpdate must be registered;
- UpdateEventArguments should be asynchronously called whenever new data for the event is obtained. The more frequently this method is called, the more up-to-date the data contined in the periodic mouse events triggered by this class will be. If it is never called the events are never triggered. TI it is called only once, the data sent by this class events are going to always be the same, outdated initial data, and potentially useless.
- The methods StartReceivingPeriodicDataUpdates and StopReceivingPeriodicDataUpdates should be called to start receiving periodic events.
- The previously registered event handler for DataUpdate must be unregistered if you woudl not like to receive periodic data update any longer.
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public class PeriodicDataUpdates |
Visual Basic |
---|
Public Class PeriodicDataUpdates |
JScript |
---|
public class PeriodicDataUpdates |
Inheritance Hierarchy
System..::..Object
Ico.Windows.Media.Media3D..::..PeriodicDataUpdates
Ico.Windows.Media.Media3D..::..PeriodicKeyboardUpdates
Ico.Windows.Media.Media3D..::..PeriodicMouseUpdates
Ico.Windows.Media.Media3D..::..PeriodicDataUpdates
Ico.Windows.Media.Media3D..::..PeriodicKeyboardUpdates
Ico.Windows.Media.Media3D..::..PeriodicMouseUpdates