137 writes to Enabled
System.Web.Entity.Design (18)
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.cs (6)
127_namedConnectionComboBox.Enabled = false; 128_connectionStringTextBox.Enabled = true; 169_namedConnectionComboBox.Enabled = true; 170_connectionStringTextBox.Enabled = false; 336_namedConnectionComboBox.Enabled = isNamedConnection; 338_connectionStringTextBox.Enabled = !isNamedConnection;
System\Data\WebControls\Design\EntityDataSourceConfigureObjectContextPanel.designer.cs (1)
107this._connectionStringTextBox.Enabled = false;
System\Data\WebControls\Design\EntityDataSourceDataSelectionPanel.cs (1)
266_insertUpdateDeletePanel.Enabled = enablePanel;
System\Data\WebControls\Design\EntityDataSourceStatementEditorForm.cs (2)
62_statementPanel.Enabled = !isAutoGen; 344_statementPanel.Enabled = !_autoGenerateCheckBox.Checked;
System\Data\WebControls\Design\EntityDataSourceWizardForm.cs (2)
86FinishButton.Enabled = enabled; 95NextButton.Enabled = enabled;
System\Data\WebControls\Design\Util\WizardForm.cs (6)
134this._previousButton.Enabled = false; 173this._finishButton.Enabled = false; 377PreviousButton.Enabled = false; 382PreviousButton.Enabled = true; 388NextButton.Enabled = false; 392NextButton.Enabled = true;
System.Web.Mobile (48)
UI\MobileControls\Design\AppliedDeviceFiltersDialog.cs (4)
504_tbArgument.Enabled = true; 509_tbArgument.Enabled = false; 512_btnApplyFilter.Enabled = 514_cbAvailableFilters.Enabled = (_designer.UnderlyingObject != null);
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (6)
324_rbCompare.Enabled = filterIsSelected; 325_rbDelegate.Enabled = filterIsSelected; 326_cbCompare.Enabled = filterIsSelected; 327_txtArgument.Enabled = filterIsSelected; 328_txtMethod.Enabled = filterIsSelected; 329_txtType.Enabled = filterIsSelected;
UI\MobileControls\Design\ListItemsPage.cs (6)
302TreeList.TvList.Enabled = _txtValue.Enabled = false; 307TreeList.TvList.Enabled = _txtValue.Enabled = true; 315_ckbSelected.Enabled = false; 320_ckbSelected.Enabled = true;
UI\MobileControls\Design\ObjectListCommandsPage.cs (2)
258TreeList.TvList.Enabled = 259_txtText.Enabled = (TreeList.TvList.SelectedNode != null);
UI\MobileControls\Design\ObjectListFieldsPage.cs (5)
325TreeList.TvList.Enabled = 326_cmbDataField.Enabled = 327_txtDataFormatString.Enabled = 328_txtTitle.Enabled = 329_ckbVisible.Enabled = (TreeList.TvList.SelectedNode != null);
UI\MobileControls\Design\PropertyOverridesDialog.cs (3)
321_cbChoices.Enabled = isChoiceSelected; 322_pgProperties.Enabled = isChoiceSelected; 323_btnEditFilters.Enabled = (_currentDeviceSpecificID != null);
UI\MobileControls\Design\StylesEditorDialog.cs (10)
126_tvDefinedStyles.Enabled = true; 466_btnUp.Enabled = false; 467_btnDown.Enabled = false; 471_btnUp.Enabled = (SelectedStyle.Index > 0); 472_btnDown.Enabled = (SelectedStyle.Index < _tvDefinedStyles.Nodes.Count - 1); 475_btnRemove.Enabled = (SelectedStyle != null); 480_propertyBrowser.Enabled = 481_tvDefinedStyles.Enabled = (SelectedStyle != null); 771_tvDefinedStyles.Enabled = true; 772_propertyBrowser.Enabled = true;
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
882_mergedUI.CbStyles.Enabled = (_mergedUI.CbStyles.Items.Count > 0);
UI\MobileControls\Design\TemplatingOptionsDialog.cs (6)
129_cmbChoices.Enabled = false; 395_btnEditChoices.Enabled = (_dsd.UnderlyingObject != null); 396_cmbChoices.Enabled = (_cmbChoices.Items.Count > 0); 397_cmbSchemas.Enabled = (_cmbChoices.Items.Count > 1) && 471_cmbSchemas.Enabled = false; 476_cmbSchemas.Enabled = true;
UI\MobileControls\Design\Util\EditableTreeList.cs (5)
343BtnRemove.Enabled = anItemIsSelected; 346BtnUp.Enabled = (selectedIndex > 0); 347BtnDown.Enabled = (selectedIndex < TvList.Nodes.Count - 1); 351BtnUp.Enabled = false; 352BtnDown.Enabled = false;
System.Windows.Forms (22)
winforms\Managed\System\WinForms\AxHost.cs (2)
494base.Enabled = value; 6210GetP().Enabled = value;
winforms\Managed\System\WinForms\Control.cs (1)
10885Enabled = true;
winforms\Managed\System\WinForms\DataGrid.cs (2)
6824horizScrollBar.Enabled = this.Enabled; 6848vertScrollBar.Enabled = this.Enabled;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
10494this.horizScrollBar.Enabled = this.Enabled; 10508this.horizScrollBar.Enabled = false; 10541this.vertScrollBar.Enabled = this.Enabled; 10552this.vertScrollBar.Enabled = false; 15500this.vertScrollBar.Enabled = true; 15504this.horizScrollBar.Enabled = true;
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (6)
125applyButton.Enabled = false; 300helpButton.Enabled = false; 307applyButton.Enabled = false; 361helpButton.Enabled = pageSites[activePage].GetPageControl().SupportsHelp(); 434helpButton.Enabled = pageSites[activePage].GetPageControl().SupportsHelp(); 457applyButton.Enabled = true;
winforms\Managed\System\WinForms\Printing\PrintControllerWithStatusDialog.cs (1)
312button1.Enabled = false;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
690base.Enabled = value;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
6071Enabled = currentControl != null;
winforms\Managed\System\WinForms\TabPage.cs (1)
293base.Enabled = value;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
238Control.Enabled = value;
System.Workflow.Activities (15)
Rules\Design\Dialogs\BasicBrowserDialog.cs (1)
252this.okButton.Enabled = e.IsSelected;
Rules\Design\Dialogs\RuleSetDialog.cs (14)
147this.nameTextBox.Enabled = true; 148this.activeCheckBox.Enabled = true; 149this.reevaluationComboBox.Enabled = true; 150this.priorityTextBox.Enabled = true; 151this.conditionTextBox.Enabled = true; 152this.thenTextBox.Enabled = true; 153this.elseTextBox.Enabled = true; 208this.nameTextBox.Enabled = false; 209this.activeCheckBox.Enabled = false; 210this.reevaluationComboBox.Enabled = false; 211this.priorityTextBox.Enabled = false; 212this.conditionTextBox.Enabled = false; 213this.thenTextBox.Enabled = false; 214this.elseTextBox.Enabled = false;
System.Workflow.ComponentModel (8)
AuthoringOM\Design\DesignerWidgets.cs (1)
1411Enabled = false;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (5)
87this.buttonBrowse.Enabled = true; 668this.genericParametersPropertyGrid.Enabled = baseType.IsGenericTypeDefinition; 689this.genericParametersPropertyGrid.Enabled = false; 1023this.buttonOK.Enabled = true; 1028this.buttonOK.Enabled = false;
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (2)
1091this.customHeaderText.Enabled = this.headerCustom; 1098this.customFooterText.Enabled = this.footerCustom;
System.WorkflowServices (6)
System\Workflow\Activities\Design\OperationPickerDialog.cs (2)
347this.okButton.Enabled = true; 351this.okButton.Enabled = false;
System\Workflow\Activities\Design\ServiceContractDetailViewControl.cs (1)
27contractNameTextBox.Enabled = true;
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (3)
602this.oneWayCheckBox.Enabled = editable; 603this.operationNameTextBox.Enabled = true; 606this.protectionLevelComboBox.Enabled = editable;
WsatUI (20)
MMCUI\TraceOptionsForm.cs (13)
45buttonNewSession.Enabled = !isSessionExist && !isRegError; 46buttonStopSession.Enabled = isSessionExist && !isRegError; 47buttonFlushData.Enabled = isSessionExist && !isRegError; 48textLogFileSize.Enabled = !isSessionExist && !isRegError; 53groupBoxLoggingSession.Enabled = false; 146buttonNewSession.Enabled = false; 147buttonStopSession.Enabled = true; 148buttonFlushData.Enabled = true; 149textLogFileSize.Enabled = false; 163buttonNewSession.Enabled = true; 164buttonStopSession.Enabled = false; 165buttonFlushData.Enabled = false; 166textLogFileSize.Enabled = true;
MMCUI\WSATControl.cs (7)
98this.checkBoxEnableNetworkSupport.Enabled = false; 105this.checkBoxEnableNetworkSupport.Enabled = true; 182this.Enabled = false; 289groupBoxNetwork.Enabled = groupBoxTracing.Enabled = groupBoxTimeouts.Enabled = checkBoxEnableNetworkSupport.Checked; 423this.Enabled = false;
163 references to Enabled
System.Windows.Forms (158)
winforms\Managed\System\WinForms\Application.cs (1)
3420bool modalEnabled = currentForm != null && currentForm.Enabled;
winforms\Managed\System\WinForms\AxHost.cs (2)
490return base.Enabled; 6205return GetP().Enabled;
winforms\Managed\System\WinForms\ButtonBase.cs (6)
722Animate(!DesignMode && Visible && Enabled && ParentInternal != null); 821Debug.Assert(Enabled, "ButtonBase.OnMouseEnter should not be called if the button is disabled"); 872Debug.Assert(Enabled, "ButtonBase.OnMouseMove should not be called if the button is disabled"); 901Debug.Assert(Enabled, "ButtonBase.OnMouseDown should not be called if the button is disabled"); 1043if (!Enabled) { 1071Debug.Assert(Enabled, "ButtonBase.OnKeyDown should not be called if the button is disabled");
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (8)
87(Control.Focused || Control.MouseIsOver || (Control.IsDefault && Control.Enabled)); 174bool disabledHighContrast = (!Control.Enabled) && SystemInformation.HighContrast && AccessibilityImprovements.Level1; 338bool disabledHighContrast = (!Control.Enabled) && SystemInformation.HighContrast && AccessibilityImprovements.Level1; 582if (!Control.Enabled) 630if (disabledText3D && !Control.Enabled && 660if (disabledText3D && !Control.Enabled && (!AccessibilityImprovements.Level1 || (!colors.options.highContrast && AccessibilityImprovements.Level1))) { 1553layout.shadowedText = !Control.Enabled; 1581colors.enabled = Control.Enabled;
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
40else if (!Control.Enabled) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (4)
122DrawCheckBackground(Control.Enabled, Control.CheckState, e.Graphics, bounds, checkColor, checkBackground, disabledColors, colors); 127DrawCheckOnly(flatCheckSize, Control.Checked, Control.Enabled, Control.CheckState, e.Graphics, layout, colors, checkColor, checkBackground); 204if (!Control.Enabled) { 291layout.shadowedText = !Control.Enabled;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxFlatAdapter.cs (3)
27if (Control.Enabled) { 42if (Control.Enabled) { 57if (Control.Enabled) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
40(colors.options.highContrast && !Control.Enabled && AccessibilityImprovements.Level1) ? colors.windowFrame : colors.buttonShadow);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (4)
38if (!Control.Enabled && disabledColors) { 65if (!Control.Enabled) { 137if (!Control.Enabled && disabledColors) { 165if (!Control.Enabled) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (3)
30if (Control.Enabled) { 46if (Control.Enabled) { 62if (Control.Enabled) {
winforms\Managed\System\WinForms\CheckedListBox.cs (3)
737if (!Enabled) { 745if (Enabled) 856if (!Enabled) {
winforms\Managed\System\WinForms\ComboBox.cs (11)
4698return _owningComboBox.Enabled; 5116return _owner.Enabled; 5279return _owningComboBox.Enabled; 5504return _owner.Enabled; 5666return _owner.Enabled; 6030if ((!comboBox.Enabled) ||(comboBox.FlatStyle == FlatStyle.Popup)) { 6036Pen innerPen = (comboBox.Enabled) ? borderPen : SystemPens.Control; 6063Brush brush = (comboBox.Enabled) ? SystemBrushes.ControlText : SystemBrushes.ControlDark; 6083return (comboBox.Enabled) ? SystemColors.Window : SystemColors.ControlDark; 6087if (!comboBox.Enabled) { 6094return (comboBox.Enabled) ? comboBox.BackColor : SystemColors.Control;
winforms\Managed\System\WinForms\Control.cs (11)
1894if (!Enabled) cp.Style |= NativeMethods.WS_DISABLED; 2436return ParentInternal.Enabled; 2440bool oldValue = Enabled; 5480bool oldEnabled = Enabled; 5494if (oldEnabled != Enabled) { 5630if( !this.Enabled || !this.Visible) { 5649if (!ctl.Enabled || !ctl.Visible) { 8158/// <para>Raises the <see cref='System.Windows.Forms.Control.Enabled'/> event.</para> 8170SafeNativeMethods.EnableWindow(new HandleRef(this, Handle), Enabled); 10055(validationConstraints & ValidationConstraints.Enabled) == ValidationConstraints.Enabled && !c.Enabled || 13389if (Enabled) {
winforms\Managed\System\WinForms\DataGrid.cs (4)
3568if (!Enabled) 3651if (!Enabled) 6824horizScrollBar.Enabled = this.Enabled; 6848vertScrollBar.Enabled = this.Enabled;
winforms\Managed\System\WinForms\DataGridView.cs (2)
3401if (this.horizScrollBar.Enabled) 5213if (this.vertScrollBar.Enabled)
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (2)
290return owner.Enabled; 575return dataGridView.Enabled;
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (7)
814this.DataGridView.Enabled).Calculate(); 877this.DataGridView.Enabled).Calculate(); 895this.DataGridView.Enabled).Calculate(); 908this.DataGridView.Enabled).Calculate(); 954this.DataGridView.Enabled).Calculate(); 966this.DataGridView.Enabled, 995this.DataGridView.Enabled,
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
5537return owner.DataGridView.Enabled;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (12)
1479this.DataGridView.Enabled, 1491this.DataGridView.Enabled).Calculate(); 1492CheckBoxBaseAdapter.DrawCheckBackground(this.DataGridView.Enabled, 1503this.DataGridView.Enabled, 1527this.DataGridView.Enabled, 1538this.DataGridView.Enabled).Calculate(); 1539CheckBoxBaseAdapter.DrawCheckBackground(this.DataGridView.Enabled, 1550this.DataGridView.Enabled, 1571this.DataGridView.Enabled, 1583this.DataGridView.Enabled).Calculate(); 1584CheckBoxBaseAdapter.DrawCheckBackground(this.DataGridView.Enabled, 1595this.DataGridView.Enabled,
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
1597return Owner.DataGridView.Enabled;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (12)
4503if (this.vertScrollBar.Enabled) 8649Debug.Assert(!this.vertScrollBar.Enabled || 10494this.horizScrollBar.Enabled = this.Enabled; 10541this.vertScrollBar.Enabled = this.Enabled; 14819if (this.horizScrollBar.Enabled) 15492if (this.IsHandleCreated && this.Enabled) 16908if (!sb.Visible || !sb.Enabled) 17624if (this.horizScrollBar.Enabled) 17645if (this.horizScrollBar.Enabled) 26428if (this.vertScrollBar.Enabled) 28395if (!this.Enabled) 28448if (!this.Enabled)
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
2411return Owner.DataGridView.Enabled;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1505return Owner.DataGridView.Enabled;
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
714return Owner.DataGridView.Enabled;
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (1)
289return owner.Enabled;
winforms\Managed\System\WinForms\Form.cs (5)
474if( mdiChild != null && mdiChild.Visible && mdiChild.Enabled ){ 4373if( !GetStyle(ControlStyles.Selectable) || !this.Enabled || !this.Visible) { 4715if (!DesignMode && Enabled && Active) { 6080else if (!Enabled) { 6141else if (!Enabled) {
winforms\Managed\System\WinForms\GroupBox.cs (6)
521GroupBoxState gbState = Enabled ? GroupBoxState.Normal : GroupBoxState.Disabled; 535if (ShouldSerializeForeColor() || this.Enabled == false) { 536Color textcolor = this.Enabled ? ForeColor : TextRenderer.DisabledTextColor(this.BackColor); 578if (Enabled) { 604if( Enabled ) { 628if (Enabled) {
winforms\Managed\System\WinForms\Label.cs (5)
1056Animate(!DesignMode && Visible && Enabled && ParentInternal != null); 1195if (!Enabled) { 1527color = wg.GetNearestColor((Enabled) ? ForeColor : DisabledColor); 1547if (Enabled) { 1560if (Enabled) {
winforms\Managed\System\WinForms\LinkLabel.cs (8)
969if (!Enabled) { 998if (!Enabled || e.Clicks > 1) { 1034if (!Enabled || e.Clicks > 1 || receivedDoubleClick) { 1064if (!Enabled) { 1152if (this.Enabled) { // Control.Enabled not to be confused with Link.Enabled 1345if (!Enabled) { 2668if (!Owner.Enabled) { 2846if (!link.Owner.Enabled) {
winforms\Managed\System\WinForms\ListView.cs (1)
2756if (!Enabled)
winforms\Managed\System\WinForms\PictureBox.cs (1)
1166Animate(!DesignMode && Visible && Enabled && ParentInternal != null);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
687return base.Enabled;
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
121if (Visible && Enabled) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
996if (IsHandleCreated && Visible && Enabled) { 6305return _owningGridViewListBox.Enabled;
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (1)
163return base.ForceReadOnly || (GridEntryHost != null && !GridEntryHost.Enabled);
winforms\Managed\System\WinForms\ScrollBar.cs (2)
690if (Enabled) { 791if (IsHandleCreated && Enabled) {
winforms\Managed\System\WinForms\SplitContainer.cs (4)
1133Debug.Assert(Enabled, "SplitContainer.OnKeyDown should not be called if the button is disabled"); 1302if (!Enabled) { 1316if (!Enabled) { 1347if (!Enabled) {
winforms\Managed\System\WinForms\TabPage.cs (1)
290return base.Enabled;
winforms\Managed\System\WinForms\ToolStripComboBox.cs (4)
671return (comboBox.Enabled) ? SystemColors.Window : GetColorTable(comboBox as ToolStripComboBoxControl).ComboBoxBorder; 678if (!comboBox.Enabled) { 691if (!comboBox.Enabled || !ToolStripManager.VisualStylesEnabled) { 725if (comboBox.Enabled) {
winforms\Managed\System\WinForms\ToolStripControlHost.cs (1)
235return Control.Enabled;
winforms\Managed\System\WinForms\ToolStripItem.cs (1)
942parentEnabled = this.Owner.Enabled;
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
201toolStrip.Enabled &&
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (1)
160if (parent != null && Label.Enabled) {
winforms\Managed\System\WinForms\ToolStripTextBox.cs (1)
863if (!Enabled) {
winforms\Managed\System\WinForms\UpDownBase.cs (7)
836using (Pen pen = new Pen(BackColor, Enabled ? 2 : 1)) 840if (!Enabled) 850if (!Enabled && BorderStyle != BorderStyle.None && !upDownEdit.ShouldSerializeBackColor()) { 1699if (!Enabled) { 1708if (!Enabled) { 1724pushed == ButtonID.Up ? ButtonState.Pushed : (Enabled ? ButtonState.Normal : ButtonState.Inactive)); 1729pushed == ButtonID.Down ? ButtonState.Pushed : (Enabled ? ButtonState.Normal : ButtonState.Inactive));
winforms\Managed\System\WinForms\WebBrowserBase.cs (1)
1493return base.Enabled;
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
611this.buttonOK.Enabled == true)
WsatUI (4)
MMCUI\WSATControl.cs (4)
114if (changed && Enabled) 135if (changed && Enabled) 278if (checkBoxEnableNetworkSupport.Enabled) 421if (this.Enabled)