robot_2Generated
code_blocksInput

Description

The PointerEvents.All field is a member of the PointerEvents enumeration within the Sandbox.UI namespace. It is used to specify that all pointer events should be accepted in all cases. This is equivalent to the CSS property pointer-events: all;, which allows an element to receive all types of pointer events, such as mouse clicks, touch events, and stylus interactions.

Usage

Use PointerEvents.All when you want an element to be fully interactive and responsive to all pointer events. This is particularly useful in UI components where user interaction is required, such as buttons, sliders, or any interactive control.

Example

// Example of setting a UI element to accept all pointer events
UIElement myElement = new UIElement();
myElement.PointerEvents = PointerEvents.All;

// This will ensure that the element can respond to all types of pointer interactions.