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); 1823if (IsHandleCreated && Application.ComCtlSupportsVisualStyles) 2472if (Application.ComCtlSupportsVisualStyles 2498if (Application.ComCtlSupportsVisualStyles && 3993if (IsHandleCreated && Items.Count == 0 && View == View.SmallIcon && Application.ComCtlSupportsVisualStyles) 4567if (Application.ComCtlSupportsVisualStyles) 4636if (Application.ComCtlSupportsVisualStyles && (InsertionMark.Index > 0)) 5782if (IsHandleCreated && Application.ComCtlSupportsVisualStyles && !VirtualMode) 5792Debug.Assert(Application.ComCtlSupportsVisualStyles, "this function works only when ComCtl 6.0 and higher is loaded"); 7076if (m.WParamInternal != LVTOOLTIPTRACKING || !Application.ComCtlSupportsVisualStyles)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
267if (Application.ComCtlSupportsVisualStyles)