| GameEventTRaiseOnEvent Property |
Event handler that automatically raises this game object event when another event occurs.
Namespace: DigitalRune.GameAssembly: DigitalRune.Game (in DigitalRune.Game.dll) Version: 1.4.0.0 (1.4.0.14427)
Syntax public EventHandler<EventArgs> RaiseOnEvent { get; }
Public ReadOnly Property RaiseOnEvent As EventHandler(Of EventArgs)
Get
public:
property EventHandler<EventArgs^>^ RaiseOnEvent {
EventHandler<EventArgs^>^ get ();
}
member RaiseOnEvent : EventHandler<EventArgs> with get
Property Value
Type:
EventHandlerEventArgsRemarks
This event handler can be used to raise this game event in response to another event. It
can, for example, be used to connect the Changed event of a
GamePropertyT to this event.
myFloatProperty.Changed += new EventHandler<GamePropertyEventArgs<float>>(myEvent.RaiseOnEvent);
myEvent is fired every time when myFloatProperty changes its value.
See Also