Class BeforeImageLoadEventArgs<TValue>
Represents the class for BeforeImageLoad event arguments.
Inheritance
Namespace: Syncfusion.Blazor.FileManager
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeImageLoadEventArgs<TValue> : Object
Type Parameters
Name | Description |
---|---|
TValue | Specifies the TValue of the FileManager. |
Remarks
Custom header cannot be passed in GetImage request since it is processed using query string parameter.
Constructors
BeforeImageLoadEventArgs()
Declaration
public BeforeImageLoadEventArgs()
Properties
FileDetails
Gets or sets the current rendering image item details as an array of JSON object.
Declaration
public TValue FileDetails { get; set; }
Property Value
Type |
---|
TValue |
FileStream
Gets or sets the image file stream to be loaded.
Declaration
public Stream FileStream { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream | The image file stream. |
Remarks
The users can pass the image file stream to be loaded with preview.
ImageUrl
Gets or sets the URL of an image, along with any custom attributes that should be sent to the server.
Declaration
public string ImageUrl { get; set; }
Property Value
Type |
---|
System.String |
Remarks
The ImageUrl property is used to specify the URL of an image that should be displayed in the FileManager. You can also include any custom attributes that should be sent to the server along with the image request, such as authentication tokens or session IDs. The server can then use these attributes to customize the image response or perform additional validation before returning the image data.