16 references to VisualStyleInformation
System.Windows.Forms (16)
System\Windows\Forms\Application.cs (2)
863if (!VisualStyleInformation.IsSupportedByOS) 873if (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)
2328using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\ListView\ListView.cs (1)
6963using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\TextBox\MaskedTextBox.cs (1)
2893using var pen = VisualStyleInformation.TextControlBorder.GetCachedPenScope();
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
854using 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)
3355using 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