Apple.Segmented.Segment

A segment in the Apple.Segmented control. Apple.Segment.Segment is not an item, so must be used in conjunction with Apple.Segmented.

Apple.Segmented {
    Apple.Segmented.Segment {
        label: "Paid"
    }
    Apple.Segmented.Segment {
        label: "Free"
    }
    Apple.Segmented.Segment {
        label: "Top Grossing"
    }
}

property String label

The label to display for the segment.

property Bool visible: true

Whether the segment is visible or not. A segment that is not visible will not be shown in the Apple.Segmented control.