32 references to Inactive
System.Windows.Forms (27)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
247style |= ButtonState.Inactive;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
183style |= ButtonState.Inactive;
System\Windows\Forms\Controls\Buttons\ButtonRenderer.cs (1)
284PushButtonState.Disabled => ButtonState.Inactive,
System\Windows\Forms\Controls\Buttons\ButtonState.cs (1)
41All = Flat | Checked | Pushed | Inactive,
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (9)
259CheckBoxState.CheckedDisabled => (ButtonState.Checked | ButtonState.Inactive), 261CheckBoxState.UncheckedDisabled => ButtonState.Inactive, 265CheckBoxState.MixedDisabled => (ButtonState.Checked | ButtonState.Inactive), 277else if ((state & ButtonState.Inactive) == ButtonState.Inactive) 294else if ((state & ButtonState.Inactive) == ButtonState.Inactive) 312else if ((state & ButtonState.Inactive) == ButtonState.Inactive)
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (6)
272RadioButtonState.CheckedDisabled => ButtonState.Checked | ButtonState.Inactive, 274RadioButtonState.UncheckedDisabled => ButtonState.Inactive, 286else if ((state & ButtonState.Inactive) == ButtonState.Inactive) 304else if ((state & ButtonState.Inactive) == ButtonState.Inactive)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
515state |= 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)
1348Brush background = ((state & ButtonState.Inactive) == ButtonState.Inactive) 1351Color foreground = ((state & ButtonState.Inactive) == ButtonState.Inactive) 1882ButtonState.Inactive => ModernControlButtonState.Disabled,
System.Windows.Forms.Tests (5)
System\Windows\Forms\RadioButtonBaseAdapterTests.cs (1)
257state.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)]