Inheritance
System.Object
DropDownMenuItem
Assembly: Syncfusion.Blazor.dll
public class DropDownMenuItem : OwningComponentBase
Constructors
Declaration
public DropDownMenuItem()
Properties
Set custom content for items.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Microsoft.AspNetCore.Components.RenderFragment |
Used to enable or disable the action items.
Declaration
public bool Disabled { get; set; }
Property Value
You can add the additional HTML attributes such as style, title etc., to the item
Declaration
public Dictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type |
System.Collections.Generic.Dictionary<System.String, System.Object> |
Defines class/multiple classes separated by a space for the item that is used to include an icon.
Action item can include font icon and sprite image.
Declaration
public string IconCss { get; set; }
Property Value
Specifies unique id for item.
Declaration
public string Id { get; set; }
Property Value
Specifies separator between the items. Separator are horizontal lines used to group action items.
Declaration
public bool Separator { get; set; }
Property Value
Declaration
public string Text { get; set; }
Property Value
Specifies url for item that creates the anchor link to navigate to the url provided.
Declaration
public string Url { get; set; }
Property Value
Methods
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
System.Threading.Tasks.Task |