FocusItem QML Type
A focus rectangle indicator for controls. More...
| Import Statement: | import FluentUI.Controls 1.0 |
Properties
- bottomMargin : int
- highlight : bool
- highlightSize : int
- leftMargin : int
- orientation : Qt::Orientation
- radius : int
- rightMargin : int
- target : Item
Detailed Description
FocusItem renders a visual focus indicator (typically a highlighted border) around a target control. It supports configurable corner radius, orientation-specific sizing, and margin adjustments.
Property Documentation
bottomMargin : int
leftMargin : int
rightMargin : int
Margin offsets applied to the corresponding sides of the focus indicator.
highlight : bool
Whether the focus indicator is in a highlighted visual state.
highlightSize : int
The size of the highlight visual in the primary orientation.
orientation : Qt::Orientation
The orientation used for layout calculations of the focus indicator.
radius : int
The corner radius of the focus indicator.
target : Item
The item around which the focus indicator is drawn.