On this page

BorderStyle QML Type

Defines the border style for a delegate. More...

Import Statement: import Qt.labs.StyleKit
Status: Technology preview

This type is in technology preview and is subject to change.

Properties

Detailed Description

BorderStyle provides properties for the border drawn around a DelegateStyle. It is available as the border grouped property on any delegate.

Note: Types in Qt.labs modules are not guaranteed to remain compatible in future versions.

See also DelegateStyle, ControlStyle, ControlStateStyle, and FallbackStyle Reference.

Property Documentation

color : color

The color of the border. The default value is transparent.

width : real

The width of the border in pixels.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.