menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SpreadsheetValidation - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SpreadsheetValidation

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    SpreadsheetValidation
    ColumnValidationColumns
    Namespace: Syncfusion.EJ2.Spreadsheet
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class SpreadsheetValidation : EJTagHelper

    Constructors

    SpreadsheetValidation()

    Declaration
    public SpreadsheetValidation()

    Properties

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    IgnoreBlank

    Specifies IgnoreBlank option in Data Validation.

    Declaration
    public bool IgnoreBlank { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    InCellDropDown

    Specifies InCellDropDown option in Data Validation.

    Declaration
    public bool InCellDropDown { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    IsHighlighted

    specifies to allow Highlight Invalid Data.

    Declaration
    public bool IsHighlighted { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Operator

    Specifies Validation Operator.

    Declaration
    public ValidationOperator Operator { get; set; }
    Property Value
    Type Description
    ValidationOperator

    The default value is ValidationOperator.Between

    Type

    Specifies Validation Type.

    Declaration
    public ValidationType Type { get; set; }
    Property Value
    Type Description
    ValidationType

    The default value is ValidationType.WholeNumber

    Value1

    Specifies Validation Minimum Value.

    Declaration
    public string Value1 { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Value2

    Specifies Validation Maximum Value.

    Declaration
    public string Value2 { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

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