16 references to TabDrawMode
System.Windows.Forms (5)
System\Windows\Forms\Controls\TabControl\TabControl.cs (5)
30
private
TabDrawMode
_drawMode =
TabDrawMode
.Normal;
283
if (_drawMode ==
TabDrawMode
.OwnerDrawFixed)
400
[DefaultValue(
TabDrawMode
.Normal)]
402
public
TabDrawMode
DrawMode
System.Windows.Forms.Tests (11)
System\Windows\Forms\TabControlTests.cs (11)
59
Assert.Equal(
TabDrawMode
.Normal, control.DrawMode);
162
[InlineData(
TabDrawMode
.Normal, 0x56010800)]
163
[InlineData(
TabDrawMode
.OwnerDrawFixed, 0x56012800)]
164
public void TabControl_CreateParams_GetDrawMode_ReturnsExpected(
TabDrawMode
drawMode, int expectedStyle)
866
[EnumData<
TabDrawMode
>]
867
public void TabControl_DrawMode_Set_GetReturnsExpected(
TabDrawMode
value)
883
[InlineData(
TabDrawMode
.Normal, 0)]
884
[InlineData(
TabDrawMode
.OwnerDrawFixed, 1)]
885
public void TabControl_DrawMode_SetWithHandle_GetReturnsExpected(
TabDrawMode
value, int expectedCreatedCallCount)
913
[InvalidEnumData<
TabDrawMode
>]
914
public void TabControl_DrawMode_SetInvalidValue_ThrowsInvalidEnumArgumentException(
TabDrawMode
value)