Class Slider2D

Class Hierarchy

Use the Slider 2D node as a building block for a 2D UI control that lets the application user change a numerical value using a visual indicator between a minimum and a maximum value.

To disable a Slider 2D node, set the Node::EnabledProperty to \e false. A disabled Slider 2D does not respond to input. To visually indicate the disabled state of a Slider 2D node, create a state manager and use the Node::EffectivelyEnabledProperty as its controller property. When Kanzi disables a Slider 2D node, it cancels current gestures and preserves the slider value.

Inherits properties and message types from Slider2DMetadata.

Synopsis

Methods
create()

Creates a Slider3D node

Slider2D.Slider2D:create(name)

Creates a Slider3D node.

Parameters
name (string)

The name of the stack layout.