Class ButtonsPropsModel
Defines the button content configuration for the SfUploader component.
Inheritance
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class ButtonsPropsModel : Object
Remarks
This class allows customization of the text and HTML content displayed on the uploader component's buttons. It provides control over the appearance and localization of the browse, clear, and upload buttons, enabling developers to adapt the component's interface to different languages, branding requirements, or user experience preferences.
Constructors
ButtonsPropsModel()
Declaration
public ButtonsPropsModel()
Properties
Browse
Gets or sets the text or HTML content for the browse button.
Declaration
public object Browse { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object containing the button content (text or HTML), or |
Remarks
This property allows customization of the browse button's display content. The content can be
plain text for simple labels or HTML markup for more complex button designs including icons
or styled text. When set to null
, the component uses its default browse button text,
which may be localized based on the component's locale settings.
Clear
Gets or sets the text or HTML content for the clear button.
Declaration
public object Clear { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object containing the button content (text or HTML), or |
Remarks
This property allows customization of the clear button's display content. The clear button is
used to remove all selected files from the upload queue. The content can be plain text or HTML
markup to include icons or styling. When set to null
, the component uses its default
clear button text, which may be localized based on the component's locale settings.
Upload
Gets or sets the text or HTML content for the upload button.
Declaration
public object Upload { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object containing the button content (text or HTML), or |
Remarks
This property allows customization of the upload button's display content. The upload button
initiates the file upload process when AutoUpload is disabled. The content can be plain text
or HTML markup for enhanced visual design. When set to null
, the component uses its
default upload button text, which may be localized based on the component's locale settings.