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