40 references to TextBoxMode
System.Web (40)
UI\WebControls\ChangePassword.cs (3)
2888
currentPasswordTextBox.TextMode =
TextBoxMode
.Password;
2897
newPasswordTextBox.TextMode =
TextBoxMode
.Password;
2906
confirmNewPasswordTextBox.TextMode =
TextBoxMode
.Password;
UI\WebControls\CreateUserWizard.cs (2)
3163
TextMode =
TextBoxMode
.Password
3168
TextMode =
TextBoxMode
.Password
UI\WebControls\login.cs (1)
1803
passwordTextBox.TextMode =
TextBoxMode
.Password;
UI\WebControls\TextBox.cs (34)
184
DefaultValue(
TextBoxMode
.SingleLine),
189
public virtual
TextBoxMode
TextMode {
192
return((mode == null) ?
TextBoxMode
.SingleLine : (
TextBoxMode
)mode);
195
if (value <
TextBoxMode
.SingleLine || value >
TextBoxMode
.Week) {
260
if (TextMode ==
TextBoxMode
.Password) {
283
if (TextMode ==
TextBoxMode
.MultiLine)
392
TextBoxMode
mode = TextMode;
394
if (mode ==
TextBoxMode
.MultiLine) {
431
if (mode !=
TextBoxMode
.SingleLine || String.IsNullOrEmpty(Attributes["type"])) {
438
if (mode ==
TextBoxMode
.SingleLine &&
450
(RenderingCompatibility >= VersionUtil.Framework45 || mode >=
TextBoxMode
.Color || (SupportsVCard && mode ==
TextBoxMode
.SingleLine))) {
463
if (mode !=
TextBoxMode
.Password) {
513
if (mode !=
TextBoxMode
.MultiLine) {
555
internal static string GetTypeAttributeValue(
TextBoxMode
mode) {
557
case
TextBoxMode
.SingleLine: return "text";
558
case
TextBoxMode
.Password: return "password";
559
case
TextBoxMode
.Color: return "color";
560
case
TextBoxMode
.Date: return "date";
561
case
TextBoxMode
.DateTime: return "datetime";
562
case
TextBoxMode
.DateTimeLocal: return "datetime-local";
563
case
TextBoxMode
.Email: return "email";
564
case
TextBoxMode
.Month: return "month";
565
case
TextBoxMode
.Number: return "number";
566
case
TextBoxMode
.Range: return "range";
567
case
TextBoxMode
.Search: return "search";
568
case
TextBoxMode
.Phone: return "tel";
569
case
TextBoxMode
.Time: return "time";
570
case
TextBoxMode
.Url: return "url";
571
case
TextBoxMode
.Week: return "week";
572
case
TextBoxMode
.MultiLine:
707
if (TextMode ==
TextBoxMode
.MultiLine) {