[]
        
(Showing Draft Content)

C1.Blazor.Menu.MenuItemView

MenuItemView Class

Implements a selectable item in a C1MenuList control.

Inheritance
MenuItemView
Namespace: C1.Blazor.Menu
Assembly: C1.Blazor.Menu.dll
Syntax
public class MenuItemView : C1View, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Public Class MenuItemView
    Inherits C1View
    Implements IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject

Constructors

Name Description
MenuItemView()

Initializes a new instance of the MenuItemView class.

Fields

Name Description
ChildContentProperty

Identifies the ChildContent dependency property.

Properties

Name Description
ChildContent

Gets or sets the content of the scroll viewer.

Header

gets or sets the header.

HeaderTemplate

Get or Set custom content like Input, Group Checkbox...

ItemTemplate

Gets or sets the RenderFragment used to display the item.

MenuItem

Gets or sets the menu item associated to this view.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)
Dispose(bool)
InitializeAsync()

This method is called when the component is initialized.

OnAfterRender(bool)