Skip to content

CardAction class

Defined in

Namespace: CrissCross.Avalonia.UI.Controls Assembly: CrissCross.Avalonia.UI.dll Full name: CrissCross.Avalonia.UI.Controls.CardAction Modifiers: public

Summary

        Represents a button control designed for use within a card layout, supporting an optional icon and chevron
        indicator.
        

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Class hierarchy
classDiagram
class CardAction
class Button
Button <|-- CardAction

Inherits from: Button

Remarks

CardAction extends the standard button functionality to provide a consistent action element for card-based user interfaces. It allows developers to display an icon and an optional chevron, commonly used to indicate navigation or additional actions. This control is typically used within card containers to present interactive options to users.

Constructors

NameSummary
.ctor

Properties

NameSummary
IsChevronVisibleGets or sets a value indicating whether gets or sets information whether to display the chevron icon on the right side of the card.
IconGets or sets displayed icon.

Fields

NameSummary
static IsChevronVisiblePropertyProperty for [IsChevronVisible](#
static IconPropertyProperty for [Icon](#
Inherited members