Class PageUpdate
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
Syntax
[Authorize("CmsKit.Pages.Update")]
[Route("/Cms/Pages/Update/{Id:guid}")]
public class PageUpdate : CmsKitProComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
PageUpdate()
Declaration
Fields
BreadcrumbItems
Declaration
protected List<BreadcrumbItem> BreadcrumbItems
Field Value
HideIcons
Declaration
protected string[] HideIcons
Field Value
MarkdownRef
Declaration
protected DynamicWidgetMarkdown MarkdownRef
Field Value
SelectedTab
Declaration
protected string SelectedTab
Field Value
ValidationsRef
Declaration
protected Validations ValidationsRef
Field Value
Type |
Description |
Validations |
|
Properties
EditingPage
Declaration
protected UpdatePageInputDto EditingPage { get; set; }
Property Value
Id
Declaration
[Parameter]
public Guid Id { get; set; }
Property Value
MediaDescriptorAdminAppService
Declaration
[Inject]
protected IMediaDescriptorAdminAppService MediaDescriptorAdminAppService { get; set; }
Property Value
NavigationManager
Declaration
[Inject]
protected NavigationManager NavigationManager { get; set; }
Property Value
PageAdminAppService
Declaration
[Inject]
protected IPageAdminAppService PageAdminAppService { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Overrides
GetEditingPageAsync()
Declaration
protected virtual Task GetEditingPageAsync()
Returns
OnAfterRenderAsync(bool)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
bool |
firstRender |
|
Returns
Overrides
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Overrides
SetBreadcrumbItemsAsync()
Declaration
protected virtual ValueTask SetBreadcrumbItemsAsync()
Returns
UpdatePageAsync()
Declaration
protected virtual Task UpdatePageAsync()
Returns
Implements
Extension Methods