Logo FluentUI

SegmentedButton QML Type

A single button within a SegmentedControl. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

SegmentedButton represents an individual button in a SegmentedControl group. It can display text, an icon, and supports checked and enabled states.

Property Documentation

checked : bool

Whether the button is in the checked (selected) state. Only one button within a SegmentedControl can be checked at a time.

enabled : bool

Whether the button is enabled and can be interacted with.

icon : var

The icon displayed on the button. This can be an icon from the FluentIcons font or an image source URL.

text : string

The text label displayed on the button.