File: InputType.cs
Web Access
Project: src\src\Mvc\Mvc.ViewFeatures\src\Microsoft.AspNetCore.Mvc.ViewFeatures.csproj (Microsoft.AspNetCore.Mvc.ViewFeatures)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Mvc.ViewFeatures;
 
/// <summary>
/// Specifies constants which define an input type.
/// </summary>
public enum InputType
{
    /// <summary>
    /// A check box input.
    /// </summary>
    CheckBox,
 
    /// <summary>
    /// A hidden input.
    /// </summary>
    Hidden,
 
    /// <summary>
    /// A password input.
    /// </summary>
    Password,
 
    /// <summary>
    /// A radio input.
    /// </summary>
    Radio,
 
    /// <summary>
    /// A text input.
    /// </summary>
    Text
}