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)
12public static TheoryData<TextBoxState> DrawTextBox_State_TheoryData() => 14TextBoxState.Normal, 15TextBoxState.Hot, 16TextBoxState.Selected, 17TextBoxState.Disabled 22public void TextBoxRenderer_DrawTextBox(TextBoxState tBState) 43tBState != TextBoxState.Disabled 51public void TextBoxRenderer_DrawTextBox_OverloadWithTextAndFont(TextBoxState tBState) 72tBState != TextBoxState.Disabled ? 10 : 11), 73tBState != TextBoxState.Disabled 86public void TextBoxRenderer_DrawTextBox_OverloadWithTextFontAndTextBounds(TextBoxState tBState) 108tBState != TextBoxState.Disabled ? 10 : 11), 109tBState != TextBoxState.Disabled