162 references to ButtonType
System.Web (142)
UI\WebControls\ButtonField.cs (3)
214
case
ButtonType
.Link: {
225
case
ButtonType
.Button: {
235
case
ButtonType
.Image:
UI\WebControls\ButtonFieldBase.cs (7)
25
DefaultValue(
ButtonType
.Link),
28
public virtual
ButtonType
ButtonType {
32
return(
ButtonType
)o;
33
return
ButtonType
.Link;
36
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
40
if (oldValue == null || (
ButtonType
)oldValue != value) {
UI\WebControls\ChangePassword.cs (27)
211
DefaultValue(
ButtonType
.Button),
214
public virtual
ButtonType
CancelButtonType {
217
return (obj == null) ?
ButtonType
.Button : (
ButtonType
) obj;
220
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
320
DefaultValue(
ButtonType
.Button),
323
public virtual
ButtonType
ChangePasswordButtonType {
326
return (obj == null) ?
ButtonType
.Button : (
ButtonType
) obj;
329
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
557
DefaultValue(
ButtonType
.Button),
560
public virtual
ButtonType
ContinueButtonType {
563
return (obj == null) ?
ButtonType
.Button : (
ButtonType
) obj;
566
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
2336
case
ButtonType
.Link:
2340
case
ButtonType
.Image:
2345
case
ButtonType
.Button:
2351
case
ButtonType
.Link:
2355
case
ButtonType
.Image:
2360
case
ButtonType
.Button:
2512
case
ButtonType
.Link:
2516
case
ButtonType
.Image:
2521
case
ButtonType
.Button:
UI\WebControls\CommandField.cs (3)
505
case
ButtonType
.Link: {
516
case
ButtonType
.Button: {
527
case
ButtonType
.Image:
UI\WebControls\CreateUserWizard.cs (19)
443
DefaultValue(
ButtonType
.Button),
446
public virtual
ButtonType
ContinueButtonType {
449
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
452
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
577
DefaultValue(
ButtonType
.Button),
580
public virtual
ButtonType
CreateUserButtonType {
583
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
586
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
2021
case
ButtonType
.Link:
2029
case
ButtonType
.Button:
2037
case
ButtonType
.Image:
3509
private IButtonControl GetButtonBasedOnType(int pos,
ButtonType
type) {
3511
case
ButtonType
.Button:
3514
case
ButtonType
.Image:
3517
case
ButtonType
.Link:
UI\WebControls\DetailsView.cs (1)
1836
commandField.ButtonType =
ButtonType
.Link;
UI\WebControls\GridView.cs (1)
2353
commandField.ButtonType =
ButtonType
.Link;
UI\WebControls\login.cs (9)
540
DefaultValue(
ButtonType
.Button),
543
public virtual
ButtonType
LoginButtonType {
546
return (obj == null) ?
ButtonType
.Button : (
ButtonType
) obj;
549
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
1559
case
ButtonType
.Link:
1563
case
ButtonType
.Image:
1568
case
ButtonType
.Button:
UI\WebControls\PasswordRecovery.cs (12)
211
DefaultValue(
ButtonType
.Button),
214
public virtual
ButtonType
SubmitButtonType {
217
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
220
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
1891
case
ButtonType
.Link:
1895
case
ButtonType
.Image:
1900
case
ButtonType
.Button:
2090
case
ButtonType
.Link:
2094
case
ButtonType
.Image:
2099
case
ButtonType
.Button:
UI\WebControls\Wizard.cs (36)
240
DefaultValue(
ButtonType
.Button),
244
public virtual
ButtonType
CancelButtonType {
247
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
412
DefaultValue(
ButtonType
.Button),
415
public virtual
ButtonType
FinishCompleteButtonType {
418
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
513
DefaultValue(
ButtonType
.Button),
516
public virtual
ButtonType
FinishPreviousButtonType {
519
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
727
DefaultValue(
ButtonType
.Button),
730
public virtual
ButtonType
StartNextButtonType {
733
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
806
DefaultValue(
ButtonType
.Button),
809
public virtual
ButtonType
StepNextButtonType {
812
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
885
DefaultValue(
ButtonType
.Button),
888
public virtual
ButtonType
StepPreviousButtonType {
891
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
2076
private static void ValidateButtonType(
ButtonType
value) {
2077
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
3104
ButtonType
buttonType =
ButtonType
.Button;
3126
ButtonType
buttonType =
ButtonType
.Button;
3148
ButtonType
buttonType = _wizard.CancelButtonType;
3153
private IButtonControl GetButtonBasedOnType(int pos,
ButtonType
type) {
3155
case
ButtonType
.Button:
3158
case
ButtonType
.Image:
3161
case
ButtonType
.Link:
UI\WebParts\ConnectionsZone.cs (1)
1799
if (VerbButtonType ==
ButtonType
.Link) {
UI\WebParts\ToolZone.cs (2)
378
if (VerbButtonType ==
ButtonType
.Button) {
385
if (VerbButtonType ==
ButtonType
.Image) {
UI\WebParts\WebPartChrome.cs (8)
414
ButtonType
verbButtonType = Zone.TitleBarVerbButtonType;
421
if (verbButtonType ==
ButtonType
.Button) {
470
if (verbButtonType ==
ButtonType
.Image) {
478
if (verbButtonType ==
ButtonType
.Button) {
511
if (verbButtonType ==
ButtonType
.Image) {
532
if (verbButtonType ==
ButtonType
.Button) {
543
if (verbButtonType ==
ButtonType
.Image) {
806
if (Zone.TitleBarVerbButtonType ==
ButtonType
.Link) {
UI\WebParts\WebPartZoneBase.cs (7)
683
DefaultValue(
ButtonType
.Image),
687
public virtual
ButtonType
TitleBarVerbButtonType {
690
return (obj == null) ?
ButtonType
.Image : (
ButtonType
)obj;
693
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
726
public override
ButtonType
VerbButtonType {
UI\WebParts\WebZone.cs (6)
431
DefaultValue(
ButtonType
.Button),
435
public virtual
ButtonType
VerbButtonType {
438
return (obj == null) ?
ButtonType
.Button : (
ButtonType
)obj;
441
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
System.Web.Extensions (20)
UI\WebControls\NextPreviousPagerField.cs (9)
52
DefaultValue(
ButtonType
.Link),
55
public
ButtonType
ButtonType {
59
return(
ButtonType
)o;
60
return
ButtonType
.Link;
63
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
485
case
ButtonType
.Link:
489
case
ButtonType
.Button:
493
case
ButtonType
.Image:
UI\WebControls\NumericPagerField.cs (11)
54
DefaultValue(
ButtonType
.Link),
57
public
ButtonType
ButtonType {
61
return(
ButtonType
)o;
62
return
ButtonType
.Link;
65
if (value <
ButtonType
.Button || value >
ButtonType
.Link) {
323
case
ButtonType
.Button:
326
case
ButtonType
.Link:
362
case
ButtonType
.Link:
365
case
ButtonType
.Button:
368
case
ButtonType
.Image: