Click or drag to resize
AB4D logo

MouseCameraControllerEventsSourceElementName Property

Gets or sets the name of the element where the mouse events are subscribed.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax
C#
public string EventsSourceElementName { get; set; }

Property Value

String
Remarks

Note that if EventsSourceElement property is set to Viewport3D (manually or automatically) the mouse events occur only on the area of Viewport3D that actually shows a content. So mouse events do not happen on the empty area of the Viewport3D. To enable mouse events on the whole area of Viewport3D, add a Grid or Border as a parent of a Viewport3D, set its Background to any Brush - for example White or Transparent and than set the EventsSourceElement or EventsSourceElementName to the added control.

See Also