You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/card/action-buttons.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ documentation: ug
9
9
10
10
# Action Buttons in Blazor Card Component
11
11
12
-
You can include action buttons within the Card and customize them. Action button is a `div` element with`CardFooter`component followed by button tag or anchor tag within the card root element.
12
+
The Blazor Card component provides support for adding and customizing action buttons within its structure. Action buttons are typically placed in the`CardFooter`section of the Card. This document explains how to add these buttons and control their alignment.
13
13
14
-
For adding action buttons, you can create a `CardFooterContent` component within the card action element.
14
+
Action buttons are rendered within the `CardFooter` section. A single button or multiple buttons can be defined directly inside the `CardFooterContent`of the `CardFooter`component. The CardFooterContent is a `RenderFragment` property that accepts any Blazor UI elements.
15
15
16
16
```cshtml
17
17
@using Syncfusion.Blazor.Cards
@@ -27,21 +27,29 @@ For adding action buttons, you can create a `CardFooterContent` component withi
27
27
28
28
## Vertical
29
29
30
-
By default, action buttons are aligned horizontally. They can also be aligned vertically by adding the `Orientation` property.
30
+
By default, action buttons within the `CardFooter`are aligned horizontally. To align them vertically, set the `Orientation` property of the `SfCard` component to `CardOrientation.Vertical`.
Copy file name to clipboardExpand all lines: blazor/card/card-image.md
+28-14Lines changed: 28 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,40 +13,53 @@ documentation: ug
13
13
14
14
## Images
15
15
16
-
The Card supports to include images within the elements, you can add image as direct element anywhere inside card root by adding the `CardImage` component . Using the class defined, you can write CSS styles to load images to that element.
16
+
The Blazor Card component supports the inclusion of images using the [`CardImage`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Cards.CardImage.html) component. The element can be added directly within the structure to display an image.
17
17
18
18
N> By default, card images occupies full width of its parent element.
19
19
20
+
The CardImage supports direct specification of the image source using its `Image` property. Additionally, it can include an `Alt` property for improved accessibility, providing alternative text for the image.

46
59
47
60
## Divider
48
61
49
-
Divider used to separate the elements inside the card. You can add divider inside the card elements to separate it. Set `EnableSeparator` property to `true` in card content for adding a divider.
62
+
Dividers are used to visually separate elements within the Card. To add a divider below a `CardContent` component, set its [`EnableSeparator`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Cards.CardContent.html#Syncfusion_Blazor_Cards_CardContent_EnableSeparator) property to `true`.
50
63
51
64
```cshtml
52
65
@using Syncfusion.Blazor.Cards
@@ -68,4 +81,5 @@ Divider used to separate the elements inside the card. You can add divider insid
0 commit comments