Class CardImage
The Card image is used to includes image as direct element anywhere inside the root card.
Inheritance
System.Object
CardImage
Namespace: Syncfusion.Blazor.Cards
Assembly: Syncfusion.Blazor.dll
Syntax
public class CardImage : ComponentBase
Constructors
CardImage()
Declaration
public CardImage()
Properties
ChildContent
Represents a segment of UI content, implemented.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Image
Represents a url location of a image.
Declaration
public string Image { get; set; }
Property Value
Type |
---|
System.String |
Title
Represents a title for the image.
Declaration
public string Title { get; set; }
Property Value
Type |
---|
System.String |
TitlePosition
Represents a title position in the image.
Declaration
public TitlePositions TitlePosition { get; set; }
Property Value
Type |
---|
TitlePositions |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitialized()
Method invoked when the component is ready to start.
Declaration
protected override void OnInitialized()