Patches

Segmented Control

Segmented Control

An iOS segmented control with customizable segments.

Use the Touch button on the component to get information about the selected segment.

Segmented Control

  • Enable
  • Position Y
  • Anchor
  • Opacity
  • Color
  • Tint Color
  • Number of Segments
  • Switch to Segment
  • Switch Segment
  • Segment 1 - Title
  • Segment 2 - Title
  • Segment 3 - Title
  • Segment 4 - Title
  • Segment 5 - Title
  • Selected Segment Index
  • Segment 1 Selected
  • Segment 2 Selected
  • Segment 3 Selected
  • Segment 4 Selected
  • Segment 5 Selected

Enable

A boolean that is true when the segmented control is displayed.

Position Y

The vertical position of the segmented control.

Anchor

The anchor point to position the segmented control is relative to. See Coordinates for more information.

Opacity

The opacity of the segmented control.

Color

The background color of the segmented control.

Tint Color

The primary color of the segmented control and selected segment.

Number of Segments

A number representing the number of segments in the control.

Switch to Segment

The index of the segment to switch to, starting at 0.

Switch Segment

A pulse that changes the currently selected segment.

Segment 1 - Title

A text string that is displayed as the title of the first segment.

Segment 2 - Title

A text string that is displayed as the title of the second segment.

Segment 3 - Title

A text string that is displayed as the title of the third segment.

Segment 4 - Title

A text string that is displayed as the title of the fourth segment.

Segment 5 - Title

A text string that is displayed as the title of the fifth segment.

Selected Segment Index

An index that represents the currently selected segment, starting at 0.

Segment 1 Selected

A boolean that is true when the first segment is selected.

Segment 2 Selected

A boolean that is true when the second segment is selected.

Segment 3 Selected

A boolean that is true when the third segment is selected.

Segment 4 Selected

A boolean that is true when the fouth segment is selected.

Segment 5 Selected

A boolean that is true when the fifth segment is selected.