Skip to content

ElevatedChrome

Shared elevated shadow/border chrome (WinUI-style soft shadow).

import QWinUI3.Theme · src/theme/QWinUI3/Theme/ElevatedChrome.qml

Category: Theme · Library: v2.80

← Component index

Internal / support type — not part of the public Gallery surface.

Extends Item.

Example

ElevatedChrome { anchors.fill: parent }

Requires QtQuick.Effects (MultiEffect) when QWINUI3_HAVE_QUICK_EFFECTS is on.
Without Effects, CMake substitutes ElevatedChrome_Simple.qml (same API, no blur).
MultiEffect deferred one frame; skipped when Theme.reducedMotion (1.89).
Debian/Ubuntu: sudo apt install qml6-module-qtquick-effects libqt6quickeffects6

API

Properties

Name Type Description
color color Primary color
radius real Corner radius
borderColor color Border color
borderWidth int Border width in px
elevated bool Use elevated chrome
elevation real Elevation level
shadowOpacity real Shadow opacity
shadowBlur real Shadow blur radius
blurMax int Maximum blur radius
antialiasing alias Enable antialiased drawing

Signals

No custom signals (use inherited signals from the base type).

Methods

No custom methods (use inherited methods from the base type).

Inherited from Item

Also available (base type / Qt Quick Controls):

  • width / height
  • visible
  • anchors

Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.