ContextMenuOptions Class

Class ContextMenuOptions.

Inheritance

Object

ContextMenuOptions

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class ContextMenuOptions

Constructors

ContextMenuOptionsLink to this section

Class ContextMenuOptions.

Declaration
public ContextMenuOptions()

Properties

ChildContentLink to this section

Gets or sets the child content.

Declaration
public RenderFragment<ContextMenuService> ChildContent { get; set; }
Property Value
Type Description
RenderFragment<ContextMenuService>Gets or sets the child content.

ClickLink to this section

Gets or sets the click.

Declaration
public Action<MenuItemEventArgs> Click { get; set; }
Property Value
Type Description
Action<MenuItemEventArgs>Gets or sets the click.

CloseOnScrollLink to this section

Gets or sets a value indicating whether the context menu should close when its target or the document is scrolled.

Declaration
public bool CloseOnScroll { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the context menu should close when its target or the document is scrolled.

ItemsLink to this section

Gets or sets the items.

Declaration
public IEnumerable<ContextMenuItem> Items { get; set; }
Property Value
Type Description
IEnumerable<ContextMenuItem>Gets or sets the items.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙