Click or drag to resize
AB4D logo

MouseCameraControllerSubscribeEvents Method

SubscribeEvents method subscribe mouse events to the newEventsSourceElement. The method can be overridden.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
protected virtual void SubscribeEvents(
	FrameworkElement newEventsSourceElement
)

Parameters

newEventsSourceElement  FrameworkElement
new EventsSourceElement as FrameworkElement
Remarks

SubscribeEvents method subscribe mouse events to the newEventsSourceElement.

When overriding the method please call the base method. Also do not forget to override the UnsubscribeEvents method to unsubscribe from the events.

See Also