20 references to TextBoxState
System.Windows.Forms (7)
System\Windows\Forms\Controls\TextBox\TextBoxRenderer.cs (7)
25private static void DrawBackground(Graphics g, Rectangle bounds, TextBoxState state) 28if (state != TextBoxState.Disabled) 42public static void DrawTextBox(Graphics g, Rectangle bounds, TextBoxState state) 51public static void DrawTextBox(Graphics g, Rectangle bounds, string? textBoxText, Font? font, TextBoxState state) 59public static void DrawTextBox(Graphics g, Rectangle bounds, string? textBoxText, Font? font, Rectangle textBounds, TextBoxState state) 67public static void DrawTextBox(Graphics g, Rectangle bounds, string? textBoxText, Font? font, TextFormatFlags flags, TextBoxState state) 78public static void DrawTextBox(Graphics g, Rectangle bounds, string? textBoxText, Font? font, Rectangle textBounds, TextFormatFlags flags, TextBoxState state)
System.Windows.Forms.Tests (13)
System\Windows\Forms\TextBoxRendererTests.cs (13)
14public static TheoryData<TextBoxState> DrawTextBox_State_TheoryData() => 16TextBoxState.Normal, 17TextBoxState.Hot, 18TextBoxState.Selected, 19TextBoxState.Disabled 24public void TextBoxRenderer_DrawTextBox(TextBoxState tBState) 45tBState != TextBoxState.Disabled 53public void TextBoxRenderer_DrawTextBox_OverloadWithTextAndFont(TextBoxState tBState) 74tBState != TextBoxState.Disabled ? 10 : 11), 75tBState != TextBoxState.Disabled 88public void TextBoxRenderer_DrawTextBox_OverloadWithTextFontAndTextBounds(TextBoxState tBState) 110tBState != TextBoxState.Disabled ? 10 : 11), 111tBState != TextBoxState.Disabled