MudBlazor

MudFileUploader API

Properties

Name Type Default Description
Inherited from MudBaseButton
ButtonType
ButtonType

ButtonType.Button

The button Type (Button, Submit, Refresh)
Command
ICommand

null

Command executed when the user clicks on an element.
CommandParameter
Object

null

Command parameter.
Disabled
Boolean

False

If true, the button will be disabled.
DisableElevation
Boolean

False

If true, no drop-shadow will be used.
DisableRipple
Boolean

False

If true, disables ripple effect.
HtmlTag
String

"button"

The HTML element that will be rendered in the root by the component By default, is a button
Link
String

null

If set to a URL, clicking the button will open the referenced document. Use Target to specify where
Target
String

null

The target attribute specifies where to open the link, if Link is specified. Possible values: _blank | _self | _parent | _top | framename
Inherited from MudComponentBase
Class
String

null

User class names, separated by space.
Style
String

null

User styles, applied on top of the component's own classes and styles.
Tag
Object

null

Use Tag to attach any user data object to the component for your convenience.
UserAttributes
Dictionary<String, Object>

UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag.

EventCallbacks

Name Type Description
OnClick
EventCallback<MouseEventArgs>
Button click event.

Methods

Name Parameters Return Description
ValueTask FocusAsync()
ValueTask
An error has occurred. This application may no longer respond until reloaded. Reload 🗙