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