ClassChatFileSelectSettings
Class
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
cs-api-definition
public class ChatFileSelectSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseChatFileSelectSettings
Implements:
Inherited Members
Constructors
ChatFileSelectSettings()
Declaration
cs-api-definition
public ChatFileSelectSettings()
Properties
Accept
The accept attribute of the file input. Filters the browser file selection dialog.
AllowedExtensions
The list of the allowed file extensions. Used for client-side validation.
Capture
The capture attribute of the file input.
MaxFileSize
Defines the maximum file size in bytes.
Declaration
cs-api-definition
[Parameter]
public long? MaxFileSize { get; set; }
Property Value
long?
MinFileSize
Defines the minimum file size in bytes.
Declaration
cs-api-definition
[Parameter]
public long? MinFileSize { get; set; }
Property Value
long?
Multiple
Enables the selection of multiple files. If set to false, only one file can be selected at a time.
OnSelect
Triggered before a file is uploaded.
Declaration
cs-api-definition
[Parameter]
public EventCallback<FileSelectEventArgs> OnSelect { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
cs-api-definition
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
Overrides
OnInitialized()
Declaration
cs-api-definition
protected override void OnInitialized()
Overrides