Class ToolBarButtonBase
Inheritance
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class ToolBarButtonBase : ToolBarItemBase, IDisposable, IToolBarOverflowItem, IToolBarItem
Constructors
ToolBarButtonBase()
Declaration
public ToolBarButtonBase()
Properties
ChildContent
Specifies the ChildContent of the item.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Microsoft.AspNetCore.Components.RenderFragment
|
Enabled
Specifies whether the item is enabled or not.
Declaration
public bool Enabled { get; set; }
Property Value
System.Boolean
|
FillMode
Specifies the fill mode of the button. Default value is Solid.
Declaration
public string FillMode { get; set; }
Property Value
System.String
|
Icon
The predefined Telerik Icon rendered in the item.
Declaration
public string Icon { get; set; }
Property Value
System.String
|
IconClass
A custom CSS class for the icon element.
Declaration
public string IconClass { get; set; }
Property Value
System.String
|
ImageUrl
The URL of an image inside the button. Takes precedence over other parameters.
Declaration
public string ImageUrl { get; set; }
Property Value
System.String
|
IsIconButton
Specifies if the item contains an icon.
Declaration
public bool IsIconButton { get; set; }
Property Value
System.Boolean
|
OnClick
Triggers when the button is clicked.
Declaration
public EventCallback<MouseEventArgs> OnClick { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
|
Overflow
Specifies how the ToolBar item overflows. Default value is Auto.
Declaration
public ToolBarItemOverflow Overflow { get; set; }
Property Value
ToolBarItemOverflow
|
OverflowText
Specifies the text of the item in the overflow popup. If not specified, it will fallback to the default item's text.
Declaration
public string OverflowText { get; set; }
Property Value
System.String
|
Rounded
Specifies the roundness of the button. Default value is Medium.
Declaration
public string Rounded { get; set; }
Property Value
System.String
|
Shape
Specifies the shape of the button. Default value is Rectangle.
Declaration
public string Shape { get; set; }
Property Value
System.String
|
Size
Specifies the size of the button. Default value is Medium.
Declaration
public string Size { get; set; }
Property Value
System.String
|
SpriteClass
The CSS class to define an image from a sprite.
Declaration
public string SpriteClass { get; set; }
Property Value
System.String
|
ThemeColor
Specifies the theme color of the button. Default value is Base.
Declaration
public string ThemeColor { get; set; }
Property Value
System.String
|
Title
Specifies the title of the item.
Declaration
public string Title { get; set; }
Property Value
System.String
|
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
System.Threading.Tasks.Task
|