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¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| IsChevronVisible | Gets or sets a value indicating whether gets or sets information whether to display the chevron icon on the right side of the card. |
| Icon | Gets or sets displayed icon. |
Fields¶
| Name | Summary |
|---|---|
| static IsChevronVisibleProperty | Property for [IsChevronVisible](# |
| static IconProperty | Property for [Icon](# |