36 writes to Enabled
System.Web.Mobile (7)
UI\MobileControls\Design\ListDesigner.cs (2)
185
_designerVerbs[0].
Enabled
= !this.InTemplateMode;
186
_designerVerbs[1].
Enabled
= !this.InTemplateMode;
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (1)
355
_designerVerbs[0].
Enabled
= !this.InTemplateMode;
UI\MobileControls\Design\ObjectListDesigner.cs (2)
505
_designerVerbs[0].
Enabled
= !this.InTemplateMode;
506
_designerVerbs[1].
Enabled
= !this.InTemplateMode;
UI\MobileControls\Design\StyleSheetDesigner.cs (2)
1164
_designerVerbs[0].
Enabled
= !this.InTemplateMode;
1165
_designerVerbs[1].
Enabled
= !this.InTemplateMode;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5233
reset.
Enabled
= gridEntry == null ? false : gridEntry.CanResetPropertyValue();
System.Workflow.Activities (7)
Designers\StateDesigner.cs (7)
2005
verb.
Enabled
= enabled;
2026
verb.
Enabled
= enabled;
2046
verb.
Enabled
= enabled;
2060
verb.
Enabled
= enabled;
2076
verb.
Enabled
= enabled;
2092
verb.
Enabled
= enabled;
2103
verb.
Enabled
= enabled;
System.Workflow.ComponentModel (21)
AuthoringOM\Design\ActivityDesigner.cs (4)
863
moveBranchVerb.
Enabled
= enableVerb;
2184
verb.
Enabled
= canGenerateHandlers;
2204
verb.
Enabled
= canPromoteBindings;
2224
verb.
Enabled
= (canBindProperty && !IsLocked);
AuthoringOM\Design\ActivityPreviewDesigner.cs (2)
882
designerVerb.
Enabled
= (this.previewStrip.ActiveItem != null && this.previewStrip.Items.Count > 1 && this.previewStrip.Items.IndexOf(this.previewStrip.ActiveItem) >= 0);
896
designerVerb.
Enabled
= (this.previewWindow.PreviewMode != (bool)designerVerb.Properties[DesignerUserDataKeys.PreviewActivity]);
AuthoringOM\Design\CommandSet.cs (13)
195
menuCommand.
Enabled
= enable;
205
menuCommand.
Enabled
= enable;
215
menuCommand.
Enabled
= enable;
379
cmd.
Enabled
= enable;
390
cmd.
Enabled
= false;
411
cmd.
Enabled
= false;
416
cmd.
Enabled
= true;
422
cmd.
Enabled
= false;
471
cmd.
Enabled
= (components != null && hitInfo != null && compositeDesigner.CanInsertActivities(hitInfo, new List<Activity>(Helpers.GetTopLevelActivities(components)).AsReadOnly()));
480
cmd.
Enabled
= (designerHost != null && this.selectionService.GetSelectedComponents().Count > 0 &&
487
cmd.
Enabled
= true;
510
menuCommand.Visible = menuCommand.
Enabled
= (expandCollapseItems == this.selectionService.SelectionCount);
543
menuCommand.Visible = menuCommand.
Enabled
= (enabled && ((menuCommand.CommandID == WorkflowMenuCommands.Enable && !enabledPropertyValue) || (menuCommand.CommandID == WorkflowMenuCommands.Disable && enabledPropertyValue)));
AuthoringOM\Design\FreeFormDesigner.cs (1)
1432
designerVerb.
Enabled
= freeformDesigner.CanUpdateZOrder(designerVerb.ActivityDesigner, (ZOrder)designerVerb.Properties[DesignerUserDataKeys.ZOrderKey]);
AuthoringOM\Design\ParallelActivityDesigner.cs (1)
325
verb.
Enabled
= IsEditable;
9 references to Enabled
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (1)
223
if (!verbs[i].
Enabled
) {
System.Workflow.ComponentModel (8)
AuthoringOM\Design\ActivityDesigner.cs (1)
2223
verb.Properties["Text"] = (propertyName != null && verb.
Enabled
) ? string.Format(CultureInfo.CurrentCulture, DR.GetString(DR.BindSelectedPropertyFormat), propertyName) : DR.GetString(DR.BindSelectedProperty);
AuthoringOM\Design\DesignerWidgets.cs (1)
1077
if (smartVerb == null || smartVerb.
Enabled
)
AuthoringOM\Design\MessageFilters\PanningMessageFilter.cs (3)
125
if (menuCommand != null && menuCommand.
Enabled
)
139
if (menuCommand != null && menuCommand.
Enabled
&& menuCommand.Checked)
158
if (menuCommand != null && menuCommand.
Enabled
)
AuthoringOM\Design\MessageFilters\ZoomingMessageFilter.cs (3)
211
if (menuCommand != null && menuCommand.
Enabled
&& menuCommand.Checked)
230
if (menuCommand != null && menuCommand.
Enabled
)
270
if (menuCommand != null && menuCommand.
Enabled
)