ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc Namespace / ColumnBase Class / MaxLength Property






In This Topic
    MaxLength Property (ColumnBase)
    In This Topic
    Gets or sets the maximum number of characters that the can be entered into the cell.
    Syntax
    'Declaration
     
    
    Public Property MaxLength As System.Nullable(Of Integer)
    'Usage
     
    
    Dim instance As ColumnBase
    Dim value As System.Nullable(Of Integer)
     
    instance.MaxLength = value
     
    value = instance.MaxLength
    public System.Nullable<int> MaxLength {get; set;}
    public read-write property MaxLength: System.Nullable; 
    public function get,set MaxLength : System.Nullable
    public: __property System.Nullable<int> get_MaxLength();
    public: __property void set_MaxLength( 
       System.Nullable<int> value
    );
    public:
    property System.Nullable<int> MaxLength {
       System.Nullable<int> get();
       void set (    System.Nullable<int> value);
    }
    Remarks
    Set this property to null to allow entry of any number of characters.
    See Also