Class SfCard
The Card is a container-based user interface control built using for displaying organized content.
Inheritance
System.Object
SfCard
Namespace: Syncfusion.Blazor.Cards
Assembly: Syncfusion.Blazor.dll
Syntax
public class SfCard : ComponentBase
Constructors
SfCard()
Declaration
public SfCard()
Properties
ChildContent
Represents a segment of UI content, implemented.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment |
CssClass
Defines CssClass for the Card component.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HtmlAttributes
You can add the additional html attributes such as id, title etc., to the button element.
Declaration
public Dictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
ID
Defines Id for the Card component.
Declaration
public string ID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Orientation
Defines the Orienation of the card
Declaration
public CardOrientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
CardOrientation |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitialized()
Declaration
protected override void OnInitialized()