1 write to options
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
865this.options = options;
27 references to options
System.Windows.Forms (27)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
631(!AccessibilityImprovements.Level1 || (!colors.options.highContrast && AccessibilityImprovements.Level1))) { 660if (disabledText3D && !Control.Enabled && (!AccessibilityImprovements.Level1 || (!colors.options.highContrast && AccessibilityImprovements.Level1))) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (4)
84DrawFlatFocus(g, layout.focus, colors.options.highContrast ? colors.windowText : colors.constrastButtonShadow); 141backColor = colors.options.highContrast ? colors.buttonShadow : colors.lowHighlight; 144backColor = MixedColor(colors.options.highContrast ? colors.buttonShadow : colors.lowHighlight, colors.buttonFace); 159DrawFlatFocus(g, layout.focus, colors.options.highContrast ? colors.windowText : colors.constrastButtonShadow);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (5)
53DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault); 56DrawFlatBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow); 93DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault); 142DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.windowFrame, this.Control.IsDefault); 143ControlPaint.DrawBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, ButtonBorderStyle.Solid);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxFlatAdapter.cs (1)
71DrawCheckFlat(e, layout, checkColor, colors.options.highContrast ? colors.buttonFace : checkBackground, checkBorder, colors);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (3)
38DrawCheckBackground(e, layout.checkBounds, colors.windowText, colors.options.highContrast ? colors.buttonFace : colors.highlight, true, colors); 40(colors.options.highContrast && !Control.Enabled && AccessibilityImprovements.Level1) ? colors.windowFrame : colors.buttonShadow); 63DrawCheckBackground(e, layout.checkBounds, colors.windowText, colors.options.highContrast ? colors.buttonFace : colors.highlight, true, colors);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (1)
76DrawCheckFlat(e, layout, checkColor, colors.options.highContrast ? colors.buttonFace : checkBackground, checkBorder);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (2)
34DrawCheckBackgroundFlat(e, layout.checkBounds, colors.buttonShadow, colors.options.highContrast ? colors.buttonFace : colors.highlight); 56Color checkBackgroundColor = (colors.options.highContrast && AccessibilityImprovements.Level1) ? colors.buttonFace : colors.highlight;
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (7)
821if (colors.options.highContrast) 880colors.options.highContrast ? colors.windowText : colors.windowFrame, 884colors.options.highContrast ? colors.windowText : colors.buttonShadow, 898colors.options.highContrast ? colors.windowText : colors.buttonShadow, 909ButtonBaseAdapter.DrawDefaultBorder(g, valBounds, colors.options.highContrast ? colors.windowText : colors.buttonShadow, false /*isDefault*/); 910ButtonBaseAdapter.DrawFlatBorder(g, valBounds, colors.options.highContrast ? colors.windowText : colors.buttonShadow); 974colors.options.highContrast ? colors.windowText : colors.constrastButtonShadow);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1544colors.options.highContrast ? colors.buttonFace : colors.highlight, 1589colors.options.highContrast ? colors.buttonFace : colors.highlight,