2 writes to _isEnableVisualStyleBackgroundSet
System.Windows.Forms (2)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
1337
_isEnableVisualStyleBackgroundSet
= true;
1345
_isEnableVisualStyleBackgroundSet
= false;
3 references to _isEnableVisualStyleBackgroundSet
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (3)
1328
get => (
_isEnableVisualStyleBackgroundSet
|| (RawBackColor.IsEmpty && (BackColor == SystemColors.Control)))
1332
if (
_isEnableVisualStyleBackgroundSet
&& value == _enableVisualStyleBackground)
1350
private bool ShouldSerializeUseVisualStyleBackColor() =>
_isEnableVisualStyleBackgroundSet
;