16 references to VisualStyleInformation
System.Windows.Forms (16)
System\Windows\Forms\Application.cs (2)
709if (!VisualStyleInformation.IsSupportedByOS) 719if (VisualStyleInformation.IsSupportedByOS)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
19313using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
407string themeFilename = Path.GetFileName(VisualStyles.VisualStyleInformation.ThemeFilename);
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
2326using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\ListView\ListView.cs (1)
6961using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2891using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
808using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\ToolStrips\ProfessionalColors.cs (1)
218t_colorScheme = VisualStyleInformation.ColorScheme;
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (2)
1372string colorScheme = VisualStyleInformation.ColorScheme; 1373string themeFileName = Path.GetFileName(VisualStyleInformation.ThemeFilename);
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
3139using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2085using var borderPen = VisualStyles.VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (3)
38return (VisualStyleInformation.IsEnabledByUser && 89throw new InvalidOperationException(VisualStyleInformation.IsEnabledByUser 174? throw new InvalidOperationException(VisualStyleInformation.IsEnabledByUser