Skip to content

ContentCard

Surface card with title, subtitle, symbol, and body slot.

import QWinUI3.Extras · src/extras/QWinUI3/Extras/ContentCard.qml

Category: Layout · Library: v2.80

← Component index

Gallery: ContentCardsrc/gallery/pages/ContentCardPage.qml

Extends Control.

Example

ContentCard {
    title: qsTr("Card")
    Label { text: qsTr("Body") }
}

// --- API ---
// signals: onClicked

Notes

Surface card with title/subtitle/symbol and body slot.

API

Properties

Name Type Description
title string Primary title text
subtitle string Secondary subtitle text
symbol var FluentIcons symbol (preferred over iconGlyph)
headerIcon string Header icon glyph
footer alias Footer text
isClickable bool Emit clicked when activated
cornerRadius real Card corner radius (binds ElevatedChrome)
contentData alias Default children / content slot
effectiveHeaderIcon string Resolved header icon

Signals

Signature Description
clicked() Emitted when clicked

Methods

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

Inherited from Control

Also available (base type / Qt Quick Controls):

  • padding
  • font
  • background / contentItem

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