60 references to RenderWithVisualStyles
System.Windows.Forms (60)
misc\DpiHelper.cs (1)
182
(Application.
RenderWithVisualStyles
))
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (3)
86
return SystemInformation.HighContrast && Application.
RenderWithVisualStyles
&&
661
if (Application.
RenderWithVisualStyles
) {
1408
else if (!Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (5)
138
if (Application.
RenderWithVisualStyles
) {
150
if (Application.
RenderWithVisualStyles
) {
182
if (Application.
RenderWithVisualStyles
) {
202
if (!Application.
RenderWithVisualStyles
) {
234
layout.everettButtonCompat = !Application.
RenderWithVisualStyles
;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
221
if (Application.
RenderWithVisualStyles
) {
229
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (3)
41
if (!Application.
RenderWithVisualStyles
) {
109
layout.everettButtonCompat = !Application.
RenderWithVisualStyles
;
112
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (2)
181
if (!Application.
RenderWithVisualStyles
) {
187
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonStandardAdapter.cs (2)
69
layout.everettButtonCompat = !Application.
RenderWithVisualStyles
;
72
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\ButtonRenderer.cs (1)
53
return (!renderMatchingApplicationState || Application.
RenderWithVisualStyles
);
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (1)
54
return (!renderMatchingApplicationState || Application.
RenderWithVisualStyles
);
winforms\Managed\System\WinForms\CheckedListBox.cs (3)
680
if (Application.
RenderWithVisualStyles
) {
710
if (Application.
RenderWithVisualStyles
) {
862
else if (!Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\ComboBox.cs (2)
870
if ((!ContainsFocus || !Application.
RenderWithVisualStyles
) && this.FlatStyle == FlatStyle.Popup) {
3688
if (!Application.
RenderWithVisualStyles
&& GetStyle(ControlStyles.UserPaint) == false && this.DropDownStyle == ComboBoxStyle.DropDownList && (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) {
winforms\Managed\System\WinForms\Control.cs (1)
9776
if (Application.
RenderWithVisualStyles
&& parent.RenderTransparencyWithVisualStyles) {
winforms\Managed\System\WinForms\DataGridView.cs (3)
1014
return Application.
RenderWithVisualStyles
;
1022
return Application.
RenderWithVisualStyles
&& this.EnableHeadersVisualStyles;
1457
return Application.
RenderWithVisualStyles
? 1 : SystemInformation.Border3DSize.Width;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
19866
if (Application.
RenderWithVisualStyles
)
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (1)
153
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\Form.cs (1)
5062
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\GroupBox.cs (1)
520
if (Application.
RenderWithVisualStyles
&& Width >= 10 && Height >= 10) {
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (1)
55
return (!renderMatchingApplicationState || Application.
RenderWithVisualStyles
);
winforms\Managed\System\WinForms\ListBox.cs (1)
2276
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.
RenderWithVisualStyles
&& this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\ListView.cs (1)
6227
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.
RenderWithVisualStyles
&& this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\MaskedTextBox.cs (2)
2005
if (Application.
RenderWithVisualStyles
&& this.IsHandleCreated && this.BorderStyle == BorderStyle.Fixed3D)
3177
if ((NativeMethods.PRF_NONCLIENT & unchecked( (int) (long)m.LParam)) != 0 && Application.
RenderWithVisualStyles
&& this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
87
if (Application.
RenderWithVisualStyles
& useComboBoxTheme) {
198
if (!Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (1)
53
return (!renderMatchingApplicationState || Application.
RenderWithVisualStyles
);
winforms\Managed\System\WinForms\StatusBar.cs (1)
95
if (Application.
RenderWithVisualStyles
&& VisualStyleRenderer != null){
winforms\Managed\System\WinForms\TabPage.cs (2)
126
if (Application.
RenderWithVisualStyles
&& UseVisualStyleBackColor && (parent != null && parent.Appearance == TabAppearance.Normal)) {
701
if (Application.
RenderWithVisualStyles
&& UseVisualStyleBackColor && (parent != null && parent.Appearance == TabAppearance.Normal)) {
winforms\Managed\System\WinForms\TextBox.cs (2)
607
if (Application.
RenderWithVisualStyles
&& this.IsHandleCreated && this.BorderStyle == BorderStyle.Fixed3D) {
845
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.
RenderWithVisualStyles
&& this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\ToolStripManager.cs (1)
565
return visualStylesEnabledIfPossible && Application.
RenderWithVisualStyles
;
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (3)
51
if (Application.
RenderWithVisualStyles
) {
679
if (!Application.
RenderWithVisualStyles
) {
685
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\TreeView.cs (1)
3133
if ((NativeMethods.PRF_NONCLIENT & (int)m.LParam) != 0 && Application.
RenderWithVisualStyles
&& this.BorderStyle == BorderStyle.Fixed3D) {
winforms\Managed\System\WinForms\UpDownBase.cs (4)
359
if (!Application.
RenderWithVisualStyles
) {
803
if (Application.
RenderWithVisualStyles
) {
1095
bool themed = Application.
RenderWithVisualStyles
;
1696
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (4)
231
if (Application.
RenderWithVisualStyles
) {
252
if (Application.
RenderWithVisualStyles
) {
276
if (Application.
RenderWithVisualStyles
) {
298
if (Application.
RenderWithVisualStyles
) {
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1753
if (Application.
RenderWithVisualStyles
) {