15 references to ComCtlSupportsVisualStyles
System.Windows.Forms (15)
System\Windows\Forms\Application.cs (1)
555=> ComCtlSupportsVisualStyles && VisualStyleRenderer.IsSupported;
System\Windows\Forms\Controls\ListView\ListView.cs (13)
850Debug.Assert(!_listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || Application.ComCtlSupportsVisualStyles, "we need this bit only when loading ComCtl 6.0"); 858Debug.Assert(!value || Application.ComCtlSupportsVisualStyles, "we need this bit only when loading ComCtl 6.0"); 985=> ShowGroups && _groups is not null && _groups.Count > 0 && Application.ComCtlSupportsVisualStyles && !VirtualMode; 1614internal bool SupportsListViewSubItems => View == View.Details || (View == View.Tile && Application.ComCtlSupportsVisualStyles); 1827if (IsHandleCreated && Application.ComCtlSupportsVisualStyles) 2476if (Application.ComCtlSupportsVisualStyles 2502if (Application.ComCtlSupportsVisualStyles && 3997if (IsHandleCreated && Items.Count == 0 && View == View.SmallIcon && Application.ComCtlSupportsVisualStyles) 4571if (Application.ComCtlSupportsVisualStyles) 4640if (Application.ComCtlSupportsVisualStyles && (InsertionMark.Index > 0)) 5786if (IsHandleCreated && Application.ComCtlSupportsVisualStyles && !VirtualMode) 5796Debug.Assert(Application.ComCtlSupportsVisualStyles, "this function works only when ComCtl 6.0 and higher is loaded"); 7080if (m.WParamInternal != LVTOOLTIPTRACKING || !Application.ComCtlSupportsVisualStyles)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
267if (Application.ComCtlSupportsVisualStyles)