Class RadzenSplitButtonItem
RadzenSplitButtonItem component.
Inherited Members
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
Syntax
public class RadzenSplitButtonItem : RadzenComponent, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
RadzenSplitButtonItem()
RadzenSplitButtonItem component.
Declaration
public RadzenSplitButtonItem()
Properties
Disabled
Gets or sets a value indicating whether this RadzenSplitButtonItem is disabled.
Declaration
[Parameter]
public bool Disabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
Icon
Gets or sets the icon.
Declaration
[Parameter]
public string Icon { get; set; }
Property Value
Type | Description |
---|---|
string | The icon. |
IconColor
Gets or sets the icon color.
Declaration
[Parameter]
public string IconColor { get; set; }
Property Value
Type | Description |
---|---|
string | The icon color. |
SplitButton
Gets or sets the split button.
Declaration
[CascadingParameter]
public RadzenSplitButton SplitButton { get; set; }
Property Value
Type | Description |
---|---|
RadzenSplitButton | The split button. |
Text
Gets or sets the text.
Declaration
[Parameter]
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string | The text. |
Value
Gets or sets the value.
Declaration
[Parameter]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string | The value. |
Methods
BuildRenderTree(RenderTreeBuilder)
RadzenSplitButtonItem component.
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
RenderTreeBuilder | __builder |
Overrides
Dispose()
Detaches event handlers and disposes Reference.
Declaration
public override void Dispose()
Overrides
OnClick(MouseEventArgs)
Handles the Click event.
Declaration
public Task OnClick(MouseEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
MouseEventArgs | args | The MouseEventArgs instance containing the event data. |
Returns
Type | Description |
---|---|
Task |