TextBoxMode

TextBoxModeserializable

System.Web.UI.WebControls (system.web.dll)enum

This enumeration is used for the TextBox.TextMode property. It allows special text box styles, including Password, where all characters will be displayed as asterisks (*), and MultiLine. MultiLine allows text on multiple lines and will automatically wrap text as it is entered (if the TextBox.Wrap property is True).

public enum TextBoxMode {
   SingleLine = 0,
   MultiLine = 1,
   Password = 2
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) TextBoxMode

Returned By

TextBox.TextMode

Passed To

TextBox.TextMode



    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace