menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ValidationMessages - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ValidationMessages

    Represents the class for min / max size validation messages.

    Inheritance
    System.Object
    ValidationMessages
    Namespace: Syncfusion.Blazor.FileManager
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ValidationMessages : Object

    Constructors

    ValidationMessages()

    Declaration
    public ValidationMessages()

    Properties

    MaxSize

    Gets or sets the maximum file size validation message, if selected file size is greater than specified maxSize property.

    Declaration
    public string MaxSize { get; set; }
    Property Value
    Type
    System.String
    Remarks

    If a maxSize property is specified and user selects a file with a size greater than that, this property will contain the validation message to be displayed to the user.

    MinSize

    Gets or sets the minimum file size validation message, if selected file size is less than the specified minSize property.

    Declaration
    public string MinSize { get; set; }
    Property Value
    Type
    System.String
    Remarks

    If a minSize property is specified and user selects a file with a size less than that, this property will contain the validation message to be displayed to the user.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved