menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonSplitButtonSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RibbonSplitButtonSettings

    Inheritance
    System.Object
    RibbonSplitButtonSettings
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class RibbonSplitButtonSettings : OwningComponentBase

    Constructors

    RibbonSplitButtonSettings()

    Declaration
    public RibbonSplitButtonSettings()

    Properties

    Clicked

    Triggers an event callback that is raised when the primary button of SplitButton has been clicked.

    Declaration
    public EventCallback<SplitButtonClickedEventArgs> Clicked { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SplitButtonClickedEventArgs>

    An event callback of type SplitButtonClickedEventArgs that provides information about the primary button element reference.

    Remarks

    Use this event to handle clicks on the primary button of the SplitButton, such as triggering a specific action.

    Content

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

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String

    A string representing the content to be displayed in the SplitButton. The content can include plain text or HTML elements. The default value is String.Empty.

    Remarks

    Use this property to set the content for the SplitButton to customize its appearance.

    Created

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

    Declaration
    public EventCallback Created { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback

    An event callback that signifies the completion of SplitButton rendering.

    Remarks

    This event is useful for executing actions after the SplitButton is fully rendered.

    CssClass

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

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

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

    Remarks

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

    HtmlAttributes

    Specifies additional HTML attributes to be applied to the SplitButton.

    Declaration
    public Dictionary<string, object> HtmlAttributes { get; set; }
    Property Value
    Type
    System.Collections.Generic.Dictionary<System.String, System.Object>

    IconCss

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

    Declaration
    public string IconCss { get; set; }
    Property Value
    Type Description
    System.String

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

    Remarks

    Use this property to add font icon or image to the SplitButton for better visual appeal or user interface customization.

    ItemRendering

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

    Declaration
    public EventCallback<SplitButtonItemRenderEventArgs> ItemRendering { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SplitButtonItemRenderEventArgs>

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

    Remarks

    Use this event to customize the rendering of each item in the dropdown, allowing for dynamic styling or content changes during the rendering process.

    Items

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

    Declaration
    public List<DropDownMenuItem> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DropDownMenuItem>

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

    Remarks

    Use this property to specify the items that will be displayed in the SplitButton’s dropdown menu. You can add or remove items dynamically.

    ItemSelected

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

    Declaration
    public EventCallback<SplitButtonItemSelectedEventArgs> ItemSelected { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SplitButtonItemSelectedEventArgs>

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

    Remarks

    This event is triggered when an item is selected from the SplitButton’s dropdown menu.

    PopupClosed

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

    Declaration
    public EventCallback<SplitButtonPopupClosedEventArgs> PopupClosed { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SplitButtonPopupClosedEventArgs>

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

    Remarks

    This event is fired when the SplitButton’s popup is closed by user interaction.

    PopupClosing

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

    Declaration
    public EventCallback<SplitButtonPopupCloseEventArgs> PopupClosing { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SplitButtonPopupCloseEventArgs>

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

    Remarks

    Use this event to perform any necessary actions before the SplitButton's popup is closed.

    PopupOpened

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

    Declaration
    public EventCallback<SplitButtonPopupOpenedEventArgs> PopupOpened { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SplitButtonPopupOpenedEventArgs>

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

    Remarks

    This event is fired when the SplitButton’s popup is opened by user interaction.

    PopupOpening

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

    Declaration
    public EventCallback<SplitButtonPopupOpenEventArgs> PopupOpening { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.EventCallback<SplitButtonPopupOpenEventArgs>

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

    Remarks

    Use this event to perform any necessary actions before the SplitButton’s popup is opened.

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved