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