Class ContentFragmentComponent
Inheritance
ContentFragmentComponent
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
Syntax
public class ContentFragmentComponent : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
Constructors
ContentFragmentComponent()
Declaration
public ContentFragmentComponent()
Properties
ContentDto
Declaration
[Parameter]
public IContent ContentDto { get; set; }
Property Value
MarkdownRenderer
Declaration
[Inject]
public IMarkdownToHtmlRenderer MarkdownRenderer { get; set; }
Property Value
Options
Declaration
[Inject]
public IOptions<CmsKitContentWidgetOptions> Options { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Overrides
RenderMarkdown(string)
Declaration
public virtual string RenderMarkdown(string content)
Parameters
Type |
Name |
Description |
string |
content |
|
Returns
Implements
Extension Methods