alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class RibbonDropDownSettings

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    RibbonDropDownSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RibbonDropDownSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    RibbonDropDownSettings()

    Declaration
    public RibbonDropDownSettings()

    Properties

    Content

    Gets or sets the content of the DropdownButton, which can be text.

    Declaration
    [Parameter]
    public string Content { get; set; }
    Property Value
    Type Description
    string

    A string representing the content to be displayed in the DropdownButton. The default value is String.Empty.

    Remarks

    Use this property to set the content for the DropdownButton to customize the appearance of the button.

    Created

    Triggers an event callback that is raised once the dropdownbutton rendering is completed.

    Declaration
    [Parameter]
    public EventCallback Created { get; set; }
    Property Value
    Type Description
    EventCallback

    An event callback that signifies the completion of dropdownbutton rendering.

    Remarks

    This event is useful to track when the dropdownbutton’s rendering process has finished, allowing for additional actions or state changes to be triggered after the component has fully rendered.

    CssClass

    Gets or sets one or more CSS classes to customize the appearance of the DropdownButton.

    Declaration
    [Parameter]
    public string CssClass { get; set; }
    Property Value
    Type Description
    string

    A string containing one or more CSS class names, separated by spaces, used to apply custom styles to the DropdownButton. The default value is String.Empty.

    Remarks

    Use this property to add custom CSS classes to the DropdownButton for styling purposes. Multiple classes can be specified by separating them with spaces.

    IconCss

    Gets or sets one or more CSS classes to include font icon and sprite image for the DropdownButton.

    Declaration
    [Parameter]
    public string IconCss { get; set; }
    Property Value
    Type Description
    string

    Accepts a CSS class string separated by space to add icons or images to the DropdownButton. The default value is String.Empty.

    Remarks

    Use this property to apply icon classes or sprite images to the DropdownButton for visual enhancement.

    ItemRendering

    Gets or sets an event callback that is raised while rendering each item in the DropdownButton popup.

    Declaration
    [Parameter]
    public EventCallback<DropDownItemRenderEventArgs> ItemRendering { get; set; }
    Property Value
    Type Description
    EventCallback<DropDownItemRenderEventArgs>

    An event callback of type DropDownItemRenderEventArgs that provides information during the rendering of each popup item.

    Remarks

    Use this event to customize the rendering of individual items in the dropdown. You can modify the properties of each item during its rendering phase, such as applying styles or altering its content dynamically.

    ItemSelecting

    Triggers an event callback that is raised when an item is selected in the DropdownButton popup.

    Declaration
    [Parameter]
    public EventCallback<DropDownItemSelectEventArgs> ItemSelecting { get; set; }
    Property Value
    Type Description
    EventCallback<DropDownItemSelectEventArgs>

    An event callback of type DropDownItemSelectEventArgs that provides information when an item is selected.

    Remarks

    This event is triggered when a user selects an item from the DropdownButton popup.

    Items

    Gets or sets the items to be rendered in the DropdownButton popup.

    Declaration
    [Parameter]
    public List<DropDownMenuItem> Items { get; set; }
    Property Value
    Type Description
    List<DropDownMenuItem>

    A list of DropDownMenuItem objects that define the items to display in the DropdownButton's popup menu.

    Remarks

    Use this property to define the list of menu items that will be displayed in the dropdown. Each item is represented by a DropDownMenuItem object.

    PopupClosed

    Triggers an event callback that is raised when the DropdownButton popup is closed.

    Declaration
    [Parameter]
    public EventCallback<DropDownPopupClosedEventArgs> PopupClosed { get; set; }
    Property Value
    Type Description
    EventCallback<DropDownPopupClosedEventArgs>

    An event callback of type DropDownPopupClosedEventArgs that provides information when the popup is closed.

    Remarks

    This event is fired when the DropdownButton's popup is closed, whether by user interaction or programmatically.

    PopupClosing

    Gets or sets an event callback that is raised before closing the DropdownButton popup.

    Declaration
    [Parameter]
    public EventCallback<DropDownPopupCloseEventArgs> PopupClosing { get; set; }
    Property Value
    Type Description
    EventCallback<DropDownPopupCloseEventArgs>

    An event callback of type DropDownPopupCloseEventArgs that provides information before the popup is closed.

    Remarks

    This event provides information before the popup is closed. It can be used to trigger actions or prevent the closing of the popup.

    PopupOpened

    Triggers an event callback that is raised when the DropdownButton popup is opened.

    Declaration
    [Parameter]
    public EventCallback<DropDownPopupOpenedEventArgs> PopupOpened { get; set; }
    Property Value
    Type Description
    EventCallback<DropDownPopupOpenedEventArgs>

    An event callback of type DropDownPopupOpenedEventArgs that provides information when the popup is opened.

    Remarks

    This event is fired when the DropdownButton's popup is opened. It provides an opportunity to perform any actions before the popup becomes visible.

    PopupOpening

    Gets or sets an event callback that is raised before opening the DropdownButton popup.

    Declaration
    [Parameter]
    public EventCallback<DropDownPopupOpenEventArgs> PopupOpening { get; set; }
    Property Value
    Type Description
    EventCallback<DropDownPopupOpenEventArgs>

    An event callback of type DropDownPopupOpenEventArgs that provides information before the popup is opened.

    Remarks

    This event provides information before the popup is opened. It can be used to trigger actions or prevent the opening of the popup.

    Methods

    Dispose(bool)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    OwningComponentBase.Dispose(bool)

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    Task
    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved