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