32 references to Inactive
System.Windows.Forms (27)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
247
style |= ButtonState.
Inactive
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
183
style |= ButtonState.
Inactive
;
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (1)
284
PushButtonState.Disabled => ButtonState.
Inactive
,
System\Windows\Forms\Controls\Buttons\ButtonState.cs (1)
41
All = Flat | Checked | Pushed |
Inactive
,
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (9)
259
CheckBoxState.CheckedDisabled => (ButtonState.Checked | ButtonState.
Inactive
),
261
CheckBoxState.UncheckedDisabled => ButtonState.
Inactive
,
265
CheckBoxState.MixedDisabled => (ButtonState.Checked | ButtonState.
Inactive
),
277
else if ((state & ButtonState.
Inactive
) == ButtonState.
Inactive
)
294
else if ((state & ButtonState.
Inactive
) == ButtonState.
Inactive
)
312
else if ((state & ButtonState.
Inactive
) == ButtonState.
Inactive
)
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (6)
272
RadioButtonState.CheckedDisabled => ButtonState.Checked | ButtonState.
Inactive
,
274
RadioButtonState.UncheckedDisabled => ButtonState.
Inactive
,
286
else if ((state & ButtonState.
Inactive
) == ButtonState.
Inactive
)
304
else if ((state & ButtonState.
Inactive
) == ButtonState.
Inactive
)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
515
state |= ButtonState.Checked | ButtonState.
Inactive
;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (2)
284
: (Enabled ? ButtonState.Normal : ButtonState.
Inactive
));
292
: (Enabled ? ButtonState.Normal : ButtonState.
Inactive
));
System\Windows\Forms\Rendering\ControlPaint.cs (5)
1348
Brush background = ((state & ButtonState.
Inactive
) == ButtonState.
Inactive
)
1351
Color foreground = ((state & ButtonState.
Inactive
) == ButtonState.
Inactive
)
1882
ButtonState.
Inactive
=> ModernControlButtonState.Disabled,
System.Windows.Forms.Tests (5)
System\Windows\Forms\RadioButtonBaseAdapterTests.cs (1)
257
state.HasFlag(ButtonState.
Inactive
).Should().BeTrue();
System\Windows\Forms\RadioButtonRendererTests.cs (4)
335
[InlineData(RadioButtonState.CheckedDisabled, ButtonState.Checked | ButtonState.
Inactive
)]
337
[InlineData(RadioButtonState.UncheckedDisabled, ButtonState.
Inactive
)]
348
[InlineData(ButtonState.Checked | ButtonState.
Inactive
, false, RadioButtonState.CheckedDisabled)]
350
[InlineData(ButtonState.
Inactive
, false, RadioButtonState.UncheckedDisabled)]