Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class RadzenSplitButton

    RadzenSplitButton component.

    Inheritance
    System.Object
    RadzenComponent
    RadzenComponentWithChildren
    RadzenSplitButton
    Implements
    IDisposable
    Inherited Members
    RadzenComponentWithChildren.ChildContent
    RadzenComponent.Attributes
    RadzenComponent.Element
    RadzenComponent.MouseEnter
    RadzenComponent.MouseLeave
    RadzenComponent.ContextMenu
    RadzenComponent.Culture
    RadzenComponent.DefaultCulture
    RadzenComponent.OnMouseEnter()
    RadzenComponent.OnMouseLeave()
    RadzenComponent.OnContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.Style
    RadzenComponent.Visible
    RadzenComponent.GetCssClass()
    RadzenComponent.GetId()
    RadzenComponent.Debounce(Func<Task>, Int32)
    RadzenComponent.UniqueID
    RadzenComponent.JSRuntime
    RadzenComponent.IsJSRuntimeAvailable
    RadzenComponent.OnInitialized()
    RadzenComponent.SetParametersAsync(ParameterView)
    RadzenComponent.Reference
    RadzenComponent.OnAfterRenderAsync(Boolean)
    RadzenComponent.RaiseContextMenu(Microsoft.AspNetCore.Components.Web.MouseEventArgs)
    RadzenComponent.RaiseMouseEnter()
    RadzenComponent.RaiseMouseLeave()
    RadzenComponent.CurrentStyle
    Namespace: Radzen.Blazor
    Assembly: Radzen.Blazor.dll
    Syntax
    public class RadzenSplitButton : RadzenComponentWithChildren, IDisposable
    Examples
    <RadzenSplitButton Click=@(args => Console.WriteLine($"Value is: {args.Value}"))>
        <ChildContent>
            <RadzenSplitButtonItem Text="Orders" Value="1" />
            <RadzenSplitButtonItem Text="Employees" Value="2" />
            <RadzenSplitButtonItem Text="Customers" Value="3" />
        </ChildContent>
    </RadzenSelectBar>

    Properties

    AlwaysOpenPopup

    Gets or sets the value indication behaviour to always open popup with item on click and not invoke Click event.

    Declaration
    public bool AlwaysOpenPopup { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to alway open popup with items; othersie, false. Default is false.

    BusyText

    Gets or sets the busy text.

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

    The busy text.

    ButtonAriaLabel

    Gets or sets the add button aria-label attribute.

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

    ButtonContent

    Gets or sets the child content.

    Declaration
    public RenderFragment ButtonContent { get; set; }
    Property Value
    Type Description
    RenderFragment

    The child content.

    ButtonStyle

    Gets or sets the button style.

    Declaration
    public ButtonStyle ButtonStyle { get; set; }
    Property Value
    Type Description
    ButtonStyle

    The button style.

    ButtonType

    Gets or sets the type of the button.

    Declaration
    public ButtonType ButtonType { get; set; }
    Property Value
    Type Description
    ButtonType

    The type of the button.

    Click

    Gets or sets the click callback.

    Declaration
    public EventCallback<RadzenSplitButtonItem> Click { get; set; }
    Property Value
    Type Description
    EventCallback<RadzenSplitButtonItem>

    The click callback.

    Disabled

    Gets or sets a value indicating whether this RadzenSplitButton is disabled.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if disabled; otherwise, false.

    DropDownIcon

    Gets or sets the icon of the drop down.

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

    Icon

    Gets or sets the icon.

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

    The icon.

    IconColor

    Gets or sets the icon color.

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

    The icon color.

    Image

    Gets or sets the image.

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

    The image.

    ImageAlternateText

    Gets or sets the text.

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

    The text.

    IsBusy

    Gets or sets a value indicating whether this instance busy text is shown.

    Declaration
    public bool IsBusy { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance busy text is shown; otherwise, false.

    IsDisabled

    Gets a value indicating whether this instance is disabled.

    Declaration
    public bool IsDisabled { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is disabled; otherwise, false.

    OpenAriaLabel

    Gets or sets the open button aria-label attribute.

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

    Shade

    Gets or sets the color shade of the button.

    Declaration
    public Shade Shade { get; set; }
    Property Value
    Type Description
    Shade

    The color shade of the button.

    Size

    Gets or sets the size.

    Declaration
    public ButtonSize Size { get; set; }
    Property Value
    Type Description
    ButtonSize

    The size.

    TabIndex

    Gets or sets the index of the tab.

    Declaration
    public int TabIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    The index of the tab.

    Text

    Gets or sets the text.

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

    The text.

    Variant

    Gets or sets the design variant of the button.

    Declaration
    public Variant Variant { get; set; }
    Property Value
    Type Description
    Variant

    The variant of the button.

    Methods

    AddItem(RadzenSplitButtonItem)

    Adds the item.

    Declaration
    public void AddItem(RadzenSplitButtonItem item)
    Parameters
    Type Name Description
    RadzenSplitButtonItem item

    The item.

    Close()

    Closes this instance popup.

    Declaration
    public void Close()

    Dispose()

    Detaches event handlers and disposes Reference.

    Declaration
    public override void Dispose()
    Overrides
    RadzenComponent.Dispose()

    GetComponentCssClass()

    Gets the component CSS class.

    Declaration
    protected override string GetComponentCssClass()
    Returns
    Type Description
    System.String
    Overrides
    RadzenComponent.GetComponentCssClass()

    OnClick(MouseEventArgs)

    Handles the Click event.

    Declaration
    public async Threading.Tasks.Task OnClick(MouseEventArgs args)
    Parameters
    Type Name Description
    MouseEventArgs args

    The instance containing the event data.

    Returns
    Type Description
    System.Threading.Tasks.Task

    RemoveItem(RadzenSplitButtonItem)

    Removes the item.

    Declaration
    public void RemoveItem(RadzenSplitButtonItem item)
    Parameters
    Type Name Description
    RadzenSplitButtonItem item

    The item.

    Implements

    IDisposable

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT