16 references to VisualStyleInformation
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Application.cs (2)
760
if (!
VisualStyleInformation
.IsSupportedByOS) {
769
if (
VisualStyleInformation
.IsSupportedByOS)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
1986
using (Pen borderPen = new Pen(System.Windows.Forms.VisualStyles.
VisualStyleInformation
.TextControlBorder)) {
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
504
string themeFilename = System.IO.Path.GetFileName(System.Windows.Forms.VisualStyles.
VisualStyleInformation
.ThemeFilename);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
19868
Pen pen = GetCachedPen(
VisualStyleInformation
.TextControlBorder);
winforms\Managed\System\WinForms\ListBox.cs (1)
2281
using (Pen pen = new Pen(
VisualStyleInformation
.TextControlBorder)) {
winforms\Managed\System\WinForms\ListView.cs (1)
6232
g.DrawRectangle(new Pen(
VisualStyleInformation
.TextControlBorder), rect);
winforms\Managed\System\WinForms\MaskedTextBox.cs (1)
3182
using (Pen pen = new Pen(
VisualStyleInformation
.TextControlBorder)) {
winforms\Managed\System\WinForms\ProfessionalColors.cs (1)
369
colorScheme =
VisualStyleInformation
.ColorScheme;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (2)
1519
string colorScheme =
VisualStyleInformation
.ColorScheme;
1520
string themeFileName = System.IO.Path.GetFileName(
VisualStyleInformation
.ThemeFilename);
winforms\Managed\System\WinForms\TextBox.cs (1)
850
using (Pen pen = new Pen(
VisualStyleInformation
.TextControlBorder)) {
winforms\Managed\System\WinForms\TreeView.cs (1)
3138
g.DrawRectangle(new Pen(
VisualStyleInformation
.TextControlBorder), rect);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (3)
56
return (
VisualStyleInformation
.IsEnabledByUser &&
108
if (!
VisualStyleInformation
.IsEnabledByUser) {
225
if (!
VisualStyleInformation
.IsEnabledByUser) {