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