Card Blazor API

Card Properties

NameTypeDefaultDescription
ContentHandlerobjectN/AA callback function that allows you to attach event handlers and implement custom behaviors within the card element. Use this function to interact with or modify the card's content after it has been rendered, such as adding click listeners, updating UI components, or integrating additional logic specific to the card's context.
DataSourceobjectN/AThis object serves as the data source for populating a card template. Each key corresponds to a placeholder—enclosed in double curly braces within the item's template. The associated values are used to replace these placeholders during rendering, enabling dynamic content injection into the card layout.
DisabledboolfalsePrevents user interactions with the element, such as clicking, typing, or focusing, effectively making the element unresponsive to input events.
ItemTemplateobjectN/ASpecifies a custom card template for rendering card content. The template can be provided either as a string representing the ID of an '