23 references to ColumnHeaderStyle
System.Windows.Forms (8)
System\Windows\Forms\Controls\ListView\ListView.cs (8)
54private ColumnHeaderStyle _headerStyle = ColumnHeaderStyle.Clickable; 670case ColumnHeaderStyle.None: 673case ColumnHeaderStyle.Nonclickable: 992[DefaultValue(ColumnHeaderStyle.Clickable)] 994public ColumnHeaderStyle HeaderStyle 1008if ((_listViewState[LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Clickable) || 1009(!_listViewState[LISTVIEWSTATE_nonclickHdr] && value == ColumnHeaderStyle.Nonclickable))
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\StyleEditorForm.cs (1)
313_columnsAndRowsListView.HeaderStyle = ColumnHeaderStyle.Nonclickable;
System.Windows.Forms.Tests (14)
System\Windows\Forms\ListViewTests.cs (14)
88Assert.Equal(ColumnHeaderStyle.Clickable, control.HeaderStyle); 2036[EnumData<ColumnHeaderStyle>] 2037public void ListView_HeaderStyle_Set_GetReturnsExpected(ColumnHeaderStyle value) 2053[InlineData(ColumnHeaderStyle.Clickable, 0, 0, 0)] 2054[InlineData(ColumnHeaderStyle.Nonclickable, 2, 0, 1)] 2055[InlineData(ColumnHeaderStyle.None, 1, 1, 0)] 2056public void ListView_HeaderStyle_SetClickableWithHandle_GetReturnsExpected(ColumnHeaderStyle value, int expectedInvalidatedCallCount, int expectedStyleChangedCallCount, int expectedCreatedCallCount) 2084[InlineData(ColumnHeaderStyle.Clickable, 2, 0, 1)] 2085[InlineData(ColumnHeaderStyle.Nonclickable, 0, 0, 0)] 2086[InlineData(ColumnHeaderStyle.None, 1, 1, 0)] 2087public void ListView_HeaderStyle_SetNonClickableWithHandle_GetReturnsExpected(ColumnHeaderStyle value, int expectedInvalidatedCallCount, int expectedStyleChangedCallCount, int expectedCreatedCallCount) 2091HeaderStyle = ColumnHeaderStyle.Nonclickable 2118[InvalidEnumData<ColumnHeaderStyle>] 2119public void ListView_HeaderStyle_SetInvalidValue_ThrowsInvalidEnumArgumentException(ColumnHeaderStyle value)