44 references to ControlText
System.Drawing (2)
commonui\System\Drawing\SystemBrushes.cs (1)
152
return FromSystemColor(SystemColors.
ControlText
);
commonui\System\Drawing\SystemPens.cs (1)
114
return FromSystemColor(SystemColors.
ControlText
);
System.Web.Mobile (1)
UI\MobileControls\Design\Util\ImageCreator.cs (1)
76
Brush controlTextBrush = new SolidBrush(SystemColors.
ControlText
),
System.Windows.Forms (36)
winforms\Managed\System\WinForms\ButtonRenderer.cs (2)
176
textColor = SystemColors.
ControlText
;
247
textColor = SystemColors.
ControlText
;
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (2)
162
textColor = SystemColors.
ControlText
;
211
textColor = SystemColors.
ControlText
;
winforms\Managed\System\WinForms\Control.cs (1)
2185
get { return SystemColors.
ControlText
;}
winforms\Managed\System\WinForms\ControlPaint.cs (2)
1243
SystemColors.
ControlText
;
1313
DrawFocusRectangle(graphics, rectangle, SystemColors.
ControlText
, SystemColors.Control);
winforms\Managed\System\WinForms\DataGrid.cs (1)
662
return new Pen(SystemColors.
ControlText
);
winforms\Managed\System\WinForms\DataGridTable.cs (1)
354
return new Pen(SystemColors.
ControlText
);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
19878
Pen pen = GetCachedPen(SystemColors.
ControlText
);
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (1)
809
state, ColorTranslator.ToWin32(SystemColors.Control), ColorTranslator.ToWin32(SystemColors.
ControlText
));
winforms\Managed\System\WinForms\FontDialog.cs (3)
185
color = SystemColors.
ControlText
;
532
color = SystemColors.
ControlText
;
597
cf.rgbColors = ColorTranslator.ToWin32(SystemColors.
ControlText
);
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
316
return SystemColors.
ControlText
;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (1)
506
Color controlText = SystemColors.
ControlText
;
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
96
private Color categoryForeColor = SystemColors.
ControlText
;
254
doccomment.ForeColor = SystemColors.
ControlText
;
4236
hotcommands.SetColors(SystemColors.Control, SystemColors.
ControlText
, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ControlDark);
4239
hotcommands.SetColors(SystemColors.Control, SystemColors.
ControlText
, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (1)
219
ControlPaint.DrawFocusRectangle(g, focusRect, SystemColors.
ControlText
, OwnerGrid.LineColor);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
285
btnDropDown.ForeColor = SystemColors.
ControlText
;
308
btnDialog.ForeColor = SystemColors.
ControlText
;
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (2)
149
textColor = SystemColors.
ControlText
;
198
textColor = SystemColors.
ControlText
;
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
187
arrowColor = Enabled ? SystemColors.
ControlText
: SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (4)
154
Color arrowColor = AccessibilityImprovements.Level2 && item.Selected && !item.Pressed ? SystemColors.HighlightText : SystemColors.
ControlText
;
184
Color arrowColor = item.Enabled ? SystemColors.
ControlText
: SystemColors.ControlDark;
199
else if (e.TextColor != SystemColors.HighlightText && e.TextColor != SystemColors.
ControlText
) {
205
e.DefaultTextColor = SystemColors.
ControlText
;
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventArgs.cs (2)
21
private Color textColor = SystemColors.
ControlText
;
26
private Color defaultTextColor = SystemColors.
ControlText
;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
279
DrawArrow(new ToolStripArrowRenderEventArgs(g, item, dropDownRect, SystemColors.
ControlText
, ArrowDirection.Down));
595
e.DefaultArrowColor = (item.Enabled) ? SystemColors.
ControlText
: SystemColors.ControlDark;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (2)
345
Color arrowColor = item.Enabled ? SystemColors.
ControlText
: SystemColors.ControlDark;
459
Color arrowColor = splitButton.Enabled ? SystemColors.
ControlText
: SystemColors.ControlDark;
System.Workflow.Activities (1)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
292
listViewItem.ForeColor = SystemColors.
ControlText
;
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Themes.cs (1)
1403
ForeColor = SystemColors.
ControlText
;
System.WorkflowServices (3)
System\Workflow\Activities\Design\ServiceContractDetailViewControl.Designer.cs (1)
42
this.contractNameLabel.ForeColor = System.Drawing.SystemColors.
ControlText
;
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (2)
91
this.operationNameLabel.ForeColor = System.Drawing.SystemColors.
ControlText
;
185
this.protectionLevelLabel.ForeColor = System.Drawing.SystemColors.
ControlText
;