Count Cards
Configuring count cards in Konstrukt, the back office UI builder for Umbraco.
Adding a count card to a collection
AddCard(string name, Lambda whereClauseExpression, Lambda cardConfig = null) : KonstruktCardConfigBuilder
// Example
collectionConfig.AddCard("Older than 30", p => p.Age > 30, cardConfig => {
...
});AddCard(string name, string icon, Lambda whereClauseExpression, Lambda cardConfig = null) : KonstruktCardConfigBuilder
// Example
collectionConfig.AddCard("Older than 30", "icon-umb-users", p => p.Age > 30, cardConfig => {
...
});Change the color of a count card
SetColor(string color) : KonstruktCardConfigBuilder
Add a suffix to a count value
SetSuffix(string suffix) : KonstruktCardConfigBuilder
Formatting the value of a count
SetFormat(Lambda formatExpression) : KonstruktCardConfigBuilder
Last updated