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)
850
Debug.Assert(!_listViewState[LISTVIEWSTATE_flipViewToLargeIconAndSmallIcon] || Application.
ComCtlSupportsVisualStyles
, "we need this bit only when loading ComCtl 6.0");
858
Debug.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;
1614
internal bool SupportsListViewSubItems => View == View.Details || (View == View.Tile && Application.
ComCtlSupportsVisualStyles
);
1827
if (IsHandleCreated && Application.
ComCtlSupportsVisualStyles
)
2476
if (Application.
ComCtlSupportsVisualStyles
2502
if (Application.
ComCtlSupportsVisualStyles
&&
3997
if (IsHandleCreated && Items.Count == 0 && View == View.SmallIcon && Application.
ComCtlSupportsVisualStyles
)
4571
if (Application.
ComCtlSupportsVisualStyles
)
4640
if (Application.
ComCtlSupportsVisualStyles
&& (InsertionMark.Index > 0))
5786
if (IsHandleCreated && Application.
ComCtlSupportsVisualStyles
&& !VirtualMode)
5796
Debug.Assert(Application.
ComCtlSupportsVisualStyles
, "this function works only when ComCtl 6.0 and higher is loaded");
7080
if (m.WParamInternal != LVTOOLTIPTRACKING || !Application.
ComCtlSupportsVisualStyles
)
System\Windows\Forms\Controls\ListView\ListView.ListViewNativeItemCollection.cs (1)
267
if (Application.
ComCtlSupportsVisualStyles
)